diff --git a/.github/workflows/e2e-chaos-tests.yml b/.github/workflows/e2e-chaos-tests.yml index d51a416600c..38912ced779 100644 --- a/.github/workflows/e2e-chaos-tests.yml +++ b/.github/workflows/e2e-chaos-tests.yml @@ -23,7 +23,7 @@ on: concurrency: # Only run once for latest commit per ref and cancel other (previous) runs. - group: ci-e2e-http-client-tests-${{ github.ref }} + group: ci-e2e-chaos-tests-${{ github.ref }} cancel-in-progress: true env: diff --git a/CHANGELOG.md b/CHANGELOG.md index ce3ea73819a..faf1480c13e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,27 +3,38 @@ ### 6.9-SNAPSHOT #### Bugs +* Fix #5466: OperationSupport should not fail trying to parse Status * Fix #5382: [java-generator] Allow to deserialize more valid RFC3339 date-time and make the format customizable * Fix #5380: [java-generator] Avoid to emit Java Keywords as package names +* Fix #5457: [java-generator] Correctly handle numeric enums +* Fix #5379: ensuring informOnCondition and waitUntilCondition commple with exception when the client closes +* Fix #5463: ensures that onStopLeading is called with releaseOnCancel even when leadership is already lost * Fix #5423: OkHttpClientImpl supports setting request method for empty payload requests #### Improvements +* Fix #5327: added proactive shutdown of informers on client close * Fix #5432: [java-generator] Add the possibility to always emit `additionalProperties` on generated POJOs * Fix #5410: [crd-generator] added support for `default` * Fix #5368: added support for additional ListOptions fields * Fix #5377: added a createOr and unlock function to provide a straight-forward replacement for createOrReplace. +* Fix #4624: added Config.onlyHttpWatches to control whether watches should only use regular HTTP requests, and not attempt WebSocket connections. * Fix #5388: [crd-generator] Generate deterministic CRDs +* Fix #5135: added per instance methods to create a builder - instead on new PodBuilder(pod), you may use pod.toBuilder() * Fix #5257: Add ErrorStreamMessage and StatusStreamMessage to ease mocking of pods/exec requests +* Fix #5220: refinements and clarifications to the validation of names #### Dependency Upgrade * Fix #5373: Gradle base API based on v8.2.1 +* Fix #5401: Upgrade Fabric8 Kubernetes Model to Kubernetes v1.28.2 #### New Features +* Fix #5430: Mock Web Server migrated to this repository #### _**Note**_: Breaking changes * Fix #5343: Removed `io.fabric8.kubernetes.model.annotation.PrinterColumn`, use `io.fabric8.crd.generator.annotation.PrinterColumn` * Fix #5368: ListOptions parameter ordering is now alphabetical. If you are using non-crud mocking for lists with options, you may need to update your parameter order. * Fix #5391: Removed the vertx-uri-template dependency from the vertx client, if you need that for your application, then introduce your own dependency. +* Fix #5220: KubernetesResourceUtil.isValidLabelOrAnnotation has been deprecated because the rules for labels and annotations are different ### 6.8.1 (2023-08-14) diff --git a/README.md b/README.md index 5b976ca3263..83651e775db 100644 --- a/README.md +++ b/README.md @@ -537,6 +537,7 @@ operations. However, some might require slightly more code to achieve same resul | `kubectl create -f customresource.yaml` | [CustomResourceCreateDemo.java](./kubernetes-examples/src/main/java/io/fabric8/kubernetes/examples/kubectl/equivalents/CustomResourceCreateDemo.java) | | `kubectl create -f customresource.yaml` | [CustomResourceCreateDemoTypeless.java](./kubernetes-examples/src/main/java/io/fabric8/kubernetes/examples/kubectl/equivalents/CustomResourceCreateDemoTypeless.java) | | `kubectl get ns` | [NamespaceListEquivalent.java](./kubernetes-examples/src/main/java/io/fabric8/kubernetes/examples/kubectl/equivalents/NamespaceListEquivalent.java) | +| `kubectl create namespace test` | [NamespaceCreateEquivalent.java](./kubernetes-examples/src/main/java/io/fabric8/kubernetes/examples/kubectl/equivalents/NamespaceCreateEquivalent.java) | | `kubectl apply -f test-resource-list.yml` | [CreateOrReplaceResourceList.java](./kubernetes-examples/src/main/java/io/fabric8/kubernetes/examples/kubectl/equivalents/CreateOrReplaceResourceList.java) | | `kubectl get events` | [EventsGetEquivalent.java](./kubernetes-examples/src/main/java/io/fabric8/kubernetes/examples/kubectl/equivalents/EventsGetEquivalent.java) | | `kubectl top nodes` | [TopEquivalent.java](./kubernetes-examples/src/main/java/io/fabric8/kubernetes/examples/kubectl/equivalents/TopEquivalent.java) | diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/CertmanagerSchema.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/CertmanagerSchema.java index 89796d75d06..910b6c955aa 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/CertmanagerSchema.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/CertmanagerSchema.java @@ -2,6 +2,7 @@ package io.fabric8.certmanager.api.model; import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; @@ -74,6 +75,7 @@ import io.fabric8.certmanager.api.model.v1.VenafiIssuer; import io.fabric8.certmanager.api.model.v1.VenafiTPP; import io.fabric8.certmanager.api.model.v1.X509Subject; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -192,7 +194,8 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertmanagerSchema { +public class CertmanagerSchema implements Editable +{ @JsonProperty("github_com_cert-manager_cert-manager_pkg_apis_acme_v1_ACMEAuthorization") private ACMEAuthorization githubComCertManagerCertManagerPkgApisAcmeV1ACMEAuthorization; @@ -1116,4 +1119,14 @@ public void setGithubComCertManagerCertManagerPkgApisMetaV1SecretKeySelector(Sec this.githubComCertManagerCertManagerPkgApisMetaV1SecretKeySelector = githubComCertManagerCertManagerPkgApisMetaV1SecretKeySelector; } + @JsonIgnore + public CertmanagerSchemaBuilder edit() { + return new CertmanagerSchemaBuilder(this); + } + + @JsonIgnore + public CertmanagerSchemaBuilder toBuilder() { + return edit(); + } + } diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEAuthorization.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEAuthorization.java index 0c54dcb652c..8bd02a5536f 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEAuthorization.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEAuthorization.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEAuthorization implements KubernetesResource +public class ACMEAuthorization implements Editable , KubernetesResource { @JsonProperty("challenges") @@ -152,6 +153,16 @@ public void setWildcard(Boolean wildcard) { this.wildcard = wildcard; } + @JsonIgnore + public ACMEAuthorizationBuilder edit() { + return new ACMEAuthorizationBuilder(this); + } + + @JsonIgnore + public ACMEAuthorizationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallenge.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallenge.java index 09930b1fcbc..2fb8901e919 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallenge.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallenge.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallenge implements KubernetesResource +public class ACMEChallenge implements Editable , KubernetesResource { @JsonProperty("token") @@ -121,6 +122,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public ACMEChallengeBuilder edit() { + return new ACMEChallengeBuilder(this); + } + + @JsonIgnore + public ACMEChallengeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolver.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolver.java index 47969e5c0b5..1b20798a0d4 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolver.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolver.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolver implements KubernetesResource +public class ACMEChallengeSolver implements Editable , KubernetesResource { @JsonProperty("dns01") @@ -121,6 +122,16 @@ public void setSelector(CertificateDNSNameSelector selector) { this.selector = selector; } + @JsonIgnore + public ACMEChallengeSolverBuilder edit() { + return new ACMEChallengeSolverBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverDNS01.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverDNS01.java index fa29d25f950..83b5d05ac1c 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverDNS01.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverDNS01.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverDNS01 implements KubernetesResource +public class ACMEChallengeSolverDNS01 implements Editable , KubernetesResource { @JsonProperty("acmeDNS") @@ -219,6 +220,16 @@ public void setWebhook(ACMEIssuerDNS01ProviderWebhook webhook) { this.webhook = webhook; } + @JsonIgnore + public ACMEChallengeSolverDNS01Builder edit() { + return new ACMEChallengeSolverDNS01Builder(this); + } + + @JsonIgnore + public ACMEChallengeSolverDNS01Builder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01.java index 24c84b57dde..a574e24d5bb 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01 implements KubernetesResource +public class ACMEChallengeSolverHTTP01 implements Editable , KubernetesResource { @JsonProperty("gatewayHTTPRoute") @@ -107,6 +108,16 @@ public void setIngress(ACMEChallengeSolverHTTP01Ingress ingress) { this.ingress = ingress; } + @JsonIgnore + public ACMEChallengeSolverHTTP01Builder edit() { + return new ACMEChallengeSolverHTTP01Builder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01Builder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01GatewayHTTPRoute.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01GatewayHTTPRoute.java index 10c7d9d3389..fe2ec5efcaa 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01GatewayHTTPRoute.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01GatewayHTTPRoute.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01GatewayHTTPRoute implements KubernetesResource +public class ACMEChallengeSolverHTTP01GatewayHTTPRoute implements Editable , KubernetesResource { @JsonProperty("labels") @@ -126,6 +127,16 @@ public void setServiceType(java.lang.String serviceType) { this.serviceType = serviceType; } + @JsonIgnore + public ACMEChallengeSolverHTTP01GatewayHTTPRouteBuilder edit() { + return new ACMEChallengeSolverHTTP01GatewayHTTPRouteBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01GatewayHTTPRouteBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01Ingress.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01Ingress.java index ebb92ea124a..47bc0f75aae 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01Ingress.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01Ingress.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01Ingress implements KubernetesResource +public class ACMEChallengeSolverHTTP01Ingress implements Editable , KubernetesResource { @JsonProperty("class") @@ -149,6 +150,16 @@ public void setServiceType(java.lang.String serviceType) { this.serviceType = serviceType; } + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressBuilder edit() { + return new ACMEChallengeSolverHTTP01IngressBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01IngressObjectMeta.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01IngressObjectMeta.java index b85556561c1..4a7b837ca4b 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01IngressObjectMeta.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01IngressObjectMeta.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01IngressObjectMeta implements KubernetesResource +public class ACMEChallengeSolverHTTP01IngressObjectMeta implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -109,6 +110,16 @@ public void setLabels(Map labels) { this.labels = labels; } + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressObjectMetaBuilder edit() { + return new ACMEChallengeSolverHTTP01IngressObjectMetaBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressObjectMetaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01IngressPodObjectMeta.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01IngressPodObjectMeta.java index 1e5db4010ea..979077999d8 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01IngressPodObjectMeta.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01IngressPodObjectMeta.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01IngressPodObjectMeta implements KubernetesResource +public class ACMEChallengeSolverHTTP01IngressPodObjectMeta implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -109,6 +110,16 @@ public void setLabels(Map labels) { this.labels = labels; } + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressPodObjectMetaBuilder edit() { + return new ACMEChallengeSolverHTTP01IngressPodObjectMetaBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressPodObjectMetaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01IngressPodSpec.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01IngressPodSpec.java index c236f08a845..9a3478cb098 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01IngressPodSpec.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01IngressPodSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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.ContainerPort; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01IngressPodSpec implements KubernetesResource +public class ACMEChallengeSolverHTTP01IngressPodSpec implements Editable , KubernetesResource { @JsonProperty("affinity") @@ -155,6 +156,16 @@ public void setTolerations(List tolerations) { this.tolerations = tolerations; } + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressPodSpecBuilder edit() { + return new ACMEChallengeSolverHTTP01IngressPodSpecBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressPodSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01IngressPodTemplate.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01IngressPodTemplate.java index 1bcd641487b..945fa175833 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01IngressPodTemplate.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01IngressPodTemplate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01IngressPodTemplate implements KubernetesResource +public class ACMEChallengeSolverHTTP01IngressPodTemplate implements Editable , KubernetesResource { @JsonProperty("metadata") @@ -106,6 +107,16 @@ public void setSpec(ACMEChallengeSolverHTTP01IngressPodSpec spec) { this.spec = spec; } + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressPodTemplateBuilder edit() { + return new ACMEChallengeSolverHTTP01IngressPodTemplateBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressPodTemplateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01IngressTemplate.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01IngressTemplate.java index 0bce46e025e..d3b1fb41939 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01IngressTemplate.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01IngressTemplate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01IngressTemplate implements KubernetesResource +public class ACMEChallengeSolverHTTP01IngressTemplate implements Editable , KubernetesResource { @JsonProperty("metadata") @@ -92,6 +93,16 @@ public void setMetadata(ACMEChallengeSolverHTTP01IngressObjectMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressTemplateBuilder edit() { + return new ACMEChallengeSolverHTTP01IngressTemplateBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressTemplateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEExternalAccountBinding.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEExternalAccountBinding.java index 116b62e3fde..4a9d3f47764 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEExternalAccountBinding.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEExternalAccountBinding.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEExternalAccountBinding implements KubernetesResource +public class ACMEExternalAccountBinding implements Editable , KubernetesResource { @JsonProperty("keyAlgorithm") @@ -122,6 +123,16 @@ public void setKeySecretRef(SecretKeySelector keySecretRef) { this.keySecretRef = keySecretRef; } + @JsonIgnore + public ACMEExternalAccountBindingBuilder edit() { + return new ACMEExternalAccountBindingBuilder(this); + } + + @JsonIgnore + public ACMEExternalAccountBindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuer.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuer.java index fbe1155493d..a883947311d 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuer.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuer.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -75,7 +76,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuer implements KubernetesResource +public class ACMEIssuer implements Editable , KubernetesResource { @JsonProperty("caBundle") @@ -224,6 +225,16 @@ public void setSolvers(List solvers) { this.solvers = solvers; } + @JsonIgnore + public ACMEIssuerBuilder edit() { + return new ACMEIssuerBuilder(this); + } + + @JsonIgnore + public ACMEIssuerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderAcmeDNS.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderAcmeDNS.java index 4d1cfcb9b41..d56bf765290 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderAcmeDNS.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderAcmeDNS.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderAcmeDNS implements KubernetesResource +public class ACMEIssuerDNS01ProviderAcmeDNS implements Editable , KubernetesResource { @JsonProperty("accountSecretRef") @@ -108,6 +109,16 @@ public void setHost(String host) { this.host = host; } + @JsonIgnore + public ACMEIssuerDNS01ProviderAcmeDNSBuilder edit() { + return new ACMEIssuerDNS01ProviderAcmeDNSBuilder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderAcmeDNSBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderAkamai.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderAkamai.java index 7fdaa1dea6d..260e8e2a82a 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderAkamai.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderAkamai.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderAkamai implements KubernetesResource +public class ACMEIssuerDNS01ProviderAkamai implements Editable , KubernetesResource { @JsonProperty("accessTokenSecretRef") @@ -136,6 +137,16 @@ public void setServiceConsumerDomain(String serviceConsumerDomain) { this.serviceConsumerDomain = serviceConsumerDomain; } + @JsonIgnore + public ACMEIssuerDNS01ProviderAkamaiBuilder edit() { + return new ACMEIssuerDNS01ProviderAkamaiBuilder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderAkamaiBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderAzureDNS.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderAzureDNS.java index b5184134e49..4a1e0d813ac 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderAzureDNS.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderAzureDNS.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderAzureDNS implements KubernetesResource +public class ACMEIssuerDNS01ProviderAzureDNS implements Editable , KubernetesResource { @JsonProperty("clientID") @@ -192,6 +193,16 @@ public void setTenantID(String tenantID) { this.tenantID = tenantID; } + @JsonIgnore + public ACMEIssuerDNS01ProviderAzureDNSBuilder edit() { + return new ACMEIssuerDNS01ProviderAzureDNSBuilder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderAzureDNSBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderCloudDNS.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderCloudDNS.java index 729102c770d..4aebabf3ba8 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderCloudDNS.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderCloudDNS.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderCloudDNS implements KubernetesResource +public class ACMEIssuerDNS01ProviderCloudDNS implements Editable , KubernetesResource { @JsonProperty("hostedZoneName") @@ -122,6 +123,16 @@ public void setServiceAccountSecretRef(SecretKeySelector serviceAccountSecretRef this.serviceAccountSecretRef = serviceAccountSecretRef; } + @JsonIgnore + public ACMEIssuerDNS01ProviderCloudDNSBuilder edit() { + return new ACMEIssuerDNS01ProviderCloudDNSBuilder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderCloudDNSBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderCloudflare.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderCloudflare.java index cb48342e3b1..3902104ac70 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderCloudflare.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderCloudflare.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderCloudflare implements KubernetesResource +public class ACMEIssuerDNS01ProviderCloudflare implements Editable , KubernetesResource { @JsonProperty("apiKeySecretRef") @@ -122,6 +123,16 @@ public void setEmail(String email) { this.email = email; } + @JsonIgnore + public ACMEIssuerDNS01ProviderCloudflareBuilder edit() { + return new ACMEIssuerDNS01ProviderCloudflareBuilder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderCloudflareBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderDigitalOcean.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderDigitalOcean.java index fbc6ca96577..84dc40b2ead 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderDigitalOcean.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderDigitalOcean.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderDigitalOcean implements KubernetesResource +public class ACMEIssuerDNS01ProviderDigitalOcean implements Editable , KubernetesResource { @JsonProperty("tokenSecretRef") @@ -94,6 +95,16 @@ public void setTokenSecretRef(SecretKeySelector tokenSecretRef) { this.tokenSecretRef = tokenSecretRef; } + @JsonIgnore + public ACMEIssuerDNS01ProviderDigitalOceanBuilder edit() { + return new ACMEIssuerDNS01ProviderDigitalOceanBuilder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderDigitalOceanBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderRFC2136.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderRFC2136.java index 28331c62d4d..247fa34ead1 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderRFC2136.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderRFC2136.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderRFC2136 implements KubernetesResource +public class ACMEIssuerDNS01ProviderRFC2136 implements Editable , KubernetesResource { @JsonProperty("nameserver") @@ -136,6 +137,16 @@ public void setTsigSecretSecretRef(SecretKeySelector tsigSecretSecretRef) { this.tsigSecretSecretRef = tsigSecretSecretRef; } + @JsonIgnore + public ACMEIssuerDNS01ProviderRFC2136Builder edit() { + return new ACMEIssuerDNS01ProviderRFC2136Builder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderRFC2136Builder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderRoute53.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderRoute53.java index 0019d54ac7e..88cdd3e882a 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderRoute53.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderRoute53.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderRoute53 implements KubernetesResource +public class ACMEIssuerDNS01ProviderRoute53 implements Editable , KubernetesResource { @JsonProperty("accessKeyID") @@ -164,6 +165,16 @@ public void setSecretAccessKeySecretRef(SecretKeySelector secretAccessKeySecretR this.secretAccessKeySecretRef = secretAccessKeySecretRef; } + @JsonIgnore + public ACMEIssuerDNS01ProviderRoute53Builder edit() { + return new ACMEIssuerDNS01ProviderRoute53Builder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderRoute53Builder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderWebhook.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderWebhook.java index c46ababbc0b..25a604baf88 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderWebhook.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerDNS01ProviderWebhook.java @@ -12,6 +12,7 @@ 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.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderWebhook implements KubernetesResource +public class ACMEIssuerDNS01ProviderWebhook implements Editable , KubernetesResource { @JsonProperty("config") @@ -122,6 +123,16 @@ public void setSolverName(String solverName) { this.solverName = solverName; } + @JsonIgnore + public ACMEIssuerDNS01ProviderWebhookBuilder edit() { + return new ACMEIssuerDNS01ProviderWebhookBuilder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderWebhookBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerStatus.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerStatus.java index 97ee0cc7d19..6f823a19473 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerStatus.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuerStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerStatus implements KubernetesResource +public class ACMEIssuerStatus implements Editable , KubernetesResource { @JsonProperty("lastRegisteredEmail") @@ -107,6 +108,16 @@ public void setUri(String uri) { this.uri = uri; } + @JsonIgnore + public ACMEIssuerStatusBuilder edit() { + return new ACMEIssuerStatusBuilder(this); + } + + @JsonIgnore + public ACMEIssuerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/AzureManagedIdentity.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/AzureManagedIdentity.java index dd7be8005db..9a34b4ea9bc 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/AzureManagedIdentity.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/AzureManagedIdentity.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class AzureManagedIdentity implements KubernetesResource +public class AzureManagedIdentity implements Editable , KubernetesResource { @JsonProperty("clientID") @@ -107,6 +108,16 @@ public void setResourceID(String resourceID) { this.resourceID = resourceID; } + @JsonIgnore + public AzureManagedIdentityBuilder edit() { + return new AzureManagedIdentityBuilder(this); + } + + @JsonIgnore + public AzureManagedIdentityBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/CertificateDNSNameSelector.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/CertificateDNSNameSelector.java index 1a6d49dd6f9..b75abf8f7ce 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/CertificateDNSNameSelector.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/CertificateDNSNameSelector.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateDNSNameSelector implements KubernetesResource +public class CertificateDNSNameSelector implements Editable , KubernetesResource { @JsonProperty("dnsNames") @@ -126,6 +127,16 @@ public void setMatchLabels(Map matchLabels) { this.matchLabels = matchLabels; } + @JsonIgnore + public CertificateDNSNameSelectorBuilder edit() { + return new CertificateDNSNameSelectorBuilder(this); + } + + @JsonIgnore + public CertificateDNSNameSelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/Challenge.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/Challenge.java index 9493c88b3ac..4f35ddd1d9e 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/Challenge.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/Challenge.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("acme.cert-manager.io") @Generated("jsonschema2pojo") -public class Challenge implements HasMetadata, Namespaced +public class Challenge implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(ChallengeStatus status) { this.status = status; } + @JsonIgnore + public ChallengeBuilder edit() { + return new ChallengeBuilder(this); + } + + @JsonIgnore + public ChallengeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ChallengeList.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ChallengeList.java index 8e48aae31f4..7a687944d73 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ChallengeList.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ChallengeList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("acme.cert-manager.io") @Generated("jsonschema2pojo") -public class ChallengeList implements KubernetesResource, KubernetesResourceList +public class ChallengeList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ChallengeListBuilder edit() { + return new ChallengeListBuilder(this); + } + + @JsonIgnore + public ChallengeListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ChallengeSpec.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ChallengeSpec.java index 4ea7386454e..6e63a18dd7b 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ChallengeSpec.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ChallengeSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ChallengeSpec implements KubernetesResource +public class ChallengeSpec implements Editable , KubernetesResource { @JsonProperty("authorizationURL") @@ -204,6 +205,16 @@ public void setWildcard(Boolean wildcard) { this.wildcard = wildcard; } + @JsonIgnore + public ChallengeSpecBuilder edit() { + return new ChallengeSpecBuilder(this); + } + + @JsonIgnore + public ChallengeSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ChallengeStatus.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ChallengeStatus.java index 137dc3b943a..05ee1bbfc1c 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ChallengeStatus.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ChallengeStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ChallengeStatus implements KubernetesResource +public class ChallengeStatus implements Editable , KubernetesResource { @JsonProperty("presented") @@ -135,6 +136,16 @@ public void setState(String state) { this.state = state; } + @JsonIgnore + public ChallengeStatusBuilder edit() { + return new ChallengeStatusBuilder(this); + } + + @JsonIgnore + public ChallengeStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/Order.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/Order.java index cae303c69e8..cf1ef809b17 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/Order.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/Order.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("acme.cert-manager.io") @Generated("jsonschema2pojo") -public class Order implements HasMetadata, Namespaced +public class Order implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(OrderStatus status) { this.status = status; } + @JsonIgnore + public OrderBuilder edit() { + return new OrderBuilder(this); + } + + @JsonIgnore + public OrderBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/OrderList.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/OrderList.java index 5de8694e1cf..8bb526bca53 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/OrderList.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/OrderList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("acme.cert-manager.io") @Generated("jsonschema2pojo") -public class OrderList implements KubernetesResource, KubernetesResourceList +public class OrderList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public OrderListBuilder edit() { + return new OrderListBuilder(this); + } + + @JsonIgnore + public OrderListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/OrderSpec.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/OrderSpec.java index 50836753c05..4d400dbf1bc 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/OrderSpec.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/OrderSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class OrderSpec implements KubernetesResource +public class OrderSpec implements Editable , KubernetesResource { @JsonProperty("commonName") @@ -167,6 +168,16 @@ public void setRequest(String request) { this.request = request; } + @JsonIgnore + public OrderSpecBuilder edit() { + return new OrderSpecBuilder(this); + } + + @JsonIgnore + public OrderSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/OrderStatus.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/OrderStatus.java index d7096421cfe..3e020d9de06 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/OrderStatus.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/OrderStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class OrderStatus implements KubernetesResource +public class OrderStatus implements Editable , KubernetesResource { @JsonProperty("authorizations") @@ -181,6 +182,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public OrderStatusBuilder edit() { + return new OrderStatusBuilder(this); + } + + @JsonIgnore + public OrderStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/LocalObjectReference.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/LocalObjectReference.java index c9cf5b7d567..3de03969b59 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/LocalObjectReference.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/LocalObjectReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LocalObjectReference implements KubernetesResource +public class LocalObjectReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -92,6 +93,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public LocalObjectReferenceBuilder edit() { + return new LocalObjectReferenceBuilder(this); + } + + @JsonIgnore + public LocalObjectReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/ObjectReference.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/ObjectReference.java index 67143dac748..f1f1e6b30f9 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/ObjectReference.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/ObjectReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ObjectReference implements KubernetesResource +public class ObjectReference implements Editable , KubernetesResource { @JsonProperty("group") @@ -119,6 +120,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public ObjectReferenceBuilder edit() { + return new ObjectReferenceBuilder(this); + } + + @JsonIgnore + public ObjectReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/SecretKeySelector.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/SecretKeySelector.java index 5cb77df7bdd..66626f3884e 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/SecretKeySelector.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/SecretKeySelector.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SecretKeySelector implements KubernetesResource +public class SecretKeySelector implements Editable , KubernetesResource { @JsonProperty("key") @@ -107,6 +108,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public SecretKeySelectorBuilder edit() { + return new SecretKeySelectorBuilder(this); + } + + @JsonIgnore + public SecretKeySelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CAIssuer.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CAIssuer.java index 9b8a60dc53a..a6084af9f46 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CAIssuer.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CAIssuer.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CAIssuer implements KubernetesResource +public class CAIssuer implements Editable , KubernetesResource { @JsonProperty("crlDistributionPoints") @@ -125,6 +126,16 @@ public void setSecretName(String secretName) { this.secretName = secretName; } + @JsonIgnore + public CAIssuerBuilder edit() { + return new CAIssuerBuilder(this); + } + + @JsonIgnore + public CAIssuerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/Certificate.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/Certificate.java index 3758a0240c7..4de0eda5266 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/Certificate.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/Certificate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class Certificate implements HasMetadata, Namespaced +public class Certificate implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(CertificateStatus status) { this.status = status; } + @JsonIgnore + public CertificateBuilder edit() { + return new CertificateBuilder(this); + } + + @JsonIgnore + public CertificateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateAdditionalOutputFormat.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateAdditionalOutputFormat.java index ab1f2cfa0a0..6947b419071 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateAdditionalOutputFormat.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateAdditionalOutputFormat.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateAdditionalOutputFormat implements KubernetesResource +public class CertificateAdditionalOutputFormat implements Editable , KubernetesResource { @JsonProperty("type") @@ -93,6 +94,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public CertificateAdditionalOutputFormatBuilder edit() { + return new CertificateAdditionalOutputFormatBuilder(this); + } + + @JsonIgnore + public CertificateAdditionalOutputFormatBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateCondition.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateCondition.java index 2c2d9c75357..282d424db9a 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateCondition.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateCondition implements KubernetesResource +public class CertificateCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -163,6 +164,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public CertificateConditionBuilder edit() { + return new CertificateConditionBuilder(this); + } + + @JsonIgnore + public CertificateConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateKeystores.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateKeystores.java index ec0da3598da..bafef1818a1 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateKeystores.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateKeystores.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateKeystores implements KubernetesResource +public class CertificateKeystores implements Editable , KubernetesResource { @JsonProperty("jks") @@ -107,6 +108,16 @@ public void setPkcs12(PKCS12Keystore pkcs12) { this.pkcs12 = pkcs12; } + @JsonIgnore + public CertificateKeystoresBuilder edit() { + return new CertificateKeystoresBuilder(this); + } + + @JsonIgnore + public CertificateKeystoresBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateList.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateList.java index d21f7b353f5..2ad8374e320 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateList.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class CertificateList implements KubernetesResource, KubernetesResourceList +public class CertificateList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public CertificateListBuilder edit() { + return new CertificateListBuilder(this); + } + + @JsonIgnore + public CertificateListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificatePrivateKey.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificatePrivateKey.java index 06129b89428..e8faec75f6b 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificatePrivateKey.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificatePrivateKey.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificatePrivateKey implements KubernetesResource +public class CertificatePrivateKey implements Editable , KubernetesResource { @JsonProperty("algorithm") @@ -135,6 +136,16 @@ public void setSize(Integer size) { this.size = size; } + @JsonIgnore + public CertificatePrivateKeyBuilder edit() { + return new CertificatePrivateKeyBuilder(this); + } + + @JsonIgnore + public CertificatePrivateKeyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateRequest.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateRequest.java index 78e3f375761..c72a73b22da 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateRequest.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateRequest.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class CertificateRequest implements HasMetadata, Namespaced +public class CertificateRequest implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(CertificateRequestStatus status) { this.status = status; } + @JsonIgnore + public CertificateRequestBuilder edit() { + return new CertificateRequestBuilder(this); + } + + @JsonIgnore + public CertificateRequestBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateRequestCondition.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateRequestCondition.java index 47803fed981..d91ec74bd8c 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateRequestCondition.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateRequestCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateRequestCondition implements KubernetesResource +public class CertificateRequestCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -149,6 +150,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public CertificateRequestConditionBuilder edit() { + return new CertificateRequestConditionBuilder(this); + } + + @JsonIgnore + public CertificateRequestConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateRequestList.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateRequestList.java index 8c3dc655aa2..75d7e5ff4a2 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateRequestList.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateRequestList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class CertificateRequestList implements KubernetesResource, KubernetesResourceList +public class CertificateRequestList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public CertificateRequestListBuilder edit() { + return new CertificateRequestListBuilder(this); + } + + @JsonIgnore + public CertificateRequestListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateRequestStatus.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateRequestStatus.java index 67699465985..088cd213784 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateRequestStatus.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateRequestStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateRequestStatus implements KubernetesResource +public class CertificateRequestStatus implements Editable , KubernetesResource { @JsonProperty("ca") @@ -140,6 +141,16 @@ public void setFailureTime(String failureTime) { this.failureTime = failureTime; } + @JsonIgnore + public CertificateRequestStatusBuilder edit() { + return new CertificateRequestStatusBuilder(this); + } + + @JsonIgnore + public CertificateRequestStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateSecretTemplate.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateSecretTemplate.java index d96461736d8..c0d2607c39f 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateSecretTemplate.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateSecretTemplate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateSecretTemplate implements KubernetesResource +public class CertificateSecretTemplate implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -109,6 +110,16 @@ public void setLabels(Map labels) { this.labels = labels; } + @JsonIgnore + public CertificateSecretTemplateBuilder edit() { + return new CertificateSecretTemplateBuilder(this); + } + + @JsonIgnore + public CertificateSecretTemplateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateSpec.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateSpec.java index 779521d5509..9b50ce9d7c0 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateSpec.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; @@ -83,7 +84,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateSpec implements KubernetesResource +public class CertificateSpec implements Editable , KubernetesResource { @JsonProperty("additionalOutputFormats") @@ -353,6 +354,16 @@ public void setUsages(List usages) { this.usages = usages; } + @JsonIgnore + public CertificateSpecBuilder edit() { + return new CertificateSpecBuilder(this); + } + + @JsonIgnore + public CertificateSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateStatus.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateStatus.java index d70800d9578..efd1e8f532d 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateStatus.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateStatus implements KubernetesResource +public class CertificateStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -194,6 +195,16 @@ public void setRevision(Integer revision) { this.revision = revision; } + @JsonIgnore + public CertificateStatusBuilder edit() { + return new CertificateStatusBuilder(this); + } + + @JsonIgnore + public CertificateStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/ClusterIssuer.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/ClusterIssuer.java index 59107df3016..8a668bde22e 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/ClusterIssuer.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/ClusterIssuer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @Version("v1") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class ClusterIssuer implements HasMetadata +public class ClusterIssuer implements Editable , HasMetadata { /** @@ -184,6 +185,16 @@ public void setStatus(IssuerStatus status) { this.status = status; } + @JsonIgnore + public ClusterIssuerBuilder edit() { + return new ClusterIssuerBuilder(this); + } + + @JsonIgnore + public ClusterIssuerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/ClusterIssuerList.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/ClusterIssuerList.java index 29ec3bef279..d908937f69e 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/ClusterIssuerList.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/ClusterIssuerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class ClusterIssuerList implements KubernetesResource, KubernetesResourceList +public class ClusterIssuerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterIssuerListBuilder edit() { + return new ClusterIssuerListBuilder(this); + } + + @JsonIgnore + public ClusterIssuerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/Issuer.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/Issuer.java index bd5aa38b764..2ea1bf49234 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/Issuer.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/Issuer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class Issuer implements HasMetadata, Namespaced +public class Issuer implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(IssuerStatus status) { this.status = status; } + @JsonIgnore + public IssuerBuilder edit() { + return new IssuerBuilder(this); + } + + @JsonIgnore + public IssuerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/IssuerCondition.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/IssuerCondition.java index 655d3006f23..ecb53dd1e40 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/IssuerCondition.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/IssuerCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IssuerCondition implements KubernetesResource +public class IssuerCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -163,6 +164,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public IssuerConditionBuilder edit() { + return new IssuerConditionBuilder(this); + } + + @JsonIgnore + public IssuerConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/IssuerList.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/IssuerList.java index 498bc919f61..fa30da5f2ea 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/IssuerList.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/IssuerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class IssuerList implements KubernetesResource, KubernetesResourceList +public class IssuerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public IssuerListBuilder edit() { + return new IssuerListBuilder(this); + } + + @JsonIgnore + public IssuerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/IssuerSpec.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/IssuerSpec.java index 00d5d0d8d6c..c76d2a16f82 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/IssuerSpec.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/IssuerSpec.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.acme.v1.ACMEIssuer; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IssuerSpec implements KubernetesResource +public class IssuerSpec implements Editable , KubernetesResource { @JsonProperty("acme") @@ -150,6 +151,16 @@ public void setVenafi(VenafiIssuer venafi) { this.venafi = venafi; } + @JsonIgnore + public IssuerSpecBuilder edit() { + return new IssuerSpecBuilder(this); + } + + @JsonIgnore + public IssuerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/IssuerStatus.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/IssuerStatus.java index 08e60b4ff33..878eec96381 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/IssuerStatus.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/IssuerStatus.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.acme.v1.ACMEIssuerStatus; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IssuerStatus implements KubernetesResource +public class IssuerStatus implements Editable , KubernetesResource { @JsonProperty("acme") @@ -111,6 +112,16 @@ public void setConditions(List conditions) { this.conditions = conditions; } + @JsonIgnore + public IssuerStatusBuilder edit() { + return new IssuerStatusBuilder(this); + } + + @JsonIgnore + public IssuerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/JKSKeystore.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/JKSKeystore.java index b031d2b6dac..0bdb110681d 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/JKSKeystore.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/JKSKeystore.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class JKSKeystore implements KubernetesResource +public class JKSKeystore implements Editable , KubernetesResource { @JsonProperty("create") @@ -108,6 +109,16 @@ public void setPasswordSecretRef(SecretKeySelector passwordSecretRef) { this.passwordSecretRef = passwordSecretRef; } + @JsonIgnore + public JKSKeystoreBuilder edit() { + return new JKSKeystoreBuilder(this); + } + + @JsonIgnore + public JKSKeystoreBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/PKCS12Keystore.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/PKCS12Keystore.java index e3ccb73e1de..7bcc9341744 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/PKCS12Keystore.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/PKCS12Keystore.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PKCS12Keystore implements KubernetesResource +public class PKCS12Keystore implements Editable , KubernetesResource { @JsonProperty("create") @@ -108,6 +109,16 @@ public void setPasswordSecretRef(SecretKeySelector passwordSecretRef) { this.passwordSecretRef = passwordSecretRef; } + @JsonIgnore + public PKCS12KeystoreBuilder edit() { + return new PKCS12KeystoreBuilder(this); + } + + @JsonIgnore + public PKCS12KeystoreBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/SelfSignedIssuer.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/SelfSignedIssuer.java index 95ffb53d47d..19a4331de7e 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/SelfSignedIssuer.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/SelfSignedIssuer.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SelfSignedIssuer implements KubernetesResource +public class SelfSignedIssuer implements Editable , KubernetesResource { @JsonProperty("crlDistributionPoints") @@ -96,6 +97,16 @@ public void setCrlDistributionPoints(List crlDistributionPoints) { this.crlDistributionPoints = crlDistributionPoints; } + @JsonIgnore + public SelfSignedIssuerBuilder edit() { + return new SelfSignedIssuerBuilder(this); + } + + @JsonIgnore + public SelfSignedIssuerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/VaultAppRole.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/VaultAppRole.java index 643a8a9c4f5..93bac84ac6f 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/VaultAppRole.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/VaultAppRole.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VaultAppRole implements KubernetesResource +public class VaultAppRole implements Editable , KubernetesResource { @JsonProperty("path") @@ -122,6 +123,16 @@ public void setSecretRef(SecretKeySelector secretRef) { this.secretRef = secretRef; } + @JsonIgnore + public VaultAppRoleBuilder edit() { + return new VaultAppRoleBuilder(this); + } + + @JsonIgnore + public VaultAppRoleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/VaultAuth.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/VaultAuth.java index 3ffd6b61159..faf0fd13b1b 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/VaultAuth.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/VaultAuth.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VaultAuth implements KubernetesResource +public class VaultAuth implements Editable , KubernetesResource { @JsonProperty("appRole") @@ -122,6 +123,16 @@ public void setTokenSecretRef(SecretKeySelector tokenSecretRef) { this.tokenSecretRef = tokenSecretRef; } + @JsonIgnore + public VaultAuthBuilder edit() { + return new VaultAuthBuilder(this); + } + + @JsonIgnore + public VaultAuthBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/VaultIssuer.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/VaultIssuer.java index c678d6ebf51..0f156e82e75 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/VaultIssuer.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/VaultIssuer.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VaultIssuer implements KubernetesResource +public class VaultIssuer implements Editable , KubernetesResource { @JsonProperty("auth") @@ -165,6 +166,16 @@ public void setServer(String server) { this.server = server; } + @JsonIgnore + public VaultIssuerBuilder edit() { + return new VaultIssuerBuilder(this); + } + + @JsonIgnore + public VaultIssuerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/VaultKubernetesAuth.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/VaultKubernetesAuth.java index ca5aec62c40..de93aeddff3 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/VaultKubernetesAuth.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/VaultKubernetesAuth.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VaultKubernetesAuth implements KubernetesResource +public class VaultKubernetesAuth implements Editable , KubernetesResource { @JsonProperty("mountPath") @@ -122,6 +123,16 @@ public void setSecretRef(SecretKeySelector secretRef) { this.secretRef = secretRef; } + @JsonIgnore + public VaultKubernetesAuthBuilder edit() { + return new VaultKubernetesAuthBuilder(this); + } + + @JsonIgnore + public VaultKubernetesAuthBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/VenafiCloud.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/VenafiCloud.java index 9450fc6d5b2..892c5422682 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/VenafiCloud.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/VenafiCloud.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VenafiCloud implements KubernetesResource +public class VenafiCloud implements Editable , KubernetesResource { @JsonProperty("apiTokenSecretRef") @@ -108,6 +109,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public VenafiCloudBuilder edit() { + return new VenafiCloudBuilder(this); + } + + @JsonIgnore + public VenafiCloudBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/VenafiIssuer.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/VenafiIssuer.java index 4c77febd20e..c19490125d1 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/VenafiIssuer.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/VenafiIssuer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VenafiIssuer implements KubernetesResource +public class VenafiIssuer implements Editable , KubernetesResource { @JsonProperty("cloud") @@ -121,6 +122,16 @@ public void setZone(String zone) { this.zone = zone; } + @JsonIgnore + public VenafiIssuerBuilder edit() { + return new VenafiIssuerBuilder(this); + } + + @JsonIgnore + public VenafiIssuerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/VenafiTPP.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/VenafiTPP.java index 755cc7cb805..fcbfca0b607 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/VenafiTPP.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/VenafiTPP.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VenafiTPP implements KubernetesResource +public class VenafiTPP implements Editable , KubernetesResource { @JsonProperty("caBundle") @@ -121,6 +122,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public VenafiTPPBuilder edit() { + return new VenafiTPPBuilder(this); + } + + @JsonIgnore + public VenafiTPPBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/X509Subject.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/X509Subject.java index 5e178ef5e11..b66d2d44ec4 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/X509Subject.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/X509Subject.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class X509Subject implements KubernetesResource +public class X509Subject implements Editable , KubernetesResource { @JsonProperty("countries") @@ -200,6 +201,16 @@ public void setStreetAddresses(List streetAddresses) { this.streetAddresses = streetAddresses; } + @JsonIgnore + public X509SubjectBuilder edit() { + return new X509SubjectBuilder(this); + } + + @JsonIgnore + public X509SubjectBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/CertmanagerSchema.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/CertmanagerSchema.java index a666c2bc6a1..6cd5a6abd43 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/CertmanagerSchema.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/CertmanagerSchema.java @@ -2,6 +2,7 @@ package io.fabric8.certmanager.api.model; import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; @@ -73,6 +74,7 @@ import io.fabric8.certmanager.api.model.v1alpha2.VenafiIssuer; import io.fabric8.certmanager.api.model.v1alpha2.VenafiTPP; import io.fabric8.certmanager.api.model.v1alpha2.X509Subject; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -190,7 +192,8 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertmanagerSchema { +public class CertmanagerSchema implements Editable +{ @JsonProperty("github_com_jetstack_cert-manager_pkg_apis_acme_v1alpha2_ACMEAuthorization") private ACMEAuthorization githubComJetstackCertManagerPkgApisAcmeV1alpha2ACMEAuthorization; @@ -1101,4 +1104,14 @@ public void setGithubComJetstackCertManagerPkgApisMetaV1SecretKeySelector(Secret this.githubComJetstackCertManagerPkgApisMetaV1SecretKeySelector = githubComJetstackCertManagerPkgApisMetaV1SecretKeySelector; } + @JsonIgnore + public CertmanagerSchemaBuilder edit() { + return new CertmanagerSchemaBuilder(this); + } + + @JsonIgnore + public CertmanagerSchemaBuilder toBuilder() { + return edit(); + } + } diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEAuthorization.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEAuthorization.java index 0dc6e207f82..4f97a69d0a6 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEAuthorization.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEAuthorization.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEAuthorization implements KubernetesResource +public class ACMEAuthorization implements Editable , KubernetesResource { @JsonProperty("challenges") @@ -152,6 +153,16 @@ public void setWildcard(Boolean wildcard) { this.wildcard = wildcard; } + @JsonIgnore + public ACMEAuthorizationBuilder edit() { + return new ACMEAuthorizationBuilder(this); + } + + @JsonIgnore + public ACMEAuthorizationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallenge.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallenge.java index 50f462fb32f..e779b3c6bf9 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallenge.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallenge.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallenge implements KubernetesResource +public class ACMEChallenge implements Editable , KubernetesResource { @JsonProperty("token") @@ -121,6 +122,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public ACMEChallengeBuilder edit() { + return new ACMEChallengeBuilder(this); + } + + @JsonIgnore + public ACMEChallengeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolver.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolver.java index ef869049f02..0a5614bc8f0 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolver.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolver.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolver implements KubernetesResource +public class ACMEChallengeSolver implements Editable , KubernetesResource { @JsonProperty("dns01") @@ -121,6 +122,16 @@ public void setSelector(CertificateDNSNameSelector selector) { this.selector = selector; } + @JsonIgnore + public ACMEChallengeSolverBuilder edit() { + return new ACMEChallengeSolverBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverDNS01.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverDNS01.java index 58ad6dafef8..cb9a4f80715 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverDNS01.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverDNS01.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverDNS01 implements KubernetesResource +public class ACMEChallengeSolverDNS01 implements Editable , KubernetesResource { @JsonProperty("acmedns") @@ -219,6 +220,16 @@ public void setWebhook(ACMEIssuerDNS01ProviderWebhook webhook) { this.webhook = webhook; } + @JsonIgnore + public ACMEChallengeSolverDNS01Builder edit() { + return new ACMEChallengeSolverDNS01Builder(this); + } + + @JsonIgnore + public ACMEChallengeSolverDNS01Builder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01.java index 672e28ef2ad..15414f2ca08 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01 implements KubernetesResource +public class ACMEChallengeSolverHTTP01 implements Editable , KubernetesResource { @JsonProperty("gatewayHTTPRoute") @@ -107,6 +108,16 @@ public void setIngress(ACMEChallengeSolverHTTP01Ingress ingress) { this.ingress = ingress; } + @JsonIgnore + public ACMEChallengeSolverHTTP01Builder edit() { + return new ACMEChallengeSolverHTTP01Builder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01Builder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01GatewayHTTPRoute.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01GatewayHTTPRoute.java index 137b0fcb060..63f2e22cde4 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01GatewayHTTPRoute.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01GatewayHTTPRoute.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01GatewayHTTPRoute implements KubernetesResource +public class ACMEChallengeSolverHTTP01GatewayHTTPRoute implements Editable , KubernetesResource { @JsonProperty("labels") @@ -108,6 +109,16 @@ public void setServiceType(java.lang.String serviceType) { this.serviceType = serviceType; } + @JsonIgnore + public ACMEChallengeSolverHTTP01GatewayHTTPRouteBuilder edit() { + return new ACMEChallengeSolverHTTP01GatewayHTTPRouteBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01GatewayHTTPRouteBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01Ingress.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01Ingress.java index 3e963c56e23..2d8d6e3686f 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01Ingress.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01Ingress.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01Ingress implements KubernetesResource +public class ACMEChallengeSolverHTTP01Ingress implements Editable , KubernetesResource { @JsonProperty("class") @@ -149,6 +150,16 @@ public void setServiceType(java.lang.String serviceType) { this.serviceType = serviceType; } + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressBuilder edit() { + return new ACMEChallengeSolverHTTP01IngressBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01IngressObjectMeta.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01IngressObjectMeta.java index be3a006901e..9e8276f318b 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01IngressObjectMeta.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01IngressObjectMeta.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01IngressObjectMeta implements KubernetesResource +public class ACMEChallengeSolverHTTP01IngressObjectMeta implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -109,6 +110,16 @@ public void setLabels(Map labels) { this.labels = labels; } + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressObjectMetaBuilder edit() { + return new ACMEChallengeSolverHTTP01IngressObjectMetaBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressObjectMetaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01IngressPodObjectMeta.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01IngressPodObjectMeta.java index 44aaa34568a..4acf87eff17 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01IngressPodObjectMeta.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01IngressPodObjectMeta.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01IngressPodObjectMeta implements KubernetesResource +public class ACMEChallengeSolverHTTP01IngressPodObjectMeta implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -109,6 +110,16 @@ public void setLabels(Map labels) { this.labels = labels; } + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressPodObjectMetaBuilder edit() { + return new ACMEChallengeSolverHTTP01IngressPodObjectMetaBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressPodObjectMetaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01IngressPodSpec.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01IngressPodSpec.java index 2bc5be1ca86..fed552e6c71 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01IngressPodSpec.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01IngressPodSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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.ContainerPort; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01IngressPodSpec implements KubernetesResource +public class ACMEChallengeSolverHTTP01IngressPodSpec implements Editable , KubernetesResource { @JsonProperty("affinity") @@ -155,6 +156,16 @@ public void setTolerations(List tolerations) { this.tolerations = tolerations; } + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressPodSpecBuilder edit() { + return new ACMEChallengeSolverHTTP01IngressPodSpecBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressPodSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01IngressPodTemplate.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01IngressPodTemplate.java index 006250f8041..b434983c038 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01IngressPodTemplate.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01IngressPodTemplate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01IngressPodTemplate implements KubernetesResource +public class ACMEChallengeSolverHTTP01IngressPodTemplate implements Editable , KubernetesResource { @JsonProperty("metadata") @@ -106,6 +107,16 @@ public void setSpec(ACMEChallengeSolverHTTP01IngressPodSpec spec) { this.spec = spec; } + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressPodTemplateBuilder edit() { + return new ACMEChallengeSolverHTTP01IngressPodTemplateBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressPodTemplateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01IngressTemplate.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01IngressTemplate.java index e359c0c69ff..934d0d23610 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01IngressTemplate.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEChallengeSolverHTTP01IngressTemplate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01IngressTemplate implements KubernetesResource +public class ACMEChallengeSolverHTTP01IngressTemplate implements Editable , KubernetesResource { @JsonProperty("metadata") @@ -92,6 +93,16 @@ public void setMetadata(ACMEChallengeSolverHTTP01IngressObjectMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressTemplateBuilder edit() { + return new ACMEChallengeSolverHTTP01IngressTemplateBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressTemplateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEExternalAccountBinding.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEExternalAccountBinding.java index 6a9964b7307..9fd3a7d80a4 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEExternalAccountBinding.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEExternalAccountBinding.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEExternalAccountBinding implements KubernetesResource +public class ACMEExternalAccountBinding implements Editable , KubernetesResource { @JsonProperty("keyAlgorithm") @@ -122,6 +123,16 @@ public void setKeySecretRef(SecretKeySelector keySecretRef) { this.keySecretRef = keySecretRef; } + @JsonIgnore + public ACMEExternalAccountBindingBuilder edit() { + return new ACMEExternalAccountBindingBuilder(this); + } + + @JsonIgnore + public ACMEExternalAccountBindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuer.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuer.java index f2cd2fbdfa8..4a4c17a5ee2 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuer.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuer.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuer implements KubernetesResource +public class ACMEIssuer implements Editable , KubernetesResource { @JsonProperty("disableAccountKeyGeneration") @@ -209,6 +210,16 @@ public void setSolvers(List solvers) { this.solvers = solvers; } + @JsonIgnore + public ACMEIssuerBuilder edit() { + return new ACMEIssuerBuilder(this); + } + + @JsonIgnore + public ACMEIssuerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderAcmeDNS.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderAcmeDNS.java index 3d64b39ee8a..0c42f8825a3 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderAcmeDNS.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderAcmeDNS.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderAcmeDNS implements KubernetesResource +public class ACMEIssuerDNS01ProviderAcmeDNS implements Editable , KubernetesResource { @JsonProperty("accountSecretRef") @@ -108,6 +109,16 @@ public void setHost(String host) { this.host = host; } + @JsonIgnore + public ACMEIssuerDNS01ProviderAcmeDNSBuilder edit() { + return new ACMEIssuerDNS01ProviderAcmeDNSBuilder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderAcmeDNSBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderAkamai.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderAkamai.java index af02b547f50..62a0f9fd8fb 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderAkamai.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderAkamai.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderAkamai implements KubernetesResource +public class ACMEIssuerDNS01ProviderAkamai implements Editable , KubernetesResource { @JsonProperty("accessTokenSecretRef") @@ -136,6 +137,16 @@ public void setServiceConsumerDomain(String serviceConsumerDomain) { this.serviceConsumerDomain = serviceConsumerDomain; } + @JsonIgnore + public ACMEIssuerDNS01ProviderAkamaiBuilder edit() { + return new ACMEIssuerDNS01ProviderAkamaiBuilder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderAkamaiBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderAzureDNS.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderAzureDNS.java index 9df1a567580..487f3d936d2 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderAzureDNS.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderAzureDNS.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderAzureDNS implements KubernetesResource +public class ACMEIssuerDNS01ProviderAzureDNS implements Editable , KubernetesResource { @JsonProperty("clientID") @@ -192,6 +193,16 @@ public void setTenantID(String tenantID) { this.tenantID = tenantID; } + @JsonIgnore + public ACMEIssuerDNS01ProviderAzureDNSBuilder edit() { + return new ACMEIssuerDNS01ProviderAzureDNSBuilder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderAzureDNSBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderCloudDNS.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderCloudDNS.java index 24e088d3759..25c9ab3cb0a 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderCloudDNS.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderCloudDNS.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderCloudDNS implements KubernetesResource +public class ACMEIssuerDNS01ProviderCloudDNS implements Editable , KubernetesResource { @JsonProperty("hostedZoneName") @@ -122,6 +123,16 @@ public void setServiceAccountSecretRef(SecretKeySelector serviceAccountSecretRef this.serviceAccountSecretRef = serviceAccountSecretRef; } + @JsonIgnore + public ACMEIssuerDNS01ProviderCloudDNSBuilder edit() { + return new ACMEIssuerDNS01ProviderCloudDNSBuilder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderCloudDNSBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderCloudflare.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderCloudflare.java index 1b541704f67..0bad2cb5a3d 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderCloudflare.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderCloudflare.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderCloudflare implements KubernetesResource +public class ACMEIssuerDNS01ProviderCloudflare implements Editable , KubernetesResource { @JsonProperty("apiKeySecretRef") @@ -122,6 +123,16 @@ public void setEmail(String email) { this.email = email; } + @JsonIgnore + public ACMEIssuerDNS01ProviderCloudflareBuilder edit() { + return new ACMEIssuerDNS01ProviderCloudflareBuilder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderCloudflareBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderDigitalOcean.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderDigitalOcean.java index 3742ab5e165..8d1ea1f7fcb 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderDigitalOcean.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderDigitalOcean.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderDigitalOcean implements KubernetesResource +public class ACMEIssuerDNS01ProviderDigitalOcean implements Editable , KubernetesResource { @JsonProperty("tokenSecretRef") @@ -94,6 +95,16 @@ public void setTokenSecretRef(SecretKeySelector tokenSecretRef) { this.tokenSecretRef = tokenSecretRef; } + @JsonIgnore + public ACMEIssuerDNS01ProviderDigitalOceanBuilder edit() { + return new ACMEIssuerDNS01ProviderDigitalOceanBuilder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderDigitalOceanBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderRFC2136.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderRFC2136.java index e64f354ec30..34a3a0dfed2 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderRFC2136.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderRFC2136.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderRFC2136 implements KubernetesResource +public class ACMEIssuerDNS01ProviderRFC2136 implements Editable , KubernetesResource { @JsonProperty("nameserver") @@ -136,6 +137,16 @@ public void setTsigSecretSecretRef(SecretKeySelector tsigSecretSecretRef) { this.tsigSecretSecretRef = tsigSecretSecretRef; } + @JsonIgnore + public ACMEIssuerDNS01ProviderRFC2136Builder edit() { + return new ACMEIssuerDNS01ProviderRFC2136Builder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderRFC2136Builder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderRoute53.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderRoute53.java index e8ee0a499c1..64e32039ecf 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderRoute53.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderRoute53.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderRoute53 implements KubernetesResource +public class ACMEIssuerDNS01ProviderRoute53 implements Editable , KubernetesResource { @JsonProperty("accessKeyID") @@ -150,6 +151,16 @@ public void setSecretAccessKeySecretRef(SecretKeySelector secretAccessKeySecretR this.secretAccessKeySecretRef = secretAccessKeySecretRef; } + @JsonIgnore + public ACMEIssuerDNS01ProviderRoute53Builder edit() { + return new ACMEIssuerDNS01ProviderRoute53Builder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderRoute53Builder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderWebhook.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderWebhook.java index bda219f4961..061ddc9c793 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderWebhook.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerDNS01ProviderWebhook.java @@ -12,6 +12,7 @@ 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.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderWebhook implements KubernetesResource +public class ACMEIssuerDNS01ProviderWebhook implements Editable , KubernetesResource { @JsonProperty("config") @@ -122,6 +123,16 @@ public void setSolverName(String solverName) { this.solverName = solverName; } + @JsonIgnore + public ACMEIssuerDNS01ProviderWebhookBuilder edit() { + return new ACMEIssuerDNS01ProviderWebhookBuilder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderWebhookBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerStatus.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerStatus.java index 28d6d0330a1..ca4b703e03d 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerStatus.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ACMEIssuerStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerStatus implements KubernetesResource +public class ACMEIssuerStatus implements Editable , KubernetesResource { @JsonProperty("lastRegisteredEmail") @@ -107,6 +108,16 @@ public void setUri(String uri) { this.uri = uri; } + @JsonIgnore + public ACMEIssuerStatusBuilder edit() { + return new ACMEIssuerStatusBuilder(this); + } + + @JsonIgnore + public ACMEIssuerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/AzureManagedIdentity.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/AzureManagedIdentity.java index cfe6f6fa803..18723c04a54 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/AzureManagedIdentity.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/AzureManagedIdentity.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class AzureManagedIdentity implements KubernetesResource +public class AzureManagedIdentity implements Editable , KubernetesResource { @JsonProperty("clientID") @@ -107,6 +108,16 @@ public void setResourceID(String resourceID) { this.resourceID = resourceID; } + @JsonIgnore + public AzureManagedIdentityBuilder edit() { + return new AzureManagedIdentityBuilder(this); + } + + @JsonIgnore + public AzureManagedIdentityBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/CertificateDNSNameSelector.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/CertificateDNSNameSelector.java index ab3ab5d5e61..6bd41becd21 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/CertificateDNSNameSelector.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/CertificateDNSNameSelector.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateDNSNameSelector implements KubernetesResource +public class CertificateDNSNameSelector implements Editable , KubernetesResource { @JsonProperty("dnsNames") @@ -126,6 +127,16 @@ public void setMatchLabels(Map matchLabels) { this.matchLabels = matchLabels; } + @JsonIgnore + public CertificateDNSNameSelectorBuilder edit() { + return new CertificateDNSNameSelectorBuilder(this); + } + + @JsonIgnore + public CertificateDNSNameSelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/Challenge.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/Challenge.java index 40dc2444495..fb3c2fcad6f 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/Challenge.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/Challenge.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha2") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class Challenge implements HasMetadata, Namespaced +public class Challenge implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(ChallengeStatus status) { this.status = status; } + @JsonIgnore + public ChallengeBuilder edit() { + return new ChallengeBuilder(this); + } + + @JsonIgnore + public ChallengeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ChallengeList.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ChallengeList.java index 733fd3d1572..fa753f65100 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ChallengeList.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ChallengeList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha2") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class ChallengeList implements KubernetesResource, KubernetesResourceList +public class ChallengeList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ChallengeListBuilder edit() { + return new ChallengeListBuilder(this); + } + + @JsonIgnore + public ChallengeListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ChallengeSpec.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ChallengeSpec.java index 31174e2646c..f4240d3d742 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ChallengeSpec.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ChallengeSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ChallengeSpec implements KubernetesResource +public class ChallengeSpec implements Editable , KubernetesResource { @JsonProperty("authzURL") @@ -204,6 +205,16 @@ public void setWildcard(Boolean wildcard) { this.wildcard = wildcard; } + @JsonIgnore + public ChallengeSpecBuilder edit() { + return new ChallengeSpecBuilder(this); + } + + @JsonIgnore + public ChallengeSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ChallengeStatus.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ChallengeStatus.java index 6d92d6d735f..96daa1992e5 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ChallengeStatus.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ChallengeStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ChallengeStatus implements KubernetesResource +public class ChallengeStatus implements Editable , KubernetesResource { @JsonProperty("presented") @@ -135,6 +136,16 @@ public void setState(String state) { this.state = state; } + @JsonIgnore + public ChallengeStatusBuilder edit() { + return new ChallengeStatusBuilder(this); + } + + @JsonIgnore + public ChallengeStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/Order.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/Order.java index 9d0f38225df..7cc9881bad4 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/Order.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/Order.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha2") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class Order implements HasMetadata, Namespaced +public class Order implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(OrderStatus status) { this.status = status; } + @JsonIgnore + public OrderBuilder edit() { + return new OrderBuilder(this); + } + + @JsonIgnore + public OrderBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/OrderList.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/OrderList.java index 591df2dfc1d..7356696ee41 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/OrderList.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/OrderList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha2") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class OrderList implements KubernetesResource, KubernetesResourceList +public class OrderList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public OrderListBuilder edit() { + return new OrderListBuilder(this); + } + + @JsonIgnore + public OrderListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/OrderSpec.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/OrderSpec.java index c738aaf8f41..3fc974bc178 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/OrderSpec.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/OrderSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class OrderSpec implements KubernetesResource +public class OrderSpec implements Editable , KubernetesResource { @JsonProperty("commonName") @@ -167,6 +168,16 @@ public void setIssuerRef(io.fabric8.certmanager.api.model.meta.v1.ObjectReferenc this.issuerRef = issuerRef; } + @JsonIgnore + public OrderSpecBuilder edit() { + return new OrderSpecBuilder(this); + } + + @JsonIgnore + public OrderSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/OrderStatus.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/OrderStatus.java index 7ed5bd4724a..e16ffb08f29 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/OrderStatus.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/OrderStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class OrderStatus implements KubernetesResource +public class OrderStatus implements Editable , KubernetesResource { @JsonProperty("authorizations") @@ -181,6 +182,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public OrderStatusBuilder edit() { + return new OrderStatusBuilder(this); + } + + @JsonIgnore + public OrderStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/LocalObjectReference.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/LocalObjectReference.java index c9cf5b7d567..3de03969b59 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/LocalObjectReference.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/LocalObjectReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LocalObjectReference implements KubernetesResource +public class LocalObjectReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -92,6 +93,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public LocalObjectReferenceBuilder edit() { + return new LocalObjectReferenceBuilder(this); + } + + @JsonIgnore + public LocalObjectReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/ObjectReference.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/ObjectReference.java index 67143dac748..f1f1e6b30f9 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/ObjectReference.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/ObjectReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ObjectReference implements KubernetesResource +public class ObjectReference implements Editable , KubernetesResource { @JsonProperty("group") @@ -119,6 +120,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public ObjectReferenceBuilder edit() { + return new ObjectReferenceBuilder(this); + } + + @JsonIgnore + public ObjectReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/SecretKeySelector.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/SecretKeySelector.java index 5cb77df7bdd..66626f3884e 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/SecretKeySelector.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/SecretKeySelector.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SecretKeySelector implements KubernetesResource +public class SecretKeySelector implements Editable , KubernetesResource { @JsonProperty("key") @@ -107,6 +108,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public SecretKeySelectorBuilder edit() { + return new SecretKeySelectorBuilder(this); + } + + @JsonIgnore + public SecretKeySelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CAIssuer.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CAIssuer.java index 55c60e23cd8..24eb2c9bb5b 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CAIssuer.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CAIssuer.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CAIssuer implements KubernetesResource +public class CAIssuer implements Editable , KubernetesResource { @JsonProperty("crlDistributionPoints") @@ -125,6 +126,16 @@ public void setSecretName(String secretName) { this.secretName = secretName; } + @JsonIgnore + public CAIssuerBuilder edit() { + return new CAIssuerBuilder(this); + } + + @JsonIgnore + public CAIssuerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/Certificate.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/Certificate.java index 334a5f634b6..a84feb33b1d 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/Certificate.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/Certificate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha2") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class Certificate implements HasMetadata, Namespaced +public class Certificate implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(CertificateStatus status) { this.status = status; } + @JsonIgnore + public CertificateBuilder edit() { + return new CertificateBuilder(this); + } + + @JsonIgnore + public CertificateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateCondition.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateCondition.java index 0340c290482..0d388c6b4b0 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateCondition.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateCondition implements KubernetesResource +public class CertificateCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -163,6 +164,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public CertificateConditionBuilder edit() { + return new CertificateConditionBuilder(this); + } + + @JsonIgnore + public CertificateConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateKeystores.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateKeystores.java index 20637b4314c..82e2faf4c97 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateKeystores.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateKeystores.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateKeystores implements KubernetesResource +public class CertificateKeystores implements Editable , KubernetesResource { @JsonProperty("jks") @@ -107,6 +108,16 @@ public void setPkcs12(PKCS12Keystore pkcs12) { this.pkcs12 = pkcs12; } + @JsonIgnore + public CertificateKeystoresBuilder edit() { + return new CertificateKeystoresBuilder(this); + } + + @JsonIgnore + public CertificateKeystoresBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateList.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateList.java index c673b69a2fc..518fc88bd9c 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateList.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha2") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class CertificateList implements KubernetesResource, KubernetesResourceList +public class CertificateList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public CertificateListBuilder edit() { + return new CertificateListBuilder(this); + } + + @JsonIgnore + public CertificateListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificatePrivateKey.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificatePrivateKey.java index 970d54d245f..d325c95aafe 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificatePrivateKey.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificatePrivateKey.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificatePrivateKey implements KubernetesResource +public class CertificatePrivateKey implements Editable , KubernetesResource { @JsonProperty("rotationPolicy") @@ -93,6 +94,16 @@ public void setRotationPolicy(String rotationPolicy) { this.rotationPolicy = rotationPolicy; } + @JsonIgnore + public CertificatePrivateKeyBuilder edit() { + return new CertificatePrivateKeyBuilder(this); + } + + @JsonIgnore + public CertificatePrivateKeyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateRequest.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateRequest.java index 782f3970991..51d1f1384e3 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateRequest.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateRequest.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha2") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class CertificateRequest implements HasMetadata, Namespaced +public class CertificateRequest implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(CertificateRequestStatus status) { this.status = status; } + @JsonIgnore + public CertificateRequestBuilder edit() { + return new CertificateRequestBuilder(this); + } + + @JsonIgnore + public CertificateRequestBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateRequestCondition.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateRequestCondition.java index 5e62dc8de94..0312806c01b 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateRequestCondition.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateRequestCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateRequestCondition implements KubernetesResource +public class CertificateRequestCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -149,6 +150,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public CertificateRequestConditionBuilder edit() { + return new CertificateRequestConditionBuilder(this); + } + + @JsonIgnore + public CertificateRequestConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateRequestList.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateRequestList.java index 37b00f972bb..2fe4e0b9d3a 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateRequestList.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateRequestList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha2") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class CertificateRequestList implements KubernetesResource, KubernetesResourceList +public class CertificateRequestList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public CertificateRequestListBuilder edit() { + return new CertificateRequestListBuilder(this); + } + + @JsonIgnore + public CertificateRequestListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateRequestSpec.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateRequestSpec.java index 69ca7d98be4..9dc9156af5a 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateRequestSpec.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateRequestSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; @@ -73,7 +74,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateRequestSpec implements KubernetesResource +public class CertificateRequestSpec implements Editable , KubernetesResource { @JsonProperty("csr") @@ -210,6 +211,16 @@ public void setUsername(java.lang.String username) { this.username = username; } + @JsonIgnore + public CertificateRequestSpecBuilder edit() { + return new CertificateRequestSpecBuilder(this); + } + + @JsonIgnore + public CertificateRequestSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateRequestStatus.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateRequestStatus.java index 0879579bab9..e66d69ec038 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateRequestStatus.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateRequestStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateRequestStatus implements KubernetesResource +public class CertificateRequestStatus implements Editable , KubernetesResource { @JsonProperty("ca") @@ -140,6 +141,16 @@ public void setFailureTime(String failureTime) { this.failureTime = failureTime; } + @JsonIgnore + public CertificateRequestStatusBuilder edit() { + return new CertificateRequestStatusBuilder(this); + } + + @JsonIgnore + public CertificateRequestStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateSecretTemplate.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateSecretTemplate.java index 6f5b7fccfd1..b18dbfc7b6f 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateSecretTemplate.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateSecretTemplate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateSecretTemplate implements KubernetesResource +public class CertificateSecretTemplate implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -109,6 +110,16 @@ public void setLabels(Map labels) { this.labels = labels; } + @JsonIgnore + public CertificateSecretTemplateBuilder edit() { + return new CertificateSecretTemplateBuilder(this); + } + + @JsonIgnore + public CertificateSecretTemplateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateSpec.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateSpec.java index 237554cba1c..e5b877fc61a 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateSpec.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; @@ -85,7 +86,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateSpec implements KubernetesResource +public class CertificateSpec implements Editable , KubernetesResource { @JsonProperty("commonName") @@ -381,6 +382,16 @@ public void setUsages(List usages) { this.usages = usages; } + @JsonIgnore + public CertificateSpecBuilder edit() { + return new CertificateSpecBuilder(this); + } + + @JsonIgnore + public CertificateSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateStatus.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateStatus.java index b0787c8817f..7c6aa6cdb4e 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateStatus.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateStatus implements KubernetesResource +public class CertificateStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -180,6 +181,16 @@ public void setRevision(Integer revision) { this.revision = revision; } + @JsonIgnore + public CertificateStatusBuilder edit() { + return new CertificateStatusBuilder(this); + } + + @JsonIgnore + public CertificateStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/ClusterIssuer.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/ClusterIssuer.java index c93dfbbcd6d..efff1a4b661 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/ClusterIssuer.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/ClusterIssuer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @Version("v1alpha2") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class ClusterIssuer implements HasMetadata +public class ClusterIssuer implements Editable , HasMetadata { /** @@ -184,6 +185,16 @@ public void setStatus(IssuerStatus status) { this.status = status; } + @JsonIgnore + public ClusterIssuerBuilder edit() { + return new ClusterIssuerBuilder(this); + } + + @JsonIgnore + public ClusterIssuerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/ClusterIssuerList.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/ClusterIssuerList.java index e21db08f82b..57af6895874 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/ClusterIssuerList.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/ClusterIssuerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha2") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class ClusterIssuerList implements KubernetesResource, KubernetesResourceList +public class ClusterIssuerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterIssuerListBuilder edit() { + return new ClusterIssuerListBuilder(this); + } + + @JsonIgnore + public ClusterIssuerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/Issuer.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/Issuer.java index 5ca1acdefee..69e124fa000 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/Issuer.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/Issuer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha2") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class Issuer implements HasMetadata, Namespaced +public class Issuer implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(IssuerStatus status) { this.status = status; } + @JsonIgnore + public IssuerBuilder edit() { + return new IssuerBuilder(this); + } + + @JsonIgnore + public IssuerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/IssuerCondition.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/IssuerCondition.java index 727cde9ef18..803c86c9a4f 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/IssuerCondition.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/IssuerCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IssuerCondition implements KubernetesResource +public class IssuerCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -163,6 +164,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public IssuerConditionBuilder edit() { + return new IssuerConditionBuilder(this); + } + + @JsonIgnore + public IssuerConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/IssuerList.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/IssuerList.java index a5ca20a857d..4a73e084ed7 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/IssuerList.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/IssuerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha2") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class IssuerList implements KubernetesResource, KubernetesResourceList +public class IssuerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public IssuerListBuilder edit() { + return new IssuerListBuilder(this); + } + + @JsonIgnore + public IssuerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/IssuerSpec.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/IssuerSpec.java index c7c9dc5d62d..9b075915511 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/IssuerSpec.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/IssuerSpec.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.acme.v1alpha2.ACMEIssuer; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IssuerSpec implements KubernetesResource +public class IssuerSpec implements Editable , KubernetesResource { @JsonProperty("acme") @@ -150,6 +151,16 @@ public void setVenafi(VenafiIssuer venafi) { this.venafi = venafi; } + @JsonIgnore + public IssuerSpecBuilder edit() { + return new IssuerSpecBuilder(this); + } + + @JsonIgnore + public IssuerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/IssuerStatus.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/IssuerStatus.java index 1756e3b89eb..537ec72435e 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/IssuerStatus.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/IssuerStatus.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.acme.v1alpha2.ACMEIssuerStatus; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IssuerStatus implements KubernetesResource +public class IssuerStatus implements Editable , KubernetesResource { @JsonProperty("acme") @@ -111,6 +112,16 @@ public void setConditions(List conditions) { this.conditions = conditions; } + @JsonIgnore + public IssuerStatusBuilder edit() { + return new IssuerStatusBuilder(this); + } + + @JsonIgnore + public IssuerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/JKSKeystore.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/JKSKeystore.java index 0fe488bd370..c76413d0e27 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/JKSKeystore.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/JKSKeystore.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class JKSKeystore implements KubernetesResource +public class JKSKeystore implements Editable , KubernetesResource { @JsonProperty("create") @@ -108,6 +109,16 @@ public void setPasswordSecretRef(SecretKeySelector passwordSecretRef) { this.passwordSecretRef = passwordSecretRef; } + @JsonIgnore + public JKSKeystoreBuilder edit() { + return new JKSKeystoreBuilder(this); + } + + @JsonIgnore + public JKSKeystoreBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/PKCS12Keystore.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/PKCS12Keystore.java index f01a3e66706..6f1e76e0ceb 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/PKCS12Keystore.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/PKCS12Keystore.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PKCS12Keystore implements KubernetesResource +public class PKCS12Keystore implements Editable , KubernetesResource { @JsonProperty("create") @@ -108,6 +109,16 @@ public void setPasswordSecretRef(SecretKeySelector passwordSecretRef) { this.passwordSecretRef = passwordSecretRef; } + @JsonIgnore + public PKCS12KeystoreBuilder edit() { + return new PKCS12KeystoreBuilder(this); + } + + @JsonIgnore + public PKCS12KeystoreBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/SelfSignedIssuer.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/SelfSignedIssuer.java index 4ac9bf00551..4ce0416728b 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/SelfSignedIssuer.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/SelfSignedIssuer.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SelfSignedIssuer implements KubernetesResource +public class SelfSignedIssuer implements Editable , KubernetesResource { @JsonProperty("crlDistributionPoints") @@ -96,6 +97,16 @@ public void setCrlDistributionPoints(List crlDistributionPoints) { this.crlDistributionPoints = crlDistributionPoints; } + @JsonIgnore + public SelfSignedIssuerBuilder edit() { + return new SelfSignedIssuerBuilder(this); + } + + @JsonIgnore + public SelfSignedIssuerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/VaultAppRole.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/VaultAppRole.java index 69de87859cc..286f62f69de 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/VaultAppRole.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/VaultAppRole.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VaultAppRole implements KubernetesResource +public class VaultAppRole implements Editable , KubernetesResource { @JsonProperty("path") @@ -122,6 +123,16 @@ public void setSecretRef(SecretKeySelector secretRef) { this.secretRef = secretRef; } + @JsonIgnore + public VaultAppRoleBuilder edit() { + return new VaultAppRoleBuilder(this); + } + + @JsonIgnore + public VaultAppRoleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/VaultAuth.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/VaultAuth.java index 7f424a7dd19..af4fcd2287e 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/VaultAuth.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/VaultAuth.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VaultAuth implements KubernetesResource +public class VaultAuth implements Editable , KubernetesResource { @JsonProperty("appRole") @@ -122,6 +123,16 @@ public void setTokenSecretRef(SecretKeySelector tokenSecretRef) { this.tokenSecretRef = tokenSecretRef; } + @JsonIgnore + public VaultAuthBuilder edit() { + return new VaultAuthBuilder(this); + } + + @JsonIgnore + public VaultAuthBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/VaultIssuer.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/VaultIssuer.java index 861a701cdfb..46fdfd5afe2 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/VaultIssuer.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/VaultIssuer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VaultIssuer implements KubernetesResource +public class VaultIssuer implements Editable , KubernetesResource { @JsonProperty("auth") @@ -150,6 +151,16 @@ public void setServer(String server) { this.server = server; } + @JsonIgnore + public VaultIssuerBuilder edit() { + return new VaultIssuerBuilder(this); + } + + @JsonIgnore + public VaultIssuerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/VaultKubernetesAuth.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/VaultKubernetesAuth.java index d1464271cf7..172b9c56824 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/VaultKubernetesAuth.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/VaultKubernetesAuth.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VaultKubernetesAuth implements KubernetesResource +public class VaultKubernetesAuth implements Editable , KubernetesResource { @JsonProperty("mountPath") @@ -122,6 +123,16 @@ public void setSecretRef(SecretKeySelector secretRef) { this.secretRef = secretRef; } + @JsonIgnore + public VaultKubernetesAuthBuilder edit() { + return new VaultKubernetesAuthBuilder(this); + } + + @JsonIgnore + public VaultKubernetesAuthBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/VenafiCloud.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/VenafiCloud.java index 84eb643b5f9..28ae82ada52 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/VenafiCloud.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/VenafiCloud.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VenafiCloud implements KubernetesResource +public class VenafiCloud implements Editable , KubernetesResource { @JsonProperty("apiTokenSecretRef") @@ -108,6 +109,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public VenafiCloudBuilder edit() { + return new VenafiCloudBuilder(this); + } + + @JsonIgnore + public VenafiCloudBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/VenafiIssuer.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/VenafiIssuer.java index 255724ad5fb..bce7a534d18 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/VenafiIssuer.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/VenafiIssuer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VenafiIssuer implements KubernetesResource +public class VenafiIssuer implements Editable , KubernetesResource { @JsonProperty("cloud") @@ -121,6 +122,16 @@ public void setZone(String zone) { this.zone = zone; } + @JsonIgnore + public VenafiIssuerBuilder edit() { + return new VenafiIssuerBuilder(this); + } + + @JsonIgnore + public VenafiIssuerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/VenafiTPP.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/VenafiTPP.java index df019fa69b6..b70cfd34767 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/VenafiTPP.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/VenafiTPP.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VenafiTPP implements KubernetesResource +public class VenafiTPP implements Editable , KubernetesResource { @JsonProperty("caBundle") @@ -121,6 +122,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public VenafiTPPBuilder edit() { + return new VenafiTPPBuilder(this); + } + + @JsonIgnore + public VenafiTPPBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/X509Subject.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/X509Subject.java index 57251270e0d..8e3def544c6 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/X509Subject.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/X509Subject.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class X509Subject implements KubernetesResource +public class X509Subject implements Editable , KubernetesResource { @JsonProperty("countries") @@ -185,6 +186,16 @@ public void setStreetAddresses(List streetAddresses) { this.streetAddresses = streetAddresses; } + @JsonIgnore + public X509SubjectBuilder edit() { + return new X509SubjectBuilder(this); + } + + @JsonIgnore + public X509SubjectBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/CertmanagerSchema.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/CertmanagerSchema.java index f0c077d4185..c49ae4dfb20 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/CertmanagerSchema.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/CertmanagerSchema.java @@ -2,6 +2,7 @@ package io.fabric8.certmanager.api.model; import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; @@ -73,6 +74,7 @@ import io.fabric8.certmanager.api.model.v1alpha3.VenafiIssuer; import io.fabric8.certmanager.api.model.v1alpha3.VenafiTPP; import io.fabric8.certmanager.api.model.v1alpha3.X509Subject; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -190,7 +192,8 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertmanagerSchema { +public class CertmanagerSchema implements Editable +{ @JsonProperty("github_com_jetstack_cert-manager_pkg_apis_acme_v1alpha3_ACMEAuthorization") private ACMEAuthorization githubComJetstackCertManagerPkgApisAcmeV1alpha3ACMEAuthorization; @@ -1101,4 +1104,14 @@ public void setGithubComJetstackCertManagerPkgApisMetaV1SecretKeySelector(Secret this.githubComJetstackCertManagerPkgApisMetaV1SecretKeySelector = githubComJetstackCertManagerPkgApisMetaV1SecretKeySelector; } + @JsonIgnore + public CertmanagerSchemaBuilder edit() { + return new CertmanagerSchemaBuilder(this); + } + + @JsonIgnore + public CertmanagerSchemaBuilder toBuilder() { + return edit(); + } + } diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEAuthorization.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEAuthorization.java index 7b7e79d6861..36552277dcb 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEAuthorization.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEAuthorization.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEAuthorization implements KubernetesResource +public class ACMEAuthorization implements Editable , KubernetesResource { @JsonProperty("challenges") @@ -152,6 +153,16 @@ public void setWildcard(Boolean wildcard) { this.wildcard = wildcard; } + @JsonIgnore + public ACMEAuthorizationBuilder edit() { + return new ACMEAuthorizationBuilder(this); + } + + @JsonIgnore + public ACMEAuthorizationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallenge.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallenge.java index 8e52be09796..d9de99cb1bc 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallenge.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallenge.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallenge implements KubernetesResource +public class ACMEChallenge implements Editable , KubernetesResource { @JsonProperty("token") @@ -121,6 +122,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public ACMEChallengeBuilder edit() { + return new ACMEChallengeBuilder(this); + } + + @JsonIgnore + public ACMEChallengeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolver.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolver.java index d09450e0bb7..ac5a087778b 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolver.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolver.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolver implements KubernetesResource +public class ACMEChallengeSolver implements Editable , KubernetesResource { @JsonProperty("dns01") @@ -121,6 +122,16 @@ public void setSelector(CertificateDNSNameSelector selector) { this.selector = selector; } + @JsonIgnore + public ACMEChallengeSolverBuilder edit() { + return new ACMEChallengeSolverBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverDNS01.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverDNS01.java index ff6491f19d7..54f35a72236 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverDNS01.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverDNS01.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverDNS01 implements KubernetesResource +public class ACMEChallengeSolverDNS01 implements Editable , KubernetesResource { @JsonProperty("acmedns") @@ -219,6 +220,16 @@ public void setWebhook(ACMEIssuerDNS01ProviderWebhook webhook) { this.webhook = webhook; } + @JsonIgnore + public ACMEChallengeSolverDNS01Builder edit() { + return new ACMEChallengeSolverDNS01Builder(this); + } + + @JsonIgnore + public ACMEChallengeSolverDNS01Builder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01.java index d71bc1312c4..96f6acfebee 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01 implements KubernetesResource +public class ACMEChallengeSolverHTTP01 implements Editable , KubernetesResource { @JsonProperty("gatewayHTTPRoute") @@ -107,6 +108,16 @@ public void setIngress(ACMEChallengeSolverHTTP01Ingress ingress) { this.ingress = ingress; } + @JsonIgnore + public ACMEChallengeSolverHTTP01Builder edit() { + return new ACMEChallengeSolverHTTP01Builder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01Builder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01GatewayHTTPRoute.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01GatewayHTTPRoute.java index 1a33d262ffa..03933d411f4 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01GatewayHTTPRoute.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01GatewayHTTPRoute.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01GatewayHTTPRoute implements KubernetesResource +public class ACMEChallengeSolverHTTP01GatewayHTTPRoute implements Editable , KubernetesResource { @JsonProperty("labels") @@ -108,6 +109,16 @@ public void setServiceType(java.lang.String serviceType) { this.serviceType = serviceType; } + @JsonIgnore + public ACMEChallengeSolverHTTP01GatewayHTTPRouteBuilder edit() { + return new ACMEChallengeSolverHTTP01GatewayHTTPRouteBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01GatewayHTTPRouteBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01Ingress.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01Ingress.java index 945bad83b49..a86805ba53e 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01Ingress.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01Ingress.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01Ingress implements KubernetesResource +public class ACMEChallengeSolverHTTP01Ingress implements Editable , KubernetesResource { @JsonProperty("class") @@ -149,6 +150,16 @@ public void setServiceType(java.lang.String serviceType) { this.serviceType = serviceType; } + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressBuilder edit() { + return new ACMEChallengeSolverHTTP01IngressBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01IngressObjectMeta.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01IngressObjectMeta.java index e18c8546f44..fed19558653 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01IngressObjectMeta.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01IngressObjectMeta.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01IngressObjectMeta implements KubernetesResource +public class ACMEChallengeSolverHTTP01IngressObjectMeta implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -109,6 +110,16 @@ public void setLabels(Map labels) { this.labels = labels; } + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressObjectMetaBuilder edit() { + return new ACMEChallengeSolverHTTP01IngressObjectMetaBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressObjectMetaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01IngressPodObjectMeta.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01IngressPodObjectMeta.java index 43f8dad3d20..adce06092fc 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01IngressPodObjectMeta.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01IngressPodObjectMeta.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01IngressPodObjectMeta implements KubernetesResource +public class ACMEChallengeSolverHTTP01IngressPodObjectMeta implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -109,6 +110,16 @@ public void setLabels(Map labels) { this.labels = labels; } + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressPodObjectMetaBuilder edit() { + return new ACMEChallengeSolverHTTP01IngressPodObjectMetaBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressPodObjectMetaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01IngressPodSpec.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01IngressPodSpec.java index ab727a6d0e5..abbd7c0434c 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01IngressPodSpec.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01IngressPodSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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.ContainerPort; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01IngressPodSpec implements KubernetesResource +public class ACMEChallengeSolverHTTP01IngressPodSpec implements Editable , KubernetesResource { @JsonProperty("affinity") @@ -155,6 +156,16 @@ public void setTolerations(List tolerations) { this.tolerations = tolerations; } + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressPodSpecBuilder edit() { + return new ACMEChallengeSolverHTTP01IngressPodSpecBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressPodSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01IngressPodTemplate.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01IngressPodTemplate.java index 581ce382a6b..5b59c4eb23b 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01IngressPodTemplate.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01IngressPodTemplate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01IngressPodTemplate implements KubernetesResource +public class ACMEChallengeSolverHTTP01IngressPodTemplate implements Editable , KubernetesResource { @JsonProperty("metadata") @@ -106,6 +107,16 @@ public void setSpec(ACMEChallengeSolverHTTP01IngressPodSpec spec) { this.spec = spec; } + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressPodTemplateBuilder edit() { + return new ACMEChallengeSolverHTTP01IngressPodTemplateBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressPodTemplateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01IngressTemplate.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01IngressTemplate.java index 91261573a17..c538a22d0e2 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01IngressTemplate.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEChallengeSolverHTTP01IngressTemplate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01IngressTemplate implements KubernetesResource +public class ACMEChallengeSolverHTTP01IngressTemplate implements Editable , KubernetesResource { @JsonProperty("metadata") @@ -92,6 +93,16 @@ public void setMetadata(ACMEChallengeSolverHTTP01IngressObjectMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressTemplateBuilder edit() { + return new ACMEChallengeSolverHTTP01IngressTemplateBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressTemplateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEExternalAccountBinding.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEExternalAccountBinding.java index 44b5c78a6b3..2e10d4277c7 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEExternalAccountBinding.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEExternalAccountBinding.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEExternalAccountBinding implements KubernetesResource +public class ACMEExternalAccountBinding implements Editable , KubernetesResource { @JsonProperty("keyAlgorithm") @@ -122,6 +123,16 @@ public void setKeySecretRef(SecretKeySelector keySecretRef) { this.keySecretRef = keySecretRef; } + @JsonIgnore + public ACMEExternalAccountBindingBuilder edit() { + return new ACMEExternalAccountBindingBuilder(this); + } + + @JsonIgnore + public ACMEExternalAccountBindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuer.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuer.java index 59679d6f63b..1b1f0dbd7b9 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuer.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuer.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuer implements KubernetesResource +public class ACMEIssuer implements Editable , KubernetesResource { @JsonProperty("disableAccountKeyGeneration") @@ -209,6 +210,16 @@ public void setSolvers(List solvers) { this.solvers = solvers; } + @JsonIgnore + public ACMEIssuerBuilder edit() { + return new ACMEIssuerBuilder(this); + } + + @JsonIgnore + public ACMEIssuerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderAcmeDNS.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderAcmeDNS.java index b63a0af2b1a..7291402f470 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderAcmeDNS.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderAcmeDNS.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderAcmeDNS implements KubernetesResource +public class ACMEIssuerDNS01ProviderAcmeDNS implements Editable , KubernetesResource { @JsonProperty("accountSecretRef") @@ -108,6 +109,16 @@ public void setHost(String host) { this.host = host; } + @JsonIgnore + public ACMEIssuerDNS01ProviderAcmeDNSBuilder edit() { + return new ACMEIssuerDNS01ProviderAcmeDNSBuilder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderAcmeDNSBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderAkamai.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderAkamai.java index 925a0ff2286..4c71197ed3a 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderAkamai.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderAkamai.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderAkamai implements KubernetesResource +public class ACMEIssuerDNS01ProviderAkamai implements Editable , KubernetesResource { @JsonProperty("accessTokenSecretRef") @@ -136,6 +137,16 @@ public void setServiceConsumerDomain(String serviceConsumerDomain) { this.serviceConsumerDomain = serviceConsumerDomain; } + @JsonIgnore + public ACMEIssuerDNS01ProviderAkamaiBuilder edit() { + return new ACMEIssuerDNS01ProviderAkamaiBuilder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderAkamaiBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderAzureDNS.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderAzureDNS.java index 0dbfba6ae76..b58e82c7440 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderAzureDNS.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderAzureDNS.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderAzureDNS implements KubernetesResource +public class ACMEIssuerDNS01ProviderAzureDNS implements Editable , KubernetesResource { @JsonProperty("clientID") @@ -192,6 +193,16 @@ public void setTenantID(String tenantID) { this.tenantID = tenantID; } + @JsonIgnore + public ACMEIssuerDNS01ProviderAzureDNSBuilder edit() { + return new ACMEIssuerDNS01ProviderAzureDNSBuilder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderAzureDNSBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderCloudDNS.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderCloudDNS.java index 5da1699c6ba..732ba0c234e 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderCloudDNS.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderCloudDNS.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderCloudDNS implements KubernetesResource +public class ACMEIssuerDNS01ProviderCloudDNS implements Editable , KubernetesResource { @JsonProperty("hostedZoneName") @@ -122,6 +123,16 @@ public void setServiceAccountSecretRef(SecretKeySelector serviceAccountSecretRef this.serviceAccountSecretRef = serviceAccountSecretRef; } + @JsonIgnore + public ACMEIssuerDNS01ProviderCloudDNSBuilder edit() { + return new ACMEIssuerDNS01ProviderCloudDNSBuilder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderCloudDNSBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderCloudflare.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderCloudflare.java index 05265d0ec6d..ec9dfa13331 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderCloudflare.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderCloudflare.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderCloudflare implements KubernetesResource +public class ACMEIssuerDNS01ProviderCloudflare implements Editable , KubernetesResource { @JsonProperty("apiKeySecretRef") @@ -122,6 +123,16 @@ public void setEmail(String email) { this.email = email; } + @JsonIgnore + public ACMEIssuerDNS01ProviderCloudflareBuilder edit() { + return new ACMEIssuerDNS01ProviderCloudflareBuilder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderCloudflareBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderDigitalOcean.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderDigitalOcean.java index 2cc6ca84d67..00f06b7c568 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderDigitalOcean.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderDigitalOcean.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderDigitalOcean implements KubernetesResource +public class ACMEIssuerDNS01ProviderDigitalOcean implements Editable , KubernetesResource { @JsonProperty("tokenSecretRef") @@ -94,6 +95,16 @@ public void setTokenSecretRef(SecretKeySelector tokenSecretRef) { this.tokenSecretRef = tokenSecretRef; } + @JsonIgnore + public ACMEIssuerDNS01ProviderDigitalOceanBuilder edit() { + return new ACMEIssuerDNS01ProviderDigitalOceanBuilder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderDigitalOceanBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderRFC2136.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderRFC2136.java index dbd4b8fdef9..6ca10418dd7 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderRFC2136.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderRFC2136.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderRFC2136 implements KubernetesResource +public class ACMEIssuerDNS01ProviderRFC2136 implements Editable , KubernetesResource { @JsonProperty("nameserver") @@ -136,6 +137,16 @@ public void setTsigSecretSecretRef(SecretKeySelector tsigSecretSecretRef) { this.tsigSecretSecretRef = tsigSecretSecretRef; } + @JsonIgnore + public ACMEIssuerDNS01ProviderRFC2136Builder edit() { + return new ACMEIssuerDNS01ProviderRFC2136Builder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderRFC2136Builder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderRoute53.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderRoute53.java index 3112dd3f76f..b3d7e65cf85 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderRoute53.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderRoute53.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderRoute53 implements KubernetesResource +public class ACMEIssuerDNS01ProviderRoute53 implements Editable , KubernetesResource { @JsonProperty("accessKeyID") @@ -150,6 +151,16 @@ public void setSecretAccessKeySecretRef(SecretKeySelector secretAccessKeySecretR this.secretAccessKeySecretRef = secretAccessKeySecretRef; } + @JsonIgnore + public ACMEIssuerDNS01ProviderRoute53Builder edit() { + return new ACMEIssuerDNS01ProviderRoute53Builder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderRoute53Builder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderWebhook.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderWebhook.java index 75c2abfd5b2..3134ee7d8e3 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderWebhook.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerDNS01ProviderWebhook.java @@ -12,6 +12,7 @@ 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.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderWebhook implements KubernetesResource +public class ACMEIssuerDNS01ProviderWebhook implements Editable , KubernetesResource { @JsonProperty("config") @@ -122,6 +123,16 @@ public void setSolverName(String solverName) { this.solverName = solverName; } + @JsonIgnore + public ACMEIssuerDNS01ProviderWebhookBuilder edit() { + return new ACMEIssuerDNS01ProviderWebhookBuilder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderWebhookBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerStatus.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerStatus.java index a122142b098..9688dad7a0f 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerStatus.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ACMEIssuerStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerStatus implements KubernetesResource +public class ACMEIssuerStatus implements Editable , KubernetesResource { @JsonProperty("lastRegisteredEmail") @@ -107,6 +108,16 @@ public void setUri(String uri) { this.uri = uri; } + @JsonIgnore + public ACMEIssuerStatusBuilder edit() { + return new ACMEIssuerStatusBuilder(this); + } + + @JsonIgnore + public ACMEIssuerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/AzureManagedIdentity.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/AzureManagedIdentity.java index 54f10e2416a..3c94196ac9a 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/AzureManagedIdentity.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/AzureManagedIdentity.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class AzureManagedIdentity implements KubernetesResource +public class AzureManagedIdentity implements Editable , KubernetesResource { @JsonProperty("clientID") @@ -107,6 +108,16 @@ public void setResourceID(String resourceID) { this.resourceID = resourceID; } + @JsonIgnore + public AzureManagedIdentityBuilder edit() { + return new AzureManagedIdentityBuilder(this); + } + + @JsonIgnore + public AzureManagedIdentityBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/CertificateDNSNameSelector.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/CertificateDNSNameSelector.java index 69a755bfce5..c46a43a7af6 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/CertificateDNSNameSelector.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/CertificateDNSNameSelector.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateDNSNameSelector implements KubernetesResource +public class CertificateDNSNameSelector implements Editable , KubernetesResource { @JsonProperty("dnsNames") @@ -126,6 +127,16 @@ public void setMatchLabels(Map matchLabels) { this.matchLabels = matchLabels; } + @JsonIgnore + public CertificateDNSNameSelectorBuilder edit() { + return new CertificateDNSNameSelectorBuilder(this); + } + + @JsonIgnore + public CertificateDNSNameSelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/Challenge.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/Challenge.java index 8ce4b227c5f..ac8f3c882a6 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/Challenge.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/Challenge.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha3") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class Challenge implements HasMetadata, Namespaced +public class Challenge implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(ChallengeStatus status) { this.status = status; } + @JsonIgnore + public ChallengeBuilder edit() { + return new ChallengeBuilder(this); + } + + @JsonIgnore + public ChallengeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ChallengeList.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ChallengeList.java index ce3c17f3c9a..47e6d918ea3 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ChallengeList.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ChallengeList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha3") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class ChallengeList implements KubernetesResource, KubernetesResourceList +public class ChallengeList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ChallengeListBuilder edit() { + return new ChallengeListBuilder(this); + } + + @JsonIgnore + public ChallengeListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ChallengeSpec.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ChallengeSpec.java index f3f99333367..68befb04dfa 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ChallengeSpec.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ChallengeSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ChallengeSpec implements KubernetesResource +public class ChallengeSpec implements Editable , KubernetesResource { @JsonProperty("authzURL") @@ -204,6 +205,16 @@ public void setWildcard(Boolean wildcard) { this.wildcard = wildcard; } + @JsonIgnore + public ChallengeSpecBuilder edit() { + return new ChallengeSpecBuilder(this); + } + + @JsonIgnore + public ChallengeSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ChallengeStatus.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ChallengeStatus.java index 8b59ca22eea..b467bd54927 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ChallengeStatus.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ChallengeStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ChallengeStatus implements KubernetesResource +public class ChallengeStatus implements Editable , KubernetesResource { @JsonProperty("presented") @@ -135,6 +136,16 @@ public void setState(String state) { this.state = state; } + @JsonIgnore + public ChallengeStatusBuilder edit() { + return new ChallengeStatusBuilder(this); + } + + @JsonIgnore + public ChallengeStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/Order.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/Order.java index 5664355386c..f7c69104b83 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/Order.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/Order.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha3") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class Order implements HasMetadata, Namespaced +public class Order implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(OrderStatus status) { this.status = status; } + @JsonIgnore + public OrderBuilder edit() { + return new OrderBuilder(this); + } + + @JsonIgnore + public OrderBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/OrderList.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/OrderList.java index 1d636e51d5a..eb444f09e38 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/OrderList.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/OrderList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha3") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class OrderList implements KubernetesResource, KubernetesResourceList +public class OrderList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public OrderListBuilder edit() { + return new OrderListBuilder(this); + } + + @JsonIgnore + public OrderListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/OrderSpec.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/OrderSpec.java index 10731dd39e4..7de5c36a3dc 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/OrderSpec.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/OrderSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class OrderSpec implements KubernetesResource +public class OrderSpec implements Editable , KubernetesResource { @JsonProperty("commonName") @@ -167,6 +168,16 @@ public void setIssuerRef(io.fabric8.certmanager.api.model.meta.v1.ObjectReferenc this.issuerRef = issuerRef; } + @JsonIgnore + public OrderSpecBuilder edit() { + return new OrderSpecBuilder(this); + } + + @JsonIgnore + public OrderSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/OrderStatus.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/OrderStatus.java index bd1802a6b73..05b5adcb3f8 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/OrderStatus.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/OrderStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class OrderStatus implements KubernetesResource +public class OrderStatus implements Editable , KubernetesResource { @JsonProperty("authorizations") @@ -181,6 +182,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public OrderStatusBuilder edit() { + return new OrderStatusBuilder(this); + } + + @JsonIgnore + public OrderStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/LocalObjectReference.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/LocalObjectReference.java index c9cf5b7d567..3de03969b59 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/LocalObjectReference.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/LocalObjectReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LocalObjectReference implements KubernetesResource +public class LocalObjectReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -92,6 +93,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public LocalObjectReferenceBuilder edit() { + return new LocalObjectReferenceBuilder(this); + } + + @JsonIgnore + public LocalObjectReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/ObjectReference.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/ObjectReference.java index 67143dac748..f1f1e6b30f9 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/ObjectReference.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/ObjectReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ObjectReference implements KubernetesResource +public class ObjectReference implements Editable , KubernetesResource { @JsonProperty("group") @@ -119,6 +120,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public ObjectReferenceBuilder edit() { + return new ObjectReferenceBuilder(this); + } + + @JsonIgnore + public ObjectReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/SecretKeySelector.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/SecretKeySelector.java index 5cb77df7bdd..66626f3884e 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/SecretKeySelector.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/SecretKeySelector.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SecretKeySelector implements KubernetesResource +public class SecretKeySelector implements Editable , KubernetesResource { @JsonProperty("key") @@ -107,6 +108,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public SecretKeySelectorBuilder edit() { + return new SecretKeySelectorBuilder(this); + } + + @JsonIgnore + public SecretKeySelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CAIssuer.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CAIssuer.java index 2fe640273c9..48b9c06a085 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CAIssuer.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CAIssuer.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CAIssuer implements KubernetesResource +public class CAIssuer implements Editable , KubernetesResource { @JsonProperty("crlDistributionPoints") @@ -125,6 +126,16 @@ public void setSecretName(String secretName) { this.secretName = secretName; } + @JsonIgnore + public CAIssuerBuilder edit() { + return new CAIssuerBuilder(this); + } + + @JsonIgnore + public CAIssuerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/Certificate.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/Certificate.java index d660f119a7d..88b8945e1a2 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/Certificate.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/Certificate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha3") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class Certificate implements HasMetadata, Namespaced +public class Certificate implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(CertificateStatus status) { this.status = status; } + @JsonIgnore + public CertificateBuilder edit() { + return new CertificateBuilder(this); + } + + @JsonIgnore + public CertificateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateCondition.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateCondition.java index df8695a6a51..ae554c41269 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateCondition.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateCondition implements KubernetesResource +public class CertificateCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -163,6 +164,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public CertificateConditionBuilder edit() { + return new CertificateConditionBuilder(this); + } + + @JsonIgnore + public CertificateConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateKeystores.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateKeystores.java index f1654e4f92e..02e96878352 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateKeystores.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateKeystores.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateKeystores implements KubernetesResource +public class CertificateKeystores implements Editable , KubernetesResource { @JsonProperty("jks") @@ -107,6 +108,16 @@ public void setPkcs12(PKCS12Keystore pkcs12) { this.pkcs12 = pkcs12; } + @JsonIgnore + public CertificateKeystoresBuilder edit() { + return new CertificateKeystoresBuilder(this); + } + + @JsonIgnore + public CertificateKeystoresBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateList.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateList.java index dd0eea41ee6..67381e048d4 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateList.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha3") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class CertificateList implements KubernetesResource, KubernetesResourceList +public class CertificateList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public CertificateListBuilder edit() { + return new CertificateListBuilder(this); + } + + @JsonIgnore + public CertificateListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificatePrivateKey.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificatePrivateKey.java index 96040bb060b..e37c980ec8a 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificatePrivateKey.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificatePrivateKey.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificatePrivateKey implements KubernetesResource +public class CertificatePrivateKey implements Editable , KubernetesResource { @JsonProperty("rotationPolicy") @@ -93,6 +94,16 @@ public void setRotationPolicy(String rotationPolicy) { this.rotationPolicy = rotationPolicy; } + @JsonIgnore + public CertificatePrivateKeyBuilder edit() { + return new CertificatePrivateKeyBuilder(this); + } + + @JsonIgnore + public CertificatePrivateKeyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateRequest.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateRequest.java index e8e0ccec79b..85e3a2698f0 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateRequest.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateRequest.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha3") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class CertificateRequest implements HasMetadata, Namespaced +public class CertificateRequest implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(CertificateRequestStatus status) { this.status = status; } + @JsonIgnore + public CertificateRequestBuilder edit() { + return new CertificateRequestBuilder(this); + } + + @JsonIgnore + public CertificateRequestBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateRequestCondition.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateRequestCondition.java index a21d57af294..2b91475ce06 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateRequestCondition.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateRequestCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateRequestCondition implements KubernetesResource +public class CertificateRequestCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -149,6 +150,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public CertificateRequestConditionBuilder edit() { + return new CertificateRequestConditionBuilder(this); + } + + @JsonIgnore + public CertificateRequestConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateRequestList.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateRequestList.java index b91fa341bb2..569f5a93da3 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateRequestList.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateRequestList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha3") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class CertificateRequestList implements KubernetesResource, KubernetesResourceList +public class CertificateRequestList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public CertificateRequestListBuilder edit() { + return new CertificateRequestListBuilder(this); + } + + @JsonIgnore + public CertificateRequestListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateRequestSpec.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateRequestSpec.java index 4cf0e4cb27a..bebbc9f8b18 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateRequestSpec.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateRequestSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; @@ -73,7 +74,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateRequestSpec implements KubernetesResource +public class CertificateRequestSpec implements Editable , KubernetesResource { @JsonProperty("csr") @@ -210,6 +211,16 @@ public void setUsername(java.lang.String username) { this.username = username; } + @JsonIgnore + public CertificateRequestSpecBuilder edit() { + return new CertificateRequestSpecBuilder(this); + } + + @JsonIgnore + public CertificateRequestSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateRequestStatus.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateRequestStatus.java index 278e664501d..56cf72cd2ab 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateRequestStatus.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateRequestStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateRequestStatus implements KubernetesResource +public class CertificateRequestStatus implements Editable , KubernetesResource { @JsonProperty("ca") @@ -140,6 +141,16 @@ public void setFailureTime(String failureTime) { this.failureTime = failureTime; } + @JsonIgnore + public CertificateRequestStatusBuilder edit() { + return new CertificateRequestStatusBuilder(this); + } + + @JsonIgnore + public CertificateRequestStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateSecretTemplate.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateSecretTemplate.java index 8e505389e7d..01aaa81fecf 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateSecretTemplate.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateSecretTemplate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateSecretTemplate implements KubernetesResource +public class CertificateSecretTemplate implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -109,6 +110,16 @@ public void setLabels(Map labels) { this.labels = labels; } + @JsonIgnore + public CertificateSecretTemplateBuilder edit() { + return new CertificateSecretTemplateBuilder(this); + } + + @JsonIgnore + public CertificateSecretTemplateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateSpec.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateSpec.java index 3576c678280..b0d6c6f4264 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateSpec.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; @@ -84,7 +85,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateSpec implements KubernetesResource +public class CertificateSpec implements Editable , KubernetesResource { @JsonProperty("commonName") @@ -366,6 +367,16 @@ public void setUsages(List usages) { this.usages = usages; } + @JsonIgnore + public CertificateSpecBuilder edit() { + return new CertificateSpecBuilder(this); + } + + @JsonIgnore + public CertificateSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateStatus.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateStatus.java index 2ff5e8b8fcb..418df176a4c 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateStatus.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateStatus implements KubernetesResource +public class CertificateStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -180,6 +181,16 @@ public void setRevision(Integer revision) { this.revision = revision; } + @JsonIgnore + public CertificateStatusBuilder edit() { + return new CertificateStatusBuilder(this); + } + + @JsonIgnore + public CertificateStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/ClusterIssuer.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/ClusterIssuer.java index bcfced3d980..0586bdaa6ac 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/ClusterIssuer.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/ClusterIssuer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @Version("v1alpha3") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class ClusterIssuer implements HasMetadata +public class ClusterIssuer implements Editable , HasMetadata { /** @@ -184,6 +185,16 @@ public void setStatus(IssuerStatus status) { this.status = status; } + @JsonIgnore + public ClusterIssuerBuilder edit() { + return new ClusterIssuerBuilder(this); + } + + @JsonIgnore + public ClusterIssuerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/ClusterIssuerList.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/ClusterIssuerList.java index a4b1cc80ec5..0bf3fb5d95a 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/ClusterIssuerList.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/ClusterIssuerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha3") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class ClusterIssuerList implements KubernetesResource, KubernetesResourceList +public class ClusterIssuerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterIssuerListBuilder edit() { + return new ClusterIssuerListBuilder(this); + } + + @JsonIgnore + public ClusterIssuerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/Issuer.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/Issuer.java index 2bf7f6f28f0..bc3fdaa1754 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/Issuer.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/Issuer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha3") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class Issuer implements HasMetadata, Namespaced +public class Issuer implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(IssuerStatus status) { this.status = status; } + @JsonIgnore + public IssuerBuilder edit() { + return new IssuerBuilder(this); + } + + @JsonIgnore + public IssuerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/IssuerCondition.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/IssuerCondition.java index 93c2014b7b3..82c81e4d078 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/IssuerCondition.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/IssuerCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IssuerCondition implements KubernetesResource +public class IssuerCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -163,6 +164,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public IssuerConditionBuilder edit() { + return new IssuerConditionBuilder(this); + } + + @JsonIgnore + public IssuerConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/IssuerList.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/IssuerList.java index 42400ca9f36..e114933ebdd 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/IssuerList.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/IssuerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha3") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class IssuerList implements KubernetesResource, KubernetesResourceList +public class IssuerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public IssuerListBuilder edit() { + return new IssuerListBuilder(this); + } + + @JsonIgnore + public IssuerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/IssuerSpec.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/IssuerSpec.java index 60d4541e175..a6c0370ccd0 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/IssuerSpec.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/IssuerSpec.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.acme.v1alpha3.ACMEIssuer; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IssuerSpec implements KubernetesResource +public class IssuerSpec implements Editable , KubernetesResource { @JsonProperty("acme") @@ -150,6 +151,16 @@ public void setVenafi(VenafiIssuer venafi) { this.venafi = venafi; } + @JsonIgnore + public IssuerSpecBuilder edit() { + return new IssuerSpecBuilder(this); + } + + @JsonIgnore + public IssuerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/IssuerStatus.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/IssuerStatus.java index 36eaebd3005..509335287d2 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/IssuerStatus.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/IssuerStatus.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.acme.v1alpha3.ACMEIssuerStatus; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IssuerStatus implements KubernetesResource +public class IssuerStatus implements Editable , KubernetesResource { @JsonProperty("acme") @@ -111,6 +112,16 @@ public void setConditions(List conditions) { this.conditions = conditions; } + @JsonIgnore + public IssuerStatusBuilder edit() { + return new IssuerStatusBuilder(this); + } + + @JsonIgnore + public IssuerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/JKSKeystore.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/JKSKeystore.java index f094ed29a23..e1c9c826098 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/JKSKeystore.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/JKSKeystore.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class JKSKeystore implements KubernetesResource +public class JKSKeystore implements Editable , KubernetesResource { @JsonProperty("create") @@ -108,6 +109,16 @@ public void setPasswordSecretRef(SecretKeySelector passwordSecretRef) { this.passwordSecretRef = passwordSecretRef; } + @JsonIgnore + public JKSKeystoreBuilder edit() { + return new JKSKeystoreBuilder(this); + } + + @JsonIgnore + public JKSKeystoreBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/PKCS12Keystore.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/PKCS12Keystore.java index 166167b2084..7299413263c 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/PKCS12Keystore.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/PKCS12Keystore.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PKCS12Keystore implements KubernetesResource +public class PKCS12Keystore implements Editable , KubernetesResource { @JsonProperty("create") @@ -108,6 +109,16 @@ public void setPasswordSecretRef(SecretKeySelector passwordSecretRef) { this.passwordSecretRef = passwordSecretRef; } + @JsonIgnore + public PKCS12KeystoreBuilder edit() { + return new PKCS12KeystoreBuilder(this); + } + + @JsonIgnore + public PKCS12KeystoreBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/SelfSignedIssuer.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/SelfSignedIssuer.java index 2d66d7f7453..73b3945becd 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/SelfSignedIssuer.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/SelfSignedIssuer.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SelfSignedIssuer implements KubernetesResource +public class SelfSignedIssuer implements Editable , KubernetesResource { @JsonProperty("crlDistributionPoints") @@ -96,6 +97,16 @@ public void setCrlDistributionPoints(List crlDistributionPoints) { this.crlDistributionPoints = crlDistributionPoints; } + @JsonIgnore + public SelfSignedIssuerBuilder edit() { + return new SelfSignedIssuerBuilder(this); + } + + @JsonIgnore + public SelfSignedIssuerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/VaultAppRole.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/VaultAppRole.java index 613c18f27b6..9fee642d604 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/VaultAppRole.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/VaultAppRole.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VaultAppRole implements KubernetesResource +public class VaultAppRole implements Editable , KubernetesResource { @JsonProperty("path") @@ -122,6 +123,16 @@ public void setSecretRef(SecretKeySelector secretRef) { this.secretRef = secretRef; } + @JsonIgnore + public VaultAppRoleBuilder edit() { + return new VaultAppRoleBuilder(this); + } + + @JsonIgnore + public VaultAppRoleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/VaultAuth.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/VaultAuth.java index 1baae648502..e6f07b30950 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/VaultAuth.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/VaultAuth.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VaultAuth implements KubernetesResource +public class VaultAuth implements Editable , KubernetesResource { @JsonProperty("appRole") @@ -122,6 +123,16 @@ public void setTokenSecretRef(SecretKeySelector tokenSecretRef) { this.tokenSecretRef = tokenSecretRef; } + @JsonIgnore + public VaultAuthBuilder edit() { + return new VaultAuthBuilder(this); + } + + @JsonIgnore + public VaultAuthBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/VaultIssuer.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/VaultIssuer.java index cea13803c41..62cb2e92d42 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/VaultIssuer.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/VaultIssuer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VaultIssuer implements KubernetesResource +public class VaultIssuer implements Editable , KubernetesResource { @JsonProperty("auth") @@ -150,6 +151,16 @@ public void setServer(String server) { this.server = server; } + @JsonIgnore + public VaultIssuerBuilder edit() { + return new VaultIssuerBuilder(this); + } + + @JsonIgnore + public VaultIssuerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/VaultKubernetesAuth.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/VaultKubernetesAuth.java index d5577793727..b62b7cee8da 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/VaultKubernetesAuth.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/VaultKubernetesAuth.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VaultKubernetesAuth implements KubernetesResource +public class VaultKubernetesAuth implements Editable , KubernetesResource { @JsonProperty("mountPath") @@ -122,6 +123,16 @@ public void setSecretRef(SecretKeySelector secretRef) { this.secretRef = secretRef; } + @JsonIgnore + public VaultKubernetesAuthBuilder edit() { + return new VaultKubernetesAuthBuilder(this); + } + + @JsonIgnore + public VaultKubernetesAuthBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/VenafiCloud.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/VenafiCloud.java index ed36c603e6d..9562176f3c3 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/VenafiCloud.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/VenafiCloud.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VenafiCloud implements KubernetesResource +public class VenafiCloud implements Editable , KubernetesResource { @JsonProperty("apiTokenSecretRef") @@ -108,6 +109,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public VenafiCloudBuilder edit() { + return new VenafiCloudBuilder(this); + } + + @JsonIgnore + public VenafiCloudBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/VenafiIssuer.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/VenafiIssuer.java index dcdfba92be4..68d2cf363c1 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/VenafiIssuer.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/VenafiIssuer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VenafiIssuer implements KubernetesResource +public class VenafiIssuer implements Editable , KubernetesResource { @JsonProperty("cloud") @@ -121,6 +122,16 @@ public void setZone(String zone) { this.zone = zone; } + @JsonIgnore + public VenafiIssuerBuilder edit() { + return new VenafiIssuerBuilder(this); + } + + @JsonIgnore + public VenafiIssuerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/VenafiTPP.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/VenafiTPP.java index 1e334bfeb86..511036d8114 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/VenafiTPP.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/VenafiTPP.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VenafiTPP implements KubernetesResource +public class VenafiTPP implements Editable , KubernetesResource { @JsonProperty("caBundle") @@ -121,6 +122,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public VenafiTPPBuilder edit() { + return new VenafiTPPBuilder(this); + } + + @JsonIgnore + public VenafiTPPBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/X509Subject.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/X509Subject.java index 9bd6943c242..93f4b4a4d21 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/X509Subject.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/X509Subject.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class X509Subject implements KubernetesResource +public class X509Subject implements Editable , KubernetesResource { @JsonProperty("countries") @@ -200,6 +201,16 @@ public void setStreetAddresses(List streetAddresses) { this.streetAddresses = streetAddresses; } + @JsonIgnore + public X509SubjectBuilder edit() { + return new X509SubjectBuilder(this); + } + + @JsonIgnore + public X509SubjectBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/CertmanagerSchema.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/CertmanagerSchema.java index ff93a2327c5..eb018227567 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/CertmanagerSchema.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/CertmanagerSchema.java @@ -2,6 +2,7 @@ package io.fabric8.certmanager.api.model; import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; @@ -73,6 +74,7 @@ import io.fabric8.certmanager.api.model.v1beta1.VenafiIssuer; import io.fabric8.certmanager.api.model.v1beta1.VenafiTPP; import io.fabric8.certmanager.api.model.v1beta1.X509Subject; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -190,7 +192,8 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertmanagerSchema { +public class CertmanagerSchema implements Editable +{ @JsonProperty("github_com_jetstack_cert-manager_pkg_apis_acme_v1beta1_ACMEAuthorization") private ACMEAuthorization githubComJetstackCertManagerPkgApisAcmeV1beta1ACMEAuthorization; @@ -1101,4 +1104,14 @@ public void setGithubComJetstackCertManagerPkgApisMetaV1SecretKeySelector(Secret this.githubComJetstackCertManagerPkgApisMetaV1SecretKeySelector = githubComJetstackCertManagerPkgApisMetaV1SecretKeySelector; } + @JsonIgnore + public CertmanagerSchemaBuilder edit() { + return new CertmanagerSchemaBuilder(this); + } + + @JsonIgnore + public CertmanagerSchemaBuilder toBuilder() { + return edit(); + } + } diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEAuthorization.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEAuthorization.java index 4d19c039e2d..43849525257 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEAuthorization.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEAuthorization.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEAuthorization implements KubernetesResource +public class ACMEAuthorization implements Editable , KubernetesResource { @JsonProperty("challenges") @@ -152,6 +153,16 @@ public void setWildcard(Boolean wildcard) { this.wildcard = wildcard; } + @JsonIgnore + public ACMEAuthorizationBuilder edit() { + return new ACMEAuthorizationBuilder(this); + } + + @JsonIgnore + public ACMEAuthorizationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallenge.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallenge.java index 711c626fb72..910ff087e2a 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallenge.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallenge.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallenge implements KubernetesResource +public class ACMEChallenge implements Editable , KubernetesResource { @JsonProperty("token") @@ -121,6 +122,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public ACMEChallengeBuilder edit() { + return new ACMEChallengeBuilder(this); + } + + @JsonIgnore + public ACMEChallengeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolver.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolver.java index 545de38e1cc..7d039e18de6 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolver.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolver.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolver implements KubernetesResource +public class ACMEChallengeSolver implements Editable , KubernetesResource { @JsonProperty("dns01") @@ -121,6 +122,16 @@ public void setSelector(CertificateDNSNameSelector selector) { this.selector = selector; } + @JsonIgnore + public ACMEChallengeSolverBuilder edit() { + return new ACMEChallengeSolverBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverDNS01.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverDNS01.java index 20c7f536937..58c3d6ebb74 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverDNS01.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverDNS01.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverDNS01 implements KubernetesResource +public class ACMEChallengeSolverDNS01 implements Editable , KubernetesResource { @JsonProperty("acmeDNS") @@ -219,6 +220,16 @@ public void setWebhook(ACMEIssuerDNS01ProviderWebhook webhook) { this.webhook = webhook; } + @JsonIgnore + public ACMEChallengeSolverDNS01Builder edit() { + return new ACMEChallengeSolverDNS01Builder(this); + } + + @JsonIgnore + public ACMEChallengeSolverDNS01Builder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01.java index e28feb87c77..d5515d042ce 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01 implements KubernetesResource +public class ACMEChallengeSolverHTTP01 implements Editable , KubernetesResource { @JsonProperty("gatewayHTTPRoute") @@ -107,6 +108,16 @@ public void setIngress(ACMEChallengeSolverHTTP01Ingress ingress) { this.ingress = ingress; } + @JsonIgnore + public ACMEChallengeSolverHTTP01Builder edit() { + return new ACMEChallengeSolverHTTP01Builder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01Builder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01GatewayHTTPRoute.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01GatewayHTTPRoute.java index 0ba68e83de4..6d856989d5c 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01GatewayHTTPRoute.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01GatewayHTTPRoute.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01GatewayHTTPRoute implements KubernetesResource +public class ACMEChallengeSolverHTTP01GatewayHTTPRoute implements Editable , KubernetesResource { @JsonProperty("labels") @@ -108,6 +109,16 @@ public void setServiceType(java.lang.String serviceType) { this.serviceType = serviceType; } + @JsonIgnore + public ACMEChallengeSolverHTTP01GatewayHTTPRouteBuilder edit() { + return new ACMEChallengeSolverHTTP01GatewayHTTPRouteBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01GatewayHTTPRouteBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01Ingress.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01Ingress.java index d7cb36ca451..efad3e90603 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01Ingress.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01Ingress.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01Ingress implements KubernetesResource +public class ACMEChallengeSolverHTTP01Ingress implements Editable , KubernetesResource { @JsonProperty("class") @@ -149,6 +150,16 @@ public void setServiceType(java.lang.String serviceType) { this.serviceType = serviceType; } + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressBuilder edit() { + return new ACMEChallengeSolverHTTP01IngressBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01IngressObjectMeta.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01IngressObjectMeta.java index 886dc055fd2..f667023caf2 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01IngressObjectMeta.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01IngressObjectMeta.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01IngressObjectMeta implements KubernetesResource +public class ACMEChallengeSolverHTTP01IngressObjectMeta implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -109,6 +110,16 @@ public void setLabels(Map labels) { this.labels = labels; } + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressObjectMetaBuilder edit() { + return new ACMEChallengeSolverHTTP01IngressObjectMetaBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressObjectMetaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01IngressPodObjectMeta.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01IngressPodObjectMeta.java index e05e5c1f0d6..92118f34f6a 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01IngressPodObjectMeta.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01IngressPodObjectMeta.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01IngressPodObjectMeta implements KubernetesResource +public class ACMEChallengeSolverHTTP01IngressPodObjectMeta implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -109,6 +110,16 @@ public void setLabels(Map labels) { this.labels = labels; } + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressPodObjectMetaBuilder edit() { + return new ACMEChallengeSolverHTTP01IngressPodObjectMetaBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressPodObjectMetaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01IngressPodSpec.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01IngressPodSpec.java index c834acbf599..c7250064215 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01IngressPodSpec.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01IngressPodSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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.ContainerPort; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01IngressPodSpec implements KubernetesResource +public class ACMEChallengeSolverHTTP01IngressPodSpec implements Editable , KubernetesResource { @JsonProperty("affinity") @@ -155,6 +156,16 @@ public void setTolerations(List tolerations) { this.tolerations = tolerations; } + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressPodSpecBuilder edit() { + return new ACMEChallengeSolverHTTP01IngressPodSpecBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressPodSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01IngressPodTemplate.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01IngressPodTemplate.java index 2c1d1c0ee7e..d73a662c7d0 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01IngressPodTemplate.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01IngressPodTemplate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01IngressPodTemplate implements KubernetesResource +public class ACMEChallengeSolverHTTP01IngressPodTemplate implements Editable , KubernetesResource { @JsonProperty("metadata") @@ -106,6 +107,16 @@ public void setSpec(ACMEChallengeSolverHTTP01IngressPodSpec spec) { this.spec = spec; } + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressPodTemplateBuilder edit() { + return new ACMEChallengeSolverHTTP01IngressPodTemplateBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressPodTemplateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01IngressTemplate.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01IngressTemplate.java index ac02b4c41b6..529026097ec 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01IngressTemplate.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEChallengeSolverHTTP01IngressTemplate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEChallengeSolverHTTP01IngressTemplate implements KubernetesResource +public class ACMEChallengeSolverHTTP01IngressTemplate implements Editable , KubernetesResource { @JsonProperty("metadata") @@ -92,6 +93,16 @@ public void setMetadata(ACMEChallengeSolverHTTP01IngressObjectMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressTemplateBuilder edit() { + return new ACMEChallengeSolverHTTP01IngressTemplateBuilder(this); + } + + @JsonIgnore + public ACMEChallengeSolverHTTP01IngressTemplateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEExternalAccountBinding.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEExternalAccountBinding.java index e2ccc358337..483768d5f76 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEExternalAccountBinding.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEExternalAccountBinding.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEExternalAccountBinding implements KubernetesResource +public class ACMEExternalAccountBinding implements Editable , KubernetesResource { @JsonProperty("keyAlgorithm") @@ -122,6 +123,16 @@ public void setKeySecretRef(SecretKeySelector keySecretRef) { this.keySecretRef = keySecretRef; } + @JsonIgnore + public ACMEExternalAccountBindingBuilder edit() { + return new ACMEExternalAccountBindingBuilder(this); + } + + @JsonIgnore + public ACMEExternalAccountBindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuer.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuer.java index 69eb0740bc6..9aa00aa7fdb 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuer.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuer.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuer implements KubernetesResource +public class ACMEIssuer implements Editable , KubernetesResource { @JsonProperty("disableAccountKeyGeneration") @@ -209,6 +210,16 @@ public void setSolvers(List solvers) { this.solvers = solvers; } + @JsonIgnore + public ACMEIssuerBuilder edit() { + return new ACMEIssuerBuilder(this); + } + + @JsonIgnore + public ACMEIssuerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderAcmeDNS.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderAcmeDNS.java index 888a0b7b1f1..151658a395f 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderAcmeDNS.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderAcmeDNS.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderAcmeDNS implements KubernetesResource +public class ACMEIssuerDNS01ProviderAcmeDNS implements Editable , KubernetesResource { @JsonProperty("accountSecretRef") @@ -108,6 +109,16 @@ public void setHost(String host) { this.host = host; } + @JsonIgnore + public ACMEIssuerDNS01ProviderAcmeDNSBuilder edit() { + return new ACMEIssuerDNS01ProviderAcmeDNSBuilder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderAcmeDNSBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderAkamai.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderAkamai.java index 1d3e9c35726..bca5c95f3c9 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderAkamai.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderAkamai.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderAkamai implements KubernetesResource +public class ACMEIssuerDNS01ProviderAkamai implements Editable , KubernetesResource { @JsonProperty("accessTokenSecretRef") @@ -136,6 +137,16 @@ public void setServiceConsumerDomain(String serviceConsumerDomain) { this.serviceConsumerDomain = serviceConsumerDomain; } + @JsonIgnore + public ACMEIssuerDNS01ProviderAkamaiBuilder edit() { + return new ACMEIssuerDNS01ProviderAkamaiBuilder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderAkamaiBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderAzureDNS.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderAzureDNS.java index 18492042e72..fdd305a45ad 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderAzureDNS.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderAzureDNS.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderAzureDNS implements KubernetesResource +public class ACMEIssuerDNS01ProviderAzureDNS implements Editable , KubernetesResource { @JsonProperty("clientID") @@ -192,6 +193,16 @@ public void setTenantID(String tenantID) { this.tenantID = tenantID; } + @JsonIgnore + public ACMEIssuerDNS01ProviderAzureDNSBuilder edit() { + return new ACMEIssuerDNS01ProviderAzureDNSBuilder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderAzureDNSBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderCloudDNS.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderCloudDNS.java index 806425943ae..326d05c7456 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderCloudDNS.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderCloudDNS.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderCloudDNS implements KubernetesResource +public class ACMEIssuerDNS01ProviderCloudDNS implements Editable , KubernetesResource { @JsonProperty("hostedZoneName") @@ -122,6 +123,16 @@ public void setServiceAccountSecretRef(SecretKeySelector serviceAccountSecretRef this.serviceAccountSecretRef = serviceAccountSecretRef; } + @JsonIgnore + public ACMEIssuerDNS01ProviderCloudDNSBuilder edit() { + return new ACMEIssuerDNS01ProviderCloudDNSBuilder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderCloudDNSBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderCloudflare.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderCloudflare.java index 65026ffb74d..06faaee85c9 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderCloudflare.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderCloudflare.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderCloudflare implements KubernetesResource +public class ACMEIssuerDNS01ProviderCloudflare implements Editable , KubernetesResource { @JsonProperty("apiKeySecretRef") @@ -122,6 +123,16 @@ public void setEmail(String email) { this.email = email; } + @JsonIgnore + public ACMEIssuerDNS01ProviderCloudflareBuilder edit() { + return new ACMEIssuerDNS01ProviderCloudflareBuilder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderCloudflareBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderDigitalOcean.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderDigitalOcean.java index 18fb0cc400e..87261cdb27a 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderDigitalOcean.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderDigitalOcean.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderDigitalOcean implements KubernetesResource +public class ACMEIssuerDNS01ProviderDigitalOcean implements Editable , KubernetesResource { @JsonProperty("tokenSecretRef") @@ -94,6 +95,16 @@ public void setTokenSecretRef(SecretKeySelector tokenSecretRef) { this.tokenSecretRef = tokenSecretRef; } + @JsonIgnore + public ACMEIssuerDNS01ProviderDigitalOceanBuilder edit() { + return new ACMEIssuerDNS01ProviderDigitalOceanBuilder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderDigitalOceanBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderRFC2136.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderRFC2136.java index 1e333e4d6d2..8f2e4567655 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderRFC2136.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderRFC2136.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderRFC2136 implements KubernetesResource +public class ACMEIssuerDNS01ProviderRFC2136 implements Editable , KubernetesResource { @JsonProperty("nameserver") @@ -136,6 +137,16 @@ public void setTsigSecretSecretRef(SecretKeySelector tsigSecretSecretRef) { this.tsigSecretSecretRef = tsigSecretSecretRef; } + @JsonIgnore + public ACMEIssuerDNS01ProviderRFC2136Builder edit() { + return new ACMEIssuerDNS01ProviderRFC2136Builder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderRFC2136Builder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderRoute53.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderRoute53.java index c2e518c4624..3290240bdf8 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderRoute53.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderRoute53.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderRoute53 implements KubernetesResource +public class ACMEIssuerDNS01ProviderRoute53 implements Editable , KubernetesResource { @JsonProperty("accessKeyID") @@ -150,6 +151,16 @@ public void setSecretAccessKeySecretRef(SecretKeySelector secretAccessKeySecretR this.secretAccessKeySecretRef = secretAccessKeySecretRef; } + @JsonIgnore + public ACMEIssuerDNS01ProviderRoute53Builder edit() { + return new ACMEIssuerDNS01ProviderRoute53Builder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderRoute53Builder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderWebhook.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderWebhook.java index 797099d93e8..824d6439deb 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderWebhook.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerDNS01ProviderWebhook.java @@ -12,6 +12,7 @@ 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.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerDNS01ProviderWebhook implements KubernetesResource +public class ACMEIssuerDNS01ProviderWebhook implements Editable , KubernetesResource { @JsonProperty("config") @@ -122,6 +123,16 @@ public void setSolverName(String solverName) { this.solverName = solverName; } + @JsonIgnore + public ACMEIssuerDNS01ProviderWebhookBuilder edit() { + return new ACMEIssuerDNS01ProviderWebhookBuilder(this); + } + + @JsonIgnore + public ACMEIssuerDNS01ProviderWebhookBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerStatus.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerStatus.java index cf4938f5040..71d316a616d 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerStatus.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ACMEIssuerStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ACMEIssuerStatus implements KubernetesResource +public class ACMEIssuerStatus implements Editable , KubernetesResource { @JsonProperty("lastRegisteredEmail") @@ -107,6 +108,16 @@ public void setUri(String uri) { this.uri = uri; } + @JsonIgnore + public ACMEIssuerStatusBuilder edit() { + return new ACMEIssuerStatusBuilder(this); + } + + @JsonIgnore + public ACMEIssuerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/AzureManagedIdentity.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/AzureManagedIdentity.java index 6ed6df46d0b..9ba17453d09 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/AzureManagedIdentity.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/AzureManagedIdentity.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class AzureManagedIdentity implements KubernetesResource +public class AzureManagedIdentity implements Editable , KubernetesResource { @JsonProperty("clientID") @@ -107,6 +108,16 @@ public void setResourceID(String resourceID) { this.resourceID = resourceID; } + @JsonIgnore + public AzureManagedIdentityBuilder edit() { + return new AzureManagedIdentityBuilder(this); + } + + @JsonIgnore + public AzureManagedIdentityBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/CertificateDNSNameSelector.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/CertificateDNSNameSelector.java index 5c5a66e9dff..8027206f90f 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/CertificateDNSNameSelector.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/CertificateDNSNameSelector.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateDNSNameSelector implements KubernetesResource +public class CertificateDNSNameSelector implements Editable , KubernetesResource { @JsonProperty("dnsNames") @@ -126,6 +127,16 @@ public void setMatchLabels(Map matchLabels) { this.matchLabels = matchLabels; } + @JsonIgnore + public CertificateDNSNameSelectorBuilder edit() { + return new CertificateDNSNameSelectorBuilder(this); + } + + @JsonIgnore + public CertificateDNSNameSelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/Challenge.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/Challenge.java index 85d827b2526..5f4f1b7e789 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/Challenge.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/Challenge.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1beta1") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class Challenge implements HasMetadata, Namespaced +public class Challenge implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(ChallengeStatus status) { this.status = status; } + @JsonIgnore + public ChallengeBuilder edit() { + return new ChallengeBuilder(this); + } + + @JsonIgnore + public ChallengeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ChallengeList.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ChallengeList.java index b010cd0616e..99f30324c97 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ChallengeList.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ChallengeList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class ChallengeList implements KubernetesResource, KubernetesResourceList +public class ChallengeList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ChallengeListBuilder edit() { + return new ChallengeListBuilder(this); + } + + @JsonIgnore + public ChallengeListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ChallengeSpec.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ChallengeSpec.java index f9a9d8181db..525a2bb64e8 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ChallengeSpec.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ChallengeSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ChallengeSpec implements KubernetesResource +public class ChallengeSpec implements Editable , KubernetesResource { @JsonProperty("authorizationURL") @@ -204,6 +205,16 @@ public void setWildcard(Boolean wildcard) { this.wildcard = wildcard; } + @JsonIgnore + public ChallengeSpecBuilder edit() { + return new ChallengeSpecBuilder(this); + } + + @JsonIgnore + public ChallengeSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ChallengeStatus.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ChallengeStatus.java index 207e6c4d110..15ee982c0d8 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ChallengeStatus.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ChallengeStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ChallengeStatus implements KubernetesResource +public class ChallengeStatus implements Editable , KubernetesResource { @JsonProperty("presented") @@ -135,6 +136,16 @@ public void setState(String state) { this.state = state; } + @JsonIgnore + public ChallengeStatusBuilder edit() { + return new ChallengeStatusBuilder(this); + } + + @JsonIgnore + public ChallengeStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/Order.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/Order.java index d311c304bb0..ef105039946 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/Order.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/Order.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1beta1") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class Order implements HasMetadata, Namespaced +public class Order implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(OrderStatus status) { this.status = status; } + @JsonIgnore + public OrderBuilder edit() { + return new OrderBuilder(this); + } + + @JsonIgnore + public OrderBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/OrderList.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/OrderList.java index dcf88b6013e..144eba5318d 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/OrderList.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/OrderList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class OrderList implements KubernetesResource, KubernetesResourceList +public class OrderList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public OrderListBuilder edit() { + return new OrderListBuilder(this); + } + + @JsonIgnore + public OrderListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/OrderSpec.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/OrderSpec.java index 9381155a8a6..146062e4f11 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/OrderSpec.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/OrderSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class OrderSpec implements KubernetesResource +public class OrderSpec implements Editable , KubernetesResource { @JsonProperty("commonName") @@ -167,6 +168,16 @@ public void setRequest(String request) { this.request = request; } + @JsonIgnore + public OrderSpecBuilder edit() { + return new OrderSpecBuilder(this); + } + + @JsonIgnore + public OrderSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/OrderStatus.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/OrderStatus.java index 7b1e76c85ed..7fc7bbb744e 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/OrderStatus.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/OrderStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class OrderStatus implements KubernetesResource +public class OrderStatus implements Editable , KubernetesResource { @JsonProperty("authorizations") @@ -181,6 +182,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public OrderStatusBuilder edit() { + return new OrderStatusBuilder(this); + } + + @JsonIgnore + public OrderStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/LocalObjectReference.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/LocalObjectReference.java index c9cf5b7d567..3de03969b59 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/LocalObjectReference.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/LocalObjectReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LocalObjectReference implements KubernetesResource +public class LocalObjectReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -92,6 +93,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public LocalObjectReferenceBuilder edit() { + return new LocalObjectReferenceBuilder(this); + } + + @JsonIgnore + public LocalObjectReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/ObjectReference.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/ObjectReference.java index 67143dac748..f1f1e6b30f9 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/ObjectReference.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/ObjectReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ObjectReference implements KubernetesResource +public class ObjectReference implements Editable , KubernetesResource { @JsonProperty("group") @@ -119,6 +120,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public ObjectReferenceBuilder edit() { + return new ObjectReferenceBuilder(this); + } + + @JsonIgnore + public ObjectReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/SecretKeySelector.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/SecretKeySelector.java index 5cb77df7bdd..66626f3884e 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/SecretKeySelector.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/meta/v1/SecretKeySelector.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SecretKeySelector implements KubernetesResource +public class SecretKeySelector implements Editable , KubernetesResource { @JsonProperty("key") @@ -107,6 +108,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public SecretKeySelectorBuilder edit() { + return new SecretKeySelectorBuilder(this); + } + + @JsonIgnore + public SecretKeySelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CAIssuer.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CAIssuer.java index 9e45b7dcfd6..a78094df2cb 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CAIssuer.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CAIssuer.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CAIssuer implements KubernetesResource +public class CAIssuer implements Editable , KubernetesResource { @JsonProperty("crlDistributionPoints") @@ -125,6 +126,16 @@ public void setSecretName(String secretName) { this.secretName = secretName; } + @JsonIgnore + public CAIssuerBuilder edit() { + return new CAIssuerBuilder(this); + } + + @JsonIgnore + public CAIssuerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/Certificate.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/Certificate.java index 4b70254ee0c..d9bb0186679 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/Certificate.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/Certificate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1beta1") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class Certificate implements HasMetadata, Namespaced +public class Certificate implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(CertificateStatus status) { this.status = status; } + @JsonIgnore + public CertificateBuilder edit() { + return new CertificateBuilder(this); + } + + @JsonIgnore + public CertificateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateCondition.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateCondition.java index f3f7592f1c3..5c5dedd3117 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateCondition.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateCondition implements KubernetesResource +public class CertificateCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -163,6 +164,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public CertificateConditionBuilder edit() { + return new CertificateConditionBuilder(this); + } + + @JsonIgnore + public CertificateConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateKeystores.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateKeystores.java index 3128becacbe..1837331e173 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateKeystores.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateKeystores.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateKeystores implements KubernetesResource +public class CertificateKeystores implements Editable , KubernetesResource { @JsonProperty("jks") @@ -107,6 +108,16 @@ public void setPkcs12(PKCS12Keystore pkcs12) { this.pkcs12 = pkcs12; } + @JsonIgnore + public CertificateKeystoresBuilder edit() { + return new CertificateKeystoresBuilder(this); + } + + @JsonIgnore + public CertificateKeystoresBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateList.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateList.java index ad0f987eb84..95f27a5c70e 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateList.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class CertificateList implements KubernetesResource, KubernetesResourceList +public class CertificateList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public CertificateListBuilder edit() { + return new CertificateListBuilder(this); + } + + @JsonIgnore + public CertificateListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificatePrivateKey.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificatePrivateKey.java index 3acac678461..3eca3537940 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificatePrivateKey.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificatePrivateKey.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificatePrivateKey implements KubernetesResource +public class CertificatePrivateKey implements Editable , KubernetesResource { @JsonProperty("algorithm") @@ -135,6 +136,16 @@ public void setSize(Integer size) { this.size = size; } + @JsonIgnore + public CertificatePrivateKeyBuilder edit() { + return new CertificatePrivateKeyBuilder(this); + } + + @JsonIgnore + public CertificatePrivateKeyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateRequest.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateRequest.java index b5bd9ed9a1a..39b525234bd 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateRequest.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateRequest.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1beta1") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class CertificateRequest implements HasMetadata, Namespaced +public class CertificateRequest implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(CertificateRequestStatus status) { this.status = status; } + @JsonIgnore + public CertificateRequestBuilder edit() { + return new CertificateRequestBuilder(this); + } + + @JsonIgnore + public CertificateRequestBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateRequestCondition.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateRequestCondition.java index e49850577a0..2e5d991e491 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateRequestCondition.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateRequestCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateRequestCondition implements KubernetesResource +public class CertificateRequestCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -149,6 +150,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public CertificateRequestConditionBuilder edit() { + return new CertificateRequestConditionBuilder(this); + } + + @JsonIgnore + public CertificateRequestConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateRequestList.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateRequestList.java index 19d928c06d3..58f828beca9 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateRequestList.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateRequestList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class CertificateRequestList implements KubernetesResource, KubernetesResourceList +public class CertificateRequestList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public CertificateRequestListBuilder edit() { + return new CertificateRequestListBuilder(this); + } + + @JsonIgnore + public CertificateRequestListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateRequestStatus.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateRequestStatus.java index 299b2b4d412..926ec3ffd24 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateRequestStatus.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateRequestStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateRequestStatus implements KubernetesResource +public class CertificateRequestStatus implements Editable , KubernetesResource { @JsonProperty("ca") @@ -140,6 +141,16 @@ public void setFailureTime(String failureTime) { this.failureTime = failureTime; } + @JsonIgnore + public CertificateRequestStatusBuilder edit() { + return new CertificateRequestStatusBuilder(this); + } + + @JsonIgnore + public CertificateRequestStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateSecretTemplate.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateSecretTemplate.java index bfb0c4d72bf..7669e46bec4 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateSecretTemplate.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateSecretTemplate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateSecretTemplate implements KubernetesResource +public class CertificateSecretTemplate implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -109,6 +110,16 @@ public void setLabels(Map labels) { this.labels = labels; } + @JsonIgnore + public CertificateSecretTemplateBuilder edit() { + return new CertificateSecretTemplateBuilder(this); + } + + @JsonIgnore + public CertificateSecretTemplateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateSpec.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateSpec.java index d4ed184512d..f99a2f0f7c3 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateSpec.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; @@ -81,7 +82,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateSpec implements KubernetesResource +public class CertificateSpec implements Editable , KubernetesResource { @JsonProperty("commonName") @@ -324,6 +325,16 @@ public void setUsages(List usages) { this.usages = usages; } + @JsonIgnore + public CertificateSpecBuilder edit() { + return new CertificateSpecBuilder(this); + } + + @JsonIgnore + public CertificateSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateStatus.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateStatus.java index fc797915c11..86d6e4ec16b 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateStatus.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateStatus implements KubernetesResource +public class CertificateStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -180,6 +181,16 @@ public void setRevision(Integer revision) { this.revision = revision; } + @JsonIgnore + public CertificateStatusBuilder edit() { + return new CertificateStatusBuilder(this); + } + + @JsonIgnore + public CertificateStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/ClusterIssuer.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/ClusterIssuer.java index ee8cf35c690..a7e7534e7a1 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/ClusterIssuer.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/ClusterIssuer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @Version("v1beta1") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class ClusterIssuer implements HasMetadata +public class ClusterIssuer implements Editable , HasMetadata { /** @@ -184,6 +185,16 @@ public void setStatus(IssuerStatus status) { this.status = status; } + @JsonIgnore + public ClusterIssuerBuilder edit() { + return new ClusterIssuerBuilder(this); + } + + @JsonIgnore + public ClusterIssuerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/ClusterIssuerList.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/ClusterIssuerList.java index 2eb8d8e6189..e5caf626661 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/ClusterIssuerList.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/ClusterIssuerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class ClusterIssuerList implements KubernetesResource, KubernetesResourceList +public class ClusterIssuerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterIssuerListBuilder edit() { + return new ClusterIssuerListBuilder(this); + } + + @JsonIgnore + public ClusterIssuerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/Issuer.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/Issuer.java index 8923f4e2d91..3c36751fe45 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/Issuer.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/Issuer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1beta1") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class Issuer implements HasMetadata, Namespaced +public class Issuer implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(IssuerStatus status) { this.status = status; } + @JsonIgnore + public IssuerBuilder edit() { + return new IssuerBuilder(this); + } + + @JsonIgnore + public IssuerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/IssuerCondition.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/IssuerCondition.java index 87839da9cc3..1cdcfda593c 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/IssuerCondition.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/IssuerCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IssuerCondition implements KubernetesResource +public class IssuerCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -163,6 +164,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public IssuerConditionBuilder edit() { + return new IssuerConditionBuilder(this); + } + + @JsonIgnore + public IssuerConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/IssuerList.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/IssuerList.java index 348cfa62910..155fb03cf3c 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/IssuerList.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/IssuerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("cert-manager.io") @Generated("jsonschema2pojo") -public class IssuerList implements KubernetesResource, KubernetesResourceList +public class IssuerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public IssuerListBuilder edit() { + return new IssuerListBuilder(this); + } + + @JsonIgnore + public IssuerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/IssuerSpec.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/IssuerSpec.java index c44e3cff39a..68e70f310d6 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/IssuerSpec.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/IssuerSpec.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.acme.v1beta1.ACMEIssuer; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IssuerSpec implements KubernetesResource +public class IssuerSpec implements Editable , KubernetesResource { @JsonProperty("acme") @@ -150,6 +151,16 @@ public void setVenafi(VenafiIssuer venafi) { this.venafi = venafi; } + @JsonIgnore + public IssuerSpecBuilder edit() { + return new IssuerSpecBuilder(this); + } + + @JsonIgnore + public IssuerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/IssuerStatus.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/IssuerStatus.java index bd7285dcdc0..45bdf354bc5 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/IssuerStatus.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/IssuerStatus.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.acme.v1beta1.ACMEIssuerStatus; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IssuerStatus implements KubernetesResource +public class IssuerStatus implements Editable , KubernetesResource { @JsonProperty("acme") @@ -111,6 +112,16 @@ public void setConditions(List conditions) { this.conditions = conditions; } + @JsonIgnore + public IssuerStatusBuilder edit() { + return new IssuerStatusBuilder(this); + } + + @JsonIgnore + public IssuerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/JKSKeystore.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/JKSKeystore.java index 639c0ad75c3..56f41f29679 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/JKSKeystore.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/JKSKeystore.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class JKSKeystore implements KubernetesResource +public class JKSKeystore implements Editable , KubernetesResource { @JsonProperty("create") @@ -108,6 +109,16 @@ public void setPasswordSecretRef(SecretKeySelector passwordSecretRef) { this.passwordSecretRef = passwordSecretRef; } + @JsonIgnore + public JKSKeystoreBuilder edit() { + return new JKSKeystoreBuilder(this); + } + + @JsonIgnore + public JKSKeystoreBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/PKCS12Keystore.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/PKCS12Keystore.java index 03e80ed70c0..c339d1285c6 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/PKCS12Keystore.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/PKCS12Keystore.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PKCS12Keystore implements KubernetesResource +public class PKCS12Keystore implements Editable , KubernetesResource { @JsonProperty("create") @@ -108,6 +109,16 @@ public void setPasswordSecretRef(SecretKeySelector passwordSecretRef) { this.passwordSecretRef = passwordSecretRef; } + @JsonIgnore + public PKCS12KeystoreBuilder edit() { + return new PKCS12KeystoreBuilder(this); + } + + @JsonIgnore + public PKCS12KeystoreBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/SelfSignedIssuer.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/SelfSignedIssuer.java index 084f07f6612..95f683ca026 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/SelfSignedIssuer.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/SelfSignedIssuer.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SelfSignedIssuer implements KubernetesResource +public class SelfSignedIssuer implements Editable , KubernetesResource { @JsonProperty("crlDistributionPoints") @@ -96,6 +97,16 @@ public void setCrlDistributionPoints(List crlDistributionPoints) { this.crlDistributionPoints = crlDistributionPoints; } + @JsonIgnore + public SelfSignedIssuerBuilder edit() { + return new SelfSignedIssuerBuilder(this); + } + + @JsonIgnore + public SelfSignedIssuerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/VaultAppRole.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/VaultAppRole.java index 59a3a175987..9b5b9d90978 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/VaultAppRole.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/VaultAppRole.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VaultAppRole implements KubernetesResource +public class VaultAppRole implements Editable , KubernetesResource { @JsonProperty("path") @@ -122,6 +123,16 @@ public void setSecretRef(SecretKeySelector secretRef) { this.secretRef = secretRef; } + @JsonIgnore + public VaultAppRoleBuilder edit() { + return new VaultAppRoleBuilder(this); + } + + @JsonIgnore + public VaultAppRoleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/VaultAuth.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/VaultAuth.java index f8607726fcc..7ebf3794846 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/VaultAuth.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/VaultAuth.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VaultAuth implements KubernetesResource +public class VaultAuth implements Editable , KubernetesResource { @JsonProperty("appRole") @@ -122,6 +123,16 @@ public void setTokenSecretRef(SecretKeySelector tokenSecretRef) { this.tokenSecretRef = tokenSecretRef; } + @JsonIgnore + public VaultAuthBuilder edit() { + return new VaultAuthBuilder(this); + } + + @JsonIgnore + public VaultAuthBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/VaultIssuer.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/VaultIssuer.java index cc6e42af63d..56a67eaacb6 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/VaultIssuer.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/VaultIssuer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VaultIssuer implements KubernetesResource +public class VaultIssuer implements Editable , KubernetesResource { @JsonProperty("auth") @@ -150,6 +151,16 @@ public void setServer(String server) { this.server = server; } + @JsonIgnore + public VaultIssuerBuilder edit() { + return new VaultIssuerBuilder(this); + } + + @JsonIgnore + public VaultIssuerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/VaultKubernetesAuth.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/VaultKubernetesAuth.java index 8c3a0349387..b52e2187d6e 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/VaultKubernetesAuth.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/VaultKubernetesAuth.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VaultKubernetesAuth implements KubernetesResource +public class VaultKubernetesAuth implements Editable , KubernetesResource { @JsonProperty("mountPath") @@ -122,6 +123,16 @@ public void setSecretRef(SecretKeySelector secretRef) { this.secretRef = secretRef; } + @JsonIgnore + public VaultKubernetesAuthBuilder edit() { + return new VaultKubernetesAuthBuilder(this); + } + + @JsonIgnore + public VaultKubernetesAuthBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/VenafiCloud.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/VenafiCloud.java index 7fe7be68097..ee42f3494a6 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/VenafiCloud.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/VenafiCloud.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.certmanager.api.model.meta.v1.SecretKeySelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VenafiCloud implements KubernetesResource +public class VenafiCloud implements Editable , KubernetesResource { @JsonProperty("apiTokenSecretRef") @@ -108,6 +109,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public VenafiCloudBuilder edit() { + return new VenafiCloudBuilder(this); + } + + @JsonIgnore + public VenafiCloudBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/VenafiIssuer.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/VenafiIssuer.java index de47400e758..f5a7944663f 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/VenafiIssuer.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/VenafiIssuer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VenafiIssuer implements KubernetesResource +public class VenafiIssuer implements Editable , KubernetesResource { @JsonProperty("cloud") @@ -121,6 +122,16 @@ public void setZone(String zone) { this.zone = zone; } + @JsonIgnore + public VenafiIssuerBuilder edit() { + return new VenafiIssuerBuilder(this); + } + + @JsonIgnore + public VenafiIssuerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/VenafiTPP.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/VenafiTPP.java index b03ed412303..c97fd4622cc 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/VenafiTPP.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/VenafiTPP.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VenafiTPP implements KubernetesResource +public class VenafiTPP implements Editable , KubernetesResource { @JsonProperty("caBundle") @@ -121,6 +122,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public VenafiTPPBuilder edit() { + return new VenafiTPPBuilder(this); + } + + @JsonIgnore + public VenafiTPPBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/X509Subject.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/X509Subject.java index 45eb11855e1..02dfd7f5002 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/X509Subject.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/X509Subject.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class X509Subject implements KubernetesResource +public class X509Subject implements Editable , KubernetesResource { @JsonProperty("countries") @@ -200,6 +201,16 @@ public void setStreetAddresses(List streetAddresses) { this.streetAddresses = streetAddresses; } + @JsonIgnore + public X509SubjectBuilder edit() { + return new X509SubjectBuilder(this); + } + + @JsonIgnore + public X509SubjectBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/api/model/ChaosmeshSchema.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/api/model/ChaosmeshSchema.java index 5bf96efba13..cfe956e4697 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/api/model/ChaosmeshSchema.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/api/model/ChaosmeshSchema.java @@ -2,6 +2,7 @@ package io.fabric8.chaosmesh.api.model; import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; @@ -122,6 +123,7 @@ import io.fabric8.chaosmesh.v1alpha1.TimeChaosSpec; import io.fabric8.chaosmesh.v1alpha1.TimeChaosStatus; import io.fabric8.chaosmesh.v1alpha1.Timespec; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -288,7 +290,8 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ChaosmeshSchema { +public class ChaosmeshSchema implements Editable +{ @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_AWSChaos") private AWSChaos githubComChaosMeshChaosMeshApiV1alpha1AWSChaos; @@ -1810,4 +1813,14 @@ public void setGithubComChaosMeshChaosMeshApiV1alpha1Timespec(Timespec githubCom this.githubComChaosMeshChaosMeshApiV1alpha1Timespec = githubComChaosMeshChaosMeshApiV1alpha1Timespec; } + @JsonIgnore + public ChaosmeshSchemaBuilder edit() { + return new ChaosmeshSchemaBuilder(this); + } + + @JsonIgnore + public ChaosmeshSchemaBuilder toBuilder() { + return edit(); + } + } diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSChaos.java index 4b01b059f40..674a958d128 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSChaos.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSChaos.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class AWSChaos implements HasMetadata, Namespaced +public class AWSChaos implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(AWSChaosStatus status) { this.status = status; } + @JsonIgnore + public AWSChaosBuilder edit() { + return new AWSChaosBuilder(this); + } + + @JsonIgnore + public AWSChaosBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSChaosList.java index 6469e2cdeb0..b167b5f2838 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSChaosList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class AWSChaosList implements KubernetesResource, KubernetesResourceList +public class AWSChaosList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public AWSChaosListBuilder edit() { + return new AWSChaosListBuilder(this); + } + + @JsonIgnore + public AWSChaosListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSChaosSpec.java index f67fc0f586f..584bf2b0d88 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSChaosSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class AWSChaosSpec implements KubernetesResource +public class AWSChaosSpec implements Editable , KubernetesResource { @JsonProperty("action") @@ -191,6 +192,16 @@ public void setVolumeID(String volumeID) { this.volumeID = volumeID; } + @JsonIgnore + public AWSChaosSpecBuilder edit() { + return new AWSChaosSpecBuilder(this); + } + + @JsonIgnore + public AWSChaosSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSChaosStatus.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSChaosStatus.java index 8ee0f1e50c9..9ed524a6c3f 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSChaosStatus.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSChaosStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class AWSChaosStatus implements KubernetesResource +public class AWSChaosStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -110,6 +111,16 @@ public void setExperiment(ExperimentStatus experiment) { this.experiment = experiment; } + @JsonIgnore + public AWSChaosStatusBuilder edit() { + return new AWSChaosStatusBuilder(this); + } + + @JsonIgnore + public AWSChaosStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AttrOverrideSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AttrOverrideSpec.java index c9b4d296f25..74696b1702d 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AttrOverrideSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AttrOverrideSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class AttrOverrideSpec implements KubernetesResource +public class AttrOverrideSpec implements Editable , KubernetesResource { @JsonProperty("atime") @@ -246,6 +247,16 @@ public void setUid(Long uid) { this.uid = uid; } + @JsonIgnore + public AttrOverrideSpecBuilder edit() { + return new AttrOverrideSpecBuilder(this); + } + + @JsonIgnore + public AttrOverrideSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BandwidthSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BandwidthSpec.java index a7ef460d67e..c333f3b7a11 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BandwidthSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BandwidthSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class BandwidthSpec implements KubernetesResource +public class BandwidthSpec implements Editable , KubernetesResource { @JsonProperty("buffer") @@ -149,6 +150,16 @@ public void setRate(String rate) { this.rate = rate; } + @JsonIgnore + public BandwidthSpecBuilder edit() { + return new BandwidthSpecBuilder(this); + } + + @JsonIgnore + public BandwidthSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaos.java index af9ab437e16..97796b80205 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaos.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaos.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class BlockChaos implements HasMetadata, Namespaced +public class BlockChaos implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(BlockChaosStatus status) { this.status = status; } + @JsonIgnore + public BlockChaosBuilder edit() { + return new BlockChaosBuilder(this); + } + + @JsonIgnore + public BlockChaosBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaosList.java index f06a85278e0..57fb4d395e2 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaosList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class BlockChaosList implements KubernetesResource, KubernetesResourceList +public class BlockChaosList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public BlockChaosListBuilder edit() { + return new BlockChaosListBuilder(this); + } + + @JsonIgnore + public BlockChaosListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaosSpec.java index 62a638431f9..449fc8207e6 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaosSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class BlockChaosSpec implements KubernetesResource +public class BlockChaosSpec implements Editable , KubernetesResource { @JsonProperty("action") @@ -208,6 +209,16 @@ public void setVolumeName(java.lang.String volumeName) { this.volumeName = volumeName; } + @JsonIgnore + public BlockChaosSpecBuilder edit() { + return new BlockChaosSpecBuilder(this); + } + + @JsonIgnore + public BlockChaosSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaosStatus.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaosStatus.java index 9d0c816d7b4..31b6d68f231 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaosStatus.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaosStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class BlockChaosStatus implements KubernetesResource +public class BlockChaosStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -125,6 +126,16 @@ public void setIds(Map ids) { this.ids = ids; } + @JsonIgnore + public BlockChaosStatusBuilder edit() { + return new BlockChaosStatusBuilder(this); + } + + @JsonIgnore + public BlockChaosStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockDelaySpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockDelaySpec.java index 33ce9ea958f..14ed2de748b 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockDelaySpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockDelaySpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class BlockDelaySpec implements KubernetesResource +public class BlockDelaySpec implements Editable , KubernetesResource { @JsonProperty("correlation") @@ -121,6 +122,16 @@ public void setLatency(String latency) { this.latency = latency; } + @JsonIgnore + public BlockDelaySpecBuilder edit() { + return new BlockDelaySpecBuilder(this); + } + + @JsonIgnore + public BlockDelaySpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/CPUStressor.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/CPUStressor.java index ed737ee7148..d66211ec786 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/CPUStressor.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/CPUStressor.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CPUStressor implements KubernetesResource +public class CPUStressor implements Editable , KubernetesResource { @JsonProperty("load") @@ -124,6 +125,16 @@ public void setWorkers(java.lang.Integer workers) { this.workers = workers; } + @JsonIgnore + public CPUStressorBuilder edit() { + return new CPUStressorBuilder(this); + } + + @JsonIgnore + public CPUStressorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ChaosCondition.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ChaosCondition.java index 123a0e37167..9cf63061d55 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ChaosCondition.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ChaosCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ChaosCondition implements KubernetesResource +public class ChaosCondition implements Editable , KubernetesResource { @JsonProperty("reason") @@ -121,6 +122,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public ChaosConditionBuilder edit() { + return new ChaosConditionBuilder(this); + } + + @JsonIgnore + public ChaosConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ClockSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ClockSpec.java index 6ee8fd9abd5..4bd6332f573 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ClockSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ClockSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ClockSpec implements KubernetesResource +public class ClockSpec implements Editable , KubernetesResource { @JsonProperty("clock-ids-slice") @@ -121,6 +122,16 @@ public void setTimeOffset(String timeOffset) { this.timeOffset = timeOffset; } + @JsonIgnore + public ClockSpecBuilder edit() { + return new ClockSpecBuilder(this); + } + + @JsonIgnore + public ClockSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/CorruptSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/CorruptSpec.java index 50aa4e12090..14e9ad66e06 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/CorruptSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/CorruptSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CorruptSpec implements KubernetesResource +public class CorruptSpec implements Editable , KubernetesResource { @JsonProperty("correlation") @@ -107,6 +108,16 @@ public void setCorrupt(String corrupt) { this.corrupt = corrupt; } + @JsonIgnore + public CorruptSpecBuilder edit() { + return new CorruptSpecBuilder(this); + } + + @JsonIgnore + public CorruptSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaos.java index 3a1b00f8fec..cdf4f6716d0 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaos.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaos.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class DNSChaos implements HasMetadata, Namespaced +public class DNSChaos implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(DNSChaosStatus status) { this.status = status; } + @JsonIgnore + public DNSChaosBuilder edit() { + return new DNSChaosBuilder(this); + } + + @JsonIgnore + public DNSChaosBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaosList.java index 5be78627429..2e820178c75 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaosList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class DNSChaosList implements KubernetesResource, KubernetesResourceList +public class DNSChaosList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public DNSChaosListBuilder edit() { + return new DNSChaosListBuilder(this); + } + + @JsonIgnore + public DNSChaosListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaosSpec.java index 9c5e307c314..4b3fd7f6c08 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaosSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class DNSChaosSpec implements KubernetesResource +public class DNSChaosSpec implements Editable , KubernetesResource { @JsonProperty("action") @@ -181,6 +182,16 @@ public void setValue(java.lang.String value) { this.value = value; } + @JsonIgnore + public DNSChaosSpecBuilder edit() { + return new DNSChaosSpecBuilder(this); + } + + @JsonIgnore + public DNSChaosSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaosStatus.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaosStatus.java index 60b22731b2f..0c05c3c6410 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaosStatus.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaosStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class DNSChaosStatus implements KubernetesResource +public class DNSChaosStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -110,6 +111,16 @@ public void setExperiment(ExperimentStatus experiment) { this.experiment = experiment; } + @JsonIgnore + public DNSChaosStatusBuilder edit() { + return new DNSChaosStatusBuilder(this); + } + + @JsonIgnore + public DNSChaosStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DelaySpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DelaySpec.java index b0d7330f43f..22c4521b66c 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DelaySpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DelaySpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class DelaySpec implements KubernetesResource +public class DelaySpec implements Editable , KubernetesResource { @JsonProperty("correlation") @@ -135,6 +136,16 @@ public void setReorder(ReorderSpec reorder) { this.reorder = reorder; } + @JsonIgnore + public DelaySpecBuilder edit() { + return new DelaySpecBuilder(this); + } + + @JsonIgnore + public DelaySpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DiskFillSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DiskFillSpec.java index 23e06921c8f..f025f472a12 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DiskFillSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DiskFillSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class DiskFillSpec implements KubernetesResource +public class DiskFillSpec implements Editable , KubernetesResource { @JsonProperty("fill-by-fallocate") @@ -121,6 +122,16 @@ public void setSize(String size) { this.size = size; } + @JsonIgnore + public DiskFillSpecBuilder edit() { + return new DiskFillSpecBuilder(this); + } + + @JsonIgnore + public DiskFillSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DiskPayloadSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DiskPayloadSpec.java index 19f72d89637..833a96d2d58 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DiskPayloadSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DiskPayloadSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class DiskPayloadSpec implements KubernetesResource +public class DiskPayloadSpec implements Editable , KubernetesResource { @JsonProperty("path") @@ -121,6 +122,16 @@ public void setSize(String size) { this.size = size; } + @JsonIgnore + public DiskPayloadSpecBuilder edit() { + return new DiskPayloadSpecBuilder(this); + } + + @JsonIgnore + public DiskPayloadSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DuplicateSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DuplicateSpec.java index 51f79dc3a0f..d820554d55a 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DuplicateSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DuplicateSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class DuplicateSpec implements KubernetesResource +public class DuplicateSpec implements Editable , KubernetesResource { @JsonProperty("correlation") @@ -107,6 +108,16 @@ public void setDuplicate(String duplicate) { this.duplicate = duplicate; } + @JsonIgnore + public DuplicateSpecBuilder edit() { + return new DuplicateSpecBuilder(this); + } + + @JsonIgnore + public DuplicateSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ExperimentStatus.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ExperimentStatus.java index 72e53e64bc1..929734d2a59 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ExperimentStatus.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ExperimentStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ExperimentStatus implements KubernetesResource +public class ExperimentStatus implements Editable , KubernetesResource { @JsonProperty("containerRecords") @@ -110,6 +111,16 @@ public void setDesiredPhase(String desiredPhase) { this.desiredPhase = desiredPhase; } + @JsonIgnore + public ExperimentStatusBuilder edit() { + return new ExperimentStatusBuilder(this); + } + + @JsonIgnore + public ExperimentStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FailKernRequest.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FailKernRequest.java index e2d1b87c94e..a35e993d6cd 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FailKernRequest.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FailKernRequest.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class FailKernRequest implements KubernetesResource +public class FailKernRequest implements Editable , KubernetesResource { @JsonProperty("callchain") @@ -153,6 +154,16 @@ public void setTimes(Integer times) { this.times = times; } + @JsonIgnore + public FailKernRequestBuilder edit() { + return new FailKernRequestBuilder(this); + } + + @JsonIgnore + public FailKernRequestBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Frame.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Frame.java index bb7f4af60b3..6207b36b306 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Frame.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Frame.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Frame implements KubernetesResource +public class Frame implements Editable , KubernetesResource { @JsonProperty("funcname") @@ -121,6 +122,16 @@ public void setPredicate(String predicate) { this.predicate = predicate; } + @JsonIgnore + public FrameBuilder edit() { + return new FrameBuilder(this); + } + + @JsonIgnore + public FrameBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaos.java index b0cc58c7de4..3b78469c0dc 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaos.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaos.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class GCPChaos implements HasMetadata, Namespaced +public class GCPChaos implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(GCPChaosStatus status) { this.status = status; } + @JsonIgnore + public GCPChaosBuilder edit() { + return new GCPChaosBuilder(this); + } + + @JsonIgnore + public GCPChaosBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaosList.java index 8703564c86a..1de3935c2f6 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaosList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class GCPChaosList implements KubernetesResource, KubernetesResourceList +public class GCPChaosList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public GCPChaosListBuilder edit() { + return new GCPChaosListBuilder(this); + } + + @JsonIgnore + public GCPChaosListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaosSpec.java index 10afe09966c..501740a69b6 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaosSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class GCPChaosSpec implements KubernetesResource +public class GCPChaosSpec implements Editable , KubernetesResource { @JsonProperty("action") @@ -180,6 +181,16 @@ public void setZone(java.lang.String zone) { this.zone = zone; } + @JsonIgnore + public GCPChaosSpecBuilder edit() { + return new GCPChaosSpecBuilder(this); + } + + @JsonIgnore + public GCPChaosSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaosStatus.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaosStatus.java index cd34515aebe..6c2650fe8c7 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaosStatus.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaosStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class GCPChaosStatus implements KubernetesResource +public class GCPChaosStatus implements Editable , KubernetesResource { @JsonProperty("attachedDiskStrings") @@ -125,6 +126,16 @@ public void setExperiment(ExperimentStatus experiment) { this.experiment = experiment; } + @JsonIgnore + public GCPChaosStatusBuilder edit() { + return new GCPChaosStatusBuilder(this); + } + + @JsonIgnore + public GCPChaosStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaos.java index cd24ce7fdc3..3329be9c37e 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaos.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaos.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class HTTPChaos implements HasMetadata, Namespaced +public class HTTPChaos implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(HTTPChaosStatus status) { this.status = status; } + @JsonIgnore + public HTTPChaosBuilder edit() { + return new HTTPChaosBuilder(this); + } + + @JsonIgnore + public HTTPChaosBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaosList.java index 77a6e155600..1aaf66c94b0 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaosList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class HTTPChaosList implements KubernetesResource, KubernetesResourceList +public class HTTPChaosList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public HTTPChaosListBuilder edit() { + return new HTTPChaosListBuilder(this); + } + + @JsonIgnore + public HTTPChaosListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaosSpec.java index 597c3f6303c..4f3bbde6758 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaosSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -77,7 +78,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPChaosSpec implements KubernetesResource +public class HTTPChaosSpec implements Editable , KubernetesResource { @JsonProperty("abort") @@ -291,6 +292,16 @@ public void setValue(java.lang.String value) { this.value = value; } + @JsonIgnore + public HTTPChaosSpecBuilder edit() { + return new HTTPChaosSpecBuilder(this); + } + + @JsonIgnore + public HTTPChaosSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaosStatus.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaosStatus.java index 519f4f747f3..876a1871375 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaosStatus.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaosStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPChaosStatus implements KubernetesResource +public class HTTPChaosStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -125,6 +126,16 @@ public void setInstances(Map instances) { this.instances = instances; } + @JsonIgnore + public HTTPChaosStatusBuilder edit() { + return new HTTPChaosStatusBuilder(this); + } + + @JsonIgnore + public HTTPChaosStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaos.java index 26c1f32c68b..0314b74e677 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaos.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaos.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class IOChaos implements HasMetadata, Namespaced +public class IOChaos implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(IOChaosStatus status) { this.status = status; } + @JsonIgnore + public IOChaosBuilder edit() { + return new IOChaosBuilder(this); + } + + @JsonIgnore + public IOChaosBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosAction.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosAction.java index 5589c1f90cb..2168d0e10f8 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosAction.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosAction.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -83,7 +84,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IOChaosAction implements KubernetesResource +public class IOChaosAction implements Editable , KubernetesResource { @JsonProperty("atime") @@ -362,6 +363,16 @@ public void setUid(Long uid) { this.uid = uid; } + @JsonIgnore + public IOChaosActionBuilder edit() { + return new IOChaosActionBuilder(this); + } + + @JsonIgnore + public IOChaosActionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosList.java index f15586d604a..e5768e88788 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class IOChaosList implements KubernetesResource, KubernetesResourceList +public class IOChaosList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public IOChaosListBuilder edit() { + return new IOChaosListBuilder(this); + } + + @JsonIgnore + public IOChaosListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosSpec.java index 6dc7555476e..5b15c430ecb 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -78,7 +79,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IOChaosSpec implements KubernetesResource +public class IOChaosSpec implements Editable , KubernetesResource { @JsonProperty("action") @@ -279,6 +280,16 @@ public void setVolumePath(java.lang.String volumePath) { this.volumePath = volumePath; } + @JsonIgnore + public IOChaosSpecBuilder edit() { + return new IOChaosSpecBuilder(this); + } + + @JsonIgnore + public IOChaosSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosStatus.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosStatus.java index 67480a7bf5a..391819c2813 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosStatus.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IOChaosStatus implements KubernetesResource +public class IOChaosStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -125,6 +126,16 @@ public void setInstances(Map instances) { this.instances = instances; } + @JsonIgnore + public IOChaosStatusBuilder edit() { + return new IOChaosStatusBuilder(this); + } + + @JsonIgnore + public IOChaosStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IoFault.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IoFault.java index 9f0db03c21e..2214203990f 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IoFault.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IoFault.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IoFault implements KubernetesResource +public class IoFault implements Editable , KubernetesResource { @JsonProperty("errno") @@ -107,6 +108,16 @@ public void setWeight(Integer weight) { this.weight = weight; } + @JsonIgnore + public IoFaultBuilder edit() { + return new IoFaultBuilder(this); + } + + @JsonIgnore + public IoFaultBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaos.java index 4f94763e746..74f280a1d1b 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaos.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaos.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class JVMChaos implements HasMetadata, Namespaced +public class JVMChaos implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(JVMChaosStatus status) { this.status = status; } + @JsonIgnore + public JVMChaosBuilder edit() { + return new JVMChaosBuilder(this); + } + + @JsonIgnore + public JVMChaosBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaosList.java index 7eb8ebf6d3b..e0cd0473f0f 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaosList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class JVMChaosList implements KubernetesResource, KubernetesResourceList +public class JVMChaosList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public JVMChaosListBuilder edit() { + return new JVMChaosListBuilder(this); + } + + @JsonIgnore + public JVMChaosListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaosSpec.java index bdfbc9b4db6..df98c442921 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaosSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -79,7 +80,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class JVMChaosSpec implements KubernetesResource +public class JVMChaosSpec implements Editable , KubernetesResource { @JsonProperty("action") @@ -292,6 +293,16 @@ public void setValue(java.lang.String value) { this.value = value; } + @JsonIgnore + public JVMChaosSpecBuilder edit() { + return new JVMChaosSpecBuilder(this); + } + + @JsonIgnore + public JVMChaosSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaosStatus.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaosStatus.java index 6166d729e25..1b7a521ce1b 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaosStatus.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaosStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class JVMChaosStatus implements KubernetesResource +public class JVMChaosStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -110,6 +111,16 @@ public void setExperiment(ExperimentStatus experiment) { this.experiment = experiment; } + @JsonIgnore + public JVMChaosStatusBuilder edit() { + return new JVMChaosStatusBuilder(this); + } + + @JsonIgnore + public JVMChaosStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMExceptionSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMExceptionSpec.java index dc7db36cd5d..5460bcf9bce 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMExceptionSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMExceptionSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class JVMExceptionSpec implements KubernetesResource +public class JVMExceptionSpec implements Editable , KubernetesResource { @JsonProperty("class") @@ -149,6 +150,16 @@ public void setPort(Integer port) { this.port = port; } + @JsonIgnore + public JVMExceptionSpecBuilder edit() { + return new JVMExceptionSpecBuilder(this); + } + + @JsonIgnore + public JVMExceptionSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMGCSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMGCSpec.java index d9f4a2f1fbc..95a6a339504 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMGCSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMGCSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class JVMGCSpec implements KubernetesResource +public class JVMGCSpec implements Editable , KubernetesResource { @JsonProperty("pid") @@ -107,6 +108,16 @@ public void setPort(Integer port) { this.port = port; } + @JsonIgnore + public JVMGCSpecBuilder edit() { + return new JVMGCSpecBuilder(this); + } + + @JsonIgnore + public JVMGCSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMLatencySpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMLatencySpec.java index 3913fb41229..60db6636425 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMLatencySpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMLatencySpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class JVMLatencySpec implements KubernetesResource +public class JVMLatencySpec implements Editable , KubernetesResource { @JsonProperty("class") @@ -149,6 +150,16 @@ public void setPort(Integer port) { this.port = port; } + @JsonIgnore + public JVMLatencySpecBuilder edit() { + return new JVMLatencySpecBuilder(this); + } + + @JsonIgnore + public JVMLatencySpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMReturnSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMReturnSpec.java index 34ae8d4f6b0..fc46f30fb29 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMReturnSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMReturnSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class JVMReturnSpec implements KubernetesResource +public class JVMReturnSpec implements Editable , KubernetesResource { @JsonProperty("class") @@ -149,6 +150,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public JVMReturnSpecBuilder edit() { + return new JVMReturnSpecBuilder(this); + } + + @JsonIgnore + public JVMReturnSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMRuleDataSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMRuleDataSpec.java index ca1422a1341..58cf30713ac 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMRuleDataSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMRuleDataSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class JVMRuleDataSpec implements KubernetesResource +public class JVMRuleDataSpec implements Editable , KubernetesResource { @JsonProperty("pid") @@ -121,6 +122,16 @@ public void setRuleData(String ruleData) { this.ruleData = ruleData; } + @JsonIgnore + public JVMRuleDataSpecBuilder edit() { + return new JVMRuleDataSpecBuilder(this); + } + + @JsonIgnore + public JVMRuleDataSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMStressSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMStressSpec.java index b06b58408e5..e978a74c01f 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMStressSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMStressSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class JVMStressSpec implements KubernetesResource +public class JVMStressSpec implements Editable , KubernetesResource { @JsonProperty("cpu-count") @@ -135,6 +136,16 @@ public void setPort(Integer port) { this.port = port; } + @JsonIgnore + public JVMStressSpecBuilder edit() { + return new JVMStressSpecBuilder(this); + } + + @JsonIgnore + public JVMStressSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KernelChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KernelChaos.java index 51610db9fdf..8f9d2cc4160 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KernelChaos.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KernelChaos.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class KernelChaos implements HasMetadata, Namespaced +public class KernelChaos implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(KernelChaosStatus status) { this.status = status; } + @JsonIgnore + public KernelChaosBuilder edit() { + return new KernelChaosBuilder(this); + } + + @JsonIgnore + public KernelChaosBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KernelChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KernelChaosList.java index c2bc202f943..d207f2bd8a3 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KernelChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KernelChaosList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class KernelChaosList implements KubernetesResource, KubernetesResourceList +public class KernelChaosList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public KernelChaosListBuilder edit() { + return new KernelChaosListBuilder(this); + } + + @JsonIgnore + public KernelChaosListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KernelChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KernelChaosSpec.java index e510e8d8efb..7b6f35aee4f 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KernelChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KernelChaosSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class KernelChaosSpec implements KubernetesResource +public class KernelChaosSpec implements Editable , KubernetesResource { @JsonProperty("duration") @@ -149,6 +150,16 @@ public void setValue(java.lang.String value) { this.value = value; } + @JsonIgnore + public KernelChaosSpecBuilder edit() { + return new KernelChaosSpecBuilder(this); + } + + @JsonIgnore + public KernelChaosSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KernelChaosStatus.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KernelChaosStatus.java index d36a3ac755f..b41a589f0a4 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KernelChaosStatus.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KernelChaosStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class KernelChaosStatus implements KubernetesResource +public class KernelChaosStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -110,6 +111,16 @@ public void setExperiment(ExperimentStatus experiment) { this.experiment = experiment; } + @JsonIgnore + public KernelChaosStatusBuilder edit() { + return new KernelChaosStatusBuilder(this); + } + + @JsonIgnore + public KernelChaosStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/LossSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/LossSpec.java index b6d0aaaa20c..cbf88f0ebea 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/LossSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/LossSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LossSpec implements KubernetesResource +public class LossSpec implements Editable , KubernetesResource { @JsonProperty("correlation") @@ -107,6 +108,16 @@ public void setLoss(String loss) { this.loss = loss; } + @JsonIgnore + public LossSpecBuilder edit() { + return new LossSpecBuilder(this); + } + + @JsonIgnore + public LossSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/MemoryStressor.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/MemoryStressor.java index c412ef2ba63..abb2e2e2bd3 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/MemoryStressor.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/MemoryStressor.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class MemoryStressor implements KubernetesResource +public class MemoryStressor implements Editable , KubernetesResource { @JsonProperty("options") @@ -124,6 +125,16 @@ public void setWorkers(Integer workers) { this.workers = workers; } + @JsonIgnore + public MemoryStressorBuilder edit() { + return new MemoryStressorBuilder(this); + } + + @JsonIgnore + public MemoryStressorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/MistakeSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/MistakeSpec.java index 61a754133bb..23fc59fc931 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/MistakeSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/MistakeSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class MistakeSpec implements KubernetesResource +public class MistakeSpec implements Editable , KubernetesResource { @JsonProperty("filling") @@ -121,6 +122,16 @@ public void setMaxOccurrences(Long maxOccurrences) { this.maxOccurrences = maxOccurrences; } + @JsonIgnore + public MistakeSpecBuilder edit() { + return new MistakeSpecBuilder(this); + } + + @JsonIgnore + public MistakeSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkBandwidthSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkBandwidthSpec.java index 3a4d8f933cf..d014ef4cc5b 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkBandwidthSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkBandwidthSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class NetworkBandwidthSpec implements KubernetesResource +public class NetworkBandwidthSpec implements Editable , KubernetesResource { @JsonProperty("buffer") @@ -191,6 +192,16 @@ public void setRate(String rate) { this.rate = rate; } + @JsonIgnore + public NetworkBandwidthSpecBuilder edit() { + return new NetworkBandwidthSpecBuilder(this); + } + + @JsonIgnore + public NetworkBandwidthSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaos.java index 8974e66de2e..ddb4aeaa304 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaos.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaos.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class NetworkChaos implements HasMetadata, Namespaced +public class NetworkChaos implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(NetworkChaosStatus status) { this.status = status; } + @JsonIgnore + public NetworkChaosBuilder edit() { + return new NetworkChaosBuilder(this); + } + + @JsonIgnore + public NetworkChaosBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaosList.java index 7e074f95392..690df664fb1 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaosList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class NetworkChaosList implements KubernetesResource, KubernetesResourceList +public class NetworkChaosList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public NetworkChaosListBuilder edit() { + return new NetworkChaosListBuilder(this); + } + + @JsonIgnore + public NetworkChaosListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaosSpec.java index 3c3a02d82dc..905e56d2945 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaosSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -79,7 +80,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class NetworkChaosSpec implements KubernetesResource +public class NetworkChaosSpec implements Editable , KubernetesResource { @JsonProperty("action") @@ -292,6 +293,16 @@ public void setValue(java.lang.String value) { this.value = value; } + @JsonIgnore + public NetworkChaosSpecBuilder edit() { + return new NetworkChaosSpecBuilder(this); + } + + @JsonIgnore + public NetworkChaosSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaosStatus.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaosStatus.java index 5c94a82f316..993c07fe78b 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaosStatus.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaosStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class NetworkChaosStatus implements KubernetesResource +public class NetworkChaosStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -125,6 +126,16 @@ public void setInstances(Map instances) { this.instances = instances; } + @JsonIgnore + public NetworkChaosStatusBuilder edit() { + return new NetworkChaosStatusBuilder(this); + } + + @JsonIgnore + public NetworkChaosStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkCorruptSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkCorruptSpec.java index 77b3bb5b111..a4faf6d1196 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkCorruptSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkCorruptSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class NetworkCorruptSpec implements KubernetesResource +public class NetworkCorruptSpec implements Editable , KubernetesResource { @JsonProperty("correlation") @@ -191,6 +192,16 @@ public void setSourcePort(String sourcePort) { this.sourcePort = sourcePort; } + @JsonIgnore + public NetworkCorruptSpecBuilder edit() { + return new NetworkCorruptSpecBuilder(this); + } + + @JsonIgnore + public NetworkCorruptSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkDNSSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkDNSSpec.java index 35a0f0f211d..f8cff3e7eb6 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkDNSSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkDNSSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class NetworkDNSSpec implements KubernetesResource +public class NetworkDNSSpec implements Editable , KubernetesResource { @JsonProperty("dns-domain-name") @@ -121,6 +122,16 @@ public void setDnsServer(String dnsServer) { this.dnsServer = dnsServer; } + @JsonIgnore + public NetworkDNSSpecBuilder edit() { + return new NetworkDNSSpecBuilder(this); + } + + @JsonIgnore + public NetworkDNSSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkDelaySpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkDelaySpec.java index f28972b7876..ea7f3f02547 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkDelaySpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkDelaySpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class NetworkDelaySpec implements KubernetesResource +public class NetworkDelaySpec implements Editable , KubernetesResource { @JsonProperty("correlation") @@ -205,6 +206,16 @@ public void setSourcePort(String sourcePort) { this.sourcePort = sourcePort; } + @JsonIgnore + public NetworkDelaySpecBuilder edit() { + return new NetworkDelaySpecBuilder(this); + } + + @JsonIgnore + public NetworkDelaySpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkDuplicateSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkDuplicateSpec.java index 3397b3d53e4..213ca7130ff 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkDuplicateSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkDuplicateSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class NetworkDuplicateSpec implements KubernetesResource +public class NetworkDuplicateSpec implements Editable , KubernetesResource { @JsonProperty("correlation") @@ -191,6 +192,16 @@ public void setSourcePort(String sourcePort) { this.sourcePort = sourcePort; } + @JsonIgnore + public NetworkDuplicateSpecBuilder edit() { + return new NetworkDuplicateSpecBuilder(this); + } + + @JsonIgnore + public NetworkDuplicateSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkLossSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkLossSpec.java index 6d841752e41..18239c7d236 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkLossSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkLossSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class NetworkLossSpec implements KubernetesResource +public class NetworkLossSpec implements Editable , KubernetesResource { @JsonProperty("correlation") @@ -191,6 +192,16 @@ public void setSourcePort(String sourcePort) { this.sourcePort = sourcePort; } + @JsonIgnore + public NetworkLossSpecBuilder edit() { + return new NetworkLossSpecBuilder(this); + } + + @JsonIgnore + public NetworkLossSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkPartitionSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkPartitionSpec.java index a56362a3745..14423e51c5e 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkPartitionSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkPartitionSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class NetworkPartitionSpec implements KubernetesResource +public class NetworkPartitionSpec implements Editable , KubernetesResource { @JsonProperty("accept-tcp-flags") @@ -163,6 +164,16 @@ public void setIpProtocol(String ipProtocol) { this.ipProtocol = ipProtocol; } + @JsonIgnore + public NetworkPartitionSpecBuilder edit() { + return new NetworkPartitionSpecBuilder(this); + } + + @JsonIgnore + public NetworkPartitionSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineChaos.java index 7fdf9e06641..bdc425788c6 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineChaos.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineChaos.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class PhysicalMachineChaos implements HasMetadata, Namespaced +public class PhysicalMachineChaos implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(PhysicalMachineChaosStatus status) { this.status = status; } + @JsonIgnore + public PhysicalMachineChaosBuilder edit() { + return new PhysicalMachineChaosBuilder(this); + } + + @JsonIgnore + public PhysicalMachineChaosBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineChaosList.java index 9e6430591c0..49d024407cb 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineChaosList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class PhysicalMachineChaosList implements KubernetesResource, KubernetesResourceList +public class PhysicalMachineChaosList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PhysicalMachineChaosListBuilder edit() { + return new PhysicalMachineChaosListBuilder(this); + } + + @JsonIgnore + public PhysicalMachineChaosListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineChaosSpec.java index f766ac6abbe..286c6f004a7 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineChaosSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -91,7 +92,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PhysicalMachineChaosSpec implements KubernetesResource +public class PhysicalMachineChaosSpec implements Editable , KubernetesResource { @JsonProperty("action") @@ -460,6 +461,16 @@ public void setValue(java.lang.String value) { this.value = value; } + @JsonIgnore + public PhysicalMachineChaosSpecBuilder edit() { + return new PhysicalMachineChaosSpecBuilder(this); + } + + @JsonIgnore + public PhysicalMachineChaosSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineChaosStatus.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineChaosStatus.java index dca294b4ad7..72a414ca9d2 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineChaosStatus.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineChaosStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PhysicalMachineChaosStatus implements KubernetesResource +public class PhysicalMachineChaosStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -110,6 +111,16 @@ public void setExperiment(ExperimentStatus experiment) { this.experiment = experiment; } + @JsonIgnore + public PhysicalMachineChaosStatusBuilder edit() { + return new PhysicalMachineChaosStatusBuilder(this); + } + + @JsonIgnore + public PhysicalMachineChaosStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineSelectorSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineSelectorSpec.java index aea87b73439..db7cb7337e2 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineSelectorSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineSelectorSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PhysicalMachineSelectorSpec implements KubernetesResource +public class PhysicalMachineSelectorSpec implements Editable , KubernetesResource { @JsonProperty("annotationSelectors") @@ -172,6 +173,16 @@ public void setPhysicalMachines(Map> physicalMach this.physicalMachines = physicalMachines; } + @JsonIgnore + public PhysicalMachineSelectorSpecBuilder edit() { + return new PhysicalMachineSelectorSpecBuilder(this); + } + + @JsonIgnore + public PhysicalMachineSelectorSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaos.java index 6aad8ec4c9b..2d2b21b364d 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaos.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaos.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class PodChaos implements HasMetadata, Namespaced +public class PodChaos implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(PodChaosStatus status) { this.status = status; } + @JsonIgnore + public PodChaosBuilder edit() { + return new PodChaosBuilder(this); + } + + @JsonIgnore + public PodChaosBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaosList.java index 10e3e9fc872..75af6694c27 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaosList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class PodChaosList implements KubernetesResource, KubernetesResourceList +public class PodChaosList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PodChaosListBuilder edit() { + return new PodChaosListBuilder(this); + } + + @JsonIgnore + public PodChaosListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaosSpec.java index 868d0dc3931..c8ad0231ce9 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaosSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PodChaosSpec implements KubernetesResource +public class PodChaosSpec implements Editable , KubernetesResource { @JsonProperty("action") @@ -180,6 +181,16 @@ public void setValue(java.lang.String value) { this.value = value; } + @JsonIgnore + public PodChaosSpecBuilder edit() { + return new PodChaosSpecBuilder(this); + } + + @JsonIgnore + public PodChaosSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaosStatus.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaosStatus.java index 79e6e069ace..1a5cabfba93 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaosStatus.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaosStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PodChaosStatus implements KubernetesResource +public class PodChaosStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -110,6 +111,16 @@ public void setExperiment(ExperimentStatus experiment) { this.experiment = experiment; } + @JsonIgnore + public PodChaosStatusBuilder edit() { + return new PodChaosStatusBuilder(this); + } + + @JsonIgnore + public PodChaosStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaos.java index dae3f72661a..77799ad1cad 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaos.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaos.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class PodHttpChaos implements HasMetadata, Namespaced +public class PodHttpChaos implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(PodHttpChaosStatus status) { this.status = status; } + @JsonIgnore + public PodHttpChaosBuilder edit() { + return new PodHttpChaosBuilder(this); + } + + @JsonIgnore + public PodHttpChaosBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosActions.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosActions.java index b6f5719e8b0..5b9fc592736 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosActions.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosActions.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PodHttpChaosActions implements KubernetesResource +public class PodHttpChaosActions implements Editable , KubernetesResource { @JsonProperty("abort") @@ -135,6 +136,16 @@ public void setReplace(PodHttpChaosReplaceActions replace) { this.replace = replace; } + @JsonIgnore + public PodHttpChaosActionsBuilder edit() { + return new PodHttpChaosActionsBuilder(this); + } + + @JsonIgnore + public PodHttpChaosActionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosList.java index 9c38797f81e..cdefba5438d 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class PodHttpChaosList implements KubernetesResource, KubernetesResourceList +public class PodHttpChaosList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PodHttpChaosListBuilder edit() { + return new PodHttpChaosListBuilder(this); + } + + @JsonIgnore + public PodHttpChaosListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosPatchActions.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosPatchActions.java index 99ecc406190..c0247167227 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosPatchActions.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosPatchActions.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PodHttpChaosPatchActions implements KubernetesResource +public class PodHttpChaosPatchActions implements Editable , KubernetesResource { @JsonProperty("body") @@ -125,6 +126,16 @@ public void setQueries(List> queries) { this.queries = queries; } + @JsonIgnore + public PodHttpChaosPatchActionsBuilder edit() { + return new PodHttpChaosPatchActionsBuilder(this); + } + + @JsonIgnore + public PodHttpChaosPatchActionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosPatchBodyAction.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosPatchBodyAction.java index 8af205fe97f..3376c2789b6 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosPatchBodyAction.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosPatchBodyAction.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PodHttpChaosPatchBodyAction implements KubernetesResource +public class PodHttpChaosPatchBodyAction implements Editable , KubernetesResource { @JsonProperty("type") @@ -107,6 +108,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public PodHttpChaosPatchBodyActionBuilder edit() { + return new PodHttpChaosPatchBodyActionBuilder(this); + } + + @JsonIgnore + public PodHttpChaosPatchBodyActionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosReplaceActions.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosReplaceActions.java index f977d4c08e1..519cf32e126 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosReplaceActions.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosReplaceActions.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PodHttpChaosReplaceActions implements KubernetesResource +public class PodHttpChaosReplaceActions implements Editable , KubernetesResource { @JsonProperty("body") @@ -165,6 +166,16 @@ public void setQueries(Map queries) { this.queries = queries; } + @JsonIgnore + public PodHttpChaosReplaceActionsBuilder edit() { + return new PodHttpChaosReplaceActionsBuilder(this); + } + + @JsonIgnore + public PodHttpChaosReplaceActionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosRule.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosRule.java index 399818ecf9e..d323f795ead 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosRule.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosRule.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PodHttpChaosRule implements KubernetesResource +public class PodHttpChaosRule implements Editable , KubernetesResource { @JsonProperty("actions") @@ -149,6 +150,16 @@ public void setTarget(String target) { this.target = target; } + @JsonIgnore + public PodHttpChaosRuleBuilder edit() { + return new PodHttpChaosRuleBuilder(this); + } + + @JsonIgnore + public PodHttpChaosRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosSelector.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosSelector.java index 67a9a40e5c5..8ad9077c65c 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosSelector.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosSelector.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PodHttpChaosSelector implements KubernetesResource +public class PodHttpChaosSelector implements Editable , KubernetesResource { @JsonProperty("code") @@ -165,6 +166,16 @@ public void setResponseHeaders(Map responseHeaders) { this.responseHeaders = responseHeaders; } + @JsonIgnore + public PodHttpChaosSelectorBuilder edit() { + return new PodHttpChaosSelectorBuilder(this); + } + + @JsonIgnore + public PodHttpChaosSelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosSpec.java index f94f72a247a..5a2a261dae0 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PodHttpChaosSpec implements KubernetesResource +public class PodHttpChaosSpec implements Editable , KubernetesResource { @JsonProperty("rules") @@ -96,6 +97,16 @@ public void setRules(List rules) { this.rules = rules; } + @JsonIgnore + public PodHttpChaosSpecBuilder edit() { + return new PodHttpChaosSpecBuilder(this); + } + + @JsonIgnore + public PodHttpChaosSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosStatus.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosStatus.java index 98355ad4af5..2bf37cb945d 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosStatus.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PodHttpChaosStatus implements KubernetesResource +public class PodHttpChaosStatus implements Editable , KubernetesResource { @JsonProperty("failedMessage") @@ -135,6 +136,16 @@ public void setStartTime(Long startTime) { this.startTime = startTime; } + @JsonIgnore + public PodHttpChaosStatusBuilder edit() { + return new PodHttpChaosStatusBuilder(this); + } + + @JsonIgnore + public PodHttpChaosStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodIOChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodIOChaos.java index 08ab39fa62f..d594634639c 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodIOChaos.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodIOChaos.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class PodIOChaos implements HasMetadata, Namespaced +public class PodIOChaos implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(PodIOChaosStatus status) { this.status = status; } + @JsonIgnore + public PodIOChaosBuilder edit() { + return new PodIOChaosBuilder(this); + } + + @JsonIgnore + public PodIOChaosBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodIOChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodIOChaosList.java index 54a6c8cdc71..e946c4a7475 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodIOChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodIOChaosList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class PodIOChaosList implements KubernetesResource, KubernetesResourceList +public class PodIOChaosList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PodIOChaosListBuilder edit() { + return new PodIOChaosListBuilder(this); + } + + @JsonIgnore + public PodIOChaosListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodIOChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodIOChaosSpec.java index c4d63d10a79..3f103f0837d 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodIOChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodIOChaosSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PodIOChaosSpec implements KubernetesResource +public class PodIOChaosSpec implements Editable , KubernetesResource { @JsonProperty("actions") @@ -124,6 +125,16 @@ public void setVolumeMountPath(java.lang.String volumeMountPath) { this.volumeMountPath = volumeMountPath; } + @JsonIgnore + public PodIOChaosSpecBuilder edit() { + return new PodIOChaosSpecBuilder(this); + } + + @JsonIgnore + public PodIOChaosSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodIOChaosStatus.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodIOChaosStatus.java index 2b4628f6cdf..ffe221f83b0 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodIOChaosStatus.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodIOChaosStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PodIOChaosStatus implements KubernetesResource +public class PodIOChaosStatus implements Editable , KubernetesResource { @JsonProperty("failedMessage") @@ -135,6 +136,16 @@ public void setStartTime(Long startTime) { this.startTime = startTime; } + @JsonIgnore + public PodIOChaosStatusBuilder edit() { + return new PodIOChaosStatusBuilder(this); + } + + @JsonIgnore + public PodIOChaosStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodNetworkChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodNetworkChaos.java index 2e8b15dddf0..45d505073fb 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodNetworkChaos.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodNetworkChaos.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class PodNetworkChaos implements HasMetadata, Namespaced +public class PodNetworkChaos implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(PodNetworkChaosStatus status) { this.status = status; } + @JsonIgnore + public PodNetworkChaosBuilder edit() { + return new PodNetworkChaosBuilder(this); + } + + @JsonIgnore + public PodNetworkChaosBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodNetworkChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodNetworkChaosList.java index 20354fba734..5de19b6815e 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodNetworkChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodNetworkChaosList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class PodNetworkChaosList implements KubernetesResource, KubernetesResourceList +public class PodNetworkChaosList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PodNetworkChaosListBuilder edit() { + return new PodNetworkChaosListBuilder(this); + } + + @JsonIgnore + public PodNetworkChaosListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodNetworkChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodNetworkChaosSpec.java index d255f45096e..33769449345 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodNetworkChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodNetworkChaosSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PodNetworkChaosSpec implements KubernetesResource +public class PodNetworkChaosSpec implements Editable , KubernetesResource { @JsonProperty("ipsets") @@ -126,6 +127,16 @@ public void setTcs(List tcs) { this.tcs = tcs; } + @JsonIgnore + public PodNetworkChaosSpecBuilder edit() { + return new PodNetworkChaosSpecBuilder(this); + } + + @JsonIgnore + public PodNetworkChaosSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodNetworkChaosStatus.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodNetworkChaosStatus.java index 8e8f5c7814d..85fa79ef524 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodNetworkChaosStatus.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodNetworkChaosStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PodNetworkChaosStatus implements KubernetesResource +public class PodNetworkChaosStatus implements Editable , KubernetesResource { @JsonProperty("failedMessage") @@ -107,6 +108,16 @@ public void setObservedGeneration(Long observedGeneration) { this.observedGeneration = observedGeneration; } + @JsonIgnore + public PodNetworkChaosStatusBuilder edit() { + return new PodNetworkChaosStatusBuilder(this); + } + + @JsonIgnore + public PodNetworkChaosStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodSelector.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodSelector.java index 308256be69b..7b271b253fa 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodSelector.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodSelector.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PodSelector implements KubernetesResource +public class PodSelector implements Editable , KubernetesResource { @JsonProperty("mode") @@ -121,6 +122,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public PodSelectorBuilder edit() { + return new PodSelectorBuilder(this); + } + + @JsonIgnore + public PodSelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodSelectorSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodSelectorSpec.java index 0d32a5d5d68..bd258ff3769 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodSelectorSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodSelectorSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PodSelectorSpec implements KubernetesResource +public class PodSelectorSpec implements Editable , KubernetesResource { @JsonProperty("annotationSelectors") @@ -217,6 +218,16 @@ public void setPods(Map> pods) { this.pods = pods; } + @JsonIgnore + public PodSelectorSpecBuilder edit() { + return new PodSelectorSpecBuilder(this); + } + + @JsonIgnore + public PodSelectorSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ProcessSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ProcessSpec.java index d4e88112778..376471f046a 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ProcessSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ProcessSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ProcessSpec implements KubernetesResource +public class ProcessSpec implements Editable , KubernetesResource { @JsonProperty("process") @@ -107,6 +108,16 @@ public void setSignal(Integer signal) { this.signal = signal; } + @JsonIgnore + public ProcessSpecBuilder edit() { + return new ProcessSpecBuilder(this); + } + + @JsonIgnore + public ProcessSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawIPSet.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawIPSet.java index edad4b985d5..af52f9eaf0a 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawIPSet.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawIPSet.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class RawIPSet implements KubernetesResource +public class RawIPSet implements Editable , KubernetesResource { @JsonProperty("cidrs") @@ -124,6 +125,16 @@ public void setSource(String source) { this.source = source; } + @JsonIgnore + public RawIPSetBuilder edit() { + return new RawIPSetBuilder(this); + } + + @JsonIgnore + public RawIPSetBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawIptables.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawIptables.java index b1af5a613c8..1f4dd3da0d7 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawIptables.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawIptables.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class RawIptables implements KubernetesResource +public class RawIptables implements Editable , KubernetesResource { @JsonProperty("device") @@ -152,6 +153,16 @@ public void setSource(String source) { this.source = source; } + @JsonIgnore + public RawIptablesBuilder edit() { + return new RawIptablesBuilder(this); + } + + @JsonIgnore + public RawIptablesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawTrafficControl.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawTrafficControl.java index dc61ac1416f..96a101190c0 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawTrafficControl.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawTrafficControl.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class RawTrafficControl implements KubernetesResource +public class RawTrafficControl implements Editable , KubernetesResource { @JsonProperty("bandwidth") @@ -205,6 +206,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public RawTrafficControlBuilder edit() { + return new RawTrafficControlBuilder(this); + } + + @JsonIgnore + public RawTrafficControlBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Record.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Record.java index 06b23b13b04..faf36ea3649 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Record.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Record.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Record implements KubernetesResource +public class Record implements Editable , KubernetesResource { @JsonProperty("id") @@ -121,6 +122,16 @@ public void setSelectorKey(String selectorKey) { this.selectorKey = selectorKey; } + @JsonIgnore + public RecordBuilder edit() { + return new RecordBuilder(this); + } + + @JsonIgnore + public RecordBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ReorderSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ReorderSpec.java index 68a56b5ed31..d2712d7de2e 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ReorderSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ReorderSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ReorderSpec implements KubernetesResource +public class ReorderSpec implements Editable , KubernetesResource { @JsonProperty("correlation") @@ -121,6 +122,16 @@ public void setReorder(String reorder) { this.reorder = reorder; } + @JsonIgnore + public ReorderSpecBuilder edit() { + return new ReorderSpecBuilder(this); + } + + @JsonIgnore + public ReorderSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressCPUSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressCPUSpec.java index 5b0c785f55c..3944fe52426 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressCPUSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressCPUSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class StressCPUSpec implements KubernetesResource +public class StressCPUSpec implements Editable , KubernetesResource { @JsonProperty("load") @@ -121,6 +122,16 @@ public void setWorkers(Integer workers) { this.workers = workers; } + @JsonIgnore + public StressCPUSpecBuilder edit() { + return new StressCPUSpecBuilder(this); + } + + @JsonIgnore + public StressCPUSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaos.java index 73351097ff6..57c0cae90f8 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaos.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaos.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class StressChaos implements HasMetadata, Namespaced +public class StressChaos implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(StressChaosStatus status) { this.status = status; } + @JsonIgnore + public StressChaosBuilder edit() { + return new StressChaosBuilder(this); + } + + @JsonIgnore + public StressChaosBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaosList.java index 6ba071f3aa8..faf6ffce1af 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaosList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class StressChaosList implements KubernetesResource, KubernetesResourceList +public class StressChaosList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public StressChaosListBuilder edit() { + return new StressChaosListBuilder(this); + } + + @JsonIgnore + public StressChaosListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaosSpec.java index 98f331b04bc..1424cda72b0 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaosSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class StressChaosSpec implements KubernetesResource +public class StressChaosSpec implements Editable , KubernetesResource { @JsonProperty("containerNames") @@ -180,6 +181,16 @@ public void setValue(java.lang.String value) { this.value = value; } + @JsonIgnore + public StressChaosSpecBuilder edit() { + return new StressChaosSpecBuilder(this); + } + + @JsonIgnore + public StressChaosSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaosStatus.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaosStatus.java index 82c5d33b52d..0cf50cfd8d6 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaosStatus.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaosStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class StressChaosStatus implements KubernetesResource +public class StressChaosStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -125,6 +126,16 @@ public void setInstances(Map instances) { this.instances = instances; } + @JsonIgnore + public StressChaosStatusBuilder edit() { + return new StressChaosStatusBuilder(this); + } + + @JsonIgnore + public StressChaosStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressInstance.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressInstance.java index 42e19ca8789..41bd13cabb5 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressInstance.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressInstance.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class StressInstance implements KubernetesResource +public class StressInstance implements Editable , KubernetesResource { @JsonProperty("memoryStartTime") @@ -135,6 +136,16 @@ public void setUid(String uid) { this.uid = uid; } + @JsonIgnore + public StressInstanceBuilder edit() { + return new StressInstanceBuilder(this); + } + + @JsonIgnore + public StressInstanceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressMemorySpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressMemorySpec.java index 678c1e4c24f..a53d5cf3585 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressMemorySpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressMemorySpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class StressMemorySpec implements KubernetesResource +public class StressMemorySpec implements Editable , KubernetesResource { @JsonProperty("options") @@ -107,6 +108,16 @@ public void setSize(String size) { this.size = size; } + @JsonIgnore + public StressMemorySpecBuilder edit() { + return new StressMemorySpecBuilder(this); + } + + @JsonIgnore + public StressMemorySpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Stressors.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Stressors.java index 5dee25914cb..9d65bc08bf7 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Stressors.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Stressors.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Stressors implements KubernetesResource +public class Stressors implements Editable , KubernetesResource { @JsonProperty("cpu") @@ -107,6 +108,16 @@ public void setMemory(MemoryStressor memory) { this.memory = memory; } + @JsonIgnore + public StressorsBuilder edit() { + return new StressorsBuilder(this); + } + + @JsonIgnore + public StressorsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaos.java index 39b674f3a94..3f0b6851c7b 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaos.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaos.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class TimeChaos implements HasMetadata, Namespaced +public class TimeChaos implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(TimeChaosStatus status) { this.status = status; } + @JsonIgnore + public TimeChaosBuilder edit() { + return new TimeChaosBuilder(this); + } + + @JsonIgnore + public TimeChaosBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaosList.java index 96c7f2e0f6f..644e207c8e2 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaosList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("chaos-mesh.org") @Generated("jsonschema2pojo") -public class TimeChaosList implements KubernetesResource, KubernetesResourceList +public class TimeChaosList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public TimeChaosListBuilder edit() { + return new TimeChaosListBuilder(this); + } + + @JsonIgnore + public TimeChaosListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaosSpec.java index 1fea0e6b013..8ecd5125d56 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaosSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TimeChaosSpec implements KubernetesResource +public class TimeChaosSpec implements Editable , KubernetesResource { @JsonProperty("clockIds") @@ -181,6 +182,16 @@ public void setValue(java.lang.String value) { this.value = value; } + @JsonIgnore + public TimeChaosSpecBuilder edit() { + return new TimeChaosSpecBuilder(this); + } + + @JsonIgnore + public TimeChaosSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaosStatus.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaosStatus.java index 9375d4d6b9b..3101324400e 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaosStatus.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaosStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TimeChaosStatus implements KubernetesResource +public class TimeChaosStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -110,6 +111,16 @@ public void setExperiment(ExperimentStatus experiment) { this.experiment = experiment; } + @JsonIgnore + public TimeChaosStatusBuilder edit() { + return new TimeChaosStatusBuilder(this); + } + + @JsonIgnore + public TimeChaosStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Timespec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Timespec.java index 701394fc0e5..22a33be45c8 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Timespec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Timespec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Timespec implements KubernetesResource +public class Timespec implements Editable , KubernetesResource { @JsonProperty("nsec") @@ -107,6 +108,16 @@ public void setSec(Long sec) { this.sec = sec; } + @JsonIgnore + public TimespecBuilder edit() { + return new TimespecBuilder(this); + } + + @JsonIgnore + public TimespecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/analysis/v1alpha1/AnalysisMessageBase.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/analysis/v1alpha1/AnalysisMessageBase.java index f48020ad227..35994c9f154 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/analysis/v1alpha1/AnalysisMessageBase.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/analysis/v1alpha1/AnalysisMessageBase.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class AnalysisMessageBase implements KubernetesResource +public class AnalysisMessageBase implements Editable , KubernetesResource { @JsonProperty("documentationUrl") @@ -121,6 +122,16 @@ public void setType(AnalysisMessageBaseType type) { this.type = type; } + @JsonIgnore + public AnalysisMessageBaseBuilder edit() { + return new AnalysisMessageBaseBuilder(this); + } + + @JsonIgnore + public AnalysisMessageBaseBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/analysis/v1alpha1/AnalysisMessageBaseType.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/analysis/v1alpha1/AnalysisMessageBaseType.java index 8f01946dcfb..9c144d17b1c 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/analysis/v1alpha1/AnalysisMessageBaseType.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/analysis/v1alpha1/AnalysisMessageBaseType.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class AnalysisMessageBaseType implements KubernetesResource +public class AnalysisMessageBaseType implements Editable , KubernetesResource { @JsonProperty("code") @@ -107,6 +108,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public AnalysisMessageBaseTypeBuilder edit() { + return new AnalysisMessageBaseTypeBuilder(this); + } + + @JsonIgnore + public AnalysisMessageBaseTypeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ListValue.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ListValue.java index ab5a3089da5..4241e4dc9ce 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ListValue.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ListValue.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ListValue implements KubernetesResource +public class ListValue implements Editable , KubernetesResource { @JsonProperty("values") @@ -96,6 +97,16 @@ public void setValues(List values) { this.values = values; } + @JsonIgnore + public ListValueBuilder edit() { + return new ListValueBuilder(this); + } + + @JsonIgnore + public ListValueBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/Value.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/Value.java index 863e6e3be44..6a030b0db21 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/Value.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/Value.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonUnwrapped; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Value implements KubernetesResource +public class Value implements Editable , KubernetesResource { @JsonProperty("Kind") @@ -95,6 +96,16 @@ public void setKind(IsValueKind kind) { this.kind = kind; } + @JsonIgnore + public ValueBuilder edit() { + return new ValueBuilder(this); + } + + @JsonIgnore + public ValueBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueBoolValue.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueBoolValue.java index 4edfd605902..1b17dada423 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueBoolValue.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueBoolValue.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ValueBoolValue implements IsValueKind +public class ValueBoolValue implements IsValueKind, Editable { @JsonProperty("boolValue") @@ -92,6 +93,16 @@ public void setBoolValue(Boolean boolValue) { this.boolValue = boolValue; } + @JsonIgnore + public ValueBoolValueBuilder edit() { + return new ValueBoolValueBuilder(this); + } + + @JsonIgnore + public ValueBoolValueBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueListValue.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueListValue.java index a60c2d75664..1a2bfc49886 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueListValue.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueListValue.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ValueListValue implements IsValueKind +public class ValueListValue implements IsValueKind, Editable { @JsonProperty("listValue") @@ -92,6 +93,16 @@ public void setListValue(ListValue listValue) { this.listValue = listValue; } + @JsonIgnore + public ValueListValueBuilder edit() { + return new ValueListValueBuilder(this); + } + + @JsonIgnore + public ValueListValueBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueNullValue.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueNullValue.java index b08b3a06d95..412c95c4b5d 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueNullValue.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueNullValue.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ValueNullValue implements IsValueKind +public class ValueNullValue implements IsValueKind, Editable { @JsonProperty("nullValue") @@ -92,6 +93,16 @@ public void setNullValue(NullValue nullValue) { this.nullValue = nullValue; } + @JsonIgnore + public ValueNullValueBuilder edit() { + return new ValueNullValueBuilder(this); + } + + @JsonIgnore + public ValueNullValueBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueNumberValue.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueNumberValue.java index b83dd15090b..b720fd10249 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueNumberValue.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueNumberValue.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ValueNumberValue implements IsValueKind +public class ValueNumberValue implements IsValueKind, Editable { @JsonProperty("numberValue") @@ -92,6 +93,16 @@ public void setNumberValue(Double numberValue) { this.numberValue = numberValue; } + @JsonIgnore + public ValueNumberValueBuilder edit() { + return new ValueNumberValueBuilder(this); + } + + @JsonIgnore + public ValueNumberValueBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueStringValue.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueStringValue.java index 95d2e446cca..b2774dadac1 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueStringValue.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueStringValue.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ValueStringValue implements IsValueKind +public class ValueStringValue implements IsValueKind, Editable { @JsonProperty("stringValue") @@ -92,6 +93,16 @@ public void setStringValue(String stringValue) { this.stringValue = stringValue; } + @JsonIgnore + public ValueStringValueBuilder edit() { + return new ValueStringValueBuilder(this); + } + + @JsonIgnore + public ValueStringValueBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueStructValue.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueStructValue.java index 75994adfa69..8dda7889845 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueStructValue.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueStructValue.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ValueStructValue implements IsValueKind +public class ValueStructValue implements IsValueKind, Editable { @JsonProperty("structValue") @@ -93,6 +94,16 @@ public void setStructValue(Map structValue) { this.structValue = structValue; } + @JsonIgnore + public ValueStructValueBuilder edit() { + return new ValueStructValueBuilder(this); + } + + @JsonIgnore + public ValueStructValueBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/meta/v1alpha1/IstioCondition.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/meta/v1alpha1/IstioCondition.java index 88ffc260483..1fc25a1eeb1 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/meta/v1alpha1/IstioCondition.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/meta/v1alpha1/IstioCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IstioCondition implements KubernetesResource +public class IstioCondition implements Editable , KubernetesResource { @JsonProperty("lastProbeTime") @@ -163,6 +164,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public IstioConditionBuilder edit() { + return new IstioConditionBuilder(this); + } + + @JsonIgnore + public IstioConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/meta/v1alpha1/IstioStatus.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/meta/v1alpha1/IstioStatus.java index dfecd7eb901..ded8f74610a 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/meta/v1alpha1/IstioStatus.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/meta/v1alpha1/IstioStatus.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.istio.api.analysis.v1alpha1.AnalysisMessageBase; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IstioStatus implements KubernetesResource +public class IstioStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -126,6 +127,16 @@ public void setValidationMessages(List validationMessages) this.validationMessages = validationMessages; } + @JsonIgnore + public IstioStatusBuilder edit() { + return new IstioStatusBuilder(this); + } + + @JsonIgnore + public IstioStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ClientTLSSettings.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ClientTLSSettings.java index 1e7a81e3fc9..8a21658834b 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ClientTLSSettings.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ClientTLSSettings.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ClientTLSSettings implements KubernetesResource +public class ClientTLSSettings implements Editable , KubernetesResource { @JsonProperty("caCertificates") @@ -194,6 +195,16 @@ public void setSubjectAltNames(List subjectAltNames) { this.subjectAltNames = subjectAltNames; } + @JsonIgnore + public ClientTLSSettingsBuilder edit() { + return new ClientTLSSettingsBuilder(this); + } + + @JsonIgnore + public ClientTLSSettingsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettings.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettings.java index 284fd3a3c2b..56306099510 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettings.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettings.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ConnectionPoolSettings implements KubernetesResource +public class ConnectionPoolSettings implements Editable , KubernetesResource { @JsonProperty("http") @@ -107,6 +108,16 @@ public void setTcp(ConnectionPoolSettingsTCPSettings tcp) { this.tcp = tcp; } + @JsonIgnore + public ConnectionPoolSettingsBuilder edit() { + return new ConnectionPoolSettingsBuilder(this); + } + + @JsonIgnore + public ConnectionPoolSettingsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettingsHTTPSettings.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettingsHTTPSettings.java index dc72bc7b83a..7c227599af3 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettingsHTTPSettings.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettingsHTTPSettings.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ConnectionPoolSettingsHTTPSettings implements KubernetesResource +public class ConnectionPoolSettingsHTTPSettings implements Editable , KubernetesResource { @JsonProperty("h2UpgradePolicy") @@ -177,6 +178,16 @@ public void setUseClientProtocol(Boolean useClientProtocol) { this.useClientProtocol = useClientProtocol; } + @JsonIgnore + public ConnectionPoolSettingsHTTPSettingsBuilder edit() { + return new ConnectionPoolSettingsHTTPSettingsBuilder(this); + } + + @JsonIgnore + public ConnectionPoolSettingsHTTPSettingsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettingsTCPSettings.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettingsTCPSettings.java index 9a19cff7f3e..8aa8b6c3c6f 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettingsTCPSettings.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettingsTCPSettings.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ConnectionPoolSettingsTCPSettings implements KubernetesResource +public class ConnectionPoolSettingsTCPSettings implements Editable , KubernetesResource { @JsonProperty("connectTimeout") @@ -121,6 +122,16 @@ public void setTcpKeepalive(ConnectionPoolSettingsTCPSettingsTcpKeepalive tcpKee this.tcpKeepalive = tcpKeepalive; } + @JsonIgnore + public ConnectionPoolSettingsTCPSettingsBuilder edit() { + return new ConnectionPoolSettingsTCPSettingsBuilder(this); + } + + @JsonIgnore + public ConnectionPoolSettingsTCPSettingsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettingsTCPSettingsTcpKeepalive.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettingsTCPSettingsTcpKeepalive.java index d9956ae32b9..281139ea8bf 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettingsTCPSettingsTcpKeepalive.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettingsTCPSettingsTcpKeepalive.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ConnectionPoolSettingsTCPSettingsTcpKeepalive implements KubernetesResource +public class ConnectionPoolSettingsTCPSettingsTcpKeepalive implements Editable , KubernetesResource { @JsonProperty("interval") @@ -121,6 +122,16 @@ public void setTime(String time) { this.time = time; } + @JsonIgnore + public ConnectionPoolSettingsTCPSettingsTcpKeepaliveBuilder edit() { + return new ConnectionPoolSettingsTCPSettingsTcpKeepaliveBuilder(this); + } + + @JsonIgnore + public ConnectionPoolSettingsTCPSettingsTcpKeepaliveBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Delegate.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Delegate.java index 3f88852c68d..a385cc63e60 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Delegate.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Delegate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Delegate implements KubernetesResource +public class Delegate implements Editable , KubernetesResource { @JsonProperty("name") @@ -107,6 +108,16 @@ public void setNamespace(String namespace) { this.namespace = namespace; } + @JsonIgnore + public DelegateBuilder edit() { + return new DelegateBuilder(this); + } + + @JsonIgnore + public DelegateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Destination.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Destination.java index c05cc8ddfc7..d99ce699401 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Destination.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Destination.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Destination implements KubernetesResource +public class Destination implements Editable , KubernetesResource { @JsonProperty("host") @@ -121,6 +122,16 @@ public void setSubset(String subset) { this.subset = subset; } + @JsonIgnore + public DestinationBuilder edit() { + return new DestinationBuilder(this); + } + + @JsonIgnore + public DestinationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRule.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRule.java index 0f5359a556e..ee0b9774110 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRule.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRule.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @Version("v1alpha3") @Group("networking.istio.io") @Generated("jsonschema2pojo") -public class DestinationRule implements HasMetadata, Namespaced +public class DestinationRule implements Editable , HasMetadata, Namespaced { /** @@ -186,6 +187,16 @@ public void setStatus(IstioStatus status) { this.status = status; } + @JsonIgnore + public DestinationRuleBuilder edit() { + return new DestinationRuleBuilder(this); + } + + @JsonIgnore + public DestinationRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRuleList.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRuleList.java index 7f294de9e6b..d6b39c843f2 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRuleList.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRuleList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha3") @Group("networking.istio.io") @Generated("jsonschema2pojo") -public class DestinationRuleList implements KubernetesResource, KubernetesResourceList +public class DestinationRuleList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public DestinationRuleListBuilder edit() { + return new DestinationRuleListBuilder(this); + } + + @JsonIgnore + public DestinationRuleListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRuleSpec.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRuleSpec.java index 993a5ba9608..7a15da6bc14 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRuleSpec.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRuleSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class DestinationRuleSpec implements KubernetesResource +public class DestinationRuleSpec implements Editable , KubernetesResource { @JsonProperty("exportTo") @@ -139,6 +140,16 @@ public void setTrafficPolicy(TrafficPolicy trafficPolicy) { this.trafficPolicy = trafficPolicy; } + @JsonIgnore + public DestinationRuleSpecBuilder edit() { + return new DestinationRuleSpecBuilder(this); + } + + @JsonIgnore + public DestinationRuleSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilter.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilter.java index 75a6ab1f154..b9a30782b86 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilter.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilter.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @Version("v1alpha3") @Group("networking.istio.io") @Generated("jsonschema2pojo") -public class EnvoyFilter implements HasMetadata, Namespaced +public class EnvoyFilter implements Editable , HasMetadata, Namespaced { /** @@ -186,6 +187,16 @@ public void setStatus(IstioStatus status) { this.status = status; } + @JsonIgnore + public EnvoyFilterBuilder edit() { + return new EnvoyFilterBuilder(this); + } + + @JsonIgnore + public EnvoyFilterBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterClusterMatch.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterClusterMatch.java index 510d56bb38e..3a618b2b2f8 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterClusterMatch.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterClusterMatch.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EnvoyFilterClusterMatch implements KubernetesResource +public class EnvoyFilterClusterMatch implements Editable , KubernetesResource { @JsonProperty("name") @@ -135,6 +136,16 @@ public void setSubset(String subset) { this.subset = subset; } + @JsonIgnore + public EnvoyFilterClusterMatchBuilder edit() { + return new EnvoyFilterClusterMatchBuilder(this); + } + + @JsonIgnore + public EnvoyFilterClusterMatchBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatch.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatch.java index 11b1e994aaf..3efce9de0ba 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatch.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatch.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonUnwrapped; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EnvoyFilterEnvoyConfigObjectMatch implements KubernetesResource +public class EnvoyFilterEnvoyConfigObjectMatch implements Editable , KubernetesResource { @JsonProperty("ObjectTypes") @@ -123,6 +124,16 @@ public void setProxy(EnvoyFilterProxyMatch proxy) { this.proxy = proxy; } + @JsonIgnore + public EnvoyFilterEnvoyConfigObjectMatchBuilder edit() { + return new EnvoyFilterEnvoyConfigObjectMatchBuilder(this); + } + + @JsonIgnore + public EnvoyFilterEnvoyConfigObjectMatchBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatchCluster.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatchCluster.java index 958ec7b9675..464f9347a03 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatchCluster.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatchCluster.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EnvoyFilterEnvoyConfigObjectMatchCluster implements IsEnvoyFilterEnvoyConfigObjectMatchObjectTypes +public class EnvoyFilterEnvoyConfigObjectMatchCluster implements IsEnvoyFilterEnvoyConfigObjectMatchObjectTypes, Editable { @JsonProperty("cluster") @@ -92,6 +93,16 @@ public void setCluster(EnvoyFilterClusterMatch cluster) { this.cluster = cluster; } + @JsonIgnore + public EnvoyFilterEnvoyConfigObjectMatchClusterBuilder edit() { + return new EnvoyFilterEnvoyConfigObjectMatchClusterBuilder(this); + } + + @JsonIgnore + public EnvoyFilterEnvoyConfigObjectMatchClusterBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatchListener.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatchListener.java index c7e1338d853..117bf88626d 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatchListener.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatchListener.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EnvoyFilterEnvoyConfigObjectMatchListener implements IsEnvoyFilterEnvoyConfigObjectMatchObjectTypes +public class EnvoyFilterEnvoyConfigObjectMatchListener implements IsEnvoyFilterEnvoyConfigObjectMatchObjectTypes, Editable { @JsonProperty("listener") @@ -92,6 +93,16 @@ public void setListener(EnvoyFilterListenerMatch listener) { this.listener = listener; } + @JsonIgnore + public EnvoyFilterEnvoyConfigObjectMatchListenerBuilder edit() { + return new EnvoyFilterEnvoyConfigObjectMatchListenerBuilder(this); + } + + @JsonIgnore + public EnvoyFilterEnvoyConfigObjectMatchListenerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatchRouteConfiguration.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatchRouteConfiguration.java index 18d88c03b16..2c4f26e8d57 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatchRouteConfiguration.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatchRouteConfiguration.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EnvoyFilterEnvoyConfigObjectMatchRouteConfiguration implements IsEnvoyFilterEnvoyConfigObjectMatchObjectTypes +public class EnvoyFilterEnvoyConfigObjectMatchRouteConfiguration implements IsEnvoyFilterEnvoyConfigObjectMatchObjectTypes, Editable { @JsonProperty("routeConfiguration") @@ -92,6 +93,16 @@ public void setRouteConfiguration(EnvoyFilterRouteConfigurationMatch routeConfig this.routeConfiguration = routeConfiguration; } + @JsonIgnore + public EnvoyFilterEnvoyConfigObjectMatchRouteConfigurationBuilder edit() { + return new EnvoyFilterEnvoyConfigObjectMatchRouteConfigurationBuilder(this); + } + + @JsonIgnore + public EnvoyFilterEnvoyConfigObjectMatchRouteConfigurationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectPatch.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectPatch.java index d31d825a4ba..cfdeb18a100 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectPatch.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectPatch.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EnvoyFilterEnvoyConfigObjectPatch implements KubernetesResource +public class EnvoyFilterEnvoyConfigObjectPatch implements Editable , KubernetesResource { @JsonProperty("applyTo") @@ -121,6 +122,16 @@ public void setPatch(EnvoyFilterPatch patch) { this.patch = patch; } + @JsonIgnore + public EnvoyFilterEnvoyConfigObjectPatchBuilder edit() { + return new EnvoyFilterEnvoyConfigObjectPatchBuilder(this); + } + + @JsonIgnore + public EnvoyFilterEnvoyConfigObjectPatchBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterList.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterList.java index 61f387c1941..8d9c2635881 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterList.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha3") @Group("networking.istio.io") @Generated("jsonschema2pojo") -public class EnvoyFilterList implements KubernetesResource, KubernetesResourceList +public class EnvoyFilterList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public EnvoyFilterListBuilder edit() { + return new EnvoyFilterListBuilder(this); + } + + @JsonIgnore + public EnvoyFilterListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterListenerMatch.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterListenerMatch.java index 16b62a21efe..3aed5b653f4 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterListenerMatch.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterListenerMatch.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EnvoyFilterListenerMatch implements KubernetesResource +public class EnvoyFilterListenerMatch implements Editable , KubernetesResource { @JsonProperty("filterChain") @@ -135,6 +136,16 @@ public void setPortNumber(Integer portNumber) { this.portNumber = portNumber; } + @JsonIgnore + public EnvoyFilterListenerMatchBuilder edit() { + return new EnvoyFilterListenerMatchBuilder(this); + } + + @JsonIgnore + public EnvoyFilterListenerMatchBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterListenerMatchFilterChainMatch.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterListenerMatchFilterChainMatch.java index fea555cbcbf..1e57fefd60e 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterListenerMatchFilterChainMatch.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterListenerMatchFilterChainMatch.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EnvoyFilterListenerMatchFilterChainMatch implements KubernetesResource +public class EnvoyFilterListenerMatchFilterChainMatch implements Editable , KubernetesResource { @JsonProperty("applicationProtocols") @@ -163,6 +164,16 @@ public void setTransportProtocol(String transportProtocol) { this.transportProtocol = transportProtocol; } + @JsonIgnore + public EnvoyFilterListenerMatchFilterChainMatchBuilder edit() { + return new EnvoyFilterListenerMatchFilterChainMatchBuilder(this); + } + + @JsonIgnore + public EnvoyFilterListenerMatchFilterChainMatchBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterListenerMatchFilterMatch.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterListenerMatchFilterMatch.java index 7cfed1d2784..83385704a3f 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterListenerMatchFilterMatch.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterListenerMatchFilterMatch.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EnvoyFilterListenerMatchFilterMatch implements KubernetesResource +public class EnvoyFilterListenerMatchFilterMatch implements Editable , KubernetesResource { @JsonProperty("name") @@ -107,6 +108,16 @@ public void setSubFilter(EnvoyFilterListenerMatchSubFilterMatch subFilter) { this.subFilter = subFilter; } + @JsonIgnore + public EnvoyFilterListenerMatchFilterMatchBuilder edit() { + return new EnvoyFilterListenerMatchFilterMatchBuilder(this); + } + + @JsonIgnore + public EnvoyFilterListenerMatchFilterMatchBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterListenerMatchSubFilterMatch.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterListenerMatchSubFilterMatch.java index 58f6ef877df..51e8a14f109 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterListenerMatchSubFilterMatch.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterListenerMatchSubFilterMatch.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EnvoyFilterListenerMatchSubFilterMatch implements KubernetesResource +public class EnvoyFilterListenerMatchSubFilterMatch implements Editable , KubernetesResource { @JsonProperty("name") @@ -93,6 +94,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public EnvoyFilterListenerMatchSubFilterMatchBuilder edit() { + return new EnvoyFilterListenerMatchSubFilterMatchBuilder(this); + } + + @JsonIgnore + public EnvoyFilterListenerMatchSubFilterMatchBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterPatch.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterPatch.java index e78226a8193..22de3798f55 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterPatch.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterPatch.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EnvoyFilterPatch implements KubernetesResource +public class EnvoyFilterPatch implements Editable , KubernetesResource { @JsonProperty("filterClass") @@ -122,6 +123,16 @@ public void setValue(Map value) { this.value = value; } + @JsonIgnore + public EnvoyFilterPatchBuilder edit() { + return new EnvoyFilterPatchBuilder(this); + } + + @JsonIgnore + public EnvoyFilterPatchBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterProxyMatch.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterProxyMatch.java index a328acaeb7f..4ebf280fcd4 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterProxyMatch.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterProxyMatch.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EnvoyFilterProxyMatch implements KubernetesResource +public class EnvoyFilterProxyMatch implements Editable , KubernetesResource { @JsonProperty("metadata") @@ -107,6 +108,16 @@ public void setProxyVersion(java.lang.String proxyVersion) { this.proxyVersion = proxyVersion; } + @JsonIgnore + public EnvoyFilterProxyMatchBuilder edit() { + return new EnvoyFilterProxyMatchBuilder(this); + } + + @JsonIgnore + public EnvoyFilterProxyMatchBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterRouteConfigurationMatch.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterRouteConfigurationMatch.java index ae4527ac829..045b381a687 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterRouteConfigurationMatch.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterRouteConfigurationMatch.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EnvoyFilterRouteConfigurationMatch implements KubernetesResource +public class EnvoyFilterRouteConfigurationMatch implements Editable , KubernetesResource { @JsonProperty("gateway") @@ -149,6 +150,16 @@ public void setVhost(EnvoyFilterRouteConfigurationMatchVirtualHostMatch vhost) { this.vhost = vhost; } + @JsonIgnore + public EnvoyFilterRouteConfigurationMatchBuilder edit() { + return new EnvoyFilterRouteConfigurationMatchBuilder(this); + } + + @JsonIgnore + public EnvoyFilterRouteConfigurationMatchBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterRouteConfigurationMatchRouteMatch.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterRouteConfigurationMatchRouteMatch.java index 5a3986a4988..6e18d491653 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterRouteConfigurationMatchRouteMatch.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterRouteConfigurationMatchRouteMatch.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EnvoyFilterRouteConfigurationMatchRouteMatch implements KubernetesResource +public class EnvoyFilterRouteConfigurationMatchRouteMatch implements Editable , KubernetesResource { @JsonProperty("action") @@ -107,6 +108,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public EnvoyFilterRouteConfigurationMatchRouteMatchBuilder edit() { + return new EnvoyFilterRouteConfigurationMatchRouteMatchBuilder(this); + } + + @JsonIgnore + public EnvoyFilterRouteConfigurationMatchRouteMatchBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterRouteConfigurationMatchVirtualHostMatch.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterRouteConfigurationMatchVirtualHostMatch.java index 14759c0b59e..171763cf750 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterRouteConfigurationMatchVirtualHostMatch.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterRouteConfigurationMatchVirtualHostMatch.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EnvoyFilterRouteConfigurationMatchVirtualHostMatch implements KubernetesResource +public class EnvoyFilterRouteConfigurationMatchVirtualHostMatch implements Editable , KubernetesResource { @JsonProperty("name") @@ -107,6 +108,16 @@ public void setRoute(EnvoyFilterRouteConfigurationMatchRouteMatch route) { this.route = route; } + @JsonIgnore + public EnvoyFilterRouteConfigurationMatchVirtualHostMatchBuilder edit() { + return new EnvoyFilterRouteConfigurationMatchVirtualHostMatchBuilder(this); + } + + @JsonIgnore + public EnvoyFilterRouteConfigurationMatchVirtualHostMatchBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterSpec.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterSpec.java index 31a6e4fe12f..f73091853b6 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterSpec.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EnvoyFilterSpec implements KubernetesResource +public class EnvoyFilterSpec implements Editable , KubernetesResource { @JsonProperty("configPatches") @@ -124,6 +125,16 @@ public void setWorkloadSelector(WorkloadSelector workloadSelector) { this.workloadSelector = workloadSelector; } + @JsonIgnore + public EnvoyFilterSpecBuilder edit() { + return new EnvoyFilterSpecBuilder(this); + } + + @JsonIgnore + public EnvoyFilterSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ExecHealthCheckConfig.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ExecHealthCheckConfig.java index 8e95f6c8010..459d37d2bcb 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ExecHealthCheckConfig.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ExecHealthCheckConfig.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ExecHealthCheckConfig implements KubernetesResource +public class ExecHealthCheckConfig implements Editable , KubernetesResource { @JsonProperty("command") @@ -96,6 +97,16 @@ public void setCommand(List command) { this.command = command; } + @JsonIgnore + public ExecHealthCheckConfigBuilder edit() { + return new ExecHealthCheckConfigBuilder(this); + } + + @JsonIgnore + public ExecHealthCheckConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Gateway.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Gateway.java index 9a5f32ce0fb..0b876e7ce97 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Gateway.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Gateway.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @Version("v1alpha3") @Group("networking.istio.io") @Generated("jsonschema2pojo") -public class Gateway implements HasMetadata, Namespaced +public class Gateway implements Editable , HasMetadata, Namespaced { /** @@ -186,6 +187,16 @@ public void setStatus(IstioStatus status) { this.status = status; } + @JsonIgnore + public GatewayBuilder edit() { + return new GatewayBuilder(this); + } + + @JsonIgnore + public GatewayBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/GatewayList.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/GatewayList.java index d8d0a6a7b6f..94b6c042513 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/GatewayList.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/GatewayList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha3") @Group("networking.istio.io") @Generated("jsonschema2pojo") -public class GatewayList implements KubernetesResource, KubernetesResourceList +public class GatewayList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public GatewayListBuilder edit() { + return new GatewayListBuilder(this); + } + + @JsonIgnore + public GatewayListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/GatewaySpec.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/GatewaySpec.java index c0e46d1b5df..78849f66abe 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/GatewaySpec.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/GatewaySpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class GatewaySpec implements KubernetesResource +public class GatewaySpec implements Editable , KubernetesResource { @JsonProperty("selector") @@ -111,6 +112,16 @@ public void setServers(List servers) { this.servers = servers; } + @JsonIgnore + public GatewaySpecBuilder edit() { + return new GatewaySpecBuilder(this); + } + + @JsonIgnore + public GatewaySpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjection.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjection.java index 93ebd15d1ea..caaabcf9ba8 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjection.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjection.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPFaultInjection implements KubernetesResource +public class HTTPFaultInjection implements Editable , KubernetesResource { @JsonProperty("abort") @@ -107,6 +108,16 @@ public void setDelay(HTTPFaultInjectionDelay delay) { this.delay = delay; } + @JsonIgnore + public HTTPFaultInjectionBuilder edit() { + return new HTTPFaultInjectionBuilder(this); + } + + @JsonIgnore + public HTTPFaultInjectionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionAbort.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionAbort.java index 0acff9fa239..90966890da4 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionAbort.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionAbort.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonUnwrapped; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPFaultInjectionAbort implements KubernetesResource +public class HTTPFaultInjectionAbort implements Editable , KubernetesResource { @JsonProperty("ErrorType") @@ -109,6 +110,16 @@ public void setPercentage(Percent percentage) { this.percentage = percentage; } + @JsonIgnore + public HTTPFaultInjectionAbortBuilder edit() { + return new HTTPFaultInjectionAbortBuilder(this); + } + + @JsonIgnore + public HTTPFaultInjectionAbortBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionAbortGrpcStatus.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionAbortGrpcStatus.java index 15f28ec272e..b7526fc72fb 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionAbortGrpcStatus.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionAbortGrpcStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPFaultInjectionAbortGrpcStatus implements IsHTTPFaultInjectionAbortErrorType +public class HTTPFaultInjectionAbortGrpcStatus implements IsHTTPFaultInjectionAbortErrorType, Editable { @JsonProperty("grpcStatus") @@ -92,6 +93,16 @@ public void setGrpcStatus(String grpcStatus) { this.grpcStatus = grpcStatus; } + @JsonIgnore + public HTTPFaultInjectionAbortGrpcStatusBuilder edit() { + return new HTTPFaultInjectionAbortGrpcStatusBuilder(this); + } + + @JsonIgnore + public HTTPFaultInjectionAbortGrpcStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionAbortHttp2Error.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionAbortHttp2Error.java index 8f9cd702afe..953c5785054 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionAbortHttp2Error.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionAbortHttp2Error.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPFaultInjectionAbortHttp2Error implements IsHTTPFaultInjectionAbortErrorType +public class HTTPFaultInjectionAbortHttp2Error implements IsHTTPFaultInjectionAbortErrorType, Editable { @JsonProperty("http2Error") @@ -92,6 +93,16 @@ public void setHttp2Error(String http2Error) { this.http2Error = http2Error; } + @JsonIgnore + public HTTPFaultInjectionAbortHttp2ErrorBuilder edit() { + return new HTTPFaultInjectionAbortHttp2ErrorBuilder(this); + } + + @JsonIgnore + public HTTPFaultInjectionAbortHttp2ErrorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionAbortHttpStatus.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionAbortHttpStatus.java index 610b4aea58b..a0bd73c5434 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionAbortHttpStatus.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionAbortHttpStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPFaultInjectionAbortHttpStatus implements IsHTTPFaultInjectionAbortErrorType +public class HTTPFaultInjectionAbortHttpStatus implements IsHTTPFaultInjectionAbortErrorType, Editable { @JsonProperty("httpStatus") @@ -92,6 +93,16 @@ public void setHttpStatus(Integer httpStatus) { this.httpStatus = httpStatus; } + @JsonIgnore + public HTTPFaultInjectionAbortHttpStatusBuilder edit() { + return new HTTPFaultInjectionAbortHttpStatusBuilder(this); + } + + @JsonIgnore + public HTTPFaultInjectionAbortHttpStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionDelay.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionDelay.java index ea0cb65549f..c2869e42e66 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionDelay.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionDelay.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonUnwrapped; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPFaultInjectionDelay implements KubernetesResource +public class HTTPFaultInjectionDelay implements Editable , KubernetesResource { @JsonProperty("HttpDelayType") @@ -123,6 +124,16 @@ public void setPercentage(Percent percentage) { this.percentage = percentage; } + @JsonIgnore + public HTTPFaultInjectionDelayBuilder edit() { + return new HTTPFaultInjectionDelayBuilder(this); + } + + @JsonIgnore + public HTTPFaultInjectionDelayBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionDelayExponentialDelay.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionDelayExponentialDelay.java index 4e5f912c484..88615fa337b 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionDelayExponentialDelay.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionDelayExponentialDelay.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPFaultInjectionDelayExponentialDelay implements IsHTTPFaultInjectionDelayHttpDelayType +public class HTTPFaultInjectionDelayExponentialDelay implements IsHTTPFaultInjectionDelayHttpDelayType, Editable { @JsonProperty("exponentialDelay") @@ -92,6 +93,16 @@ public void setExponentialDelay(String exponentialDelay) { this.exponentialDelay = exponentialDelay; } + @JsonIgnore + public HTTPFaultInjectionDelayExponentialDelayBuilder edit() { + return new HTTPFaultInjectionDelayExponentialDelayBuilder(this); + } + + @JsonIgnore + public HTTPFaultInjectionDelayExponentialDelayBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionDelayFixedDelay.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionDelayFixedDelay.java index 55878793bda..e57f5823bc7 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionDelayFixedDelay.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionDelayFixedDelay.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPFaultInjectionDelayFixedDelay implements IsHTTPFaultInjectionDelayHttpDelayType +public class HTTPFaultInjectionDelayFixedDelay implements IsHTTPFaultInjectionDelayHttpDelayType, Editable { @JsonProperty("fixedDelay") @@ -92,6 +93,16 @@ public void setFixedDelay(String fixedDelay) { this.fixedDelay = fixedDelay; } + @JsonIgnore + public HTTPFaultInjectionDelayFixedDelayBuilder edit() { + return new HTTPFaultInjectionDelayFixedDelayBuilder(this); + } + + @JsonIgnore + public HTTPFaultInjectionDelayFixedDelayBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPHeader.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPHeader.java index 21e816a205d..ad582cc7663 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPHeader.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPHeader.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPHeader implements KubernetesResource +public class HTTPHeader implements Editable , KubernetesResource { @JsonProperty("name") @@ -107,6 +108,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public HTTPHeaderBuilder edit() { + return new HTTPHeaderBuilder(this); + } + + @JsonIgnore + public HTTPHeaderBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPHealthCheckConfig.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPHealthCheckConfig.java index cc211bb811c..cb7a1927393 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPHealthCheckConfig.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPHealthCheckConfig.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPHealthCheckConfig implements KubernetesResource +public class HTTPHealthCheckConfig implements Editable , KubernetesResource { @JsonProperty("host") @@ -152,6 +153,16 @@ public void setScheme(String scheme) { this.scheme = scheme; } + @JsonIgnore + public HTTPHealthCheckConfigBuilder edit() { + return new HTTPHealthCheckConfigBuilder(this); + } + + @JsonIgnore + public HTTPHealthCheckConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPMatchRequest.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPMatchRequest.java index 5ba27ee1262..16e78133cb5 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPMatchRequest.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPMatchRequest.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -77,7 +78,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPMatchRequest implements KubernetesResource +public class HTTPMatchRequest implements Editable , KubernetesResource { @JsonProperty("authority") @@ -268,6 +269,16 @@ public void setWithoutHeaders(Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRedirect.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRedirect.java index d93a3f59b46..c4aa397ab41 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRedirect.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRedirect.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonUnwrapped; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPRedirect implements KubernetesResource +public class HTTPRedirect implements Editable , KubernetesResource { @JsonProperty("RedirectPort") @@ -151,6 +152,16 @@ public void setUri(String uri) { this.uri = uri; } + @JsonIgnore + public HTTPRedirectBuilder edit() { + return new HTTPRedirectBuilder(this); + } + + @JsonIgnore + public HTTPRedirectBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRedirectDerivePort.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRedirectDerivePort.java index d1597245db7..c05f675d076 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRedirectDerivePort.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRedirectDerivePort.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPRedirectDerivePort implements IsHTTPRedirectRedirectPort +public class HTTPRedirectDerivePort implements IsHTTPRedirectRedirectPort, Editable { @JsonProperty("derivePort") @@ -92,6 +93,16 @@ public void setDerivePort(HTTPRedirectRedirectPortSelection derivePort) { this.derivePort = derivePort; } + @JsonIgnore + public HTTPRedirectDerivePortBuilder edit() { + return new HTTPRedirectDerivePortBuilder(this); + } + + @JsonIgnore + public HTTPRedirectDerivePortBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRedirectPort.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRedirectPort.java index fc2749087a6..fc2d329b91f 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRedirectPort.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRedirectPort.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPRedirectPort implements IsHTTPRedirectRedirectPort +public class HTTPRedirectPort implements IsHTTPRedirectRedirectPort, Editable { @JsonProperty("port") @@ -92,6 +93,16 @@ public void setPort(Integer port) { this.port = port; } + @JsonIgnore + public HTTPRedirectPortBuilder edit() { + return new HTTPRedirectPortBuilder(this); + } + + @JsonIgnore + public HTTPRedirectPortBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRetry.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRetry.java index 310ac66c49c..f3a416556c5 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRetry.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRetry.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPRetry implements KubernetesResource +public class HTTPRetry implements Editable , KubernetesResource { @JsonProperty("attempts") @@ -135,6 +136,16 @@ public void setRetryRemoteLocalities(Boolean retryRemoteLocalities) { this.retryRemoteLocalities = retryRemoteLocalities; } + @JsonIgnore + public HTTPRetryBuilder edit() { + return new HTTPRetryBuilder(this); + } + + @JsonIgnore + public HTTPRetryBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRewrite.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRewrite.java index 43b8c756901..58d3345e541 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRewrite.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRewrite.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPRewrite implements KubernetesResource +public class HTTPRewrite implements Editable , KubernetesResource { @JsonProperty("authority") @@ -107,6 +108,16 @@ public void setUri(String uri) { this.uri = uri; } + @JsonIgnore + public HTTPRewriteBuilder edit() { + return new HTTPRewriteBuilder(this); + } + + @JsonIgnore + public HTTPRewriteBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRoute.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRoute.java index d8670f3feae..00d28d6d1fb 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRoute.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRoute.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -78,7 +79,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPRoute implements KubernetesResource +public class HTTPRoute implements Editable , KubernetesResource { @JsonProperty("corsPolicy") @@ -279,6 +280,16 @@ public void setTimeout(String timeout) { this.timeout = timeout; } + @JsonIgnore + public HTTPRouteBuilder edit() { + return new HTTPRouteBuilder(this); + } + + @JsonIgnore + public HTTPRouteBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRouteDestination.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRouteDestination.java index d8853fc7034..ed6ec0d36b8 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRouteDestination.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRouteDestination.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPRouteDestination implements KubernetesResource +public class HTTPRouteDestination implements Editable , KubernetesResource { @JsonProperty("destination") @@ -121,6 +122,16 @@ public void setWeight(Integer weight) { this.weight = weight; } + @JsonIgnore + public HTTPRouteDestinationBuilder edit() { + return new HTTPRouteDestinationBuilder(this); + } + + @JsonIgnore + public HTTPRouteDestinationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Headers.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Headers.java index 0af15c8ab7f..bef876caab6 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Headers.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Headers.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Headers implements KubernetesResource +public class Headers implements Editable , KubernetesResource { @JsonProperty("request") @@ -107,6 +108,16 @@ public void setResponse(HeadersHeaderOperations response) { this.response = response; } + @JsonIgnore + public HeadersBuilder edit() { + return new HeadersBuilder(this); + } + + @JsonIgnore + public HeadersBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HeadersHeaderOperations.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HeadersHeaderOperations.java index 792aba23928..fca81e4a21c 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HeadersHeaderOperations.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HeadersHeaderOperations.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HeadersHeaderOperations implements KubernetesResource +public class HeadersHeaderOperations implements Editable , KubernetesResource { @JsonProperty("add") @@ -126,6 +127,16 @@ public void setSet(Map set) { this.set = set; } + @JsonIgnore + public HeadersHeaderOperationsBuilder edit() { + return new HeadersHeaderOperationsBuilder(this); + } + + @JsonIgnore + public HeadersHeaderOperationsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IstioEgressListener.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IstioEgressListener.java index 57933dfbe74..519bbce4a54 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IstioEgressListener.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IstioEgressListener.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IstioEgressListener implements KubernetesResource +public class IstioEgressListener implements Editable , KubernetesResource { @JsonProperty("bind") @@ -138,6 +139,16 @@ public void setPort(Port port) { this.port = port; } + @JsonIgnore + public IstioEgressListenerBuilder edit() { + return new IstioEgressListenerBuilder(this); + } + + @JsonIgnore + public IstioEgressListenerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IstioIngressListener.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IstioIngressListener.java index 372b7f02a20..90f3a690c22 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IstioIngressListener.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IstioIngressListener.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IstioIngressListener implements KubernetesResource +public class IstioIngressListener implements Editable , KubernetesResource { @JsonProperty("bind") @@ -135,6 +136,16 @@ public void setPort(Port port) { this.port = port; } + @JsonIgnore + public IstioIngressListenerBuilder edit() { + return new IstioIngressListenerBuilder(this); + } + + @JsonIgnore + public IstioIngressListenerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/L4MatchAttributes.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/L4MatchAttributes.java index 8425ab0bb93..d8e57a70865 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/L4MatchAttributes.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/L4MatchAttributes.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class L4MatchAttributes implements KubernetesResource +public class L4MatchAttributes implements Editable , KubernetesResource { @JsonProperty("destinationSubnets") @@ -168,6 +169,16 @@ public void setSourceSubnet(java.lang.String sourceSubnet) { this.sourceSubnet = sourceSubnet; } + @JsonIgnore + public L4MatchAttributesBuilder edit() { + return new L4MatchAttributesBuilder(this); + } + + @JsonIgnore + public L4MatchAttributesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettings.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettings.java index 29aec8abb33..e02b91b54e1 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettings.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettings.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonUnwrapped; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LoadBalancerSettings implements KubernetesResource +public class LoadBalancerSettings implements Editable , KubernetesResource { @JsonProperty("LbPolicy") @@ -109,6 +110,16 @@ public void setLocalityLbSetting(LocalityLoadBalancerSetting localityLbSetting) this.localityLbSetting = localityLbSetting; } + @JsonIgnore + public LoadBalancerSettingsBuilder edit() { + return new LoadBalancerSettingsBuilder(this); + } + + @JsonIgnore + public LoadBalancerSettingsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHash.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHash.java index 5ed33e86d38..a572f97a25b 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHash.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHash.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LoadBalancerSettingsConsistentHash implements IsLoadBalancerSettingsLbPolicy +public class LoadBalancerSettingsConsistentHash implements IsLoadBalancerSettingsLbPolicy, Editable { @JsonProperty("consistentHash") @@ -92,6 +93,16 @@ public void setConsistentHash(LoadBalancerSettingsConsistentHashLB consistentHas this.consistentHash = consistentHash; } + @JsonIgnore + public LoadBalancerSettingsConsistentHashBuilder edit() { + return new LoadBalancerSettingsConsistentHashBuilder(this); + } + + @JsonIgnore + public LoadBalancerSettingsConsistentHashBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLB.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLB.java index 9b8672a7694..b8255d256d8 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLB.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLB.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonUnwrapped; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LoadBalancerSettingsConsistentHashLB implements KubernetesResource +public class LoadBalancerSettingsConsistentHashLB implements Editable , KubernetesResource { @JsonProperty("HashKey") @@ -109,6 +110,16 @@ public void setMinimumRingSize(Integer minimumRingSize) { this.minimumRingSize = minimumRingSize; } + @JsonIgnore + public LoadBalancerSettingsConsistentHashLBBuilder edit() { + return new LoadBalancerSettingsConsistentHashLBBuilder(this); + } + + @JsonIgnore + public LoadBalancerSettingsConsistentHashLBBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpCookie.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpCookie.java index caba1a7238a..981ad3e19ba 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpCookie.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpCookie.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LoadBalancerSettingsConsistentHashLBHttpCookie implements IsLoadBalancerSettingsConsistentHashLBHashKey +public class LoadBalancerSettingsConsistentHashLBHttpCookie implements IsLoadBalancerSettingsConsistentHashLBHashKey, Editable { @JsonProperty("httpCookie") @@ -92,6 +93,16 @@ public void setHttpCookie(LoadBalancerSettingsConsistentHashLBHttpCookieValue ht this.httpCookie = httpCookie; } + @JsonIgnore + public LoadBalancerSettingsConsistentHashLBHttpCookieBuilder edit() { + return new LoadBalancerSettingsConsistentHashLBHttpCookieBuilder(this); + } + + @JsonIgnore + public LoadBalancerSettingsConsistentHashLBHttpCookieBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpCookieValue.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpCookieValue.java index 896392fb338..7db6bf6d357 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpCookieValue.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpCookieValue.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LoadBalancerSettingsConsistentHashLBHttpCookieValue implements KubernetesResource +public class LoadBalancerSettingsConsistentHashLBHttpCookieValue implements Editable , KubernetesResource { @JsonProperty("name") @@ -121,6 +122,16 @@ public void setTtl(String ttl) { this.ttl = ttl; } + @JsonIgnore + public LoadBalancerSettingsConsistentHashLBHttpCookieValueBuilder edit() { + return new LoadBalancerSettingsConsistentHashLBHttpCookieValueBuilder(this); + } + + @JsonIgnore + public LoadBalancerSettingsConsistentHashLBHttpCookieValueBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpHeaderName.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpHeaderName.java index dafe043ac5b..93ca6bfc955 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpHeaderName.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpHeaderName.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LoadBalancerSettingsConsistentHashLBHttpHeaderName implements IsLoadBalancerSettingsConsistentHashLBHashKey +public class LoadBalancerSettingsConsistentHashLBHttpHeaderName implements IsLoadBalancerSettingsConsistentHashLBHashKey, Editable { @JsonProperty("httpHeaderName") @@ -92,6 +93,16 @@ public void setHttpHeaderName(String httpHeaderName) { this.httpHeaderName = httpHeaderName; } + @JsonIgnore + public LoadBalancerSettingsConsistentHashLBHttpHeaderNameBuilder edit() { + return new LoadBalancerSettingsConsistentHashLBHttpHeaderNameBuilder(this); + } + + @JsonIgnore + public LoadBalancerSettingsConsistentHashLBHttpHeaderNameBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpQueryParameterName.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpQueryParameterName.java index 75980d2e840..2684b2aa4ef 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpQueryParameterName.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpQueryParameterName.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LoadBalancerSettingsConsistentHashLBHttpQueryParameterName implements IsLoadBalancerSettingsConsistentHashLBHashKey +public class LoadBalancerSettingsConsistentHashLBHttpQueryParameterName implements IsLoadBalancerSettingsConsistentHashLBHashKey, Editable { @JsonProperty("httpQueryParameterName") @@ -92,6 +93,16 @@ public void setHttpQueryParameterName(String httpQueryParameterName) { this.httpQueryParameterName = httpQueryParameterName; } + @JsonIgnore + public LoadBalancerSettingsConsistentHashLBHttpQueryParameterNameBuilder edit() { + return new LoadBalancerSettingsConsistentHashLBHttpQueryParameterNameBuilder(this); + } + + @JsonIgnore + public LoadBalancerSettingsConsistentHashLBHttpQueryParameterNameBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBUseSourceIp.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBUseSourceIp.java index fa215d60880..2114856b1c0 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBUseSourceIp.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBUseSourceIp.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LoadBalancerSettingsConsistentHashLBUseSourceIp implements IsLoadBalancerSettingsConsistentHashLBHashKey +public class LoadBalancerSettingsConsistentHashLBUseSourceIp implements IsLoadBalancerSettingsConsistentHashLBHashKey, Editable { @JsonProperty("useSourceIp") @@ -92,6 +93,16 @@ public void setUseSourceIp(Boolean useSourceIp) { this.useSourceIp = useSourceIp; } + @JsonIgnore + public LoadBalancerSettingsConsistentHashLBUseSourceIpBuilder edit() { + return new LoadBalancerSettingsConsistentHashLBUseSourceIpBuilder(this); + } + + @JsonIgnore + public LoadBalancerSettingsConsistentHashLBUseSourceIpBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsSimple.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsSimple.java index 7aefc34a942..672124ae45f 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsSimple.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsSimple.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LoadBalancerSettingsSimple implements IsLoadBalancerSettingsLbPolicy +public class LoadBalancerSettingsSimple implements IsLoadBalancerSettingsLbPolicy, Editable { @JsonProperty("simple") @@ -92,6 +93,16 @@ public void setSimple(LoadBalancerSettingsSimpleLB simple) { this.simple = simple; } + @JsonIgnore + public LoadBalancerSettingsSimpleBuilder edit() { + return new LoadBalancerSettingsSimpleBuilder(this); + } + + @JsonIgnore + public LoadBalancerSettingsSimpleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LocalityLoadBalancerSetting.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LocalityLoadBalancerSetting.java index 0f654f60a69..38a0a53ea14 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LocalityLoadBalancerSetting.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LocalityLoadBalancerSetting.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LocalityLoadBalancerSetting implements KubernetesResource +public class LocalityLoadBalancerSetting implements Editable , KubernetesResource { @JsonProperty("distribute") @@ -140,6 +141,16 @@ public void setFailoverPriority(List failoverPriority) { this.failoverPriority = failoverPriority; } + @JsonIgnore + public LocalityLoadBalancerSettingBuilder edit() { + return new LocalityLoadBalancerSettingBuilder(this); + } + + @JsonIgnore + public LocalityLoadBalancerSettingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LocalityLoadBalancerSettingDistribute.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LocalityLoadBalancerSettingDistribute.java index 37b7f73b863..7922605ebdc 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LocalityLoadBalancerSettingDistribute.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LocalityLoadBalancerSettingDistribute.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LocalityLoadBalancerSettingDistribute implements KubernetesResource +public class LocalityLoadBalancerSettingDistribute implements Editable , KubernetesResource { @JsonProperty("from") @@ -108,6 +109,16 @@ public void setTo(Map to) { this.to = to; } + @JsonIgnore + public LocalityLoadBalancerSettingDistributeBuilder edit() { + return new LocalityLoadBalancerSettingDistributeBuilder(this); + } + + @JsonIgnore + public LocalityLoadBalancerSettingDistributeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LocalityLoadBalancerSettingFailover.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LocalityLoadBalancerSettingFailover.java index adff9099109..e5825531e13 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LocalityLoadBalancerSettingFailover.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LocalityLoadBalancerSettingFailover.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LocalityLoadBalancerSettingFailover implements KubernetesResource +public class LocalityLoadBalancerSettingFailover implements Editable , KubernetesResource { @JsonProperty("from") @@ -107,6 +108,16 @@ public void setTo(String to) { this.to = to; } + @JsonIgnore + public LocalityLoadBalancerSettingFailoverBuilder edit() { + return new LocalityLoadBalancerSettingFailoverBuilder(this); + } + + @JsonIgnore + public LocalityLoadBalancerSettingFailoverBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/OutboundTrafficPolicy.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/OutboundTrafficPolicy.java index ff4cbe9d132..b82766f502f 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/OutboundTrafficPolicy.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/OutboundTrafficPolicy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class OutboundTrafficPolicy implements KubernetesResource +public class OutboundTrafficPolicy implements Editable , KubernetesResource { @JsonProperty("egressProxy") @@ -107,6 +108,16 @@ public void setMode(OutboundTrafficPolicyMode mode) { this.mode = mode; } + @JsonIgnore + public OutboundTrafficPolicyBuilder edit() { + return new OutboundTrafficPolicyBuilder(this); + } + + @JsonIgnore + public OutboundTrafficPolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/OutlierDetection.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/OutlierDetection.java index d95e62c9cc6..79c30ff5caa 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/OutlierDetection.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/OutlierDetection.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class OutlierDetection implements KubernetesResource +public class OutlierDetection implements Editable , KubernetesResource { @JsonProperty("baseEjectionTime") @@ -205,6 +206,16 @@ public void setSplitExternalLocalOriginErrors(Boolean splitExternalLocalOriginEr this.splitExternalLocalOriginErrors = splitExternalLocalOriginErrors; } + @JsonIgnore + public OutlierDetectionBuilder edit() { + return new OutlierDetectionBuilder(this); + } + + @JsonIgnore + public OutlierDetectionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Percent.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Percent.java index 3f5a9301812..ea7fe899878 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Percent.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Percent.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Percent implements KubernetesResource +public class Percent implements Editable , KubernetesResource { @JsonProperty("value") @@ -93,6 +94,16 @@ public void setValue(Double value) { this.value = value; } + @JsonIgnore + public PercentBuilder edit() { + return new PercentBuilder(this); + } + + @JsonIgnore + public PercentBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Port.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Port.java index fd9e79cf391..fc0c659e824 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Port.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Port.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Port implements KubernetesResource +public class Port implements Editable , KubernetesResource { @JsonProperty("name") @@ -135,6 +136,16 @@ public void setTargetPort(Integer targetPort) { this.targetPort = targetPort; } + @JsonIgnore + public PortBuilder edit() { + return new PortBuilder(this); + } + + @JsonIgnore + public PortBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/PortSelector.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/PortSelector.java index 435cfc3b54b..93fa0890d7b 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/PortSelector.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/PortSelector.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PortSelector implements KubernetesResource +public class PortSelector implements Editable , KubernetesResource { @JsonProperty("number") @@ -93,6 +94,16 @@ public void setNumber(Integer number) { this.number = number; } + @JsonIgnore + public PortSelectorBuilder edit() { + return new PortSelectorBuilder(this); + } + + @JsonIgnore + public PortSelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ReadinessProbe.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ReadinessProbe.java index d7654178492..fc694509737 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ReadinessProbe.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ReadinessProbe.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonUnwrapped; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ReadinessProbe implements KubernetesResource +public class ReadinessProbe implements Editable , KubernetesResource { @JsonProperty("HealthCheckMethod") @@ -165,6 +166,16 @@ public void setTimeoutSeconds(Integer timeoutSeconds) { this.timeoutSeconds = timeoutSeconds; } + @JsonIgnore + public ReadinessProbeBuilder edit() { + return new ReadinessProbeBuilder(this); + } + + @JsonIgnore + public ReadinessProbeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ReadinessProbeExec.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ReadinessProbeExec.java index 2e6ff5529f5..6b491635fb0 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ReadinessProbeExec.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ReadinessProbeExec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ReadinessProbeExec implements IsReadinessProbeHealthCheckMethod +public class ReadinessProbeExec implements IsReadinessProbeHealthCheckMethod, Editable { @JsonProperty("exec") @@ -92,6 +93,16 @@ public void setExec(ExecHealthCheckConfig exec) { this.exec = exec; } + @JsonIgnore + public ReadinessProbeExecBuilder edit() { + return new ReadinessProbeExecBuilder(this); + } + + @JsonIgnore + public ReadinessProbeExecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ReadinessProbeHttpGet.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ReadinessProbeHttpGet.java index 0345ea70fb8..ea0e7131742 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ReadinessProbeHttpGet.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ReadinessProbeHttpGet.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ReadinessProbeHttpGet implements IsReadinessProbeHealthCheckMethod +public class ReadinessProbeHttpGet implements IsReadinessProbeHealthCheckMethod, Editable { @JsonProperty("httpGet") @@ -92,6 +93,16 @@ public void setHttpGet(HTTPHealthCheckConfig httpGet) { this.httpGet = httpGet; } + @JsonIgnore + public ReadinessProbeHttpGetBuilder edit() { + return new ReadinessProbeHttpGetBuilder(this); + } + + @JsonIgnore + public ReadinessProbeHttpGetBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ReadinessProbeTcpSocket.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ReadinessProbeTcpSocket.java index 04e24a813e7..374c8d96c90 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ReadinessProbeTcpSocket.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ReadinessProbeTcpSocket.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ReadinessProbeTcpSocket implements IsReadinessProbeHealthCheckMethod +public class ReadinessProbeTcpSocket implements IsReadinessProbeHealthCheckMethod, Editable { @JsonProperty("tcpSocket") @@ -92,6 +93,16 @@ public void setTcpSocket(TCPHealthCheckConfig tcpSocket) { this.tcpSocket = tcpSocket; } + @JsonIgnore + public ReadinessProbeTcpSocketBuilder edit() { + return new ReadinessProbeTcpSocketBuilder(this); + } + + @JsonIgnore + public ReadinessProbeTcpSocketBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/RouteDestination.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/RouteDestination.java index 4de7bf026be..d1c6d93f0f8 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/RouteDestination.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/RouteDestination.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class RouteDestination implements KubernetesResource +public class RouteDestination implements Editable , KubernetesResource { @JsonProperty("destination") @@ -107,6 +108,16 @@ public void setWeight(Integer weight) { this.weight = weight; } + @JsonIgnore + public RouteDestinationBuilder edit() { + return new RouteDestinationBuilder(this); + } + + @JsonIgnore + public RouteDestinationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Server.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Server.java index 709a5dd5be3..b7f64ec2205 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Server.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Server.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Server implements KubernetesResource +public class Server implements Editable , KubernetesResource { @JsonProperty("bind") @@ -166,6 +167,16 @@ public void setTls(ServerTLSSettings tls) { this.tls = tls; } + @JsonIgnore + public ServerBuilder edit() { + return new ServerBuilder(this); + } + + @JsonIgnore + public ServerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServerTLSSettings.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServerTLSSettings.java index bc134269de4..5ed174dd707 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServerTLSSettings.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServerTLSSettings.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ServerTLSSettings implements KubernetesResource +public class ServerTLSSettings implements Editable , KubernetesResource { @JsonProperty("caCertificates") @@ -253,6 +254,16 @@ public void setVerifyCertificateSpki(List verifyCertificateSpki) { this.verifyCertificateSpki = verifyCertificateSpki; } + @JsonIgnore + public ServerTLSSettingsBuilder edit() { + return new ServerTLSSettingsBuilder(this); + } + + @JsonIgnore + public ServerTLSSettingsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntry.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntry.java index 23cf70fc260..1814fbd0665 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntry.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntry.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @Version("v1alpha3") @Group("networking.istio.io") @Generated("jsonschema2pojo") -public class ServiceEntry implements HasMetadata, Namespaced +public class ServiceEntry implements Editable , HasMetadata, Namespaced { /** @@ -186,6 +187,16 @@ public void setStatus(IstioStatus status) { this.status = status; } + @JsonIgnore + public ServiceEntryBuilder edit() { + return new ServiceEntryBuilder(this); + } + + @JsonIgnore + public ServiceEntryBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntryList.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntryList.java index 6f0dbbaa7a4..aa9a45acc39 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntryList.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntryList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha3") @Group("networking.istio.io") @Generated("jsonschema2pojo") -public class ServiceEntryList implements KubernetesResource, KubernetesResourceList +public class ServiceEntryList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ServiceEntryListBuilder edit() { + return new ServiceEntryListBuilder(this); + } + + @JsonIgnore + public ServiceEntryListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntrySpec.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntrySpec.java index 53ba9460fde..c9734e7b06c 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntrySpec.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntrySpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ServiceEntrySpec implements KubernetesResource +public class ServiceEntrySpec implements Editable , KubernetesResource { @JsonProperty("addresses") @@ -213,6 +214,16 @@ public void setWorkloadSelector(WorkloadSelector workloadSelector) { this.workloadSelector = workloadSelector; } + @JsonIgnore + public ServiceEntrySpecBuilder edit() { + return new ServiceEntrySpecBuilder(this); + } + + @JsonIgnore + public ServiceEntrySpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Sidecar.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Sidecar.java index 228891124f9..0275fe52462 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Sidecar.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Sidecar.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @Version("v1alpha3") @Group("networking.istio.io") @Generated("jsonschema2pojo") -public class Sidecar implements HasMetadata, Namespaced +public class Sidecar implements Editable , HasMetadata, Namespaced { /** @@ -186,6 +187,16 @@ public void setStatus(IstioStatus status) { this.status = status; } + @JsonIgnore + public SidecarBuilder edit() { + return new SidecarBuilder(this); + } + + @JsonIgnore + public SidecarBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/SidecarList.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/SidecarList.java index 65b648b6d66..e937376c80c 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/SidecarList.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/SidecarList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha3") @Group("networking.istio.io") @Generated("jsonschema2pojo") -public class SidecarList implements KubernetesResource, KubernetesResourceList +public class SidecarList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public SidecarListBuilder edit() { + return new SidecarListBuilder(this); + } + + @JsonIgnore + public SidecarListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/SidecarSpec.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/SidecarSpec.java index bd30b506f87..ce41699f2c8 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/SidecarSpec.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/SidecarSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SidecarSpec implements KubernetesResource +public class SidecarSpec implements Editable , KubernetesResource { @JsonProperty("egress") @@ -139,6 +140,16 @@ public void setWorkloadSelector(WorkloadSelector workloadSelector) { this.workloadSelector = workloadSelector; } + @JsonIgnore + public SidecarSpecBuilder edit() { + return new SidecarSpecBuilder(this); + } + + @JsonIgnore + public SidecarSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/StringMatch.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/StringMatch.java index 443edbc9d72..ad632dd9a63 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/StringMatch.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/StringMatch.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonUnwrapped; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class StringMatch implements KubernetesResource +public class StringMatch implements Editable , KubernetesResource { @JsonProperty("MatchType") @@ -95,6 +96,16 @@ public void setMatchType(IsStringMatchMatchType matchType) { this.matchType = matchType; } + @JsonIgnore + public StringMatchBuilder edit() { + return new StringMatchBuilder(this); + } + + @JsonIgnore + public StringMatchBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/StringMatchExact.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/StringMatchExact.java index a1feb0515a7..ffaf3c9a4aa 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/StringMatchExact.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/StringMatchExact.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class StringMatchExact implements IsStringMatchMatchType +public class StringMatchExact implements IsStringMatchMatchType, Editable { @JsonProperty("exact") @@ -92,6 +93,16 @@ public void setExact(String exact) { this.exact = exact; } + @JsonIgnore + public StringMatchExactBuilder edit() { + return new StringMatchExactBuilder(this); + } + + @JsonIgnore + public StringMatchExactBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/StringMatchPrefix.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/StringMatchPrefix.java index 4cdbd4f0e1b..c422d990e85 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/StringMatchPrefix.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/StringMatchPrefix.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class StringMatchPrefix implements IsStringMatchMatchType +public class StringMatchPrefix implements IsStringMatchMatchType, Editable { @JsonProperty("prefix") @@ -92,6 +93,16 @@ public void setPrefix(String prefix) { this.prefix = prefix; } + @JsonIgnore + public StringMatchPrefixBuilder edit() { + return new StringMatchPrefixBuilder(this); + } + + @JsonIgnore + public StringMatchPrefixBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/StringMatchRegex.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/StringMatchRegex.java index 558d4138aa6..b0f6dfd9949 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/StringMatchRegex.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/StringMatchRegex.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class StringMatchRegex implements IsStringMatchMatchType +public class StringMatchRegex implements IsStringMatchMatchType, Editable { @JsonProperty("regex") @@ -92,6 +93,16 @@ public void setRegex(String regex) { this.regex = regex; } + @JsonIgnore + public StringMatchRegexBuilder edit() { + return new StringMatchRegexBuilder(this); + } + + @JsonIgnore + public StringMatchRegexBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Subset.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Subset.java index ad11fa20dba..7f5931b94de 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Subset.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Subset.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Subset implements KubernetesResource +public class Subset implements Editable , KubernetesResource { @JsonProperty("labels") @@ -122,6 +123,16 @@ public void setTrafficPolicy(TrafficPolicy trafficPolicy) { this.trafficPolicy = trafficPolicy; } + @JsonIgnore + public SubsetBuilder edit() { + return new SubsetBuilder(this); + } + + @JsonIgnore + public SubsetBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TCPHealthCheckConfig.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TCPHealthCheckConfig.java index 6f556508c6e..5fb7f85ce0a 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TCPHealthCheckConfig.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TCPHealthCheckConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TCPHealthCheckConfig implements KubernetesResource +public class TCPHealthCheckConfig implements Editable , KubernetesResource { @JsonProperty("host") @@ -107,6 +108,16 @@ public void setPort(Integer port) { this.port = port; } + @JsonIgnore + public TCPHealthCheckConfigBuilder edit() { + return new TCPHealthCheckConfigBuilder(this); + } + + @JsonIgnore + public TCPHealthCheckConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TCPRoute.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TCPRoute.java index e476bd80bd3..e5b8eccbf0b 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TCPRoute.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TCPRoute.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TCPRoute implements KubernetesResource +public class TCPRoute implements Editable , KubernetesResource { @JsonProperty("match") @@ -111,6 +112,16 @@ public void setRoute(List route) { this.route = route; } + @JsonIgnore + public TCPRouteBuilder edit() { + return new TCPRouteBuilder(this); + } + + @JsonIgnore + public TCPRouteBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TLSMatchAttributes.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TLSMatchAttributes.java index 4d2aeaed9a5..4e24a6cbd5c 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TLSMatchAttributes.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TLSMatchAttributes.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TLSMatchAttributes implements KubernetesResource +public class TLSMatchAttributes implements Editable , KubernetesResource { @JsonProperty("destinationSubnets") @@ -169,6 +170,16 @@ public void setSourceNamespace(java.lang.String sourceNamespace) { this.sourceNamespace = sourceNamespace; } + @JsonIgnore + public TLSMatchAttributesBuilder edit() { + return new TLSMatchAttributesBuilder(this); + } + + @JsonIgnore + public TLSMatchAttributesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TLSRoute.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TLSRoute.java index 82a8d655b8d..54f67739dd5 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TLSRoute.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TLSRoute.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TLSRoute implements KubernetesResource +public class TLSRoute implements Editable , KubernetesResource { @JsonProperty("match") @@ -111,6 +112,16 @@ public void setRoute(List route) { this.route = route; } + @JsonIgnore + public TLSRouteBuilder edit() { + return new TLSRouteBuilder(this); + } + + @JsonIgnore + public TLSRouteBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TrafficPolicy.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TrafficPolicy.java index 6412099b3aa..4bed7edee37 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TrafficPolicy.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TrafficPolicy.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TrafficPolicy implements KubernetesResource +public class TrafficPolicy implements Editable , KubernetesResource { @JsonProperty("connectionPool") @@ -152,6 +153,16 @@ public void setTls(ClientTLSSettings tls) { this.tls = tls; } + @JsonIgnore + public TrafficPolicyBuilder edit() { + return new TrafficPolicyBuilder(this); + } + + @JsonIgnore + public TrafficPolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TrafficPolicyPortTrafficPolicy.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TrafficPolicyPortTrafficPolicy.java index e757b1ff68b..69cd07b64c7 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TrafficPolicyPortTrafficPolicy.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TrafficPolicyPortTrafficPolicy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TrafficPolicyPortTrafficPolicy implements KubernetesResource +public class TrafficPolicyPortTrafficPolicy implements Editable , KubernetesResource { @JsonProperty("connectionPool") @@ -149,6 +150,16 @@ public void setTls(ClientTLSSettings tls) { this.tls = tls; } + @JsonIgnore + public TrafficPolicyPortTrafficPolicyBuilder edit() { + return new TrafficPolicyPortTrafficPolicyBuilder(this); + } + + @JsonIgnore + public TrafficPolicyPortTrafficPolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/VirtualService.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/VirtualService.java index 145c6092490..f81be4dfff2 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/VirtualService.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/VirtualService.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @Version("v1alpha3") @Group("networking.istio.io") @Generated("jsonschema2pojo") -public class VirtualService implements HasMetadata, Namespaced +public class VirtualService implements Editable , HasMetadata, Namespaced { /** @@ -186,6 +187,16 @@ public void setStatus(IstioStatus status) { this.status = status; } + @JsonIgnore + public VirtualServiceBuilder edit() { + return new VirtualServiceBuilder(this); + } + + @JsonIgnore + public VirtualServiceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/VirtualServiceList.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/VirtualServiceList.java index f3ab7f99450..ce04024cd8d 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/VirtualServiceList.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/VirtualServiceList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha3") @Group("networking.istio.io") @Generated("jsonschema2pojo") -public class VirtualServiceList implements KubernetesResource, KubernetesResourceList +public class VirtualServiceList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public VirtualServiceListBuilder edit() { + return new VirtualServiceListBuilder(this); + } + + @JsonIgnore + public VirtualServiceListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/VirtualServiceSpec.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/VirtualServiceSpec.java index 3f689370662..9ba477805a4 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/VirtualServiceSpec.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/VirtualServiceSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VirtualServiceSpec implements KubernetesResource +public class VirtualServiceSpec implements Editable , KubernetesResource { @JsonProperty("exportTo") @@ -171,6 +172,16 @@ public void setTls(List tls) { this.tls = tls; } + @JsonIgnore + public VirtualServiceSpecBuilder edit() { + return new VirtualServiceSpecBuilder(this); + } + + @JsonIgnore + public VirtualServiceSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntry.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntry.java index c6696b14e96..567aba138f2 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntry.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntry.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @Version("v1alpha3") @Group("networking.istio.io") @Generated("jsonschema2pojo") -public class WorkloadEntry implements HasMetadata, Namespaced +public class WorkloadEntry implements Editable , HasMetadata, Namespaced { /** @@ -186,6 +187,16 @@ public void setStatus(IstioStatus status) { this.status = status; } + @JsonIgnore + public WorkloadEntryBuilder edit() { + return new WorkloadEntryBuilder(this); + } + + @JsonIgnore + public WorkloadEntryBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntryList.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntryList.java index f87101ce20d..0a32b449716 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntryList.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntryList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha3") @Group("networking.istio.io") @Generated("jsonschema2pojo") -public class WorkloadEntryList implements KubernetesResource, KubernetesResourceList +public class WorkloadEntryList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public WorkloadEntryListBuilder edit() { + return new WorkloadEntryListBuilder(this); + } + + @JsonIgnore + public WorkloadEntryListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntrySpec.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntrySpec.java index 1d78c6780b6..f1db9a1c0a2 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntrySpec.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntrySpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class WorkloadEntrySpec implements KubernetesResource +public class WorkloadEntrySpec implements Editable , KubernetesResource { @JsonProperty("address") @@ -179,6 +180,16 @@ public void setWeight(Integer weight) { this.weight = weight; } + @JsonIgnore + public WorkloadEntrySpecBuilder edit() { + return new WorkloadEntrySpecBuilder(this); + } + + @JsonIgnore + public WorkloadEntrySpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroup.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroup.java index 11faf8bc9cb..fb50043fc98 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroup.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroup.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @Version("v1alpha3") @Group("networking.istio.io") @Generated("jsonschema2pojo") -public class WorkloadGroup implements HasMetadata, Namespaced +public class WorkloadGroup implements Editable , HasMetadata, Namespaced { /** @@ -186,6 +187,16 @@ public void setStatus(IstioStatus status) { this.status = status; } + @JsonIgnore + public WorkloadGroupBuilder edit() { + return new WorkloadGroupBuilder(this); + } + + @JsonIgnore + public WorkloadGroupBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroupList.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroupList.java index 11a1498a326..2d415368950 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroupList.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroupList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha3") @Group("networking.istio.io") @Generated("jsonschema2pojo") -public class WorkloadGroupList implements KubernetesResource, KubernetesResourceList +public class WorkloadGroupList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public WorkloadGroupListBuilder edit() { + return new WorkloadGroupListBuilder(this); + } + + @JsonIgnore + public WorkloadGroupListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroupObjectMeta.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroupObjectMeta.java index 726f2cad461..6cf3a928ac2 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroupObjectMeta.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroupObjectMeta.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class WorkloadGroupObjectMeta implements KubernetesResource +public class WorkloadGroupObjectMeta implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -109,6 +110,16 @@ public void setLabels(Map labels) { this.labels = labels; } + @JsonIgnore + public WorkloadGroupObjectMetaBuilder edit() { + return new WorkloadGroupObjectMetaBuilder(this); + } + + @JsonIgnore + public WorkloadGroupObjectMetaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroupSpec.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroupSpec.java index 9d1576fb567..8a5519aead1 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroupSpec.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroupSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class WorkloadGroupSpec implements KubernetesResource +public class WorkloadGroupSpec implements Editable , KubernetesResource { @JsonProperty("metadata") @@ -120,6 +121,16 @@ public void setTemplate(WorkloadEntrySpec template) { this.template = template; } + @JsonIgnore + public WorkloadGroupSpecBuilder edit() { + return new WorkloadGroupSpecBuilder(this); + } + + @JsonIgnore + public WorkloadGroupSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadSelector.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadSelector.java index 8e9ea4d371d..24b81fa889b 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadSelector.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadSelector.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class WorkloadSelector implements KubernetesResource +public class WorkloadSelector implements Editable , KubernetesResource { @JsonProperty("labels") @@ -94,6 +95,16 @@ public void setLabels(Map labels) { this.labels = labels; } + @JsonIgnore + public WorkloadSelectorBuilder edit() { + return new WorkloadSelectorBuilder(this); + } + + @JsonIgnore + public WorkloadSelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ClientTLSSettings.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ClientTLSSettings.java index 411849a63cd..c6407ba6a25 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ClientTLSSettings.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ClientTLSSettings.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ClientTLSSettings implements KubernetesResource +public class ClientTLSSettings implements Editable , KubernetesResource { @JsonProperty("caCertificates") @@ -194,6 +195,16 @@ public void setSubjectAltNames(List subjectAltNames) { this.subjectAltNames = subjectAltNames; } + @JsonIgnore + public ClientTLSSettingsBuilder edit() { + return new ClientTLSSettingsBuilder(this); + } + + @JsonIgnore + public ClientTLSSettingsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettings.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettings.java index cb59fe5a527..d4ee0087b6c 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettings.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettings.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ConnectionPoolSettings implements KubernetesResource +public class ConnectionPoolSettings implements Editable , KubernetesResource { @JsonProperty("http") @@ -107,6 +108,16 @@ public void setTcp(ConnectionPoolSettingsTCPSettings tcp) { this.tcp = tcp; } + @JsonIgnore + public ConnectionPoolSettingsBuilder edit() { + return new ConnectionPoolSettingsBuilder(this); + } + + @JsonIgnore + public ConnectionPoolSettingsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettingsHTTPSettings.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettingsHTTPSettings.java index db9a43bb8ee..22cc781431e 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettingsHTTPSettings.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettingsHTTPSettings.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ConnectionPoolSettingsHTTPSettings implements KubernetesResource +public class ConnectionPoolSettingsHTTPSettings implements Editable , KubernetesResource { @JsonProperty("h2UpgradePolicy") @@ -177,6 +178,16 @@ public void setUseClientProtocol(Boolean useClientProtocol) { this.useClientProtocol = useClientProtocol; } + @JsonIgnore + public ConnectionPoolSettingsHTTPSettingsBuilder edit() { + return new ConnectionPoolSettingsHTTPSettingsBuilder(this); + } + + @JsonIgnore + public ConnectionPoolSettingsHTTPSettingsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettingsTCPSettings.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettingsTCPSettings.java index f4b9bcb27c8..d835ff9d6e7 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettingsTCPSettings.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettingsTCPSettings.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ConnectionPoolSettingsTCPSettings implements KubernetesResource +public class ConnectionPoolSettingsTCPSettings implements Editable , KubernetesResource { @JsonProperty("connectTimeout") @@ -121,6 +122,16 @@ public void setTcpKeepalive(ConnectionPoolSettingsTCPSettingsTcpKeepalive tcpKee this.tcpKeepalive = tcpKeepalive; } + @JsonIgnore + public ConnectionPoolSettingsTCPSettingsBuilder edit() { + return new ConnectionPoolSettingsTCPSettingsBuilder(this); + } + + @JsonIgnore + public ConnectionPoolSettingsTCPSettingsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettingsTCPSettingsTcpKeepalive.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettingsTCPSettingsTcpKeepalive.java index 3b28346dd1b..ac60335b5b0 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettingsTCPSettingsTcpKeepalive.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettingsTCPSettingsTcpKeepalive.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ConnectionPoolSettingsTCPSettingsTcpKeepalive implements KubernetesResource +public class ConnectionPoolSettingsTCPSettingsTcpKeepalive implements Editable , KubernetesResource { @JsonProperty("interval") @@ -121,6 +122,16 @@ public void setTime(String time) { this.time = time; } + @JsonIgnore + public ConnectionPoolSettingsTCPSettingsTcpKeepaliveBuilder edit() { + return new ConnectionPoolSettingsTCPSettingsTcpKeepaliveBuilder(this); + } + + @JsonIgnore + public ConnectionPoolSettingsTCPSettingsTcpKeepaliveBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Delegate.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Delegate.java index 7bd57a4cb55..a8f7eb17c9c 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Delegate.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Delegate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Delegate implements KubernetesResource +public class Delegate implements Editable , KubernetesResource { @JsonProperty("name") @@ -107,6 +108,16 @@ public void setNamespace(String namespace) { this.namespace = namespace; } + @JsonIgnore + public DelegateBuilder edit() { + return new DelegateBuilder(this); + } + + @JsonIgnore + public DelegateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Destination.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Destination.java index e2e8214d668..594c63ced02 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Destination.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Destination.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Destination implements KubernetesResource +public class Destination implements Editable , KubernetesResource { @JsonProperty("host") @@ -121,6 +122,16 @@ public void setSubset(String subset) { this.subset = subset; } + @JsonIgnore + public DestinationBuilder edit() { + return new DestinationBuilder(this); + } + + @JsonIgnore + public DestinationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRule.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRule.java index 6d2dd5e9358..556a8bff82c 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRule.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRule.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @Version("v1beta1") @Group("networking.istio.io") @Generated("jsonschema2pojo") -public class DestinationRule implements HasMetadata, Namespaced +public class DestinationRule implements Editable , HasMetadata, Namespaced { /** @@ -186,6 +187,16 @@ public void setStatus(IstioStatus status) { this.status = status; } + @JsonIgnore + public DestinationRuleBuilder edit() { + return new DestinationRuleBuilder(this); + } + + @JsonIgnore + public DestinationRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRuleList.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRuleList.java index 033ca0c28ca..345969b2675 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRuleList.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRuleList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("networking.istio.io") @Generated("jsonschema2pojo") -public class DestinationRuleList implements KubernetesResource, KubernetesResourceList +public class DestinationRuleList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public DestinationRuleListBuilder edit() { + return new DestinationRuleListBuilder(this); + } + + @JsonIgnore + public DestinationRuleListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRuleSpec.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRuleSpec.java index 83a011db004..a48702ffe8b 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRuleSpec.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRuleSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class DestinationRuleSpec implements KubernetesResource +public class DestinationRuleSpec implements Editable , KubernetesResource { @JsonProperty("exportTo") @@ -139,6 +140,16 @@ public void setTrafficPolicy(TrafficPolicy trafficPolicy) { this.trafficPolicy = trafficPolicy; } + @JsonIgnore + public DestinationRuleSpecBuilder edit() { + return new DestinationRuleSpecBuilder(this); + } + + @JsonIgnore + public DestinationRuleSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Gateway.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Gateway.java index 90368eec972..386164373ca 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Gateway.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Gateway.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @Version("v1beta1") @Group("networking.istio.io") @Generated("jsonschema2pojo") -public class Gateway implements HasMetadata, Namespaced +public class Gateway implements Editable , HasMetadata, Namespaced { /** @@ -186,6 +187,16 @@ public void setStatus(IstioStatus status) { this.status = status; } + @JsonIgnore + public GatewayBuilder edit() { + return new GatewayBuilder(this); + } + + @JsonIgnore + public GatewayBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/GatewayList.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/GatewayList.java index f03d902d718..1216e918fc2 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/GatewayList.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/GatewayList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("networking.istio.io") @Generated("jsonschema2pojo") -public class GatewayList implements KubernetesResource, KubernetesResourceList +public class GatewayList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public GatewayListBuilder edit() { + return new GatewayListBuilder(this); + } + + @JsonIgnore + public GatewayListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/GatewaySpec.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/GatewaySpec.java index 5e8ef15ce74..1b3f70f15a5 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/GatewaySpec.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/GatewaySpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class GatewaySpec implements KubernetesResource +public class GatewaySpec implements Editable , KubernetesResource { @JsonProperty("selector") @@ -111,6 +112,16 @@ public void setServers(List servers) { this.servers = servers; } + @JsonIgnore + public GatewaySpecBuilder edit() { + return new GatewaySpecBuilder(this); + } + + @JsonIgnore + public GatewaySpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjection.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjection.java index 0a950382a63..05bcc570e8e 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjection.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjection.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPFaultInjection implements KubernetesResource +public class HTTPFaultInjection implements Editable , KubernetesResource { @JsonProperty("abort") @@ -107,6 +108,16 @@ public void setDelay(HTTPFaultInjectionDelay delay) { this.delay = delay; } + @JsonIgnore + public HTTPFaultInjectionBuilder edit() { + return new HTTPFaultInjectionBuilder(this); + } + + @JsonIgnore + public HTTPFaultInjectionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionAbort.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionAbort.java index abd5c8a209d..cbbda861d1b 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionAbort.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionAbort.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonUnwrapped; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPFaultInjectionAbort implements KubernetesResource +public class HTTPFaultInjectionAbort implements Editable , KubernetesResource { @JsonProperty("ErrorType") @@ -109,6 +110,16 @@ public void setPercentage(Percent percentage) { this.percentage = percentage; } + @JsonIgnore + public HTTPFaultInjectionAbortBuilder edit() { + return new HTTPFaultInjectionAbortBuilder(this); + } + + @JsonIgnore + public HTTPFaultInjectionAbortBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionAbortGrpcStatus.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionAbortGrpcStatus.java index a12ee7f2ce8..8fe188ae267 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionAbortGrpcStatus.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionAbortGrpcStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPFaultInjectionAbortGrpcStatus implements IsHTTPFaultInjectionAbortErrorType +public class HTTPFaultInjectionAbortGrpcStatus implements IsHTTPFaultInjectionAbortErrorType, Editable { @JsonProperty("grpcStatus") @@ -92,6 +93,16 @@ public void setGrpcStatus(String grpcStatus) { this.grpcStatus = grpcStatus; } + @JsonIgnore + public HTTPFaultInjectionAbortGrpcStatusBuilder edit() { + return new HTTPFaultInjectionAbortGrpcStatusBuilder(this); + } + + @JsonIgnore + public HTTPFaultInjectionAbortGrpcStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionAbortHttp2Error.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionAbortHttp2Error.java index 53e3124e390..f2721c0efc8 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionAbortHttp2Error.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionAbortHttp2Error.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPFaultInjectionAbortHttp2Error implements IsHTTPFaultInjectionAbortErrorType +public class HTTPFaultInjectionAbortHttp2Error implements IsHTTPFaultInjectionAbortErrorType, Editable { @JsonProperty("http2Error") @@ -92,6 +93,16 @@ public void setHttp2Error(String http2Error) { this.http2Error = http2Error; } + @JsonIgnore + public HTTPFaultInjectionAbortHttp2ErrorBuilder edit() { + return new HTTPFaultInjectionAbortHttp2ErrorBuilder(this); + } + + @JsonIgnore + public HTTPFaultInjectionAbortHttp2ErrorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionAbortHttpStatus.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionAbortHttpStatus.java index 5bdfcede2a5..417f44e3be1 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionAbortHttpStatus.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionAbortHttpStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPFaultInjectionAbortHttpStatus implements IsHTTPFaultInjectionAbortErrorType +public class HTTPFaultInjectionAbortHttpStatus implements IsHTTPFaultInjectionAbortErrorType, Editable { @JsonProperty("httpStatus") @@ -92,6 +93,16 @@ public void setHttpStatus(Integer httpStatus) { this.httpStatus = httpStatus; } + @JsonIgnore + public HTTPFaultInjectionAbortHttpStatusBuilder edit() { + return new HTTPFaultInjectionAbortHttpStatusBuilder(this); + } + + @JsonIgnore + public HTTPFaultInjectionAbortHttpStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionDelay.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionDelay.java index e8b0a6957dd..6cad9029802 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionDelay.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionDelay.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonUnwrapped; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPFaultInjectionDelay implements KubernetesResource +public class HTTPFaultInjectionDelay implements Editable , KubernetesResource { @JsonProperty("HttpDelayType") @@ -123,6 +124,16 @@ public void setPercentage(Percent percentage) { this.percentage = percentage; } + @JsonIgnore + public HTTPFaultInjectionDelayBuilder edit() { + return new HTTPFaultInjectionDelayBuilder(this); + } + + @JsonIgnore + public HTTPFaultInjectionDelayBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionDelayExponentialDelay.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionDelayExponentialDelay.java index 6bf9cfe69a8..3ed107ffedd 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionDelayExponentialDelay.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionDelayExponentialDelay.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPFaultInjectionDelayExponentialDelay implements IsHTTPFaultInjectionDelayHttpDelayType +public class HTTPFaultInjectionDelayExponentialDelay implements IsHTTPFaultInjectionDelayHttpDelayType, Editable { @JsonProperty("exponentialDelay") @@ -92,6 +93,16 @@ public void setExponentialDelay(String exponentialDelay) { this.exponentialDelay = exponentialDelay; } + @JsonIgnore + public HTTPFaultInjectionDelayExponentialDelayBuilder edit() { + return new HTTPFaultInjectionDelayExponentialDelayBuilder(this); + } + + @JsonIgnore + public HTTPFaultInjectionDelayExponentialDelayBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionDelayFixedDelay.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionDelayFixedDelay.java index 7ebc5c613de..4c506568cb7 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionDelayFixedDelay.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionDelayFixedDelay.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPFaultInjectionDelayFixedDelay implements IsHTTPFaultInjectionDelayHttpDelayType +public class HTTPFaultInjectionDelayFixedDelay implements IsHTTPFaultInjectionDelayHttpDelayType, Editable { @JsonProperty("fixedDelay") @@ -92,6 +93,16 @@ public void setFixedDelay(String fixedDelay) { this.fixedDelay = fixedDelay; } + @JsonIgnore + public HTTPFaultInjectionDelayFixedDelayBuilder edit() { + return new HTTPFaultInjectionDelayFixedDelayBuilder(this); + } + + @JsonIgnore + public HTTPFaultInjectionDelayFixedDelayBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPMatchRequest.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPMatchRequest.java index b421d837ebc..e6632f59c10 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPMatchRequest.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPMatchRequest.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -77,7 +78,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPMatchRequest implements KubernetesResource +public class HTTPMatchRequest implements Editable , KubernetesResource { @JsonProperty("authority") @@ -268,6 +269,16 @@ public void setWithoutHeaders(Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRedirect.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRedirect.java index 0dbafc93fc9..798062001e3 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRedirect.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRedirect.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonUnwrapped; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPRedirect implements KubernetesResource +public class HTTPRedirect implements Editable , KubernetesResource { @JsonProperty("RedirectPort") @@ -151,6 +152,16 @@ public void setUri(String uri) { this.uri = uri; } + @JsonIgnore + public HTTPRedirectBuilder edit() { + return new HTTPRedirectBuilder(this); + } + + @JsonIgnore + public HTTPRedirectBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRedirectDerivePort.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRedirectDerivePort.java index 3c83b75d371..7e705dbc423 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRedirectDerivePort.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRedirectDerivePort.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPRedirectDerivePort implements IsHTTPRedirectRedirectPort +public class HTTPRedirectDerivePort implements IsHTTPRedirectRedirectPort, Editable { @JsonProperty("derivePort") @@ -92,6 +93,16 @@ public void setDerivePort(HTTPRedirectRedirectPortSelection derivePort) { this.derivePort = derivePort; } + @JsonIgnore + public HTTPRedirectDerivePortBuilder edit() { + return new HTTPRedirectDerivePortBuilder(this); + } + + @JsonIgnore + public HTTPRedirectDerivePortBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRedirectPort.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRedirectPort.java index 4fdd6990307..85fe7f258d8 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRedirectPort.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRedirectPort.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPRedirectPort implements IsHTTPRedirectRedirectPort +public class HTTPRedirectPort implements IsHTTPRedirectRedirectPort, Editable { @JsonProperty("port") @@ -92,6 +93,16 @@ public void setPort(Integer port) { this.port = port; } + @JsonIgnore + public HTTPRedirectPortBuilder edit() { + return new HTTPRedirectPortBuilder(this); + } + + @JsonIgnore + public HTTPRedirectPortBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRetry.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRetry.java index 85d5fbeb4e8..53520bbf9d8 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRetry.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRetry.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPRetry implements KubernetesResource +public class HTTPRetry implements Editable , KubernetesResource { @JsonProperty("attempts") @@ -135,6 +136,16 @@ public void setRetryRemoteLocalities(Boolean retryRemoteLocalities) { this.retryRemoteLocalities = retryRemoteLocalities; } + @JsonIgnore + public HTTPRetryBuilder edit() { + return new HTTPRetryBuilder(this); + } + + @JsonIgnore + public HTTPRetryBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRewrite.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRewrite.java index 2ff23f0b7d1..093d75d1615 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRewrite.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRewrite.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPRewrite implements KubernetesResource +public class HTTPRewrite implements Editable , KubernetesResource { @JsonProperty("authority") @@ -107,6 +108,16 @@ public void setUri(String uri) { this.uri = uri; } + @JsonIgnore + public HTTPRewriteBuilder edit() { + return new HTTPRewriteBuilder(this); + } + + @JsonIgnore + public HTTPRewriteBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRoute.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRoute.java index 14375271d63..7098fc72653 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRoute.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRoute.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -78,7 +79,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPRoute implements KubernetesResource +public class HTTPRoute implements Editable , KubernetesResource { @JsonProperty("corsPolicy") @@ -279,6 +280,16 @@ public void setTimeout(String timeout) { this.timeout = timeout; } + @JsonIgnore + public HTTPRouteBuilder edit() { + return new HTTPRouteBuilder(this); + } + + @JsonIgnore + public HTTPRouteBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRouteDestination.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRouteDestination.java index 4db355876b6..baabc182451 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRouteDestination.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRouteDestination.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPRouteDestination implements KubernetesResource +public class HTTPRouteDestination implements Editable , KubernetesResource { @JsonProperty("destination") @@ -121,6 +122,16 @@ public void setWeight(Integer weight) { this.weight = weight; } + @JsonIgnore + public HTTPRouteDestinationBuilder edit() { + return new HTTPRouteDestinationBuilder(this); + } + + @JsonIgnore + public HTTPRouteDestinationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Headers.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Headers.java index 7e5244bcda7..f3af35fab73 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Headers.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Headers.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Headers implements KubernetesResource +public class Headers implements Editable , KubernetesResource { @JsonProperty("request") @@ -107,6 +108,16 @@ public void setResponse(HeadersHeaderOperations response) { this.response = response; } + @JsonIgnore + public HeadersBuilder edit() { + return new HeadersBuilder(this); + } + + @JsonIgnore + public HeadersBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HeadersHeaderOperations.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HeadersHeaderOperations.java index a779a644afe..ecc7c4b757d 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HeadersHeaderOperations.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HeadersHeaderOperations.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HeadersHeaderOperations implements KubernetesResource +public class HeadersHeaderOperations implements Editable , KubernetesResource { @JsonProperty("add") @@ -126,6 +127,16 @@ public void setSet(Map set) { this.set = set; } + @JsonIgnore + public HeadersHeaderOperationsBuilder edit() { + return new HeadersHeaderOperationsBuilder(this); + } + + @JsonIgnore + public HeadersHeaderOperationsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IstioEgressListener.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IstioEgressListener.java index c6b7364b69a..be793bd39e1 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IstioEgressListener.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IstioEgressListener.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IstioEgressListener implements KubernetesResource +public class IstioEgressListener implements Editable , KubernetesResource { @JsonProperty("bind") @@ -138,6 +139,16 @@ public void setPort(Port port) { this.port = port; } + @JsonIgnore + public IstioEgressListenerBuilder edit() { + return new IstioEgressListenerBuilder(this); + } + + @JsonIgnore + public IstioEgressListenerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IstioIngressListener.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IstioIngressListener.java index 29a1557c1a5..1539c2d1061 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IstioIngressListener.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IstioIngressListener.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IstioIngressListener implements KubernetesResource +public class IstioIngressListener implements Editable , KubernetesResource { @JsonProperty("bind") @@ -135,6 +136,16 @@ public void setPort(Port port) { this.port = port; } + @JsonIgnore + public IstioIngressListenerBuilder edit() { + return new IstioIngressListenerBuilder(this); + } + + @JsonIgnore + public IstioIngressListenerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/L4MatchAttributes.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/L4MatchAttributes.java index 5c7ec8b30f7..20dc366bd19 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/L4MatchAttributes.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/L4MatchAttributes.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class L4MatchAttributes implements KubernetesResource +public class L4MatchAttributes implements Editable , KubernetesResource { @JsonProperty("destinationSubnets") @@ -168,6 +169,16 @@ public void setSourceSubnet(java.lang.String sourceSubnet) { this.sourceSubnet = sourceSubnet; } + @JsonIgnore + public L4MatchAttributesBuilder edit() { + return new L4MatchAttributesBuilder(this); + } + + @JsonIgnore + public L4MatchAttributesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettings.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettings.java index 9c66bba9b75..a2c0bd70640 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettings.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettings.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonUnwrapped; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LoadBalancerSettings implements KubernetesResource +public class LoadBalancerSettings implements Editable , KubernetesResource { @JsonProperty("LbPolicy") @@ -109,6 +110,16 @@ public void setLocalityLbSetting(LocalityLoadBalancerSetting localityLbSetting) this.localityLbSetting = localityLbSetting; } + @JsonIgnore + public LoadBalancerSettingsBuilder edit() { + return new LoadBalancerSettingsBuilder(this); + } + + @JsonIgnore + public LoadBalancerSettingsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHash.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHash.java index ad3d4c514a3..2b9943c5c8f 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHash.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHash.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LoadBalancerSettingsConsistentHash implements IsLoadBalancerSettingsLbPolicy +public class LoadBalancerSettingsConsistentHash implements IsLoadBalancerSettingsLbPolicy, Editable { @JsonProperty("consistentHash") @@ -92,6 +93,16 @@ public void setConsistentHash(LoadBalancerSettingsConsistentHashLB consistentHas this.consistentHash = consistentHash; } + @JsonIgnore + public LoadBalancerSettingsConsistentHashBuilder edit() { + return new LoadBalancerSettingsConsistentHashBuilder(this); + } + + @JsonIgnore + public LoadBalancerSettingsConsistentHashBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLB.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLB.java index 222f2b87cdc..833e4ed5e13 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLB.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLB.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonUnwrapped; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LoadBalancerSettingsConsistentHashLB implements KubernetesResource +public class LoadBalancerSettingsConsistentHashLB implements Editable , KubernetesResource { @JsonProperty("HashKey") @@ -109,6 +110,16 @@ public void setMinimumRingSize(Integer minimumRingSize) { this.minimumRingSize = minimumRingSize; } + @JsonIgnore + public LoadBalancerSettingsConsistentHashLBBuilder edit() { + return new LoadBalancerSettingsConsistentHashLBBuilder(this); + } + + @JsonIgnore + public LoadBalancerSettingsConsistentHashLBBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBHttpCookie.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBHttpCookie.java index 8743504dc7c..6c4e2655074 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBHttpCookie.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBHttpCookie.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LoadBalancerSettingsConsistentHashLBHttpCookie implements IsLoadBalancerSettingsConsistentHashLBHashKey +public class LoadBalancerSettingsConsistentHashLBHttpCookie implements IsLoadBalancerSettingsConsistentHashLBHashKey, Editable { @JsonProperty("httpCookie") @@ -92,6 +93,16 @@ public void setHttpCookie(LoadBalancerSettingsConsistentHashLBHttpCookieValue ht this.httpCookie = httpCookie; } + @JsonIgnore + public LoadBalancerSettingsConsistentHashLBHttpCookieBuilder edit() { + return new LoadBalancerSettingsConsistentHashLBHttpCookieBuilder(this); + } + + @JsonIgnore + public LoadBalancerSettingsConsistentHashLBHttpCookieBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBHttpCookieValue.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBHttpCookieValue.java index 1cae4e79af7..536fe9759f7 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBHttpCookieValue.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBHttpCookieValue.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LoadBalancerSettingsConsistentHashLBHttpCookieValue implements KubernetesResource +public class LoadBalancerSettingsConsistentHashLBHttpCookieValue implements Editable , KubernetesResource { @JsonProperty("name") @@ -121,6 +122,16 @@ public void setTtl(String ttl) { this.ttl = ttl; } + @JsonIgnore + public LoadBalancerSettingsConsistentHashLBHttpCookieValueBuilder edit() { + return new LoadBalancerSettingsConsistentHashLBHttpCookieValueBuilder(this); + } + + @JsonIgnore + public LoadBalancerSettingsConsistentHashLBHttpCookieValueBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBHttpHeaderName.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBHttpHeaderName.java index c30afb5bf28..942fbbd987c 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBHttpHeaderName.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBHttpHeaderName.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LoadBalancerSettingsConsistentHashLBHttpHeaderName implements IsLoadBalancerSettingsConsistentHashLBHashKey +public class LoadBalancerSettingsConsistentHashLBHttpHeaderName implements IsLoadBalancerSettingsConsistentHashLBHashKey, Editable { @JsonProperty("httpHeaderName") @@ -92,6 +93,16 @@ public void setHttpHeaderName(String httpHeaderName) { this.httpHeaderName = httpHeaderName; } + @JsonIgnore + public LoadBalancerSettingsConsistentHashLBHttpHeaderNameBuilder edit() { + return new LoadBalancerSettingsConsistentHashLBHttpHeaderNameBuilder(this); + } + + @JsonIgnore + public LoadBalancerSettingsConsistentHashLBHttpHeaderNameBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBHttpQueryParameterName.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBHttpQueryParameterName.java index 1c92b9a55ce..dd138cf4ca0 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBHttpQueryParameterName.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBHttpQueryParameterName.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LoadBalancerSettingsConsistentHashLBHttpQueryParameterName implements IsLoadBalancerSettingsConsistentHashLBHashKey +public class LoadBalancerSettingsConsistentHashLBHttpQueryParameterName implements IsLoadBalancerSettingsConsistentHashLBHashKey, Editable { @JsonProperty("httpQueryParameterName") @@ -92,6 +93,16 @@ public void setHttpQueryParameterName(String httpQueryParameterName) { this.httpQueryParameterName = httpQueryParameterName; } + @JsonIgnore + public LoadBalancerSettingsConsistentHashLBHttpQueryParameterNameBuilder edit() { + return new LoadBalancerSettingsConsistentHashLBHttpQueryParameterNameBuilder(this); + } + + @JsonIgnore + public LoadBalancerSettingsConsistentHashLBHttpQueryParameterNameBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBUseSourceIp.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBUseSourceIp.java index fe939c319f0..f6734c2b090 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBUseSourceIp.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBUseSourceIp.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LoadBalancerSettingsConsistentHashLBUseSourceIp implements IsLoadBalancerSettingsConsistentHashLBHashKey +public class LoadBalancerSettingsConsistentHashLBUseSourceIp implements IsLoadBalancerSettingsConsistentHashLBHashKey, Editable { @JsonProperty("useSourceIp") @@ -92,6 +93,16 @@ public void setUseSourceIp(Boolean useSourceIp) { this.useSourceIp = useSourceIp; } + @JsonIgnore + public LoadBalancerSettingsConsistentHashLBUseSourceIpBuilder edit() { + return new LoadBalancerSettingsConsistentHashLBUseSourceIpBuilder(this); + } + + @JsonIgnore + public LoadBalancerSettingsConsistentHashLBUseSourceIpBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsSimple.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsSimple.java index e48ea4de5c1..b4f1432e0fd 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsSimple.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsSimple.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LoadBalancerSettingsSimple implements IsLoadBalancerSettingsLbPolicy +public class LoadBalancerSettingsSimple implements IsLoadBalancerSettingsLbPolicy, Editable { @JsonProperty("simple") @@ -92,6 +93,16 @@ public void setSimple(LoadBalancerSettingsSimpleLB simple) { this.simple = simple; } + @JsonIgnore + public LoadBalancerSettingsSimpleBuilder edit() { + return new LoadBalancerSettingsSimpleBuilder(this); + } + + @JsonIgnore + public LoadBalancerSettingsSimpleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LocalityLoadBalancerSetting.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LocalityLoadBalancerSetting.java index 1e09f906801..89432c8a645 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LocalityLoadBalancerSetting.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LocalityLoadBalancerSetting.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LocalityLoadBalancerSetting implements KubernetesResource +public class LocalityLoadBalancerSetting implements Editable , KubernetesResource { @JsonProperty("distribute") @@ -140,6 +141,16 @@ public void setFailoverPriority(List failoverPriority) { this.failoverPriority = failoverPriority; } + @JsonIgnore + public LocalityLoadBalancerSettingBuilder edit() { + return new LocalityLoadBalancerSettingBuilder(this); + } + + @JsonIgnore + public LocalityLoadBalancerSettingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LocalityLoadBalancerSettingDistribute.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LocalityLoadBalancerSettingDistribute.java index 5b59333b114..ef2dc7c6f5c 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LocalityLoadBalancerSettingDistribute.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LocalityLoadBalancerSettingDistribute.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LocalityLoadBalancerSettingDistribute implements KubernetesResource +public class LocalityLoadBalancerSettingDistribute implements Editable , KubernetesResource { @JsonProperty("from") @@ -108,6 +109,16 @@ public void setTo(Map to) { this.to = to; } + @JsonIgnore + public LocalityLoadBalancerSettingDistributeBuilder edit() { + return new LocalityLoadBalancerSettingDistributeBuilder(this); + } + + @JsonIgnore + public LocalityLoadBalancerSettingDistributeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LocalityLoadBalancerSettingFailover.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LocalityLoadBalancerSettingFailover.java index c5c58ce060b..27d73edc12d 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LocalityLoadBalancerSettingFailover.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LocalityLoadBalancerSettingFailover.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LocalityLoadBalancerSettingFailover implements KubernetesResource +public class LocalityLoadBalancerSettingFailover implements Editable , KubernetesResource { @JsonProperty("from") @@ -107,6 +108,16 @@ public void setTo(String to) { this.to = to; } + @JsonIgnore + public LocalityLoadBalancerSettingFailoverBuilder edit() { + return new LocalityLoadBalancerSettingFailoverBuilder(this); + } + + @JsonIgnore + public LocalityLoadBalancerSettingFailoverBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/OutboundTrafficPolicy.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/OutboundTrafficPolicy.java index 757848c96b2..7879f48b82a 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/OutboundTrafficPolicy.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/OutboundTrafficPolicy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class OutboundTrafficPolicy implements KubernetesResource +public class OutboundTrafficPolicy implements Editable , KubernetesResource { @JsonProperty("egressProxy") @@ -107,6 +108,16 @@ public void setMode(OutboundTrafficPolicyMode mode) { this.mode = mode; } + @JsonIgnore + public OutboundTrafficPolicyBuilder edit() { + return new OutboundTrafficPolicyBuilder(this); + } + + @JsonIgnore + public OutboundTrafficPolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/OutlierDetection.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/OutlierDetection.java index a5f8922b451..3eafac12e7b 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/OutlierDetection.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/OutlierDetection.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class OutlierDetection implements KubernetesResource +public class OutlierDetection implements Editable , KubernetesResource { @JsonProperty("baseEjectionTime") @@ -205,6 +206,16 @@ public void setSplitExternalLocalOriginErrors(Boolean splitExternalLocalOriginEr this.splitExternalLocalOriginErrors = splitExternalLocalOriginErrors; } + @JsonIgnore + public OutlierDetectionBuilder edit() { + return new OutlierDetectionBuilder(this); + } + + @JsonIgnore + public OutlierDetectionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Percent.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Percent.java index 97e9b04939f..f1865b64514 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Percent.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Percent.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Percent implements KubernetesResource +public class Percent implements Editable , KubernetesResource { @JsonProperty("value") @@ -93,6 +94,16 @@ public void setValue(Double value) { this.value = value; } + @JsonIgnore + public PercentBuilder edit() { + return new PercentBuilder(this); + } + + @JsonIgnore + public PercentBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Port.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Port.java index 5f0cf50a903..1a8d16dfd49 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Port.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Port.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Port implements KubernetesResource +public class Port implements Editable , KubernetesResource { @JsonProperty("name") @@ -135,6 +136,16 @@ public void setTargetPort(Integer targetPort) { this.targetPort = targetPort; } + @JsonIgnore + public PortBuilder edit() { + return new PortBuilder(this); + } + + @JsonIgnore + public PortBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/PortSelector.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/PortSelector.java index 30e68c77bee..6c4b2196ce6 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/PortSelector.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/PortSelector.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PortSelector implements KubernetesResource +public class PortSelector implements Editable , KubernetesResource { @JsonProperty("number") @@ -93,6 +94,16 @@ public void setNumber(Integer number) { this.number = number; } + @JsonIgnore + public PortSelectorBuilder edit() { + return new PortSelectorBuilder(this); + } + + @JsonIgnore + public PortSelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/RouteDestination.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/RouteDestination.java index 391ffc33e7f..c9cdc915b14 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/RouteDestination.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/RouteDestination.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class RouteDestination implements KubernetesResource +public class RouteDestination implements Editable , KubernetesResource { @JsonProperty("destination") @@ -107,6 +108,16 @@ public void setWeight(Integer weight) { this.weight = weight; } + @JsonIgnore + public RouteDestinationBuilder edit() { + return new RouteDestinationBuilder(this); + } + + @JsonIgnore + public RouteDestinationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Server.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Server.java index 83e35a01c0e..c43cb428e9a 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Server.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Server.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Server implements KubernetesResource +public class Server implements Editable , KubernetesResource { @JsonProperty("bind") @@ -166,6 +167,16 @@ public void setTls(ServerTLSSettings tls) { this.tls = tls; } + @JsonIgnore + public ServerBuilder edit() { + return new ServerBuilder(this); + } + + @JsonIgnore + public ServerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServerTLSSettings.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServerTLSSettings.java index a84037522d9..7d4879c0169 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServerTLSSettings.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServerTLSSettings.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ServerTLSSettings implements KubernetesResource +public class ServerTLSSettings implements Editable , KubernetesResource { @JsonProperty("caCertificates") @@ -253,6 +254,16 @@ public void setVerifyCertificateSpki(List verifyCertificateSpki) { this.verifyCertificateSpki = verifyCertificateSpki; } + @JsonIgnore + public ServerTLSSettingsBuilder edit() { + return new ServerTLSSettingsBuilder(this); + } + + @JsonIgnore + public ServerTLSSettingsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntry.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntry.java index 801140149f8..e9e3997a452 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntry.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntry.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @Version("v1beta1") @Group("networking.istio.io") @Generated("jsonschema2pojo") -public class ServiceEntry implements HasMetadata, Namespaced +public class ServiceEntry implements Editable , HasMetadata, Namespaced { /** @@ -186,6 +187,16 @@ public void setStatus(IstioStatus status) { this.status = status; } + @JsonIgnore + public ServiceEntryBuilder edit() { + return new ServiceEntryBuilder(this); + } + + @JsonIgnore + public ServiceEntryBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntryList.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntryList.java index dc914a906d2..31382386295 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntryList.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntryList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("networking.istio.io") @Generated("jsonschema2pojo") -public class ServiceEntryList implements KubernetesResource, KubernetesResourceList +public class ServiceEntryList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ServiceEntryListBuilder edit() { + return new ServiceEntryListBuilder(this); + } + + @JsonIgnore + public ServiceEntryListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntrySpec.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntrySpec.java index fc9e50d2668..0e71a57fb8d 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntrySpec.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntrySpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ServiceEntrySpec implements KubernetesResource +public class ServiceEntrySpec implements Editable , KubernetesResource { @JsonProperty("addresses") @@ -213,6 +214,16 @@ public void setWorkloadSelector(WorkloadSelector workloadSelector) { this.workloadSelector = workloadSelector; } + @JsonIgnore + public ServiceEntrySpecBuilder edit() { + return new ServiceEntrySpecBuilder(this); + } + + @JsonIgnore + public ServiceEntrySpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Sidecar.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Sidecar.java index 693c1f10c33..60032615244 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Sidecar.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Sidecar.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @Version("v1beta1") @Group("networking.istio.io") @Generated("jsonschema2pojo") -public class Sidecar implements HasMetadata, Namespaced +public class Sidecar implements Editable , HasMetadata, Namespaced { /** @@ -186,6 +187,16 @@ public void setStatus(IstioStatus status) { this.status = status; } + @JsonIgnore + public SidecarBuilder edit() { + return new SidecarBuilder(this); + } + + @JsonIgnore + public SidecarBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/SidecarList.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/SidecarList.java index d2fb2d529c3..547171efc3e 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/SidecarList.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/SidecarList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("networking.istio.io") @Generated("jsonschema2pojo") -public class SidecarList implements KubernetesResource, KubernetesResourceList +public class SidecarList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public SidecarListBuilder edit() { + return new SidecarListBuilder(this); + } + + @JsonIgnore + public SidecarListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/SidecarSpec.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/SidecarSpec.java index 180a324d3a3..092b3492a93 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/SidecarSpec.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/SidecarSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SidecarSpec implements KubernetesResource +public class SidecarSpec implements Editable , KubernetesResource { @JsonProperty("egress") @@ -139,6 +140,16 @@ public void setWorkloadSelector(WorkloadSelector workloadSelector) { this.workloadSelector = workloadSelector; } + @JsonIgnore + public SidecarSpecBuilder edit() { + return new SidecarSpecBuilder(this); + } + + @JsonIgnore + public SidecarSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/StringMatch.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/StringMatch.java index b4590825072..7bb3e312c3a 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/StringMatch.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/StringMatch.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonUnwrapped; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class StringMatch implements KubernetesResource +public class StringMatch implements Editable , KubernetesResource { @JsonProperty("MatchType") @@ -95,6 +96,16 @@ public void setMatchType(IsStringMatchMatchType matchType) { this.matchType = matchType; } + @JsonIgnore + public StringMatchBuilder edit() { + return new StringMatchBuilder(this); + } + + @JsonIgnore + public StringMatchBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/StringMatchExact.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/StringMatchExact.java index f00301efdd1..10ade79fbb4 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/StringMatchExact.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/StringMatchExact.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class StringMatchExact implements IsStringMatchMatchType +public class StringMatchExact implements IsStringMatchMatchType, Editable { @JsonProperty("exact") @@ -92,6 +93,16 @@ public void setExact(String exact) { this.exact = exact; } + @JsonIgnore + public StringMatchExactBuilder edit() { + return new StringMatchExactBuilder(this); + } + + @JsonIgnore + public StringMatchExactBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/StringMatchPrefix.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/StringMatchPrefix.java index 82220f03860..07bde26f949 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/StringMatchPrefix.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/StringMatchPrefix.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class StringMatchPrefix implements IsStringMatchMatchType +public class StringMatchPrefix implements IsStringMatchMatchType, Editable { @JsonProperty("prefix") @@ -92,6 +93,16 @@ public void setPrefix(String prefix) { this.prefix = prefix; } + @JsonIgnore + public StringMatchPrefixBuilder edit() { + return new StringMatchPrefixBuilder(this); + } + + @JsonIgnore + public StringMatchPrefixBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/StringMatchRegex.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/StringMatchRegex.java index eb1e11c04c3..cc7a44ebe3b 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/StringMatchRegex.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/StringMatchRegex.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class StringMatchRegex implements IsStringMatchMatchType +public class StringMatchRegex implements IsStringMatchMatchType, Editable { @JsonProperty("regex") @@ -92,6 +93,16 @@ public void setRegex(String regex) { this.regex = regex; } + @JsonIgnore + public StringMatchRegexBuilder edit() { + return new StringMatchRegexBuilder(this); + } + + @JsonIgnore + public StringMatchRegexBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Subset.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Subset.java index 23f9d254e15..1723d12f030 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Subset.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Subset.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Subset implements KubernetesResource +public class Subset implements Editable , KubernetesResource { @JsonProperty("labels") @@ -122,6 +123,16 @@ public void setTrafficPolicy(TrafficPolicy trafficPolicy) { this.trafficPolicy = trafficPolicy; } + @JsonIgnore + public SubsetBuilder edit() { + return new SubsetBuilder(this); + } + + @JsonIgnore + public SubsetBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TCPRoute.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TCPRoute.java index e6dac1068a8..64d9710e2dc 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TCPRoute.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TCPRoute.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TCPRoute implements KubernetesResource +public class TCPRoute implements Editable , KubernetesResource { @JsonProperty("match") @@ -111,6 +112,16 @@ public void setRoute(List route) { this.route = route; } + @JsonIgnore + public TCPRouteBuilder edit() { + return new TCPRouteBuilder(this); + } + + @JsonIgnore + public TCPRouteBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TLSMatchAttributes.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TLSMatchAttributes.java index d076c010753..7263d56a2de 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TLSMatchAttributes.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TLSMatchAttributes.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TLSMatchAttributes implements KubernetesResource +public class TLSMatchAttributes implements Editable , KubernetesResource { @JsonProperty("destinationSubnets") @@ -169,6 +170,16 @@ public void setSourceNamespace(java.lang.String sourceNamespace) { this.sourceNamespace = sourceNamespace; } + @JsonIgnore + public TLSMatchAttributesBuilder edit() { + return new TLSMatchAttributesBuilder(this); + } + + @JsonIgnore + public TLSMatchAttributesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TLSRoute.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TLSRoute.java index b18f2a249c6..f4665928e9a 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TLSRoute.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TLSRoute.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TLSRoute implements KubernetesResource +public class TLSRoute implements Editable , KubernetesResource { @JsonProperty("match") @@ -111,6 +112,16 @@ public void setRoute(List route) { this.route = route; } + @JsonIgnore + public TLSRouteBuilder edit() { + return new TLSRouteBuilder(this); + } + + @JsonIgnore + public TLSRouteBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TrafficPolicy.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TrafficPolicy.java index d294b6b6622..63c8dc8f9e6 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TrafficPolicy.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TrafficPolicy.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TrafficPolicy implements KubernetesResource +public class TrafficPolicy implements Editable , KubernetesResource { @JsonProperty("connectionPool") @@ -152,6 +153,16 @@ public void setTls(ClientTLSSettings tls) { this.tls = tls; } + @JsonIgnore + public TrafficPolicyBuilder edit() { + return new TrafficPolicyBuilder(this); + } + + @JsonIgnore + public TrafficPolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TrafficPolicyPortTrafficPolicy.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TrafficPolicyPortTrafficPolicy.java index e5e6bdf3010..32b9031b4af 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TrafficPolicyPortTrafficPolicy.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TrafficPolicyPortTrafficPolicy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TrafficPolicyPortTrafficPolicy implements KubernetesResource +public class TrafficPolicyPortTrafficPolicy implements Editable , KubernetesResource { @JsonProperty("connectionPool") @@ -149,6 +150,16 @@ public void setTls(ClientTLSSettings tls) { this.tls = tls; } + @JsonIgnore + public TrafficPolicyPortTrafficPolicyBuilder edit() { + return new TrafficPolicyPortTrafficPolicyBuilder(this); + } + + @JsonIgnore + public TrafficPolicyPortTrafficPolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualService.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualService.java index 757f99eee67..0c42e2fd710 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualService.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualService.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @Version("v1beta1") @Group("networking.istio.io") @Generated("jsonschema2pojo") -public class VirtualService implements HasMetadata, Namespaced +public class VirtualService implements Editable , HasMetadata, Namespaced { /** @@ -186,6 +187,16 @@ public void setStatus(IstioStatus status) { this.status = status; } + @JsonIgnore + public VirtualServiceBuilder edit() { + return new VirtualServiceBuilder(this); + } + + @JsonIgnore + public VirtualServiceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualServiceList.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualServiceList.java index 2da3702abe8..751c2798a25 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualServiceList.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualServiceList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("networking.istio.io") @Generated("jsonschema2pojo") -public class VirtualServiceList implements KubernetesResource, KubernetesResourceList +public class VirtualServiceList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public VirtualServiceListBuilder edit() { + return new VirtualServiceListBuilder(this); + } + + @JsonIgnore + public VirtualServiceListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualServiceSpec.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualServiceSpec.java index b441abea882..20c195f07f8 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualServiceSpec.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualServiceSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VirtualServiceSpec implements KubernetesResource +public class VirtualServiceSpec implements Editable , KubernetesResource { @JsonProperty("exportTo") @@ -171,6 +172,16 @@ public void setTls(List tls) { this.tls = tls; } + @JsonIgnore + public VirtualServiceSpecBuilder edit() { + return new VirtualServiceSpecBuilder(this); + } + + @JsonIgnore + public VirtualServiceSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntry.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntry.java index 4c8af8ad424..52c85520e9d 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntry.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntry.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @Version("v1beta1") @Group("networking.istio.io") @Generated("jsonschema2pojo") -public class WorkloadEntry implements HasMetadata, Namespaced +public class WorkloadEntry implements Editable , HasMetadata, Namespaced { /** @@ -186,6 +187,16 @@ public void setStatus(IstioStatus status) { this.status = status; } + @JsonIgnore + public WorkloadEntryBuilder edit() { + return new WorkloadEntryBuilder(this); + } + + @JsonIgnore + public WorkloadEntryBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntryList.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntryList.java index b2f363a7d92..aaf059f8402 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntryList.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntryList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("networking.istio.io") @Generated("jsonschema2pojo") -public class WorkloadEntryList implements KubernetesResource, KubernetesResourceList +public class WorkloadEntryList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public WorkloadEntryListBuilder edit() { + return new WorkloadEntryListBuilder(this); + } + + @JsonIgnore + public WorkloadEntryListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntrySpec.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntrySpec.java index 152673b85d1..02847f94184 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntrySpec.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntrySpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class WorkloadEntrySpec implements KubernetesResource +public class WorkloadEntrySpec implements Editable , KubernetesResource { @JsonProperty("address") @@ -179,6 +180,16 @@ public void setWeight(Integer weight) { this.weight = weight; } + @JsonIgnore + public WorkloadEntrySpecBuilder edit() { + return new WorkloadEntrySpecBuilder(this); + } + + @JsonIgnore + public WorkloadEntrySpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadSelector.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadSelector.java index 3b14ff2c2ef..6eb1e164fa9 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadSelector.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadSelector.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class WorkloadSelector implements KubernetesResource +public class WorkloadSelector implements Editable , KubernetesResource { @JsonProperty("labels") @@ -94,6 +95,16 @@ public void setLabels(Map labels) { this.labels = labels; } + @JsonIgnore + public WorkloadSelectorBuilder edit() { + return new WorkloadSelectorBuilder(this); + } + + @JsonIgnore + public WorkloadSelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicy.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicy.java index 6bd9a201ec6..a8e1dc5cbcb 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicy.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicy.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @Version("v1beta1") @Group("security.istio.io") @Generated("jsonschema2pojo") -public class AuthorizationPolicy implements HasMetadata, Namespaced +public class AuthorizationPolicy implements Editable , HasMetadata, Namespaced { /** @@ -186,6 +187,16 @@ public void setStatus(IstioStatus status) { this.status = status; } + @JsonIgnore + public AuthorizationPolicyBuilder edit() { + return new AuthorizationPolicyBuilder(this); + } + + @JsonIgnore + public AuthorizationPolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicyExtensionProvider.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicyExtensionProvider.java index 7095cf07ba3..5b66d013a75 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicyExtensionProvider.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicyExtensionProvider.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class AuthorizationPolicyExtensionProvider implements KubernetesResource +public class AuthorizationPolicyExtensionProvider implements Editable , KubernetesResource { @JsonProperty("name") @@ -93,6 +94,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public AuthorizationPolicyExtensionProviderBuilder edit() { + return new AuthorizationPolicyExtensionProviderBuilder(this); + } + + @JsonIgnore + public AuthorizationPolicyExtensionProviderBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicyList.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicyList.java index a7a8c4ce9fe..bf78ba92af9 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicyList.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicyList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("security.istio.io") @Generated("jsonschema2pojo") -public class AuthorizationPolicyList implements KubernetesResource, KubernetesResourceList +public class AuthorizationPolicyList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public AuthorizationPolicyListBuilder edit() { + return new AuthorizationPolicyListBuilder(this); + } + + @JsonIgnore + public AuthorizationPolicyListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicyProvider.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicyProvider.java index e0aa7dc22b5..b6d62974275 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicyProvider.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicyProvider.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class AuthorizationPolicyProvider implements IsAuthorizationPolicyActionDetail +public class AuthorizationPolicyProvider implements IsAuthorizationPolicyActionDetail, Editable { @JsonProperty("provider") @@ -92,6 +93,16 @@ public void setProvider(AuthorizationPolicyExtensionProvider provider) { this.provider = provider; } + @JsonIgnore + public AuthorizationPolicyProviderBuilder edit() { + return new AuthorizationPolicyProviderBuilder(this); + } + + @JsonIgnore + public AuthorizationPolicyProviderBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicySpec.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicySpec.java index cc173297f68..edcce312539 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicySpec.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicySpec.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.annotation.JsonUnwrapped; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.istio.api.type.v1beta1.WorkloadSelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class AuthorizationPolicySpec implements KubernetesResource +public class AuthorizationPolicySpec implements Editable , KubernetesResource { @JsonProperty("ActionDetail") @@ -141,6 +142,16 @@ public void setSelector(WorkloadSelector selector) { this.selector = selector; } + @JsonIgnore + public AuthorizationPolicySpecBuilder edit() { + return new AuthorizationPolicySpecBuilder(this); + } + + @JsonIgnore + public AuthorizationPolicySpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/Condition.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/Condition.java index 100e07a8955..d59c3ab9d28 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/Condition.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/Condition.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Condition implements KubernetesResource +public class Condition implements Editable , KubernetesResource { @JsonProperty("key") @@ -125,6 +126,16 @@ public void setValues(List values) { this.values = values; } + @JsonIgnore + public ConditionBuilder edit() { + return new ConditionBuilder(this); + } + + @JsonIgnore + public ConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/JWTHeader.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/JWTHeader.java index b3bdbdd7de0..93bccde7541 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/JWTHeader.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/JWTHeader.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class JWTHeader implements KubernetesResource +public class JWTHeader implements Editable , KubernetesResource { @JsonProperty("name") @@ -107,6 +108,16 @@ public void setPrefix(String prefix) { this.prefix = prefix; } + @JsonIgnore + public JWTHeaderBuilder edit() { + return new JWTHeaderBuilder(this); + } + + @JsonIgnore + public JWTHeaderBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/JWTRule.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/JWTRule.java index 33f8e1c53c0..c9832d057aa 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/JWTRule.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/JWTRule.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class JWTRule implements KubernetesResource +public class JWTRule implements Editable , KubernetesResource { @JsonProperty("audiences") @@ -196,6 +197,16 @@ public void setOutputPayloadToHeader(String outputPayloadToHeader) { this.outputPayloadToHeader = outputPayloadToHeader; } + @JsonIgnore + public JWTRuleBuilder edit() { + return new JWTRuleBuilder(this); + } + + @JsonIgnore + public JWTRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/Operation.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/Operation.java index 82cc804dec1..2ab850ade93 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/Operation.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/Operation.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Operation implements KubernetesResource +public class Operation implements Editable , KubernetesResource { @JsonProperty("hosts") @@ -201,6 +202,16 @@ public void setPorts(List ports) { this.ports = ports; } + @JsonIgnore + public OperationBuilder edit() { + return new OperationBuilder(this); + } + + @JsonIgnore + public OperationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthentication.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthentication.java index 147dbf08714..1e38d1cf5ea 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthentication.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthentication.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @Version("v1beta1") @Group("security.istio.io") @Generated("jsonschema2pojo") -public class PeerAuthentication implements HasMetadata, Namespaced +public class PeerAuthentication implements Editable , HasMetadata, Namespaced { /** @@ -186,6 +187,16 @@ public void setStatus(IstioStatus status) { this.status = status; } + @JsonIgnore + public PeerAuthenticationBuilder edit() { + return new PeerAuthenticationBuilder(this); + } + + @JsonIgnore + public PeerAuthenticationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthenticationList.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthenticationList.java index b5f76990302..891adbec3ad 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthenticationList.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthenticationList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("security.istio.io") @Generated("jsonschema2pojo") -public class PeerAuthenticationList implements KubernetesResource, KubernetesResourceList +public class PeerAuthenticationList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PeerAuthenticationListBuilder edit() { + return new PeerAuthenticationListBuilder(this); + } + + @JsonIgnore + public PeerAuthenticationListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthenticationMutualTLS.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthenticationMutualTLS.java index cc8435b9bfd..504b2b14b2e 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthenticationMutualTLS.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthenticationMutualTLS.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PeerAuthenticationMutualTLS implements KubernetesResource +public class PeerAuthenticationMutualTLS implements Editable , KubernetesResource { @JsonProperty("mode") @@ -93,6 +94,16 @@ public void setMode(PeerAuthenticationMutualTLSMode mode) { this.mode = mode; } + @JsonIgnore + public PeerAuthenticationMutualTLSBuilder edit() { + return new PeerAuthenticationMutualTLSBuilder(this); + } + + @JsonIgnore + public PeerAuthenticationMutualTLSBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthenticationSpec.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthenticationSpec.java index 0fa3bb1f322..11d1d939eed 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthenticationSpec.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthenticationSpec.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.istio.api.type.v1beta1.WorkloadSelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PeerAuthenticationSpec implements KubernetesResource +public class PeerAuthenticationSpec implements Editable , KubernetesResource { @JsonProperty("mtls") @@ -123,6 +124,16 @@ public void setSelector(WorkloadSelector selector) { this.selector = selector; } + @JsonIgnore + public PeerAuthenticationSpecBuilder edit() { + return new PeerAuthenticationSpecBuilder(this); + } + + @JsonIgnore + public PeerAuthenticationSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RequestAuthentication.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RequestAuthentication.java index 6335a7770d0..4f025c5fe49 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RequestAuthentication.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RequestAuthentication.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @Version("v1beta1") @Group("security.istio.io") @Generated("jsonschema2pojo") -public class RequestAuthentication implements HasMetadata, Namespaced +public class RequestAuthentication implements Editable , HasMetadata, Namespaced { /** @@ -186,6 +187,16 @@ public void setStatus(IstioStatus status) { this.status = status; } + @JsonIgnore + public RequestAuthenticationBuilder edit() { + return new RequestAuthenticationBuilder(this); + } + + @JsonIgnore + public RequestAuthenticationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RequestAuthenticationList.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RequestAuthenticationList.java index b173dbed1a8..af2ad5e7d94 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RequestAuthenticationList.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RequestAuthenticationList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("security.istio.io") @Generated("jsonschema2pojo") -public class RequestAuthenticationList implements KubernetesResource, KubernetesResourceList +public class RequestAuthenticationList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public RequestAuthenticationListBuilder edit() { + return new RequestAuthenticationListBuilder(this); + } + + @JsonIgnore + public RequestAuthenticationListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RequestAuthenticationSpec.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RequestAuthenticationSpec.java index 84b1382b38a..998bf0713cc 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RequestAuthenticationSpec.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RequestAuthenticationSpec.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.istio.api.type.v1beta1.WorkloadSelector; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class RequestAuthenticationSpec implements KubernetesResource +public class RequestAuthenticationSpec implements Editable , KubernetesResource { @JsonProperty("jwtRules") @@ -111,6 +112,16 @@ public void setSelector(WorkloadSelector selector) { this.selector = selector; } + @JsonIgnore + public RequestAuthenticationSpecBuilder edit() { + return new RequestAuthenticationSpecBuilder(this); + } + + @JsonIgnore + public RequestAuthenticationSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/Rule.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/Rule.java index b705e68ea0f..90714818eee 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/Rule.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/Rule.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Rule implements KubernetesResource +public class Rule implements Editable , KubernetesResource { @JsonProperty("from") @@ -126,6 +127,16 @@ public void setWhen(List when) { this.when = when; } + @JsonIgnore + public RuleBuilder edit() { + return new RuleBuilder(this); + } + + @JsonIgnore + public RuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RuleFrom.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RuleFrom.java index 77a2a97fa66..34860fb5348 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RuleFrom.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RuleFrom.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class RuleFrom implements KubernetesResource +public class RuleFrom implements Editable , KubernetesResource { @JsonProperty("source") @@ -93,6 +94,16 @@ public void setSource(Source source) { this.source = source; } + @JsonIgnore + public RuleFromBuilder edit() { + return new RuleFromBuilder(this); + } + + @JsonIgnore + public RuleFromBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RuleTo.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RuleTo.java index ad1fefaf123..19b1c453206 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RuleTo.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RuleTo.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class RuleTo implements KubernetesResource +public class RuleTo implements Editable , KubernetesResource { @JsonProperty("operation") @@ -93,6 +94,16 @@ public void setOperation(Operation operation) { this.operation = operation; } + @JsonIgnore + public RuleToBuilder edit() { + return new RuleToBuilder(this); + } + + @JsonIgnore + public RuleToBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/Source.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/Source.java index 78b7e1d6fc4..8c449e942ef 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/Source.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/Source.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Source implements KubernetesResource +public class Source implements Editable , KubernetesResource { @JsonProperty("ipBlocks") @@ -231,6 +232,16 @@ public void setRequestPrincipals(List requestPrincipals) { this.requestPrincipals = requestPrincipals; } + @JsonIgnore + public SourceBuilder edit() { + return new SourceBuilder(this); + } + + @JsonIgnore + public SourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/type/v1beta1/WorkloadSelector.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/type/v1beta1/WorkloadSelector.java index bc7a899472a..f8809780022 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/type/v1beta1/WorkloadSelector.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/type/v1beta1/WorkloadSelector.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class WorkloadSelector implements KubernetesResource +public class WorkloadSelector implements Editable , KubernetesResource { @JsonProperty("matchLabels") @@ -94,6 +95,16 @@ public void setMatchLabels(Map matchLabels) { this.matchLabels = matchLabels; } + @JsonIgnore + public WorkloadSelectorBuilder edit() { + return new WorkloadSelectorBuilder(this); + } + + @JsonIgnore + public WorkloadSelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/awssqs/v1alpha1/AwsSqsSource.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/awssqs/v1alpha1/AwsSqsSource.java index 1c9e8b6a5d0..16cfb419664 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/awssqs/v1alpha1/AwsSqsSource.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/awssqs/v1alpha1/AwsSqsSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("sources.knative.dev") @Generated("jsonschema2pojo") -public class AwsSqsSource implements HasMetadata, Namespaced +public class AwsSqsSource implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(AwsSqsSourceStatus status) { this.status = status; } + @JsonIgnore + public AwsSqsSourceBuilder edit() { + return new AwsSqsSourceBuilder(this); + } + + @JsonIgnore + public AwsSqsSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/awssqs/v1alpha1/AwsSqsSourceList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/awssqs/v1alpha1/AwsSqsSourceList.java index 8d5885ffb77..ad9d99a9eaa 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/awssqs/v1alpha1/AwsSqsSourceList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/awssqs/v1alpha1/AwsSqsSourceList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("sources.knative.dev") @Generated("jsonschema2pojo") -public class AwsSqsSourceList implements KubernetesResource, KubernetesResourceList +public class AwsSqsSourceList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public AwsSqsSourceListBuilder edit() { + return new AwsSqsSourceListBuilder(this); + } + + @JsonIgnore + public AwsSqsSourceListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/awssqs/v1alpha1/AwsSqsSourceSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/awssqs/v1alpha1/AwsSqsSourceSpec.java index 0b7fad57858..f759b3a1446 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/awssqs/v1alpha1/AwsSqsSourceSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/awssqs/v1alpha1/AwsSqsSourceSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class AwsSqsSourceSpec implements KubernetesResource +public class AwsSqsSourceSpec implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -150,6 +151,16 @@ public void setSink(io.fabric8.kubernetes.api.model.ObjectReference sink) { this.sink = sink; } + @JsonIgnore + public AwsSqsSourceSpecBuilder edit() { + return new AwsSqsSourceSpecBuilder(this); + } + + @JsonIgnore + public AwsSqsSourceSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/awssqs/v1alpha1/AwsSqsSourceStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/awssqs/v1alpha1/AwsSqsSourceStatus.java index 5b27ea1b3ae..ecdbc65e342 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/awssqs/v1alpha1/AwsSqsSourceStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/awssqs/v1alpha1/AwsSqsSourceStatus.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; import io.fabric8.knative.internal.pkg.apis.duck.v1.CloudEventAttributes; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class AwsSqsSourceStatus implements KubernetesResource +public class AwsSqsSourceStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -170,6 +171,16 @@ public void setSinkUri(java.lang.String sinkUri) { this.sinkUri = sinkUri; } + @JsonIgnore + public AwsSqsSourceStatusBuilder edit() { + return new AwsSqsSourceStatusBuilder(this); + } + + @JsonIgnore + public AwsSqsSourceStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/couchdb/v1alpha1/CouchDbSource.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/couchdb/v1alpha1/CouchDbSource.java index 17eed54c981..944b3611704 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/couchdb/v1alpha1/CouchDbSource.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/couchdb/v1alpha1/CouchDbSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("sources.knative.dev") @Generated("jsonschema2pojo") -public class CouchDbSource implements HasMetadata, Namespaced +public class CouchDbSource implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(CouchDbSourceStatus status) { this.status = status; } + @JsonIgnore + public CouchDbSourceBuilder edit() { + return new CouchDbSourceBuilder(this); + } + + @JsonIgnore + public CouchDbSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/couchdb/v1alpha1/CouchDbSourceList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/couchdb/v1alpha1/CouchDbSourceList.java index 4ff5d6684d8..e3f4e3a70bb 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/couchdb/v1alpha1/CouchDbSourceList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/couchdb/v1alpha1/CouchDbSourceList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("sources.knative.dev") @Generated("jsonschema2pojo") -public class CouchDbSourceList implements KubernetesResource, KubernetesResourceList +public class CouchDbSourceList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public CouchDbSourceListBuilder edit() { + return new CouchDbSourceListBuilder(this); + } + + @JsonIgnore + public CouchDbSourceListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/couchdb/v1alpha1/CouchDbSourceSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/couchdb/v1alpha1/CouchDbSourceSpec.java index f31dae8eb28..2b5d93e6f2b 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/couchdb/v1alpha1/CouchDbSourceSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/couchdb/v1alpha1/CouchDbSourceSpec.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.duck.v1.Destination; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CouchDbSourceSpec implements KubernetesResource +public class CouchDbSourceSpec implements Editable , KubernetesResource { @JsonProperty("credentials") @@ -149,6 +150,16 @@ public void setSink(Destination sink) { this.sink = sink; } + @JsonIgnore + public CouchDbSourceSpecBuilder edit() { + return new CouchDbSourceSpecBuilder(this); + } + + @JsonIgnore + public CouchDbSourceSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/couchdb/v1alpha1/CouchDbSourceStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/couchdb/v1alpha1/CouchDbSourceStatus.java index 16420c513d4..7da324ddb7c 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/couchdb/v1alpha1/CouchDbSourceStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/couchdb/v1alpha1/CouchDbSourceStatus.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; import io.fabric8.knative.internal.pkg.apis.duck.v1.CloudEventAttributes; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CouchDbSourceStatus implements KubernetesResource +public class CouchDbSourceStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -170,6 +171,16 @@ public void setSinkUri(java.lang.String sinkUri) { this.sinkUri = sinkUri; } + @JsonIgnore + public CouchDbSourceStatusBuilder edit() { + return new CouchDbSourceStatusBuilder(this); + } + + @JsonIgnore + public CouchDbSourceStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubBinding.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubBinding.java index 5f7d26f0ab5..f916534515b 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubBinding.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubBinding.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("bindings.knative.dev") @Generated("jsonschema2pojo") -public class GitHubBinding implements HasMetadata, Namespaced +public class GitHubBinding implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(GitHubBindingStatus status) { this.status = status; } + @JsonIgnore + public GitHubBindingBuilder edit() { + return new GitHubBindingBuilder(this); + } + + @JsonIgnore + public GitHubBindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubBindingList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubBindingList.java index 40da1cdadf8..cf30fc00eec 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubBindingList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubBindingList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("bindings.knative.dev") @Generated("jsonschema2pojo") -public class GitHubBindingList implements KubernetesResource, KubernetesResourceList +public class GitHubBindingList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public GitHubBindingListBuilder edit() { + return new GitHubBindingListBuilder(this); + } + + @JsonIgnore + public GitHubBindingListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubBindingSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubBindingSpec.java index 12bda1244a4..617f3afce63 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubBindingSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubBindingSpec.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.tracker.Reference; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class GitHubBindingSpec implements KubernetesResource +public class GitHubBindingSpec implements Editable , KubernetesResource { @JsonProperty("accessToken") @@ -108,6 +109,16 @@ public void setSubject(Reference subject) { this.subject = subject; } + @JsonIgnore + public GitHubBindingSpecBuilder edit() { + return new GitHubBindingSpecBuilder(this); + } + + @JsonIgnore + public GitHubBindingSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubBindingStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubBindingStatus.java index 511197411df..ebe99081571 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubBindingStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubBindingStatus.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; import io.fabric8.knative.internal.pkg.apis.duck.v1.CloudEventAttributes; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class GitHubBindingStatus implements KubernetesResource +public class GitHubBindingStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -170,6 +171,16 @@ public void setSinkUri(java.lang.String sinkUri) { this.sinkUri = sinkUri; } + @JsonIgnore + public GitHubBindingStatusBuilder edit() { + return new GitHubBindingStatusBuilder(this); + } + + @JsonIgnore + public GitHubBindingStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubSource.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubSource.java index 911dc372379..274d551bbbd 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubSource.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("sources.knative.dev") @Generated("jsonschema2pojo") -public class GitHubSource implements HasMetadata, Namespaced +public class GitHubSource implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(GitHubSourceStatus status) { this.status = status; } + @JsonIgnore + public GitHubSourceBuilder edit() { + return new GitHubSourceBuilder(this); + } + + @JsonIgnore + public GitHubSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubSourceList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubSourceList.java index 5922205fef0..3c49405de84 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubSourceList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubSourceList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("sources.knative.dev") @Generated("jsonschema2pojo") -public class GitHubSourceList implements KubernetesResource, KubernetesResourceList +public class GitHubSourceList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public GitHubSourceListBuilder edit() { + return new GitHubSourceListBuilder(this); + } + + @JsonIgnore + public GitHubSourceListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubSourceSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubSourceSpec.java index 0989688e83f..38d77bdc0ce 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubSourceSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubSourceSpec.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.duck.v1.CloudEventOverrides; import io.fabric8.knative.internal.pkg.apis.duck.v1.Destination; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -75,7 +76,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class GitHubSourceSpec implements KubernetesResource +public class GitHubSourceSpec implements Editable , KubernetesResource { @JsonProperty("accessToken") @@ -210,6 +211,16 @@ public void setSink(Destination sink) { this.sink = sink; } + @JsonIgnore + public GitHubSourceSpecBuilder edit() { + return new GitHubSourceSpecBuilder(this); + } + + @JsonIgnore + public GitHubSourceSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubSourceStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubSourceStatus.java index c8c83a3a40f..0ded23dbf40 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubSourceStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubSourceStatus.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; import io.fabric8.knative.internal.pkg.apis.duck.v1.CloudEventAttributes; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class GitHubSourceStatus implements KubernetesResource +public class GitHubSourceStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -184,6 +185,16 @@ public void setWebhookIDKey(java.lang.String webhookIDKey) { this.webhookIDKey = webhookIDKey; } + @JsonIgnore + public GitHubSourceStatusBuilder edit() { + return new GitHubSourceStatusBuilder(this); + } + + @JsonIgnore + public GitHubSourceStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/SecretValueFromSource.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/SecretValueFromSource.java index ea5529316a5..a99ce32021a 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/SecretValueFromSource.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/SecretValueFromSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SecretValueFromSource implements KubernetesResource +public class SecretValueFromSource implements Editable , KubernetesResource { @JsonProperty("secretKeyRef") @@ -94,6 +95,16 @@ public void setSecretKeyRef(SecretKeySelector secretKeyRef) { this.secretKeyRef = secretKeyRef; } + @JsonIgnore + public SecretValueFromSourceBuilder edit() { + return new SecretValueFromSourceBuilder(this); + } + + @JsonIgnore + public SecretValueFromSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabBinding.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabBinding.java index e9c748d6a7f..db283464f50 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabBinding.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabBinding.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("bindings.knative.dev") @Generated("jsonschema2pojo") -public class GitLabBinding implements HasMetadata, Namespaced +public class GitLabBinding implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(GitLabBindingStatus status) { this.status = status; } + @JsonIgnore + public GitLabBindingBuilder edit() { + return new GitLabBindingBuilder(this); + } + + @JsonIgnore + public GitLabBindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabBindingList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabBindingList.java index cc4fff56153..8cab76f909f 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabBindingList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabBindingList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("bindings.knative.dev") @Generated("jsonschema2pojo") -public class GitLabBindingList implements KubernetesResource, KubernetesResourceList +public class GitLabBindingList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public GitLabBindingListBuilder edit() { + return new GitLabBindingListBuilder(this); + } + + @JsonIgnore + public GitLabBindingListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabBindingSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabBindingSpec.java index 960bb428f0f..ce108834092 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabBindingSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabBindingSpec.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.tracker.Reference; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class GitLabBindingSpec implements KubernetesResource +public class GitLabBindingSpec implements Editable , KubernetesResource { @JsonProperty("accessToken") @@ -108,6 +109,16 @@ public void setSubject(Reference subject) { this.subject = subject; } + @JsonIgnore + public GitLabBindingSpecBuilder edit() { + return new GitLabBindingSpecBuilder(this); + } + + @JsonIgnore + public GitLabBindingSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabBindingStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabBindingStatus.java index dcded2bc8a7..aa60789e7e6 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabBindingStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabBindingStatus.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; import io.fabric8.knative.internal.pkg.apis.duck.v1.CloudEventAttributes; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class GitLabBindingStatus implements KubernetesResource +public class GitLabBindingStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -170,6 +171,16 @@ public void setSinkUri(java.lang.String sinkUri) { this.sinkUri = sinkUri; } + @JsonIgnore + public GitLabBindingStatusBuilder edit() { + return new GitLabBindingStatusBuilder(this); + } + + @JsonIgnore + public GitLabBindingStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabSource.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabSource.java index 53115bcbaec..451d5dd5c54 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabSource.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("sources.knative.dev") @Generated("jsonschema2pojo") -public class GitLabSource implements HasMetadata, Namespaced +public class GitLabSource implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(GitLabSourceStatus status) { this.status = status; } + @JsonIgnore + public GitLabSourceBuilder edit() { + return new GitLabSourceBuilder(this); + } + + @JsonIgnore + public GitLabSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabSourceList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabSourceList.java index e28e14932f3..ceb2fa9758c 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabSourceList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabSourceList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("sources.knative.dev") @Generated("jsonschema2pojo") -public class GitLabSourceList implements KubernetesResource, KubernetesResourceList +public class GitLabSourceList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public GitLabSourceListBuilder edit() { + return new GitLabSourceListBuilder(this); + } + + @JsonIgnore + public GitLabSourceListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabSourceSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabSourceSpec.java index 3fa219f0dfe..8b89af1e56c 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabSourceSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabSourceSpec.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.duck.v1.CloudEventOverrides; import io.fabric8.knative.internal.pkg.apis.duck.v1.Destination; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class GitLabSourceSpec implements KubernetesResource +public class GitLabSourceSpec implements Editable , KubernetesResource { @JsonProperty("accessToken") @@ -196,6 +197,16 @@ public void setSslverify(Boolean sslverify) { this.sslverify = sslverify; } + @JsonIgnore + public GitLabSourceSpecBuilder edit() { + return new GitLabSourceSpecBuilder(this); + } + + @JsonIgnore + public GitLabSourceSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabSourceStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabSourceStatus.java index 6840a25521d..3f5a60ddda3 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabSourceStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabSourceStatus.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; import io.fabric8.knative.internal.pkg.apis.duck.v1.CloudEventAttributes; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class GitLabSourceStatus implements KubernetesResource +public class GitLabSourceStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -184,6 +185,16 @@ public void setWebhookID(Integer webhookID) { this.webhookID = webhookID; } + @JsonIgnore + public GitLabSourceStatusBuilder edit() { + return new GitLabSourceStatusBuilder(this); + } + + @JsonIgnore + public GitLabSourceStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/SecretValueFromSource.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/SecretValueFromSource.java index 2a44c7db14a..f461a5824f1 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/SecretValueFromSource.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/SecretValueFromSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SecretValueFromSource implements KubernetesResource +public class SecretValueFromSource implements Editable , KubernetesResource { @JsonProperty("secretKeyRef") @@ -94,6 +95,16 @@ public void setSecretKeyRef(SecretKeySelector secretKeyRef) { this.secretKeyRef = secretKeyRef; } + @JsonIgnore + public SecretValueFromSourceBuilder edit() { + return new SecretValueFromSourceBuilder(this); + } + + @JsonIgnore + public SecretValueFromSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaBinding.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaBinding.java index aca8de22cc8..b4626a12f8b 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaBinding.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaBinding.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1beta1") @Group("bindings.knative.dev") @Generated("jsonschema2pojo") -public class KafkaBinding implements HasMetadata, Namespaced +public class KafkaBinding implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(KafkaBindingStatus status) { this.status = status; } + @JsonIgnore + public KafkaBindingBuilder edit() { + return new KafkaBindingBuilder(this); + } + + @JsonIgnore + public KafkaBindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaBindingList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaBindingList.java index 4a2a8e87171..5b049e1d118 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaBindingList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaBindingList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("bindings.knative.dev") @Generated("jsonschema2pojo") -public class KafkaBindingList implements KubernetesResource, KubernetesResourceList +public class KafkaBindingList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public KafkaBindingListBuilder edit() { + return new KafkaBindingListBuilder(this); + } + + @JsonIgnore + public KafkaBindingListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaBindingSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaBindingSpec.java index 0854099cc78..5675fb23ce2 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaBindingSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaBindingSpec.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.tracker.Reference; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class KafkaBindingSpec implements KubernetesResource +public class KafkaBindingSpec implements Editable , KubernetesResource { @JsonProperty("bootstrapServers") @@ -125,6 +126,16 @@ public void setSubject(Reference subject) { this.subject = subject; } + @JsonIgnore + public KafkaBindingSpecBuilder edit() { + return new KafkaBindingSpecBuilder(this); + } + + @JsonIgnore + public KafkaBindingSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaBindingStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaBindingStatus.java index 2333fd3a873..648cfff4ba4 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaBindingStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaBindingStatus.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class KafkaBindingStatus implements KubernetesResource +public class KafkaBindingStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -126,6 +127,16 @@ public void setObservedGeneration(Long observedGeneration) { this.observedGeneration = observedGeneration; } + @JsonIgnore + public KafkaBindingStatusBuilder edit() { + return new KafkaBindingStatusBuilder(this); + } + + @JsonIgnore + public KafkaBindingStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaChannel.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaChannel.java index 8f8025a1a2b..071f32a278c 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaChannel.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaChannel.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1beta1") @Group("messaging.knative.dev") @Generated("jsonschema2pojo") -public class KafkaChannel implements HasMetadata, Namespaced +public class KafkaChannel implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(KafkaChannelStatus status) { this.status = status; } + @JsonIgnore + public KafkaChannelBuilder edit() { + return new KafkaChannelBuilder(this); + } + + @JsonIgnore + public KafkaChannelBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaChannelList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaChannelList.java index 6f1cc77bc57..bdf5d937059 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaChannelList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaChannelList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("messaging.knative.dev") @Generated("jsonschema2pojo") -public class KafkaChannelList implements KubernetesResource, KubernetesResourceList +public class KafkaChannelList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public KafkaChannelListBuilder edit() { + return new KafkaChannelListBuilder(this); + } + + @JsonIgnore + public KafkaChannelListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaChannelSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaChannelSpec.java index e8d5ef57557..3f241e3ef37 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaChannelSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaChannelSpec.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.eventing.pkg.apis.duck.v1.DeliverySpec; import io.fabric8.knative.internal.eventing.pkg.apis.duck.v1.SubscriberSpec; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class KafkaChannelSpec implements KubernetesResource +public class KafkaChannelSpec implements Editable , KubernetesResource { @JsonProperty("delivery") @@ -154,6 +155,16 @@ public void setSubscribers(List subscribers) { this.subscribers = subscribers; } + @JsonIgnore + public KafkaChannelSpecBuilder edit() { + return new KafkaChannelSpecBuilder(this); + } + + @JsonIgnore + public KafkaChannelSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaChannelStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaChannelStatus.java index 6ae1331edc9..61217ae082f 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaChannelStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaChannelStatus.java @@ -16,6 +16,7 @@ import io.fabric8.knative.internal.eventing.pkg.apis.duck.v1.SubscriberStatus; import io.fabric8.knative.internal.pkg.apis.Condition; import io.fabric8.knative.internal.pkg.apis.duck.v1.Addressable; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class KafkaChannelStatus implements KubernetesResource +public class KafkaChannelStatus implements Editable , KubernetesResource { @JsonProperty("address") @@ -186,6 +187,16 @@ public void setSubscribers(List subscribers) { this.subscribers = subscribers; } + @JsonIgnore + public KafkaChannelStatusBuilder edit() { + return new KafkaChannelStatusBuilder(this); + } + + @JsonIgnore + public KafkaChannelStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaNetSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaNetSpec.java index 0fa1e5ea0e1..27d7c80bbe4 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaNetSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaNetSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class KafkaNetSpec implements KubernetesResource +public class KafkaNetSpec implements Editable , KubernetesResource { @JsonProperty("sasl") @@ -107,6 +108,16 @@ public void setTls(KafkaTLSSpec tls) { this.tls = tls; } + @JsonIgnore + public KafkaNetSpecBuilder edit() { + return new KafkaNetSpecBuilder(this); + } + + @JsonIgnore + public KafkaNetSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaSASLSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaSASLSpec.java index 4742bc628d7..f64f6d6adad 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaSASLSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaSASLSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class KafkaSASLSpec implements KubernetesResource +public class KafkaSASLSpec implements Editable , KubernetesResource { @JsonProperty("enable") @@ -135,6 +136,16 @@ public void setUser(SecretValueFromSource user) { this.user = user; } + @JsonIgnore + public KafkaSASLSpecBuilder edit() { + return new KafkaSASLSpecBuilder(this); + } + + @JsonIgnore + public KafkaSASLSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaSource.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaSource.java index b2efd7bdbb8..14a0c52fc1b 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaSource.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1beta1") @Group("sources.knative.dev") @Generated("jsonschema2pojo") -public class KafkaSource implements HasMetadata, Namespaced +public class KafkaSource implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(KafkaSourceStatus status) { this.status = status; } + @JsonIgnore + public KafkaSourceBuilder edit() { + return new KafkaSourceBuilder(this); + } + + @JsonIgnore + public KafkaSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaSourceList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaSourceList.java index 82187ac11fe..a90f2d70961 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaSourceList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaSourceList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("sources.knative.dev") @Generated("jsonschema2pojo") -public class KafkaSourceList implements KubernetesResource, KubernetesResourceList +public class KafkaSourceList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public KafkaSourceListBuilder edit() { + return new KafkaSourceListBuilder(this); + } + + @JsonIgnore + public KafkaSourceListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaSourceSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaSourceSpec.java index ce4f941af14..f9d1ff98b2b 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaSourceSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaSourceSpec.java @@ -16,6 +16,7 @@ import io.fabric8.knative.internal.eventing.pkg.apis.duck.v1.DeliverySpec; import io.fabric8.knative.internal.pkg.apis.duck.v1.CloudEventOverrides; import io.fabric8.knative.internal.pkg.apis.duck.v1.Destination; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class KafkaSourceSpec implements KubernetesResource +public class KafkaSourceSpec implements Editable , KubernetesResource { @JsonProperty("bootstrapServers") @@ -212,6 +213,16 @@ public void setTopics(List topics) { this.topics = topics; } + @JsonIgnore + public KafkaSourceSpecBuilder edit() { + return new KafkaSourceSpecBuilder(this); + } + + @JsonIgnore + public KafkaSourceSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaSourceStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaSourceStatus.java index 90a4260dc92..3bef73bee26 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaSourceStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaSourceStatus.java @@ -16,6 +16,7 @@ import io.fabric8.knative.internal.eventing.pkg.apis.duck.v1alpha1.Placement; import io.fabric8.knative.internal.pkg.apis.Condition; import io.fabric8.knative.internal.pkg.apis.duck.v1.CloudEventAttributes; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -78,7 +79,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class KafkaSourceStatus implements KubernetesResource +public class KafkaSourceStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -242,6 +243,16 @@ public void setSinkUri(java.lang.String sinkUri) { this.sinkUri = sinkUri; } + @JsonIgnore + public KafkaSourceStatusBuilder edit() { + return new KafkaSourceStatusBuilder(this); + } + + @JsonIgnore + public KafkaSourceStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaTLSSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaTLSSpec.java index 45f255e909f..04b2d66d882 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaTLSSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaTLSSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class KafkaTLSSpec implements KubernetesResource +public class KafkaTLSSpec implements Editable , KubernetesResource { @JsonProperty("caCert") @@ -135,6 +136,16 @@ public void setKey(SecretValueFromSource key) { this.key = key; } + @JsonIgnore + public KafkaTLSSpecBuilder edit() { + return new KafkaTLSSpecBuilder(this); + } + + @JsonIgnore + public KafkaTLSSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/SecretValueFromSource.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/SecretValueFromSource.java index 8cee98c325f..e37721c7a5f 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/SecretValueFromSource.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/SecretValueFromSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SecretValueFromSource implements KubernetesResource +public class SecretValueFromSource implements Editable , KubernetesResource { @JsonProperty("secretKeyRef") @@ -94,6 +95,16 @@ public void setSecretKeyRef(SecretKeySelector secretKeyRef) { this.secretKeyRef = secretKeyRef; } + @JsonIgnore + public SecretValueFromSourceBuilder edit() { + return new SecretValueFromSourceBuilder(this); + } + + @JsonIgnore + public SecretValueFromSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/prometheus/v1alpha1/PrometheusSource.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/prometheus/v1alpha1/PrometheusSource.java index ce5b30cedc3..4aa18afe655 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/prometheus/v1alpha1/PrometheusSource.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/prometheus/v1alpha1/PrometheusSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("sources.knative.dev") @Generated("jsonschema2pojo") -public class PrometheusSource implements HasMetadata, Namespaced +public class PrometheusSource implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(PrometheusSourceStatus status) { this.status = status; } + @JsonIgnore + public PrometheusSourceBuilder edit() { + return new PrometheusSourceBuilder(this); + } + + @JsonIgnore + public PrometheusSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/prometheus/v1alpha1/PrometheusSourceList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/prometheus/v1alpha1/PrometheusSourceList.java index cb533fe6ba0..c8917031ae8 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/prometheus/v1alpha1/PrometheusSourceList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/prometheus/v1alpha1/PrometheusSourceList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("sources.knative.dev") @Generated("jsonschema2pojo") -public class PrometheusSourceList implements KubernetesResource, KubernetesResourceList +public class PrometheusSourceList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PrometheusSourceListBuilder edit() { + return new PrometheusSourceListBuilder(this); + } + + @JsonIgnore + public PrometheusSourceListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/prometheus/v1alpha1/PrometheusSourceSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/prometheus/v1alpha1/PrometheusSourceSpec.java index 7a59ee019ab..1833b3ebe62 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/prometheus/v1alpha1/PrometheusSourceSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/prometheus/v1alpha1/PrometheusSourceSpec.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.duck.v1.Destination; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PrometheusSourceSpec implements KubernetesResource +public class PrometheusSourceSpec implements Editable , KubernetesResource { @JsonProperty("authTokenFile") @@ -192,6 +193,16 @@ public void setStep(String step) { this.step = step; } + @JsonIgnore + public PrometheusSourceSpecBuilder edit() { + return new PrometheusSourceSpecBuilder(this); + } + + @JsonIgnore + public PrometheusSourceSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/prometheus/v1alpha1/PrometheusSourceStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/prometheus/v1alpha1/PrometheusSourceStatus.java index bedb5092618..236b81c765e 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/prometheus/v1alpha1/PrometheusSourceStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/prometheus/v1alpha1/PrometheusSourceStatus.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; import io.fabric8.knative.internal.pkg.apis.duck.v1.CloudEventAttributes; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PrometheusSourceStatus implements KubernetesResource +public class PrometheusSourceStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -170,6 +171,16 @@ public void setSinkUri(java.lang.String sinkUri) { this.sinkUri = sinkUri; } + @JsonIgnore + public PrometheusSourceStatusBuilder edit() { + return new PrometheusSourceStatusBuilder(this); + } + + @JsonIgnore + public PrometheusSourceStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/Broker.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/Broker.java index cd8a4e3cb26..8ab73a3c63e 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/Broker.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/Broker.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("eventing.knative.dev") @Generated("jsonschema2pojo") -public class Broker implements HasMetadata, Namespaced +public class Broker implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(BrokerStatus status) { this.status = status; } + @JsonIgnore + public BrokerBuilder edit() { + return new BrokerBuilder(this); + } + + @JsonIgnore + public BrokerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/BrokerList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/BrokerList.java index 7f7d5199508..0b102789824 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/BrokerList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/BrokerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("eventing.knative.dev") @Generated("jsonschema2pojo") -public class BrokerList implements KubernetesResource, KubernetesResourceList +public class BrokerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public BrokerListBuilder edit() { + return new BrokerListBuilder(this); + } + + @JsonIgnore + public BrokerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/BrokerSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/BrokerSpec.java index 7b310d2c1d2..947b6eb976d 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/BrokerSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/BrokerSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.eventing.pkg.apis.duck.v1.DeliverySpec; import io.fabric8.knative.internal.pkg.apis.duck.v1.KReference; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class BrokerSpec implements KubernetesResource +public class BrokerSpec implements Editable , KubernetesResource { @JsonProperty("config") @@ -109,6 +110,16 @@ public void setDelivery(DeliverySpec delivery) { this.delivery = delivery; } + @JsonIgnore + public BrokerSpecBuilder edit() { + return new BrokerSpecBuilder(this); + } + + @JsonIgnore + public BrokerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/BrokerStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/BrokerStatus.java index 1d1f9961725..bc808aec02d 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/BrokerStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/BrokerStatus.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; import io.fabric8.knative.internal.pkg.apis.duck.v1.Addressable; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class BrokerStatus implements KubernetesResource +public class BrokerStatus implements Editable , KubernetesResource { @JsonProperty("address") @@ -170,6 +171,16 @@ public void setObservedGeneration(Long observedGeneration) { this.observedGeneration = observedGeneration; } + @JsonIgnore + public BrokerStatusBuilder edit() { + return new BrokerStatusBuilder(this); + } + + @JsonIgnore + public BrokerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/SubscriptionsAPIFilter.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/SubscriptionsAPIFilter.java index 72570419b28..18bd56115e6 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/SubscriptionsAPIFilter.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/SubscriptionsAPIFilter.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SubscriptionsAPIFilter implements KubernetesResource +public class SubscriptionsAPIFilter implements Editable , KubernetesResource { @JsonProperty("all") @@ -184,6 +185,16 @@ public void setSuffix(Map suffix) { this.suffix = suffix; } + @JsonIgnore + public SubscriptionsAPIFilterBuilder edit() { + return new SubscriptionsAPIFilterBuilder(this); + } + + @JsonIgnore + public SubscriptionsAPIFilterBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/Trigger.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/Trigger.java index 122a01ba8e1..308f0f27c97 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/Trigger.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/Trigger.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("eventing.knative.dev") @Generated("jsonschema2pojo") -public class Trigger implements HasMetadata, Namespaced +public class Trigger implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(TriggerStatus status) { this.status = status; } + @JsonIgnore + public TriggerBuilder edit() { + return new TriggerBuilder(this); + } + + @JsonIgnore + public TriggerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/TriggerFilter.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/TriggerFilter.java index e3fa2d033ac..db61a4c271f 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/TriggerFilter.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/TriggerFilter.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TriggerFilter implements KubernetesResource +public class TriggerFilter implements Editable , KubernetesResource { @JsonProperty("attributes") @@ -94,6 +95,16 @@ public void setAttributes(Map attributes) { this.attributes = attributes; } + @JsonIgnore + public TriggerFilterBuilder edit() { + return new TriggerFilterBuilder(this); + } + + @JsonIgnore + public TriggerFilterBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/TriggerList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/TriggerList.java index 84b130a1341..61f927c9937 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/TriggerList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/TriggerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("eventing.knative.dev") @Generated("jsonschema2pojo") -public class TriggerList implements KubernetesResource, KubernetesResourceList +public class TriggerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public TriggerListBuilder edit() { + return new TriggerListBuilder(this); + } + + @JsonIgnore + public TriggerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/TriggerSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/TriggerSpec.java index 6f5514469d1..2f8e5338c26 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/TriggerSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/TriggerSpec.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.eventing.pkg.apis.duck.v1.DeliverySpec; import io.fabric8.knative.internal.pkg.apis.duck.v1.Destination; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TriggerSpec implements KubernetesResource +public class TriggerSpec implements Editable , KubernetesResource { @JsonProperty("broker") @@ -154,6 +155,16 @@ public void setSubscriber(Destination subscriber) { this.subscriber = subscriber; } + @JsonIgnore + public TriggerSpecBuilder edit() { + return new TriggerSpecBuilder(this); + } + + @JsonIgnore + public TriggerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/TriggerStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/TriggerStatus.java index 14e9d5b62e8..1110d034e48 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/TriggerStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/TriggerStatus.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TriggerStatus implements KubernetesResource +public class TriggerStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -154,6 +155,16 @@ public void setSubscriberUri(java.lang.String subscriberUri) { this.subscriberUri = subscriberUri; } + @JsonIgnore + public TriggerStatusBuilder edit() { + return new TriggerStatusBuilder(this); + } + + @JsonIgnore + public TriggerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1beta1/EventType.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1beta1/EventType.java index 87f131964ed..cd0c4a0a8ea 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1beta1/EventType.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1beta1/EventType.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1beta1") @Group("eventing.knative.dev") @Generated("jsonschema2pojo") -public class EventType implements HasMetadata, Namespaced +public class EventType implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(EventTypeStatus status) { this.status = status; } + @JsonIgnore + public EventTypeBuilder edit() { + return new EventTypeBuilder(this); + } + + @JsonIgnore + public EventTypeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1beta1/EventTypeList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1beta1/EventTypeList.java index 3f0575f85e0..70972b5b2da 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1beta1/EventTypeList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1beta1/EventTypeList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("eventing.knative.dev") @Generated("jsonschema2pojo") -public class EventTypeList implements KubernetesResource, KubernetesResourceList +public class EventTypeList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public EventTypeListBuilder edit() { + return new EventTypeListBuilder(this); + } + + @JsonIgnore + public EventTypeListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1beta1/EventTypeSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1beta1/EventTypeSpec.java index 312b451f2ef..c5d902ef6e1 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1beta1/EventTypeSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1beta1/EventTypeSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EventTypeSpec implements KubernetesResource +public class EventTypeSpec implements Editable , KubernetesResource { @JsonProperty("broker") @@ -163,6 +164,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public EventTypeSpecBuilder edit() { + return new EventTypeSpecBuilder(this); + } + + @JsonIgnore + public EventTypeSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1beta1/EventTypeStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1beta1/EventTypeStatus.java index bde241e2752..b3edbb2b8d3 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1beta1/EventTypeStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1beta1/EventTypeStatus.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EventTypeStatus implements KubernetesResource +public class EventTypeStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -126,6 +127,16 @@ public void setObservedGeneration(Long observedGeneration) { this.observedGeneration = observedGeneration; } + @JsonIgnore + public EventTypeStatusBuilder edit() { + return new EventTypeStatusBuilder(this); + } + + @JsonIgnore + public EventTypeStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/Parallel.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/Parallel.java index 0878816ba0d..ec5d317d557 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/Parallel.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/Parallel.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("flows.knative.dev") @Generated("jsonschema2pojo") -public class Parallel implements HasMetadata, Namespaced +public class Parallel implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(ParallelStatus status) { this.status = status; } + @JsonIgnore + public ParallelBuilder edit() { + return new ParallelBuilder(this); + } + + @JsonIgnore + public ParallelBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelBranch.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelBranch.java index 5eab3a25404..abb04eb0e05 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelBranch.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelBranch.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.eventing.pkg.apis.duck.v1.DeliverySpec; import io.fabric8.knative.internal.pkg.apis.duck.v1.Destination; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ParallelBranch implements KubernetesResource +public class ParallelBranch implements Editable , KubernetesResource { @JsonProperty("delivery") @@ -137,6 +138,16 @@ public void setSubscriber(Destination subscriber) { this.subscriber = subscriber; } + @JsonIgnore + public ParallelBranchBuilder edit() { + return new ParallelBranchBuilder(this); + } + + @JsonIgnore + public ParallelBranchBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelBranchStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelBranchStatus.java index f01f87ec2ed..05bf7029c1a 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelBranchStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelBranchStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ParallelBranchStatus implements KubernetesResource +public class ParallelBranchStatus implements Editable , KubernetesResource { @JsonProperty("filterChannelStatus") @@ -121,6 +122,16 @@ public void setSubscriberSubscriptionStatus(ParallelSubscriptionStatus subscribe this.subscriberSubscriptionStatus = subscriberSubscriptionStatus; } + @JsonIgnore + public ParallelBranchStatusBuilder edit() { + return new ParallelBranchStatusBuilder(this); + } + + @JsonIgnore + public ParallelBranchStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelChannelStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelChannelStatus.java index 741e648f662..0c6c4ce812e 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelChannelStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelChannelStatus.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ParallelChannelStatus implements KubernetesResource +public class ParallelChannelStatus implements Editable , KubernetesResource { @JsonProperty("channel") @@ -107,6 +108,16 @@ public void setReady(Condition ready) { this.ready = ready; } + @JsonIgnore + public ParallelChannelStatusBuilder edit() { + return new ParallelChannelStatusBuilder(this); + } + + @JsonIgnore + public ParallelChannelStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelList.java index b9797c831c0..483fe431bf2 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("flows.knative.dev") @Generated("jsonschema2pojo") -public class ParallelList implements KubernetesResource, KubernetesResourceList +public class ParallelList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ParallelListBuilder edit() { + return new ParallelListBuilder(this); + } + + @JsonIgnore + public ParallelListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelSpec.java index 3b1ebb2fc1b..8cf92547741 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelSpec.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.duck.v1.Destination; import io.fabric8.knative.messaging.v1.ChannelTemplateSpec; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ParallelSpec implements KubernetesResource +public class ParallelSpec implements Editable , KubernetesResource { @JsonProperty("branches") @@ -126,6 +127,16 @@ public void setReply(Destination reply) { this.reply = reply; } + @JsonIgnore + public ParallelSpecBuilder edit() { + return new ParallelSpecBuilder(this); + } + + @JsonIgnore + public ParallelSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelStatus.java index c4be7c76546..3711d23c812 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelStatus.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; import io.fabric8.knative.internal.pkg.apis.duck.v1.Addressable; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ParallelStatus implements KubernetesResource +public class ParallelStatus implements Editable , KubernetesResource { @JsonProperty("address") @@ -185,6 +186,16 @@ public void setObservedGeneration(Long observedGeneration) { this.observedGeneration = observedGeneration; } + @JsonIgnore + public ParallelStatusBuilder edit() { + return new ParallelStatusBuilder(this); + } + + @JsonIgnore + public ParallelStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelSubscriptionStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelSubscriptionStatus.java index a261a3f4854..2f8d7ae3a93 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelSubscriptionStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelSubscriptionStatus.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ParallelSubscriptionStatus implements KubernetesResource +public class ParallelSubscriptionStatus implements Editable , KubernetesResource { @JsonProperty("ready") @@ -107,6 +108,16 @@ public void setSubscription(io.fabric8.kubernetes.api.model.ObjectReference subs this.subscription = subscription; } + @JsonIgnore + public ParallelSubscriptionStatusBuilder edit() { + return new ParallelSubscriptionStatusBuilder(this); + } + + @JsonIgnore + public ParallelSubscriptionStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/Sequence.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/Sequence.java index 35e3f08ecdd..0d41421237f 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/Sequence.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/Sequence.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("flows.knative.dev") @Generated("jsonschema2pojo") -public class Sequence implements HasMetadata, Namespaced +public class Sequence implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(SequenceStatus status) { this.status = status; } + @JsonIgnore + public SequenceBuilder edit() { + return new SequenceBuilder(this); + } + + @JsonIgnore + public SequenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceChannelStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceChannelStatus.java index 5bcd8a3189a..5a79e63d466 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceChannelStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceChannelStatus.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SequenceChannelStatus implements KubernetesResource +public class SequenceChannelStatus implements Editable , KubernetesResource { @JsonProperty("channel") @@ -107,6 +108,16 @@ public void setReady(Condition ready) { this.ready = ready; } + @JsonIgnore + public SequenceChannelStatusBuilder edit() { + return new SequenceChannelStatusBuilder(this); + } + + @JsonIgnore + public SequenceChannelStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceList.java index de2a58596f8..9120bfe994b 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("flows.knative.dev") @Generated("jsonschema2pojo") -public class SequenceList implements KubernetesResource, KubernetesResourceList +public class SequenceList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public SequenceListBuilder edit() { + return new SequenceListBuilder(this); + } + + @JsonIgnore + public SequenceListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceSpec.java index 4283fb3261d..11793e27976 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceSpec.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.duck.v1.Destination; import io.fabric8.knative.messaging.v1.ChannelTemplateSpec; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SequenceSpec implements KubernetesResource +public class SequenceSpec implements Editable , KubernetesResource { @JsonProperty("channelTemplate") @@ -126,6 +127,16 @@ public void setSteps(List steps) { this.steps = steps; } + @JsonIgnore + public SequenceSpecBuilder edit() { + return new SequenceSpecBuilder(this); + } + + @JsonIgnore + public SequenceSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceStatus.java index 94453562a9c..14609c41032 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceStatus.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; import io.fabric8.knative.internal.pkg.apis.duck.v1.Addressable; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SequenceStatus implements KubernetesResource +public class SequenceStatus implements Editable , KubernetesResource { @JsonProperty("address") @@ -171,6 +172,16 @@ public void setSubscriptionStatuses(List subscriptio this.subscriptionStatuses = subscriptionStatuses; } + @JsonIgnore + public SequenceStatusBuilder edit() { + return new SequenceStatusBuilder(this); + } + + @JsonIgnore + public SequenceStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceStep.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceStep.java index 354b90b58f9..64aa1c59b49 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceStep.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceStep.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.eventing.pkg.apis.duck.v1.DeliverySpec; import io.fabric8.knative.internal.pkg.apis.duck.v1.KReference; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SequenceStep implements KubernetesResource +public class SequenceStep implements Editable , KubernetesResource { @JsonProperty("CACerts") @@ -137,6 +138,16 @@ public void setUri(java.lang.String uri) { this.uri = uri; } + @JsonIgnore + public SequenceStepBuilder edit() { + return new SequenceStepBuilder(this); + } + + @JsonIgnore + public SequenceStepBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceSubscriptionStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceSubscriptionStatus.java index d0bbc860f26..ebb4d3ce562 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceSubscriptionStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceSubscriptionStatus.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SequenceSubscriptionStatus implements KubernetesResource +public class SequenceSubscriptionStatus implements Editable , KubernetesResource { @JsonProperty("ready") @@ -107,6 +108,16 @@ public void setSubscription(io.fabric8.kubernetes.api.model.ObjectReference subs this.subscription = subscription; } + @JsonIgnore + public SequenceSubscriptionStatusBuilder edit() { + return new SequenceSubscriptionStatusBuilder(this); + } + + @JsonIgnore + public SequenceSubscriptionStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/Metric.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/Metric.java index 1abc5ac8eb6..a6239cd786b 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/Metric.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/Metric.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("autoscaling.internal.knative.dev") @Generated("jsonschema2pojo") -public class Metric implements HasMetadata, Namespaced +public class Metric implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(MetricStatus status) { this.status = status; } + @JsonIgnore + public MetricBuilder edit() { + return new MetricBuilder(this); + } + + @JsonIgnore + public MetricBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/MetricList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/MetricList.java index faa9c6c2778..c71e8f044cd 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/MetricList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/MetricList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("autoscaling.internal.knative.dev") @Generated("jsonschema2pojo") -public class MetricList implements KubernetesResource, KubernetesResourceList +public class MetricList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public MetricListBuilder edit() { + return new MetricListBuilder(this); + } + + @JsonIgnore + public MetricListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/MetricSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/MetricSpec.java index 521b935cae8..db6164ad0d1 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/MetricSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/MetricSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class MetricSpec implements KubernetesResource +public class MetricSpec implements Editable , KubernetesResource { @JsonProperty("panicWindow") @@ -121,6 +122,16 @@ public void setStableWindow(Long stableWindow) { this.stableWindow = stableWindow; } + @JsonIgnore + public MetricSpecBuilder edit() { + return new MetricSpecBuilder(this); + } + + @JsonIgnore + public MetricSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/MetricStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/MetricStatus.java index 6ebfa8320b6..405d5d753dd 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/MetricStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/MetricStatus.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class MetricStatus implements KubernetesResource +public class MetricStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -126,6 +127,16 @@ public void setObservedGeneration(Long observedGeneration) { this.observedGeneration = observedGeneration; } + @JsonIgnore + public MetricStatusBuilder edit() { + return new MetricStatusBuilder(this); + } + + @JsonIgnore + public MetricStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/PodAutoscaler.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/PodAutoscaler.java index dfd1fbc6034..d5d2849b964 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/PodAutoscaler.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/PodAutoscaler.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("autoscaling.internal.knative.dev") @Generated("jsonschema2pojo") -public class PodAutoscaler implements HasMetadata, Namespaced +public class PodAutoscaler implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(PodAutoscalerStatus status) { this.status = status; } + @JsonIgnore + public PodAutoscalerBuilder edit() { + return new PodAutoscalerBuilder(this); + } + + @JsonIgnore + public PodAutoscalerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/PodAutoscalerList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/PodAutoscalerList.java index 0679e6cbbc4..e256b09ffa0 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/PodAutoscalerList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/PodAutoscalerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("autoscaling.internal.knative.dev") @Generated("jsonschema2pojo") -public class PodAutoscalerList implements KubernetesResource, KubernetesResourceList +public class PodAutoscalerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PodAutoscalerListBuilder edit() { + return new PodAutoscalerListBuilder(this); + } + + @JsonIgnore + public PodAutoscalerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/PodAutoscalerSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/PodAutoscalerSpec.java index 58c2a5f061a..92a8a2840b6 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/PodAutoscalerSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/PodAutoscalerSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PodAutoscalerSpec implements KubernetesResource +public class PodAutoscalerSpec implements Editable , KubernetesResource { @JsonProperty("containerConcurrency") @@ -134,6 +135,16 @@ public void setScaleTargetRef(io.fabric8.kubernetes.api.model.ObjectReference sc this.scaleTargetRef = scaleTargetRef; } + @JsonIgnore + public PodAutoscalerSpecBuilder edit() { + return new PodAutoscalerSpecBuilder(this); + } + + @JsonIgnore + public PodAutoscalerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/PodAutoscalerStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/PodAutoscalerStatus.java index 63210a9465f..b2596132115 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/PodAutoscalerStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/autoscaling/v1alpha1/PodAutoscalerStatus.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PodAutoscalerStatus implements KubernetesResource +public class PodAutoscalerStatus implements Editable , KubernetesResource { @JsonProperty("actualScale") @@ -182,6 +183,16 @@ public void setServiceName(java.lang.String serviceName) { this.serviceName = serviceName; } + @JsonIgnore + public PodAutoscalerStatusBuilder edit() { + return new PodAutoscalerStatusBuilder(this); + } + + @JsonIgnore + public PodAutoscalerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/caching/v1alpha1/Image.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/caching/v1alpha1/Image.java index f4a34f0b3b8..abe62d73dd5 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/caching/v1alpha1/Image.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/caching/v1alpha1/Image.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("caching.internal.knative.dev") @Generated("jsonschema2pojo") -public class Image implements HasMetadata, Namespaced +public class Image implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(ImageStatus status) { this.status = status; } + @JsonIgnore + public ImageBuilder edit() { + return new ImageBuilder(this); + } + + @JsonIgnore + public ImageBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/caching/v1alpha1/ImageList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/caching/v1alpha1/ImageList.java index 047285614fa..62136f2a1c0 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/caching/v1alpha1/ImageList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/caching/v1alpha1/ImageList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("caching.internal.knative.dev") @Generated("jsonschema2pojo") -public class ImageList implements KubernetesResource, KubernetesResourceList +public class ImageList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ImageListBuilder edit() { + return new ImageListBuilder(this); + } + + @JsonIgnore + public ImageListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/caching/v1alpha1/ImageSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/caching/v1alpha1/ImageSpec.java index bb700c9d3f5..6cbd5d344a3 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/caching/v1alpha1/ImageSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/caching/v1alpha1/ImageSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ImageSpec implements KubernetesResource +public class ImageSpec implements Editable , KubernetesResource { @JsonProperty("image") @@ -123,6 +124,16 @@ public void setServiceAccountName(String serviceAccountName) { this.serviceAccountName = serviceAccountName; } + @JsonIgnore + public ImageSpecBuilder edit() { + return new ImageSpecBuilder(this); + } + + @JsonIgnore + public ImageSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/caching/v1alpha1/ImageStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/caching/v1alpha1/ImageStatus.java index 9a948c9f653..ddfc0676185 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/caching/v1alpha1/ImageStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/caching/v1alpha1/ImageStatus.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ImageStatus implements KubernetesResource +public class ImageStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -126,6 +127,16 @@ public void setObservedGeneration(Long observedGeneration) { this.observedGeneration = observedGeneration; } + @JsonIgnore + public ImageStatusBuilder edit() { + return new ImageStatusBuilder(this); + } + + @JsonIgnore + public ImageStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/eventing/pkg/apis/duck/v1/DeliverySpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/eventing/pkg/apis/duck/v1/DeliverySpec.java index 97b6a1d9724..9ea2e3cc687 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/eventing/pkg/apis/duck/v1/DeliverySpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/eventing/pkg/apis/duck/v1/DeliverySpec.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.duck.v1.Destination; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class DeliverySpec implements KubernetesResource +public class DeliverySpec implements Editable , KubernetesResource { @JsonProperty("backoffDelay") @@ -164,6 +165,16 @@ public void setTimeout(String timeout) { this.timeout = timeout; } + @JsonIgnore + public DeliverySpecBuilder edit() { + return new DeliverySpecBuilder(this); + } + + @JsonIgnore + public DeliverySpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/eventing/pkg/apis/duck/v1/SubscriberSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/eventing/pkg/apis/duck/v1/SubscriberSpec.java index 31f1df8f981..5ab54029be8 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/eventing/pkg/apis/duck/v1/SubscriberSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/eventing/pkg/apis/duck/v1/SubscriberSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SubscriberSpec implements KubernetesResource +public class SubscriberSpec implements Editable , KubernetesResource { @JsonProperty("delivery") @@ -149,6 +150,16 @@ public void setUid(String uid) { this.uid = uid; } + @JsonIgnore + public SubscriberSpecBuilder edit() { + return new SubscriberSpecBuilder(this); + } + + @JsonIgnore + public SubscriberSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/eventing/pkg/apis/duck/v1/SubscriberStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/eventing/pkg/apis/duck/v1/SubscriberStatus.java index 65f064905a9..977124dddb6 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/eventing/pkg/apis/duck/v1/SubscriberStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/eventing/pkg/apis/duck/v1/SubscriberStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SubscriberStatus implements KubernetesResource +public class SubscriberStatus implements Editable , KubernetesResource { @JsonProperty("message") @@ -135,6 +136,16 @@ public void setUid(String uid) { this.uid = uid; } + @JsonIgnore + public SubscriberStatusBuilder edit() { + return new SubscriberStatusBuilder(this); + } + + @JsonIgnore + public SubscriberStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/eventing/pkg/apis/duck/v1alpha1/Placement.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/eventing/pkg/apis/duck/v1alpha1/Placement.java index 5dff7ecc0e0..6ff2b3c44e1 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/eventing/pkg/apis/duck/v1alpha1/Placement.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/eventing/pkg/apis/duck/v1alpha1/Placement.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Placement implements KubernetesResource +public class Placement implements Editable , KubernetesResource { @JsonProperty("podName") @@ -107,6 +108,16 @@ public void setVreplicas(Integer vreplicas) { this.vreplicas = vreplicas; } + @JsonIgnore + public PlacementBuilder edit() { + return new PlacementBuilder(this); + } + + @JsonIgnore + public PlacementBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/Certificate.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/Certificate.java index 0c7b2a018d9..eb342c9ceed 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/Certificate.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/Certificate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("networking.internal.knative.dev") @Generated("jsonschema2pojo") -public class Certificate implements HasMetadata, Namespaced +public class Certificate implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(CertificateStatus status) { this.status = status; } + @JsonIgnore + public CertificateBuilder edit() { + return new CertificateBuilder(this); + } + + @JsonIgnore + public CertificateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/CertificateList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/CertificateList.java index ba8501cfeda..8b26d0b4e7b 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/CertificateList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/CertificateList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("networking.internal.knative.dev") @Generated("jsonschema2pojo") -public class CertificateList implements KubernetesResource, KubernetesResourceList +public class CertificateList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public CertificateListBuilder edit() { + return new CertificateListBuilder(this); + } + + @JsonIgnore + public CertificateListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/CertificateSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/CertificateSpec.java index ec2450affbc..dbe7aee69e5 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/CertificateSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/CertificateSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateSpec implements KubernetesResource +public class CertificateSpec implements Editable , KubernetesResource { @JsonProperty("dnsNames") @@ -124,6 +125,16 @@ public void setSecretName(String secretName) { this.secretName = secretName; } + @JsonIgnore + public CertificateSpecBuilder edit() { + return new CertificateSpecBuilder(this); + } + + @JsonIgnore + public CertificateSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/CertificateStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/CertificateStatus.java index ac7d664d55d..8cc886e53b4 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/CertificateStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/CertificateStatus.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CertificateStatus implements KubernetesResource +public class CertificateStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -155,6 +156,16 @@ public void setObservedGeneration(Long observedGeneration) { this.observedGeneration = observedGeneration; } + @JsonIgnore + public CertificateStatusBuilder edit() { + return new CertificateStatusBuilder(this); + } + + @JsonIgnore + public CertificateStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/ClusterDomainClaim.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/ClusterDomainClaim.java index ee295c21fac..efab8d0ecc2 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/ClusterDomainClaim.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/ClusterDomainClaim.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @Version("v1alpha1") @Group("networking.internal.knative.dev") @Generated("jsonschema2pojo") -public class ClusterDomainClaim implements HasMetadata +public class ClusterDomainClaim implements Editable , HasMetadata { /** @@ -170,6 +171,16 @@ public void setSpec(ClusterDomainClaimSpec spec) { this.spec = spec; } + @JsonIgnore + public ClusterDomainClaimBuilder edit() { + return new ClusterDomainClaimBuilder(this); + } + + @JsonIgnore + public ClusterDomainClaimBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/ClusterDomainClaimList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/ClusterDomainClaimList.java index 22c293b2201..bf18fec6499 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/ClusterDomainClaimList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/ClusterDomainClaimList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("networking.internal.knative.dev") @Generated("jsonschema2pojo") -public class ClusterDomainClaimList implements KubernetesResource, KubernetesResourceList +public class ClusterDomainClaimList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterDomainClaimListBuilder edit() { + return new ClusterDomainClaimListBuilder(this); + } + + @JsonIgnore + public ClusterDomainClaimListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/ClusterDomainClaimSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/ClusterDomainClaimSpec.java index 482c7d4001e..34661232127 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/ClusterDomainClaimSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/ClusterDomainClaimSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ClusterDomainClaimSpec implements KubernetesResource +public class ClusterDomainClaimSpec implements Editable , KubernetesResource { @JsonProperty("namespace") @@ -93,6 +94,16 @@ public void setNamespace(String namespace) { this.namespace = namespace; } + @JsonIgnore + public ClusterDomainClaimSpecBuilder edit() { + return new ClusterDomainClaimSpecBuilder(this); + } + + @JsonIgnore + public ClusterDomainClaimSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/HTTP01Challenge.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/HTTP01Challenge.java index 74b17c4de17..681c09c7296 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/HTTP01Challenge.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/HTTP01Challenge.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTP01Challenge implements KubernetesResource +public class HTTP01Challenge implements Editable , KubernetesResource { @JsonProperty("serviceName") @@ -134,6 +135,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public HTTP01ChallengeBuilder edit() { + return new HTTP01ChallengeBuilder(this); + } + + @JsonIgnore + public HTTP01ChallengeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/HTTPIngressPath.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/HTTPIngressPath.java index 81d824a5cee..21465a17684 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/HTTPIngressPath.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/HTTPIngressPath.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPIngressPath implements KubernetesResource +public class HTTPIngressPath implements Editable , KubernetesResource { @JsonProperty("appendHeaders") @@ -154,6 +155,16 @@ public void setSplits(List splits) { this.splits = splits; } + @JsonIgnore + public HTTPIngressPathBuilder edit() { + return new HTTPIngressPathBuilder(this); + } + + @JsonIgnore + public HTTPIngressPathBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/HTTPIngressRuleValue.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/HTTPIngressRuleValue.java index 3b01ed4bef0..8b327bdbdbf 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/HTTPIngressRuleValue.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/HTTPIngressRuleValue.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPIngressRuleValue implements KubernetesResource +public class HTTPIngressRuleValue implements Editable , KubernetesResource { @JsonProperty("paths") @@ -96,6 +97,16 @@ public void setPaths(List paths) { this.paths = paths; } + @JsonIgnore + public HTTPIngressRuleValueBuilder edit() { + return new HTTPIngressRuleValueBuilder(this); + } + + @JsonIgnore + public HTTPIngressRuleValueBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/HeaderMatch.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/HeaderMatch.java index f414869ad9a..9e21c75e951 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/HeaderMatch.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/HeaderMatch.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HeaderMatch implements KubernetesResource +public class HeaderMatch implements Editable , KubernetesResource { @JsonProperty("exact") @@ -93,6 +94,16 @@ public void setExact(String exact) { this.exact = exact; } + @JsonIgnore + public HeaderMatchBuilder edit() { + return new HeaderMatchBuilder(this); + } + + @JsonIgnore + public HeaderMatchBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/Ingress.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/Ingress.java index d791a0e3726..a5117a685ef 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/Ingress.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/Ingress.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("networking.internal.knative.dev") @Generated("jsonschema2pojo") -public class Ingress implements HasMetadata, Namespaced +public class Ingress implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(IngressStatus status) { this.status = status; } + @JsonIgnore + public IngressBuilder edit() { + return new IngressBuilder(this); + } + + @JsonIgnore + public IngressBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/IngressBackendSplit.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/IngressBackendSplit.java index 44b647d49d6..f205b8ee4b8 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/IngressBackendSplit.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/IngressBackendSplit.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IngressBackendSplit implements KubernetesResource +public class IngressBackendSplit implements Editable , KubernetesResource { @JsonProperty("appendHeaders") @@ -149,6 +150,16 @@ public void setServicePort(io.fabric8.kubernetes.api.model.IntOrString servicePo this.servicePort = servicePort; } + @JsonIgnore + public IngressBackendSplitBuilder edit() { + return new IngressBackendSplitBuilder(this); + } + + @JsonIgnore + public IngressBackendSplitBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/IngressList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/IngressList.java index d74e190be06..4059575c77b 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/IngressList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/IngressList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("networking.internal.knative.dev") @Generated("jsonschema2pojo") -public class IngressList implements KubernetesResource, KubernetesResourceList +public class IngressList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public IngressListBuilder edit() { + return new IngressListBuilder(this); + } + + @JsonIgnore + public IngressListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/IngressRule.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/IngressRule.java index 736490204da..695ec704df0 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/IngressRule.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/IngressRule.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IngressRule implements KubernetesResource +public class IngressRule implements Editable , KubernetesResource { @JsonProperty("hosts") @@ -124,6 +125,16 @@ public void setVisibility(String visibility) { this.visibility = visibility; } + @JsonIgnore + public IngressRuleBuilder edit() { + return new IngressRuleBuilder(this); + } + + @JsonIgnore + public IngressRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/IngressSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/IngressSpec.java index 1f96b9a560c..81987218bb5 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/IngressSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/IngressSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IngressSpec implements KubernetesResource +public class IngressSpec implements Editable , KubernetesResource { @JsonProperty("httpOption") @@ -125,6 +126,16 @@ public void setTls(List tls) { this.tls = tls; } + @JsonIgnore + public IngressSpecBuilder edit() { + return new IngressSpecBuilder(this); + } + + @JsonIgnore + public IngressSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/IngressStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/IngressStatus.java index df29d72980b..52496af6805 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/IngressStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/IngressStatus.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IngressStatus implements KubernetesResource +public class IngressStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -154,6 +155,16 @@ public void setPublicLoadBalancer(LoadBalancerStatus publicLoadBalancer) { this.publicLoadBalancer = publicLoadBalancer; } + @JsonIgnore + public IngressStatusBuilder edit() { + return new IngressStatusBuilder(this); + } + + @JsonIgnore + public IngressStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/IngressTLS.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/IngressTLS.java index 52353148c19..3fc5a1d070b 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/IngressTLS.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/IngressTLS.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IngressTLS implements KubernetesResource +public class IngressTLS implements Editable , KubernetesResource { @JsonProperty("hosts") @@ -124,6 +125,16 @@ public void setSecretNamespace(String secretNamespace) { this.secretNamespace = secretNamespace; } + @JsonIgnore + public IngressTLSBuilder edit() { + return new IngressTLSBuilder(this); + } + + @JsonIgnore + public IngressTLSBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/LoadBalancerIngressStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/LoadBalancerIngressStatus.java index 71412cfe273..18cbdf25ae7 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/LoadBalancerIngressStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/LoadBalancerIngressStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LoadBalancerIngressStatus implements KubernetesResource +public class LoadBalancerIngressStatus implements Editable , KubernetesResource { @JsonProperty("domain") @@ -135,6 +136,16 @@ public void setMeshOnly(Boolean meshOnly) { this.meshOnly = meshOnly; } + @JsonIgnore + public LoadBalancerIngressStatusBuilder edit() { + return new LoadBalancerIngressStatusBuilder(this); + } + + @JsonIgnore + public LoadBalancerIngressStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/LoadBalancerStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/LoadBalancerStatus.java index e056cc50844..e55d755f65e 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/LoadBalancerStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/LoadBalancerStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LoadBalancerStatus implements KubernetesResource +public class LoadBalancerStatus implements Editable , KubernetesResource { @JsonProperty("ingress") @@ -96,6 +97,16 @@ public void setIngress(List ingress) { this.ingress = ingress; } + @JsonIgnore + public LoadBalancerStatusBuilder edit() { + return new LoadBalancerStatusBuilder(this); + } + + @JsonIgnore + public LoadBalancerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/ServerlessService.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/ServerlessService.java index bda182ece13..b71c668b14b 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/ServerlessService.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/ServerlessService.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("networking.internal.knative.dev") @Generated("jsonschema2pojo") -public class ServerlessService implements HasMetadata, Namespaced +public class ServerlessService implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(ServerlessServiceStatus status) { this.status = status; } + @JsonIgnore + public ServerlessServiceBuilder edit() { + return new ServerlessServiceBuilder(this); + } + + @JsonIgnore + public ServerlessServiceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/ServerlessServiceList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/ServerlessServiceList.java index c42c3d401d1..2e441c83a49 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/ServerlessServiceList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/ServerlessServiceList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("networking.internal.knative.dev") @Generated("jsonschema2pojo") -public class ServerlessServiceList implements KubernetesResource, KubernetesResourceList +public class ServerlessServiceList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ServerlessServiceListBuilder edit() { + return new ServerlessServiceListBuilder(this); + } + + @JsonIgnore + public ServerlessServiceListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/ServerlessServiceSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/ServerlessServiceSpec.java index 4e4c5941586..f68f5d12d84 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/ServerlessServiceSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/ServerlessServiceSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ServerlessServiceSpec implements KubernetesResource +public class ServerlessServiceSpec implements Editable , KubernetesResource { @JsonProperty("mode") @@ -134,6 +135,16 @@ public void setProtocolType(String protocolType) { this.protocolType = protocolType; } + @JsonIgnore + public ServerlessServiceSpecBuilder edit() { + return new ServerlessServiceSpecBuilder(this); + } + + @JsonIgnore + public ServerlessServiceSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/ServerlessServiceStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/ServerlessServiceStatus.java index eb1ff01f5ef..97c7e630c55 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/ServerlessServiceStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/networking/v1alpha1/ServerlessServiceStatus.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ServerlessServiceStatus implements KubernetesResource +public class ServerlessServiceStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -154,6 +155,16 @@ public void setServiceName(java.lang.String serviceName) { this.serviceName = serviceName; } + @JsonIgnore + public ServerlessServiceStatusBuilder edit() { + return new ServerlessServiceStatusBuilder(this); + } + + @JsonIgnore + public ServerlessServiceStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/Condition.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/Condition.java index ee94d178111..aa2aefcd9a4 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/Condition.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/Condition.java @@ -12,6 +12,7 @@ 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.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Condition implements KubernetesResource +public class Condition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -242,6 +243,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public ConditionBuilder edit() { + return new ConditionBuilder(this); + } + + @JsonIgnore + public ConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/AddressStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/AddressStatus.java index 9cffe71b800..42bf283f40e 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/AddressStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/AddressStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class AddressStatus implements KubernetesResource +public class AddressStatus implements Editable , KubernetesResource { @JsonProperty("address") @@ -110,6 +111,16 @@ public void setAddresses(List addresses) { this.addresses = addresses; } + @JsonIgnore + public AddressStatusBuilder edit() { + return new AddressStatusBuilder(this); + } + + @JsonIgnore + public AddressStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/Addressable.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/Addressable.java index ec0eb676658..0d0468b19fc 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/Addressable.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/Addressable.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Addressable implements KubernetesResource +public class Addressable implements Editable , KubernetesResource { @JsonProperty("CACerts") @@ -121,6 +122,16 @@ public void setUrl(java.lang.String url) { this.url = url; } + @JsonIgnore + public AddressableBuilder edit() { + return new AddressableBuilder(this); + } + + @JsonIgnore + public AddressableBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/AddressableType.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/AddressableType.java index d7b7c89b695..9c05bfd2a49 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/AddressableType.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/AddressableType.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @Version("v1") @Group("duck.knative.dev") @Generated("jsonschema2pojo") -public class AddressableType implements HasMetadata +public class AddressableType implements Editable , HasMetadata { /** @@ -170,6 +171,16 @@ public void setStatus(AddressStatus status) { this.status = status; } + @JsonIgnore + public AddressableTypeBuilder edit() { + return new AddressableTypeBuilder(this); + } + + @JsonIgnore + public AddressableTypeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/AddressableTypeList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/AddressableTypeList.java index 7761a3b492d..0e7efe3dd07 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/AddressableTypeList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/AddressableTypeList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("duck.knative.dev") @Generated("jsonschema2pojo") -public class AddressableTypeList implements KubernetesResource, KubernetesResourceList +public class AddressableTypeList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public AddressableTypeListBuilder edit() { + return new AddressableTypeListBuilder(this); + } + + @JsonIgnore + public AddressableTypeListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/Binding.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/Binding.java index 0942e62ac7c..c928be0ad0f 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/Binding.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/Binding.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @Version("v1") @Group("duck.knative.dev") @Generated("jsonschema2pojo") -public class Binding implements HasMetadata +public class Binding implements Editable , HasMetadata { /** @@ -170,6 +171,16 @@ public void setSpec(BindingSpec spec) { this.spec = spec; } + @JsonIgnore + public BindingBuilder edit() { + return new BindingBuilder(this); + } + + @JsonIgnore + public BindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/BindingList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/BindingList.java index c95d02a0535..7fba733f2fa 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/BindingList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/BindingList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("duck.knative.dev") @Generated("jsonschema2pojo") -public class BindingList implements KubernetesResource, KubernetesResourceList +public class BindingList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public BindingListBuilder edit() { + return new BindingListBuilder(this); + } + + @JsonIgnore + public BindingListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/BindingSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/BindingSpec.java index e82c917d4cd..6854c5f49f8 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/BindingSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/BindingSpec.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.tracker.Reference; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class BindingSpec implements KubernetesResource +public class BindingSpec implements Editable , KubernetesResource { @JsonProperty("subject") @@ -94,6 +95,16 @@ public void setSubject(Reference subject) { this.subject = subject; } + @JsonIgnore + public BindingSpecBuilder edit() { + return new BindingSpecBuilder(this); + } + + @JsonIgnore + public BindingSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/CloudEventAttributes.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/CloudEventAttributes.java index bec74cbf1fc..f7dc5a0e527 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/CloudEventAttributes.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/CloudEventAttributes.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CloudEventAttributes implements KubernetesResource +public class CloudEventAttributes implements Editable , KubernetesResource { @JsonProperty("source") @@ -107,6 +108,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public CloudEventAttributesBuilder edit() { + return new CloudEventAttributesBuilder(this); + } + + @JsonIgnore + public CloudEventAttributesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/CloudEventOverrides.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/CloudEventOverrides.java index c5248b40088..0519d719d3a 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/CloudEventOverrides.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/CloudEventOverrides.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CloudEventOverrides implements KubernetesResource +public class CloudEventOverrides implements Editable , KubernetesResource { @JsonProperty("extensions") @@ -94,6 +95,16 @@ public void setExtensions(Map extensions) { this.extensions = extensions; } + @JsonIgnore + public CloudEventOverridesBuilder edit() { + return new CloudEventOverridesBuilder(this); + } + + @JsonIgnore + public CloudEventOverridesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/CronJob.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/CronJob.java index 5ebedb0eaae..d19c0d225c5 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/CronJob.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/CronJob.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @Version("v1") @Group("duck.knative.dev") @Generated("jsonschema2pojo") -public class CronJob implements HasMetadata +public class CronJob implements Editable , HasMetadata { /** @@ -171,6 +172,16 @@ public void setSpec(CronJobSpec spec) { this.spec = spec; } + @JsonIgnore + public CronJobBuilder edit() { + return new CronJobBuilder(this); + } + + @JsonIgnore + public CronJobBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/CronJobList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/CronJobList.java index 389a214ae2b..c9f4a311fa0 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/CronJobList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/CronJobList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("duck.knative.dev") @Generated("jsonschema2pojo") -public class CronJobList implements KubernetesResource, KubernetesResourceList +public class CronJobList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public CronJobListBuilder edit() { + return new CronJobListBuilder(this); + } + + @JsonIgnore + public CronJobListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/Destination.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/Destination.java index eb8b6cae902..c2d2b236b11 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/Destination.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/Destination.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Destination implements KubernetesResource +public class Destination implements Editable , KubernetesResource { @JsonProperty("CACerts") @@ -121,6 +122,16 @@ public void setUri(java.lang.String uri) { this.uri = uri; } + @JsonIgnore + public DestinationBuilder edit() { + return new DestinationBuilder(this); + } + + @JsonIgnore + public DestinationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/KReference.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/KReference.java index 75df467a675..9261d548076 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/KReference.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/KReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class KReference implements KubernetesResource +public class KReference implements Editable , KubernetesResource { @JsonProperty("address") @@ -161,6 +162,16 @@ public void setNamespace(java.lang.String namespace) { this.namespace = namespace; } + @JsonIgnore + public KReferenceBuilder edit() { + return new KReferenceBuilder(this); + } + + @JsonIgnore + public KReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/KResource.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/KResource.java index a64bf8793f9..3882169306e 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/KResource.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/KResource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @Version("v1") @Group("duck.knative.dev") @Generated("jsonschema2pojo") -public class KResource implements HasMetadata +public class KResource implements Editable , HasMetadata { /** @@ -170,6 +171,16 @@ public void setStatus(Status status) { this.status = status; } + @JsonIgnore + public KResourceBuilder edit() { + return new KResourceBuilder(this); + } + + @JsonIgnore + public KResourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/KResourceList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/KResourceList.java index 0641712e5d7..04f5021662c 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/KResourceList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/KResourceList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("duck.knative.dev") @Generated("jsonschema2pojo") -public class KResourceList implements KubernetesResource, KubernetesResourceList +public class KResourceList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public KResourceListBuilder edit() { + return new KResourceListBuilder(this); + } + + @JsonIgnore + public KResourceListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/PodList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/PodList.java index e51f20e0445..e6b632169dc 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/PodList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/PodList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Generated("jsonschema2pojo") -public class PodList implements KubernetesResource, KubernetesResourceList +public class PodList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -172,6 +173,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PodListBuilder edit() { + return new PodListBuilder(this); + } + + @JsonIgnore + public PodListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/PodSpecable.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/PodSpecable.java index 21bff232ad8..f2e5d6194ef 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/PodSpecable.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/PodSpecable.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PodSpecable implements KubernetesResource +public class PodSpecable implements Editable , KubernetesResource { @JsonProperty("metadata") @@ -106,6 +107,16 @@ public void setSpec(PodSpec spec) { this.spec = spec; } + @JsonIgnore + public PodSpecableBuilder edit() { + return new PodSpecableBuilder(this); + } + + @JsonIgnore + public PodSpecableBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/Source.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/Source.java index 462dc97ab02..3644d5fa6da 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/Source.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/Source.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @Version("v1") @Group("duck.knative.dev") @Generated("jsonschema2pojo") -public class Source implements HasMetadata +public class Source implements Editable , HasMetadata { /** @@ -184,6 +185,16 @@ public void setStatus(SourceStatus status) { this.status = status; } + @JsonIgnore + public SourceBuilder edit() { + return new SourceBuilder(this); + } + + @JsonIgnore + public SourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/SourceList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/SourceList.java index d45d6b4e8f2..9299cd80149 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/SourceList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/SourceList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("duck.knative.dev") @Generated("jsonschema2pojo") -public class SourceList implements KubernetesResource, KubernetesResourceList +public class SourceList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public SourceListBuilder edit() { + return new SourceListBuilder(this); + } + + @JsonIgnore + public SourceListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/SourceSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/SourceSpec.java index e8dfea784d6..d56a8f2b36b 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/SourceSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/SourceSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SourceSpec implements KubernetesResource +public class SourceSpec implements Editable , KubernetesResource { @JsonProperty("ceOverrides") @@ -107,6 +108,16 @@ public void setSink(Destination sink) { this.sink = sink; } + @JsonIgnore + public SourceSpecBuilder edit() { + return new SourceSpecBuilder(this); + } + + @JsonIgnore + public SourceSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/SourceStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/SourceStatus.java index 2efef97f3d2..6e0dd558aaf 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/SourceStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/SourceStatus.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SourceStatus implements KubernetesResource +public class SourceStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -169,6 +170,16 @@ public void setSinkUri(java.lang.String sinkUri) { this.sinkUri = sinkUri; } + @JsonIgnore + public SourceStatusBuilder edit() { + return new SourceStatusBuilder(this); + } + + @JsonIgnore + public SourceStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/Status.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/Status.java index 2b45393558a..71c8b95872e 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/Status.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/Status.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Status implements KubernetesResource +public class Status implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -126,6 +127,16 @@ public void setObservedGeneration(Long observedGeneration) { this.observedGeneration = observedGeneration; } + @JsonIgnore + public StatusBuilder edit() { + return new StatusBuilder(this); + } + + @JsonIgnore + public StatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/WithPod.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/WithPod.java index 2c5b3636cab..d874e38a5b6 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/WithPod.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/WithPod.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @Version("v1") @Group("duck.knative.dev") @Generated("jsonschema2pojo") -public class WithPod implements HasMetadata +public class WithPod implements Editable , HasMetadata { /** @@ -170,6 +171,16 @@ public void setSpec(WithPodSpec spec) { this.spec = spec; } + @JsonIgnore + public WithPodBuilder edit() { + return new WithPodBuilder(this); + } + + @JsonIgnore + public WithPodBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/WithPodList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/WithPodList.java index 77406234d31..f7de58ecbf4 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/WithPodList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/WithPodList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("duck.knative.dev") @Generated("jsonschema2pojo") -public class WithPodList implements KubernetesResource, KubernetesResourceList +public class WithPodList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public WithPodListBuilder edit() { + return new WithPodListBuilder(this); + } + + @JsonIgnore + public WithPodListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/WithPodSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/WithPodSpec.java index 75bb29e3796..2d0c5cf36d3 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/WithPodSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1/WithPodSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class WithPodSpec implements KubernetesResource +public class WithPodSpec implements Editable , KubernetesResource { @JsonProperty("template") @@ -93,6 +94,16 @@ public void setTemplate(PodSpecable template) { this.template = template; } + @JsonIgnore + public WithPodSpecBuilder edit() { + return new WithPodSpecBuilder(this); + } + + @JsonIgnore + public WithPodSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/AddressStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/AddressStatus.java index 49b6fcf2b7b..7ea2c08f1d5 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/AddressStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/AddressStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class AddressStatus implements KubernetesResource +public class AddressStatus implements Editable , KubernetesResource { @JsonProperty("address") @@ -110,6 +111,16 @@ public void setAddresses(List addresses) { this.addresses = addresses; } + @JsonIgnore + public AddressStatusBuilder edit() { + return new AddressStatusBuilder(this); + } + + @JsonIgnore + public AddressStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/Addressable.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/Addressable.java index e7f7ba31b82..45b1e9562a8 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/Addressable.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/Addressable.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Addressable implements KubernetesResource +public class Addressable implements Editable , KubernetesResource { @JsonProperty("CACerts") @@ -135,6 +136,16 @@ public void setUrl(java.lang.String url) { this.url = url; } + @JsonIgnore + public AddressableBuilder edit() { + return new AddressableBuilder(this); + } + + @JsonIgnore + public AddressableBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/AddressableType.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/AddressableType.java index 707a9823c8d..56d488a04d4 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/AddressableType.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/AddressableType.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @Version("v1alpha1") @Group("duck.knative.dev") @Generated("jsonschema2pojo") -public class AddressableType implements HasMetadata +public class AddressableType implements Editable , HasMetadata { /** @@ -170,6 +171,16 @@ public void setStatus(AddressStatus status) { this.status = status; } + @JsonIgnore + public AddressableTypeBuilder edit() { + return new AddressableTypeBuilder(this); + } + + @JsonIgnore + public AddressableTypeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/AddressableTypeList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/AddressableTypeList.java index f6caff9ce94..929ed24a1ac 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/AddressableTypeList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/AddressableTypeList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("duck.knative.dev") @Generated("jsonschema2pojo") -public class AddressableTypeList implements KubernetesResource, KubernetesResourceList +public class AddressableTypeList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public AddressableTypeListBuilder edit() { + return new AddressableTypeListBuilder(this); + } + + @JsonIgnore + public AddressableTypeListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/Binding.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/Binding.java index 1066272573f..0196335658a 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/Binding.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/Binding.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @Version("v1alpha1") @Group("duck.knative.dev") @Generated("jsonschema2pojo") -public class Binding implements HasMetadata +public class Binding implements Editable , HasMetadata { /** @@ -170,6 +171,16 @@ public void setSpec(BindingSpec spec) { this.spec = spec; } + @JsonIgnore + public BindingBuilder edit() { + return new BindingBuilder(this); + } + + @JsonIgnore + public BindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/BindingList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/BindingList.java index 7e72f8abe19..84505e4e165 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/BindingList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/BindingList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("duck.knative.dev") @Generated("jsonschema2pojo") -public class BindingList implements KubernetesResource, KubernetesResourceList +public class BindingList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public BindingListBuilder edit() { + return new BindingListBuilder(this); + } + + @JsonIgnore + public BindingListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/BindingSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/BindingSpec.java index 11c7205fe42..d785b6b5aff 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/BindingSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/BindingSpec.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.tracker.Reference; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class BindingSpec implements KubernetesResource +public class BindingSpec implements Editable , KubernetesResource { @JsonProperty("subject") @@ -94,6 +95,16 @@ public void setSubject(Reference subject) { this.subject = subject; } + @JsonIgnore + public BindingSpecBuilder edit() { + return new BindingSpecBuilder(this); + } + + @JsonIgnore + public BindingSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/LegacyTarget.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/LegacyTarget.java index fbee5319960..739fd42975d 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/LegacyTarget.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/LegacyTarget.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @Version("v1alpha1") @Group("duck.knative.dev") @Generated("jsonschema2pojo") -public class LegacyTarget implements HasMetadata +public class LegacyTarget implements Editable , HasMetadata { /** @@ -170,6 +171,16 @@ public void setStatus(LegacyTargetable status) { this.status = status; } + @JsonIgnore + public LegacyTargetBuilder edit() { + return new LegacyTargetBuilder(this); + } + + @JsonIgnore + public LegacyTargetBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/LegacyTargetList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/LegacyTargetList.java index a9dc97ff6e3..c22e83d788b 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/LegacyTargetList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/LegacyTargetList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("duck.knative.dev") @Generated("jsonschema2pojo") -public class LegacyTargetList implements KubernetesResource, KubernetesResourceList +public class LegacyTargetList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public LegacyTargetListBuilder edit() { + return new LegacyTargetListBuilder(this); + } + + @JsonIgnore + public LegacyTargetListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/LegacyTargetable.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/LegacyTargetable.java index 2b87a62f17c..771f053d784 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/LegacyTargetable.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/LegacyTargetable.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LegacyTargetable implements KubernetesResource +public class LegacyTargetable implements Editable , KubernetesResource { @JsonProperty("domainInternal") @@ -93,6 +94,16 @@ public void setDomainInternal(String domainInternal) { this.domainInternal = domainInternal; } + @JsonIgnore + public LegacyTargetableBuilder edit() { + return new LegacyTargetableBuilder(this); + } + + @JsonIgnore + public LegacyTargetableBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/Target.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/Target.java index b192b736bf3..2d68c678a86 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/Target.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/Target.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @Version("v1alpha1") @Group("duck.knative.dev") @Generated("jsonschema2pojo") -public class Target implements HasMetadata +public class Target implements Editable , HasMetadata { /** @@ -170,6 +171,16 @@ public void setStatus(TargetStatus status) { this.status = status; } + @JsonIgnore + public TargetBuilder edit() { + return new TargetBuilder(this); + } + + @JsonIgnore + public TargetBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/TargetList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/TargetList.java index 84bb39dd759..a7d26647990 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/TargetList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/TargetList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("duck.knative.dev") @Generated("jsonschema2pojo") -public class TargetList implements KubernetesResource, KubernetesResourceList +public class TargetList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public TargetListBuilder edit() { + return new TargetListBuilder(this); + } + + @JsonIgnore + public TargetListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/TargetStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/TargetStatus.java index 1c7bd5a6a44..c9758527cd3 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/TargetStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/TargetStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TargetStatus implements KubernetesResource +public class TargetStatus implements Editable , KubernetesResource { @JsonProperty("targetable") @@ -93,6 +94,16 @@ public void setTargetable(Targetable targetable) { this.targetable = targetable; } + @JsonIgnore + public TargetStatusBuilder edit() { + return new TargetStatusBuilder(this); + } + + @JsonIgnore + public TargetStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/Targetable.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/Targetable.java index 04066fe511b..bfae6ae6d09 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/Targetable.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1alpha1/Targetable.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Targetable implements KubernetesResource +public class Targetable implements Editable , KubernetesResource { @JsonProperty("domainInternal") @@ -93,6 +94,16 @@ public void setDomainInternal(String domainInternal) { this.domainInternal = domainInternal; } + @JsonIgnore + public TargetableBuilder edit() { + return new TargetableBuilder(this); + } + + @JsonIgnore + public TargetableBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/AddressStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/AddressStatus.java index 8453328c1dc..fdcacf1e725 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/AddressStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/AddressStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class AddressStatus implements KubernetesResource +public class AddressStatus implements Editable , KubernetesResource { @JsonProperty("address") @@ -110,6 +111,16 @@ public void setAddresses(List addresses) { this.addresses = addresses; } + @JsonIgnore + public AddressStatusBuilder edit() { + return new AddressStatusBuilder(this); + } + + @JsonIgnore + public AddressStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/Addressable.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/Addressable.java index 26b50c8f44f..bacea763987 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/Addressable.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/Addressable.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Addressable implements KubernetesResource +public class Addressable implements Editable , KubernetesResource { @JsonProperty("CACerts") @@ -121,6 +122,16 @@ public void setUrl(java.lang.String url) { this.url = url; } + @JsonIgnore + public AddressableBuilder edit() { + return new AddressableBuilder(this); + } + + @JsonIgnore + public AddressableBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/AddressableType.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/AddressableType.java index dc67e59542f..b08045d20e6 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/AddressableType.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/AddressableType.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @Version("v1beta1") @Group("duck.knative.dev") @Generated("jsonschema2pojo") -public class AddressableType implements HasMetadata +public class AddressableType implements Editable , HasMetadata { /** @@ -170,6 +171,16 @@ public void setStatus(AddressStatus status) { this.status = status; } + @JsonIgnore + public AddressableTypeBuilder edit() { + return new AddressableTypeBuilder(this); + } + + @JsonIgnore + public AddressableTypeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/AddressableTypeList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/AddressableTypeList.java index e5970449dd6..cd119ccc2c5 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/AddressableTypeList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/AddressableTypeList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("duck.knative.dev") @Generated("jsonschema2pojo") -public class AddressableTypeList implements KubernetesResource, KubernetesResourceList +public class AddressableTypeList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public AddressableTypeListBuilder edit() { + return new AddressableTypeListBuilder(this); + } + + @JsonIgnore + public AddressableTypeListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/Binding.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/Binding.java index e53c7e97fe3..062bc2e82bc 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/Binding.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/Binding.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @Version("v1beta1") @Group("duck.knative.dev") @Generated("jsonschema2pojo") -public class Binding implements HasMetadata +public class Binding implements Editable , HasMetadata { /** @@ -170,6 +171,16 @@ public void setSpec(BindingSpec spec) { this.spec = spec; } + @JsonIgnore + public BindingBuilder edit() { + return new BindingBuilder(this); + } + + @JsonIgnore + public BindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/BindingList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/BindingList.java index ab1dfffe076..fdddbb3bdbb 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/BindingList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/BindingList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("duck.knative.dev") @Generated("jsonschema2pojo") -public class BindingList implements KubernetesResource, KubernetesResourceList +public class BindingList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public BindingListBuilder edit() { + return new BindingListBuilder(this); + } + + @JsonIgnore + public BindingListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/BindingSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/BindingSpec.java index 6942f261d0c..eff35e4b8e2 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/BindingSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/BindingSpec.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.tracker.Reference; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class BindingSpec implements KubernetesResource +public class BindingSpec implements Editable , KubernetesResource { @JsonProperty("subject") @@ -94,6 +95,16 @@ public void setSubject(Reference subject) { this.subject = subject; } + @JsonIgnore + public BindingSpecBuilder edit() { + return new BindingSpecBuilder(this); + } + + @JsonIgnore + public BindingSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/CloudEventOverrides.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/CloudEventOverrides.java index daa84fb681a..54ca1b17504 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/CloudEventOverrides.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/CloudEventOverrides.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CloudEventOverrides implements KubernetesResource +public class CloudEventOverrides implements Editable , KubernetesResource { @JsonProperty("extensions") @@ -94,6 +95,16 @@ public void setExtensions(Map extensions) { this.extensions = extensions; } + @JsonIgnore + public CloudEventOverridesBuilder edit() { + return new CloudEventOverridesBuilder(this); + } + + @JsonIgnore + public CloudEventOverridesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/Destination.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/Destination.java index 8e414491b53..44ff4bd8970 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/Destination.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/Destination.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Destination implements KubernetesResource +public class Destination implements Editable , KubernetesResource { @JsonProperty("CACerts") @@ -174,6 +175,16 @@ public void setUri(java.lang.String uri) { this.uri = uri; } + @JsonIgnore + public DestinationBuilder edit() { + return new DestinationBuilder(this); + } + + @JsonIgnore + public DestinationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/KResource.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/KResource.java index f52da8b1281..a8178b7b590 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/KResource.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/KResource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @Version("v1beta1") @Group("duck.knative.dev") @Generated("jsonschema2pojo") -public class KResource implements HasMetadata +public class KResource implements Editable , HasMetadata { /** @@ -170,6 +171,16 @@ public void setStatus(Status status) { this.status = status; } + @JsonIgnore + public KResourceBuilder edit() { + return new KResourceBuilder(this); + } + + @JsonIgnore + public KResourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/KResourceList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/KResourceList.java index 158276ba96a..8a44372730d 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/KResourceList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/KResourceList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("duck.knative.dev") @Generated("jsonschema2pojo") -public class KResourceList implements KubernetesResource, KubernetesResourceList +public class KResourceList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public KResourceListBuilder edit() { + return new KResourceListBuilder(this); + } + + @JsonIgnore + public KResourceListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/Source.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/Source.java index 58686a8d4d5..c56857e7641 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/Source.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/Source.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @Version("v1beta1") @Group("duck.knative.dev") @Generated("jsonschema2pojo") -public class Source implements HasMetadata +public class Source implements Editable , HasMetadata { /** @@ -184,6 +185,16 @@ public void setStatus(SourceStatus status) { this.status = status; } + @JsonIgnore + public SourceBuilder edit() { + return new SourceBuilder(this); + } + + @JsonIgnore + public SourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/SourceList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/SourceList.java index 77de9b44388..9b532b78778 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/SourceList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/SourceList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("duck.knative.dev") @Generated("jsonschema2pojo") -public class SourceList implements KubernetesResource, KubernetesResourceList +public class SourceList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public SourceListBuilder edit() { + return new SourceListBuilder(this); + } + + @JsonIgnore + public SourceListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/SourceSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/SourceSpec.java index 1af3f240f7f..f1f0b03c8b4 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/SourceSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/SourceSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SourceSpec implements KubernetesResource +public class SourceSpec implements Editable , KubernetesResource { @JsonProperty("ceOverrides") @@ -107,6 +108,16 @@ public void setSink(Destination sink) { this.sink = sink; } + @JsonIgnore + public SourceSpecBuilder edit() { + return new SourceSpecBuilder(this); + } + + @JsonIgnore + public SourceSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/SourceStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/SourceStatus.java index 984df183ba3..0e2f114e3a0 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/SourceStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/SourceStatus.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SourceStatus implements KubernetesResource +public class SourceStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -140,6 +141,16 @@ public void setSinkUri(java.lang.String sinkUri) { this.sinkUri = sinkUri; } + @JsonIgnore + public SourceStatusBuilder edit() { + return new SourceStatusBuilder(this); + } + + @JsonIgnore + public SourceStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/Status.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/Status.java index b9bf62333de..db780ca1285 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/Status.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/apis/duck/v1beta1/Status.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Status implements KubernetesResource +public class Status implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -126,6 +127,16 @@ public void setObservedGeneration(Long observedGeneration) { this.observedGeneration = observedGeneration; } + @JsonIgnore + public StatusBuilder edit() { + return new StatusBuilder(this); + } + + @JsonIgnore + public StatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/tracker/Reference.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/tracker/Reference.java index 3a9a436b88f..a0ce88557d2 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/tracker/Reference.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/internal/pkg/tracker/Reference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Reference implements KubernetesResource +public class Reference implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -146,6 +147,16 @@ public void setSelector(io.fabric8.kubernetes.api.model.LabelSelector selector) this.selector = selector; } + @JsonIgnore + public ReferenceBuilder edit() { + return new ReferenceBuilder(this); + } + + @JsonIgnore + public ReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/Channel.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/Channel.java index ce515b87623..531b24c942e 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/Channel.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/Channel.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("messaging.knative.dev") @Generated("jsonschema2pojo") -public class Channel implements HasMetadata, Namespaced +public class Channel implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(ChannelStatus status) { this.status = status; } + @JsonIgnore + public ChannelBuilder edit() { + return new ChannelBuilder(this); + } + + @JsonIgnore + public ChannelBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/ChannelList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/ChannelList.java index 0587241878a..fc0612b664e 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/ChannelList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/ChannelList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("messaging.knative.dev") @Generated("jsonschema2pojo") -public class ChannelList implements KubernetesResource, KubernetesResourceList +public class ChannelList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ChannelListBuilder edit() { + return new ChannelListBuilder(this); + } + + @JsonIgnore + public ChannelListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/ChannelSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/ChannelSpec.java index a9b0bcb645f..ed1882bf3de 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/ChannelSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/ChannelSpec.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.eventing.pkg.apis.duck.v1.DeliverySpec; import io.fabric8.knative.internal.eventing.pkg.apis.duck.v1.SubscriberSpec; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ChannelSpec implements KubernetesResource +public class ChannelSpec implements Editable , KubernetesResource { @JsonProperty("channelTemplate") @@ -126,6 +127,16 @@ public void setSubscribers(List subscribers) { this.subscribers = subscribers; } + @JsonIgnore + public ChannelSpecBuilder edit() { + return new ChannelSpecBuilder(this); + } + + @JsonIgnore + public ChannelSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/ChannelStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/ChannelStatus.java index ad28086c7bb..ca141ad8fbe 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/ChannelStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/ChannelStatus.java @@ -17,6 +17,7 @@ import io.fabric8.knative.internal.pkg.apis.Condition; import io.fabric8.knative.internal.pkg.apis.duck.v1.Addressable; import io.fabric8.knative.internal.pkg.apis.duck.v1.KReference; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ChannelStatus implements KubernetesResource +public class ChannelStatus implements Editable , KubernetesResource { @JsonProperty("address") @@ -201,6 +202,16 @@ public void setSubscribers(List subscribers) { this.subscribers = subscribers; } + @JsonIgnore + public ChannelStatusBuilder edit() { + return new ChannelStatusBuilder(this); + } + + @JsonIgnore + public ChannelStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/ChannelTemplateSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/ChannelTemplateSpec.java index 7d1668127b3..f450777a697 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/ChannelTemplateSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/ChannelTemplateSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ChannelTemplateSpec implements KubernetesResource +public class ChannelTemplateSpec implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -120,6 +121,16 @@ public void setSpec(Map spec) { this.spec = spec; } + @JsonIgnore + public ChannelTemplateSpecBuilder edit() { + return new ChannelTemplateSpecBuilder(this); + } + + @JsonIgnore + public ChannelTemplateSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/InMemoryChannel.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/InMemoryChannel.java index 86a2d253f21..01e2be6a52e 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/InMemoryChannel.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/InMemoryChannel.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("messaging.knative.dev") @Generated("jsonschema2pojo") -public class InMemoryChannel implements HasMetadata, Namespaced +public class InMemoryChannel implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(InMemoryChannelStatus status) { this.status = status; } + @JsonIgnore + public InMemoryChannelBuilder edit() { + return new InMemoryChannelBuilder(this); + } + + @JsonIgnore + public InMemoryChannelBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/InMemoryChannelList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/InMemoryChannelList.java index d6c2c7a6301..46bc74ffdc9 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/InMemoryChannelList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/InMemoryChannelList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("messaging.knative.dev") @Generated("jsonschema2pojo") -public class InMemoryChannelList implements KubernetesResource, KubernetesResourceList +public class InMemoryChannelList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public InMemoryChannelListBuilder edit() { + return new InMemoryChannelListBuilder(this); + } + + @JsonIgnore + public InMemoryChannelListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/InMemoryChannelSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/InMemoryChannelSpec.java index 6d34886d543..d7d02f474a1 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/InMemoryChannelSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/InMemoryChannelSpec.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.eventing.pkg.apis.duck.v1.DeliverySpec; import io.fabric8.knative.internal.eventing.pkg.apis.duck.v1.SubscriberSpec; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class InMemoryChannelSpec implements KubernetesResource +public class InMemoryChannelSpec implements Editable , KubernetesResource { @JsonProperty("delivery") @@ -112,6 +113,16 @@ public void setSubscribers(List subscribers) { this.subscribers = subscribers; } + @JsonIgnore + public InMemoryChannelSpecBuilder edit() { + return new InMemoryChannelSpecBuilder(this); + } + + @JsonIgnore + public InMemoryChannelSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/InMemoryChannelStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/InMemoryChannelStatus.java index eb62447108a..65db32927e4 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/InMemoryChannelStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/InMemoryChannelStatus.java @@ -16,6 +16,7 @@ import io.fabric8.knative.internal.eventing.pkg.apis.duck.v1.SubscriberStatus; import io.fabric8.knative.internal.pkg.apis.Condition; import io.fabric8.knative.internal.pkg.apis.duck.v1.Addressable; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class InMemoryChannelStatus implements KubernetesResource +public class InMemoryChannelStatus implements Editable , KubernetesResource { @JsonProperty("address") @@ -186,6 +187,16 @@ public void setSubscribers(List subscribers) { this.subscribers = subscribers; } + @JsonIgnore + public InMemoryChannelStatusBuilder edit() { + return new InMemoryChannelStatusBuilder(this); + } + + @JsonIgnore + public InMemoryChannelStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/Subscription.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/Subscription.java index 99964c569f0..fbcb4d1fc9e 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/Subscription.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/Subscription.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("messaging.knative.dev") @Generated("jsonschema2pojo") -public class Subscription implements HasMetadata, Namespaced +public class Subscription implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(SubscriptionStatus status) { this.status = status; } + @JsonIgnore + public SubscriptionBuilder edit() { + return new SubscriptionBuilder(this); + } + + @JsonIgnore + public SubscriptionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/SubscriptionList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/SubscriptionList.java index d648d839065..5afe1b240d1 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/SubscriptionList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/SubscriptionList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("messaging.knative.dev") @Generated("jsonschema2pojo") -public class SubscriptionList implements KubernetesResource, KubernetesResourceList +public class SubscriptionList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public SubscriptionListBuilder edit() { + return new SubscriptionListBuilder(this); + } + + @JsonIgnore + public SubscriptionListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/SubscriptionSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/SubscriptionSpec.java index f1f9031526e..28c7ebfcfcb 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/SubscriptionSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/SubscriptionSpec.java @@ -14,6 +14,7 @@ import io.fabric8.knative.internal.eventing.pkg.apis.duck.v1.DeliverySpec; import io.fabric8.knative.internal.pkg.apis.duck.v1.Destination; import io.fabric8.knative.internal.pkg.apis.duck.v1.KReference; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SubscriptionSpec implements KubernetesResource +public class SubscriptionSpec implements Editable , KubernetesResource { @JsonProperty("channel") @@ -138,6 +139,16 @@ public void setSubscriber(Destination subscriber) { this.subscriber = subscriber; } + @JsonIgnore + public SubscriptionSpecBuilder edit() { + return new SubscriptionSpecBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/SubscriptionStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/SubscriptionStatus.java index 99130c39595..9e1c37e080b 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/SubscriptionStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/SubscriptionStatus.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SubscriptionStatus implements KubernetesResource +public class SubscriptionStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -140,6 +141,16 @@ public void setPhysicalSubscription(SubscriptionStatusPhysicalSubscription physi this.physicalSubscription = physicalSubscription; } + @JsonIgnore + public SubscriptionStatusBuilder edit() { + return new SubscriptionStatusBuilder(this); + } + + @JsonIgnore + public SubscriptionStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/SubscriptionStatusPhysicalSubscription.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/SubscriptionStatusPhysicalSubscription.java index d87c0098672..d0eeb746a19 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/SubscriptionStatusPhysicalSubscription.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/SubscriptionStatusPhysicalSubscription.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SubscriptionStatusPhysicalSubscription implements KubernetesResource +public class SubscriptionStatusPhysicalSubscription implements Editable , KubernetesResource { @JsonProperty("deadLetterSinkUri") @@ -121,6 +122,16 @@ public void setSubscriberUri(String subscriberUri) { this.subscriberUri = subscriberUri; } + @JsonIgnore + public SubscriptionStatusPhysicalSubscriptionBuilder edit() { + return new SubscriptionStatusPhysicalSubscriptionBuilder(this); + } + + @JsonIgnore + public SubscriptionStatusPhysicalSubscriptionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/Configuration.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/Configuration.java index 502e075a0fd..54f087630e6 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/Configuration.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/Configuration.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("serving.knative.dev") @Generated("jsonschema2pojo") -public class Configuration implements HasMetadata, Namespaced +public class Configuration implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(ConfigurationStatus status) { this.status = status; } + @JsonIgnore + public ConfigurationBuilder edit() { + return new ConfigurationBuilder(this); + } + + @JsonIgnore + public ConfigurationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ConfigurationList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ConfigurationList.java index dcf2a31eadf..116966e6a62 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ConfigurationList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ConfigurationList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("serving.knative.dev") @Generated("jsonschema2pojo") -public class ConfigurationList implements KubernetesResource, KubernetesResourceList +public class ConfigurationList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ConfigurationListBuilder edit() { + return new ConfigurationListBuilder(this); + } + + @JsonIgnore + public ConfigurationListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ConfigurationSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ConfigurationSpec.java index e15a0cfaebc..e03fa76b190 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ConfigurationSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ConfigurationSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ConfigurationSpec implements KubernetesResource +public class ConfigurationSpec implements Editable , KubernetesResource { @JsonProperty("template") @@ -93,6 +94,16 @@ public void setTemplate(RevisionTemplateSpec template) { this.template = template; } + @JsonIgnore + public ConfigurationSpecBuilder edit() { + return new ConfigurationSpecBuilder(this); + } + + @JsonIgnore + public ConfigurationSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ConfigurationStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ConfigurationStatus.java index f1016e86212..07297ccff20 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ConfigurationStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ConfigurationStatus.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ConfigurationStatus implements KubernetesResource +public class ConfigurationStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -154,6 +155,16 @@ public void setObservedGeneration(Long observedGeneration) { this.observedGeneration = observedGeneration; } + @JsonIgnore + public ConfigurationStatusBuilder edit() { + return new ConfigurationStatusBuilder(this); + } + + @JsonIgnore + public ConfigurationStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ContainerStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ContainerStatus.java index 527a96df391..2b8a94f66f0 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ContainerStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ContainerStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ContainerStatus implements KubernetesResource +public class ContainerStatus implements Editable , KubernetesResource { @JsonProperty("imageDigest") @@ -107,6 +108,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public ContainerStatusBuilder edit() { + return new ContainerStatusBuilder(this); + } + + @JsonIgnore + public ContainerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/Revision.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/Revision.java index 406b4a75b2c..6ca61a3783c 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/Revision.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/Revision.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("serving.knative.dev") @Generated("jsonschema2pojo") -public class Revision implements HasMetadata, Namespaced +public class Revision implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(RevisionStatus status) { this.status = status; } + @JsonIgnore + public RevisionBuilder edit() { + return new RevisionBuilder(this); + } + + @JsonIgnore + public RevisionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RevisionList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RevisionList.java index f1d7cd9534f..ce02405c192 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RevisionList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RevisionList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("serving.knative.dev") @Generated("jsonschema2pojo") -public class RevisionList implements KubernetesResource, KubernetesResourceList +public class RevisionList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public RevisionListBuilder edit() { + return new RevisionListBuilder(this); + } + + @JsonIgnore + public RevisionListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RevisionSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RevisionSpec.java index c744f5bc097..789cb40c667 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RevisionSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RevisionSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -116,7 +117,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class RevisionSpec implements KubernetesResource +public class RevisionSpec implements Editable , KubernetesResource { @JsonProperty("activeDeadlineSeconds") @@ -705,6 +706,16 @@ public void setVolumes(List volumes) { this.volumes = volumes; } + @JsonIgnore + public RevisionSpecBuilder edit() { + return new RevisionSpecBuilder(this); + } + + @JsonIgnore + public RevisionSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RevisionStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RevisionStatus.java index 12983756be5..d13297641d7 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RevisionStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RevisionStatus.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class RevisionStatus implements KubernetesResource +public class RevisionStatus implements Editable , KubernetesResource { @JsonProperty("actualReplicas") @@ -198,6 +199,16 @@ public void setObservedGeneration(Long observedGeneration) { this.observedGeneration = observedGeneration; } + @JsonIgnore + public RevisionStatusBuilder edit() { + return new RevisionStatusBuilder(this); + } + + @JsonIgnore + public RevisionStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RevisionTemplateSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RevisionTemplateSpec.java index 756718ee7de..4068c132d5d 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RevisionTemplateSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RevisionTemplateSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class RevisionTemplateSpec implements KubernetesResource +public class RevisionTemplateSpec implements Editable , KubernetesResource { @JsonProperty("metadata") @@ -105,6 +106,16 @@ public void setSpec(RevisionSpec spec) { this.spec = spec; } + @JsonIgnore + public RevisionTemplateSpecBuilder edit() { + return new RevisionTemplateSpecBuilder(this); + } + + @JsonIgnore + public RevisionTemplateSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/Route.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/Route.java index 8beb1c809e7..b1a5cc03bf4 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/Route.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/Route.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("serving.knative.dev") @Generated("jsonschema2pojo") -public class Route implements HasMetadata, Namespaced +public class Route implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(RouteStatus status) { this.status = status; } + @JsonIgnore + public RouteBuilder edit() { + return new RouteBuilder(this); + } + + @JsonIgnore + public RouteBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RouteList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RouteList.java index f72633f6aaa..94253262302 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RouteList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RouteList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("serving.knative.dev") @Generated("jsonschema2pojo") -public class RouteList implements KubernetesResource, KubernetesResourceList +public class RouteList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public RouteListBuilder edit() { + return new RouteListBuilder(this); + } + + @JsonIgnore + public RouteListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RouteSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RouteSpec.java index d96227f3732..29a36ec1b7c 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RouteSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RouteSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class RouteSpec implements KubernetesResource +public class RouteSpec implements Editable , KubernetesResource { @JsonProperty("traffic") @@ -96,6 +97,16 @@ public void setTraffic(List traffic) { this.traffic = traffic; } + @JsonIgnore + public RouteSpecBuilder edit() { + return new RouteSpecBuilder(this); + } + + @JsonIgnore + public RouteSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RouteStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RouteStatus.java index b12795dca2e..1bceac4d264 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RouteStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RouteStatus.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; import io.fabric8.knative.internal.pkg.apis.duck.v1.Addressable; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class RouteStatus implements KubernetesResource +public class RouteStatus implements Editable , KubernetesResource { @JsonProperty("address") @@ -170,6 +171,16 @@ public void setUrl(java.lang.String url) { this.url = url; } + @JsonIgnore + public RouteStatusBuilder edit() { + return new RouteStatusBuilder(this); + } + + @JsonIgnore + public RouteStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/Service.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/Service.java index 6b3953c0da4..ca57503fe8d 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/Service.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/Service.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("serving.knative.dev") @Generated("jsonschema2pojo") -public class Service implements HasMetadata, Namespaced +public class Service implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(ServiceStatus status) { this.status = status; } + @JsonIgnore + public ServiceBuilder edit() { + return new ServiceBuilder(this); + } + + @JsonIgnore + public ServiceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ServiceList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ServiceList.java index 27e0b61048e..c20c95f1530 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ServiceList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ServiceList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("serving.knative.dev") @Generated("jsonschema2pojo") -public class ServiceList implements KubernetesResource, KubernetesResourceList +public class ServiceList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ServiceListBuilder edit() { + return new ServiceListBuilder(this); + } + + @JsonIgnore + public ServiceListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ServiceSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ServiceSpec.java index 4a4ffd5cb89..04d851f547e 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ServiceSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ServiceSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ServiceSpec implements KubernetesResource +public class ServiceSpec implements Editable , KubernetesResource { @JsonProperty("template") @@ -110,6 +111,16 @@ public void setTraffic(List traffic) { this.traffic = traffic; } + @JsonIgnore + public ServiceSpecBuilder edit() { + return new ServiceSpecBuilder(this); + } + + @JsonIgnore + public ServiceSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ServiceStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ServiceStatus.java index 2c929ab7163..c509a3fb8df 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ServiceStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ServiceStatus.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; import io.fabric8.knative.internal.pkg.apis.duck.v1.Addressable; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ServiceStatus implements KubernetesResource +public class ServiceStatus implements Editable , KubernetesResource { @JsonProperty("address") @@ -198,6 +199,16 @@ public void setUrl(java.lang.String url) { this.url = url; } + @JsonIgnore + public ServiceStatusBuilder edit() { + return new ServiceStatusBuilder(this); + } + + @JsonIgnore + public ServiceStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/TrafficTarget.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/TrafficTarget.java index 47a80882942..b155708f4cd 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/TrafficTarget.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/TrafficTarget.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TrafficTarget implements KubernetesResource +public class TrafficTarget implements Editable , KubernetesResource { @JsonProperty("configurationName") @@ -163,6 +164,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public TrafficTargetBuilder edit() { + return new TrafficTargetBuilder(this); + } + + @JsonIgnore + public TrafficTargetBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1beta1/DomainMapping.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1beta1/DomainMapping.java index a461956b162..40f002c4bc8 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1beta1/DomainMapping.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1beta1/DomainMapping.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1beta1") @Group("serving.knative.dev") @Generated("jsonschema2pojo") -public class DomainMapping implements HasMetadata, Namespaced +public class DomainMapping implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(DomainMappingStatus status) { this.status = status; } + @JsonIgnore + public DomainMappingBuilder edit() { + return new DomainMappingBuilder(this); + } + + @JsonIgnore + public DomainMappingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1beta1/DomainMappingList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1beta1/DomainMappingList.java index ea73c822925..401a64ebd0b 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1beta1/DomainMappingList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1beta1/DomainMappingList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("serving.knative.dev") @Generated("jsonschema2pojo") -public class DomainMappingList implements KubernetesResource, KubernetesResourceList +public class DomainMappingList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public DomainMappingListBuilder edit() { + return new DomainMappingListBuilder(this); + } + + @JsonIgnore + public DomainMappingListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1beta1/DomainMappingSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1beta1/DomainMappingSpec.java index 186afcfaa5c..7c00fa3bac1 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1beta1/DomainMappingSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1beta1/DomainMappingSpec.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.duck.v1.KReference; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class DomainMappingSpec implements KubernetesResource +public class DomainMappingSpec implements Editable , KubernetesResource { @JsonProperty("ref") @@ -108,6 +109,16 @@ public void setTls(SecretTLS tls) { this.tls = tls; } + @JsonIgnore + public DomainMappingSpecBuilder edit() { + return new DomainMappingSpecBuilder(this); + } + + @JsonIgnore + public DomainMappingSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1beta1/DomainMappingStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1beta1/DomainMappingStatus.java index 694464c38fe..10832c032c7 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1beta1/DomainMappingStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1beta1/DomainMappingStatus.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; import io.fabric8.knative.internal.pkg.apis.duck.v1.Addressable; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class DomainMappingStatus implements KubernetesResource +public class DomainMappingStatus implements Editable , KubernetesResource { @JsonProperty("address") @@ -155,6 +156,16 @@ public void setUrl(java.lang.String url) { this.url = url; } + @JsonIgnore + public DomainMappingStatusBuilder edit() { + return new DomainMappingStatusBuilder(this); + } + + @JsonIgnore + public DomainMappingStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1beta1/SecretTLS.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1beta1/SecretTLS.java index 20f8b0cbaf2..9c34a49c8b9 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1beta1/SecretTLS.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1beta1/SecretTLS.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SecretTLS implements KubernetesResource +public class SecretTLS implements Editable , KubernetesResource { @JsonProperty("secretName") @@ -93,6 +94,16 @@ public void setSecretName(String secretName) { this.secretName = secretName; } + @JsonIgnore + public SecretTLSBuilder edit() { + return new SecretTLSBuilder(this); + } + + @JsonIgnore + public SecretTLSBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/APIVersionKind.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/APIVersionKind.java index 596fc84d5ca..84143b42e9e 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/APIVersionKind.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/APIVersionKind.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class APIVersionKind implements KubernetesResource +public class APIVersionKind implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -105,6 +106,16 @@ public void setKind(String kind) { this.kind = kind; } + @JsonIgnore + public APIVersionKindBuilder edit() { + return new APIVersionKindBuilder(this); + } + + @JsonIgnore + public APIVersionKindBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/APIVersionKindSelector.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/APIVersionKindSelector.java index 94905424234..2654fe89666 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/APIVersionKindSelector.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/APIVersionKindSelector.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class APIVersionKindSelector implements KubernetesResource +public class APIVersionKindSelector implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -118,6 +119,16 @@ public void setSelector(io.fabric8.kubernetes.api.model.LabelSelector selector) this.selector = selector; } + @JsonIgnore + public APIVersionKindSelectorBuilder edit() { + return new APIVersionKindSelectorBuilder(this); + } + + @JsonIgnore + public APIVersionKindSelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ApiServerSource.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ApiServerSource.java index 3c037bb356c..aa830a864eb 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ApiServerSource.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ApiServerSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("sources.knative.dev") @Generated("jsonschema2pojo") -public class ApiServerSource implements HasMetadata, Namespaced +public class ApiServerSource implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(ApiServerSourceStatus status) { this.status = status; } + @JsonIgnore + public ApiServerSourceBuilder edit() { + return new ApiServerSourceBuilder(this); + } + + @JsonIgnore + public ApiServerSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ApiServerSourceList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ApiServerSourceList.java index 5c3c4455272..3ebd00934d2 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ApiServerSourceList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ApiServerSourceList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("sources.knative.dev") @Generated("jsonschema2pojo") -public class ApiServerSourceList implements KubernetesResource, KubernetesResourceList +public class ApiServerSourceList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ApiServerSourceListBuilder edit() { + return new ApiServerSourceListBuilder(this); + } + + @JsonIgnore + public ApiServerSourceListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ApiServerSourceSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ApiServerSourceSpec.java index d1bdcdf7f18..c783c9c68cd 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ApiServerSourceSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ApiServerSourceSpec.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.duck.v1.CloudEventOverrides; import io.fabric8.knative.internal.pkg.apis.duck.v1.Destination; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ApiServerSourceSpec implements KubernetesResource +public class ApiServerSourceSpec implements Editable , KubernetesResource { @JsonProperty("ceOverrides") @@ -181,6 +182,16 @@ public void setSink(Destination sink) { this.sink = sink; } + @JsonIgnore + public ApiServerSourceSpecBuilder edit() { + return new ApiServerSourceSpecBuilder(this); + } + + @JsonIgnore + public ApiServerSourceSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ApiServerSourceStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ApiServerSourceStatus.java index 48c11b4a467..e4a97074117 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ApiServerSourceStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ApiServerSourceStatus.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; import io.fabric8.knative.internal.pkg.apis.duck.v1.CloudEventAttributes; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ApiServerSourceStatus implements KubernetesResource +public class ApiServerSourceStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -185,6 +186,16 @@ public void setSinkUri(java.lang.String sinkUri) { this.sinkUri = sinkUri; } + @JsonIgnore + public ApiServerSourceStatusBuilder edit() { + return new ApiServerSourceStatusBuilder(this); + } + + @JsonIgnore + public ApiServerSourceStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ContainerSource.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ContainerSource.java index f3811837599..d4dfb56f6bc 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ContainerSource.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ContainerSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("sources.knative.dev") @Generated("jsonschema2pojo") -public class ContainerSource implements HasMetadata, Namespaced +public class ContainerSource implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(ContainerSourceStatus status) { this.status = status; } + @JsonIgnore + public ContainerSourceBuilder edit() { + return new ContainerSourceBuilder(this); + } + + @JsonIgnore + public ContainerSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ContainerSourceList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ContainerSourceList.java index cda883589b9..ba6bd6bc678 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ContainerSourceList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ContainerSourceList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("sources.knative.dev") @Generated("jsonschema2pojo") -public class ContainerSourceList implements KubernetesResource, KubernetesResourceList +public class ContainerSourceList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ContainerSourceListBuilder edit() { + return new ContainerSourceListBuilder(this); + } + + @JsonIgnore + public ContainerSourceListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ContainerSourceSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ContainerSourceSpec.java index 0c29d30f958..4d650e12dd5 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ContainerSourceSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ContainerSourceSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.duck.v1.CloudEventOverrides; import io.fabric8.knative.internal.pkg.apis.duck.v1.Destination; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ContainerSourceSpec implements KubernetesResource +public class ContainerSourceSpec implements Editable , KubernetesResource { @JsonProperty("ceOverrides") @@ -122,6 +123,16 @@ public void setTemplate(io.fabric8.kubernetes.api.model.PodTemplateSpec template this.template = template; } + @JsonIgnore + public ContainerSourceSpecBuilder edit() { + return new ContainerSourceSpecBuilder(this); + } + + @JsonIgnore + public ContainerSourceSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ContainerSourceStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ContainerSourceStatus.java index da8afe2df95..a412fb3c375 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ContainerSourceStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ContainerSourceStatus.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; import io.fabric8.knative.internal.pkg.apis.duck.v1.CloudEventAttributes; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ContainerSourceStatus implements KubernetesResource +public class ContainerSourceStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -170,6 +171,16 @@ public void setSinkUri(java.lang.String sinkUri) { this.sinkUri = sinkUri; } + @JsonIgnore + public ContainerSourceStatusBuilder edit() { + return new ContainerSourceStatusBuilder(this); + } + + @JsonIgnore + public ContainerSourceStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/PingSource.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/PingSource.java index f9d366fb3ab..fc684a44cfa 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/PingSource.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/PingSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("sources.knative.dev") @Generated("jsonschema2pojo") -public class PingSource implements HasMetadata, Namespaced +public class PingSource implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(PingSourceStatus status) { this.status = status; } + @JsonIgnore + public PingSourceBuilder edit() { + return new PingSourceBuilder(this); + } + + @JsonIgnore + public PingSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/PingSourceList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/PingSourceList.java index d519e6f3e7e..84beae79e03 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/PingSourceList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/PingSourceList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("sources.knative.dev") @Generated("jsonschema2pojo") -public class PingSourceList implements KubernetesResource, KubernetesResourceList +public class PingSourceList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PingSourceListBuilder edit() { + return new PingSourceListBuilder(this); + } + + @JsonIgnore + public PingSourceListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/PingSourceSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/PingSourceSpec.java index 8a23ab910d9..7c6c601c0ee 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/PingSourceSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/PingSourceSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.duck.v1.CloudEventOverrides; import io.fabric8.knative.internal.pkg.apis.duck.v1.Destination; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PingSourceSpec implements KubernetesResource +public class PingSourceSpec implements Editable , KubernetesResource { @JsonProperty("ceOverrides") @@ -179,6 +180,16 @@ public void setTimezone(String timezone) { this.timezone = timezone; } + @JsonIgnore + public PingSourceSpecBuilder edit() { + return new PingSourceSpecBuilder(this); + } + + @JsonIgnore + public PingSourceSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/PingSourceStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/PingSourceStatus.java index 0955042fed9..24082d5c833 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/PingSourceStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/PingSourceStatus.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; import io.fabric8.knative.internal.pkg.apis.duck.v1.CloudEventAttributes; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PingSourceStatus implements KubernetesResource +public class PingSourceStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -170,6 +171,16 @@ public void setSinkUri(java.lang.String sinkUri) { this.sinkUri = sinkUri; } + @JsonIgnore + public PingSourceStatusBuilder edit() { + return new PingSourceStatusBuilder(this); + } + + @JsonIgnore + public PingSourceStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/SinkBinding.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/SinkBinding.java index 324d7bb1e78..b0b95238b62 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/SinkBinding.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/SinkBinding.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("sources.knative.dev") @Generated("jsonschema2pojo") -public class SinkBinding implements HasMetadata, Namespaced +public class SinkBinding implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(SinkBindingStatus status) { this.status = status; } + @JsonIgnore + public SinkBindingBuilder edit() { + return new SinkBindingBuilder(this); + } + + @JsonIgnore + public SinkBindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/SinkBindingList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/SinkBindingList.java index b69f3ef326b..4a42d214ae5 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/SinkBindingList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/SinkBindingList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("sources.knative.dev") @Generated("jsonschema2pojo") -public class SinkBindingList implements KubernetesResource, KubernetesResourceList +public class SinkBindingList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public SinkBindingListBuilder edit() { + return new SinkBindingListBuilder(this); + } + + @JsonIgnore + public SinkBindingListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/SinkBindingSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/SinkBindingSpec.java index 8db19686848..b1acc32225d 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/SinkBindingSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/SinkBindingSpec.java @@ -14,6 +14,7 @@ import io.fabric8.knative.internal.pkg.apis.duck.v1.CloudEventOverrides; import io.fabric8.knative.internal.pkg.apis.duck.v1.Destination; import io.fabric8.knative.internal.pkg.tracker.Reference; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SinkBindingSpec implements KubernetesResource +public class SinkBindingSpec implements Editable , KubernetesResource { @JsonProperty("ceOverrides") @@ -124,6 +125,16 @@ public void setSubject(Reference subject) { this.subject = subject; } + @JsonIgnore + public SinkBindingSpecBuilder edit() { + return new SinkBindingSpecBuilder(this); + } + + @JsonIgnore + public SinkBindingSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/SinkBindingStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/SinkBindingStatus.java index d3384f2ba6d..948a11334c8 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/SinkBindingStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/SinkBindingStatus.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; import io.fabric8.knative.internal.pkg.apis.duck.v1.CloudEventAttributes; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SinkBindingStatus implements KubernetesResource +public class SinkBindingStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -170,6 +171,16 @@ public void setSinkUri(java.lang.String sinkUri) { this.sinkUri = sinkUri; } + @JsonIgnore + public SinkBindingStatusBuilder edit() { + return new SinkBindingStatusBuilder(this); + } + + @JsonIgnore + public SinkBindingStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementAgentSchema.java b/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementAgentSchema.java index 325e7c06b5a..8def91576af 100644 --- a/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementAgentSchema.java +++ b/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementAgentSchema.java @@ -2,10 +2,12 @@ package io.fabric8.openclustermanagement.api.model; import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +70,8 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class OpenClusterManagementAgentSchema { +public class OpenClusterManagementAgentSchema implements Editable +{ @JsonProperty("github_com_open-cluster-management_klusterlet-addon-controller_pkg_apis_agent_v1_KlusterletAddonAgentConfigSpec") private KlusterletAddonAgentConfigSpec githubComOpenClusterManagementKlusterletAddonControllerPkgApisAgentV1KlusterletAddonAgentConfigSpec; @@ -160,4 +163,14 @@ public void setGithubComOpenClusterManagementKlusterletAddonControllerPkgApisAge this.githubComOpenClusterManagementKlusterletAddonControllerPkgApisAgentV1ProxyConfig = githubComOpenClusterManagementKlusterletAddonControllerPkgApisAgentV1ProxyConfig; } + @JsonIgnore + public OpenClusterManagementAgentSchemaBuilder edit() { + return new OpenClusterManagementAgentSchemaBuilder(this); + } + + @JsonIgnore + public OpenClusterManagementAgentSchemaBuilder toBuilder() { + return edit(); + } + } diff --git a/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/agent/v1/KlusterletAddonAgentConfigSpec.java b/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/agent/v1/KlusterletAddonAgentConfigSpec.java index 601603caf40..5372c52331f 100644 --- a/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/agent/v1/KlusterletAddonAgentConfigSpec.java +++ b/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/agent/v1/KlusterletAddonAgentConfigSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class KlusterletAddonAgentConfigSpec implements KubernetesResource +public class KlusterletAddonAgentConfigSpec implements Editable , KubernetesResource { @JsonProperty("enabled") @@ -107,6 +108,16 @@ public void setProxyPolicy(String proxyPolicy) { this.proxyPolicy = proxyPolicy; } + @JsonIgnore + public KlusterletAddonAgentConfigSpecBuilder edit() { + return new KlusterletAddonAgentConfigSpecBuilder(this); + } + + @JsonIgnore + public KlusterletAddonAgentConfigSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/agent/v1/KlusterletAddonConfig.java b/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/agent/v1/KlusterletAddonConfig.java index c01d33887c3..adcd9137ce1 100644 --- a/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/agent/v1/KlusterletAddonConfig.java +++ b/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/agent/v1/KlusterletAddonConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("agent.open-cluster-management.io") @Generated("jsonschema2pojo") -public class KlusterletAddonConfig implements HasMetadata, Namespaced +public class KlusterletAddonConfig implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(KlusterletAddonConfigStatus status) { this.status = status; } + @JsonIgnore + public KlusterletAddonConfigBuilder edit() { + return new KlusterletAddonConfigBuilder(this); + } + + @JsonIgnore + public KlusterletAddonConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/agent/v1/KlusterletAddonConfigList.java b/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/agent/v1/KlusterletAddonConfigList.java index d1697376385..05bc1b6956a 100644 --- a/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/agent/v1/KlusterletAddonConfigList.java +++ b/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/agent/v1/KlusterletAddonConfigList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("agent.open-cluster-management.io") @Generated("jsonschema2pojo") -public class KlusterletAddonConfigList implements KubernetesResource, KubernetesResourceList +public class KlusterletAddonConfigList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public KlusterletAddonConfigListBuilder edit() { + return new KlusterletAddonConfigListBuilder(this); + } + + @JsonIgnore + public KlusterletAddonConfigListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/agent/v1/KlusterletAddonConfigSpec.java b/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/agent/v1/KlusterletAddonConfigSpec.java index c7e1a41269a..835e38bb307 100644 --- a/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/agent/v1/KlusterletAddonConfigSpec.java +++ b/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/agent/v1/KlusterletAddonConfigSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class KlusterletAddonConfigSpec implements KubernetesResource +public class KlusterletAddonConfigSpec implements Editable , KubernetesResource { @JsonProperty("applicationManager") @@ -220,6 +221,16 @@ public void setVersion(java.lang.String version) { this.version = version; } + @JsonIgnore + public KlusterletAddonConfigSpecBuilder edit() { + return new KlusterletAddonConfigSpecBuilder(this); + } + + @JsonIgnore + public KlusterletAddonConfigSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/agent/v1/KlusterletAddonConfigStatus.java b/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/agent/v1/KlusterletAddonConfigStatus.java index ae37576b0ea..98355ae5385 100644 --- a/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/agent/v1/KlusterletAddonConfigStatus.java +++ b/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/agent/v1/KlusterletAddonConfigStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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.ContainerPort; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class KlusterletAddonConfigStatus implements KubernetesResource +public class KlusterletAddonConfigStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -111,6 +112,16 @@ public void setOcpGlobalProxy(ProxyConfig ocpGlobalProxy) { this.ocpGlobalProxy = ocpGlobalProxy; } + @JsonIgnore + public KlusterletAddonConfigStatusBuilder edit() { + return new KlusterletAddonConfigStatusBuilder(this); + } + + @JsonIgnore + public KlusterletAddonConfigStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/agent/v1/ProxyConfig.java b/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/agent/v1/ProxyConfig.java index 2771b2aee18..1b6f191bc63 100644 --- a/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/agent/v1/ProxyConfig.java +++ b/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/agent/v1/ProxyConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ProxyConfig implements KubernetesResource +public class ProxyConfig implements Editable , KubernetesResource { @JsonProperty("httpProxy") @@ -121,6 +122,16 @@ public void setNoProxy(String noProxy) { this.noProxy = noProxy; } + @JsonIgnore + public ProxyConfigBuilder edit() { + return new ProxyConfigBuilder(this); + } + + @JsonIgnore + public ProxyConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementAppsSchema.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementAppsSchema.java index 2f3e8c276f1..67e6725141a 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementAppsSchema.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementAppsSchema.java @@ -2,10 +2,12 @@ package io.fabric8.openclustermanagement.api.model; import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -152,7 +154,8 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class OpenClusterManagementAppsSchema { +public class OpenClusterManagementAppsSchema implements Editable +{ @JsonProperty("open-cluster-management_io_multicloud-operators-channel_pkg_apis_apps_v1_Channel") private Channel openClusterManagementIoMulticloudOperatorsChannelPkgApisAppsV1Channel; @@ -790,4 +793,14 @@ public void setSigsK8sIoApplicationApiV1beta1ServiceSelector(ServiceSelector sig this.sigsK8sIoApplicationApiV1beta1ServiceSelector = sigsK8sIoApplicationApiV1beta1ServiceSelector; } + @JsonIgnore + public OpenClusterManagementAppsSchemaBuilder edit() { + return new OpenClusterManagementAppsSchemaBuilder(this); + } + + @JsonIgnore + public OpenClusterManagementAppsSchemaBuilder toBuilder() { + return edit(); + } + } diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/Application.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/Application.java index 7416faec8a5..87a4ebce10e 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/Application.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/Application.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1beta1") @Group("app.k8s.io") @Generated("jsonschema2pojo") -public class Application implements HasMetadata, Namespaced +public class Application implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(ApplicationStatus status) { this.status = status; } + @JsonIgnore + public ApplicationBuilder edit() { + return new ApplicationBuilder(this); + } + + @JsonIgnore + public ApplicationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ApplicationList.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ApplicationList.java index cfbf64a1df5..70735a91f93 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ApplicationList.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ApplicationList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("app.k8s.io") @Generated("jsonschema2pojo") -public class ApplicationList implements KubernetesResource, KubernetesResourceList +public class ApplicationList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ApplicationListBuilder edit() { + return new ApplicationListBuilder(this); + } + + @JsonIgnore + public ApplicationListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ApplicationSpec.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ApplicationSpec.java index a840d78f524..df05f18129a 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ApplicationSpec.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ApplicationSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ApplicationSpec implements KubernetesResource +public class ApplicationSpec implements Editable , KubernetesResource { @JsonProperty("addOwnerRef") @@ -167,6 +168,16 @@ public void setSelector(io.fabric8.kubernetes.api.model.LabelSelector selector) this.selector = selector; } + @JsonIgnore + public ApplicationSpecBuilder edit() { + return new ApplicationSpecBuilder(this); + } + + @JsonIgnore + public ApplicationSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ApplicationStatus.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ApplicationStatus.java index 6c6645a590b..b2af9de9ef4 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ApplicationStatus.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ApplicationStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ApplicationStatus implements KubernetesResource +public class ApplicationStatus implements Editable , KubernetesResource { @JsonProperty("components") @@ -139,6 +140,16 @@ public void setObservedGeneration(Long observedGeneration) { this.observedGeneration = observedGeneration; } + @JsonIgnore + public ApplicationStatusBuilder edit() { + return new ApplicationStatusBuilder(this); + } + + @JsonIgnore + public ApplicationStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/Condition.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/Condition.java index bcca2619f7e..6040ab8ec51 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/Condition.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/Condition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Condition implements KubernetesResource +public class Condition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -163,6 +164,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public ConditionBuilder edit() { + return new ConditionBuilder(this); + } + + @JsonIgnore + public ConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ConfigMapKeySelector.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ConfigMapKeySelector.java index 50218b1d70f..68d1b37778d 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ConfigMapKeySelector.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ConfigMapKeySelector.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ConfigMapKeySelector implements KubernetesResource +public class ConfigMapKeySelector implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -189,6 +190,16 @@ public void setUid(String uid) { this.uid = uid; } + @JsonIgnore + public ConfigMapKeySelectorBuilder edit() { + return new ConfigMapKeySelectorBuilder(this); + } + + @JsonIgnore + public ConfigMapKeySelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ContactData.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ContactData.java index 136c3e05446..554305cec0b 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ContactData.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ContactData.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ContactData implements KubernetesResource +public class ContactData implements Editable , KubernetesResource { @JsonProperty("email") @@ -121,6 +122,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public ContactDataBuilder edit() { + return new ContactDataBuilder(this); + } + + @JsonIgnore + public ContactDataBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/Descriptor.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/Descriptor.java index 12384162f79..ec22f37f002 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/Descriptor.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/Descriptor.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Descriptor implements KubernetesResource +public class Descriptor implements Editable , KubernetesResource { @JsonProperty("description") @@ -212,6 +213,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public DescriptorBuilder edit() { + return new DescriptorBuilder(this); + } + + @JsonIgnore + public DescriptorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ImageSpec.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ImageSpec.java index 5cb2a2cc9c0..96e0b272fe1 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ImageSpec.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ImageSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ImageSpec implements KubernetesResource +public class ImageSpec implements Editable , KubernetesResource { @JsonProperty("size") @@ -121,6 +122,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public ImageSpecBuilder edit() { + return new ImageSpecBuilder(this); + } + + @JsonIgnore + public ImageSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/InfoItem.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/InfoItem.java index 43e5e6e2f4a..fdb540ad73c 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/InfoItem.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/InfoItem.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class InfoItem implements KubernetesResource +public class InfoItem implements Editable , KubernetesResource { @JsonProperty("name") @@ -135,6 +136,16 @@ public void setValueFrom(InfoItemSource valueFrom) { this.valueFrom = valueFrom; } + @JsonIgnore + public InfoItemBuilder edit() { + return new InfoItemBuilder(this); + } + + @JsonIgnore + public InfoItemBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/InfoItemSource.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/InfoItemSource.java index acdc2d7b78f..01078d04145 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/InfoItemSource.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/InfoItemSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class InfoItemSource implements KubernetesResource +public class InfoItemSource implements Editable , KubernetesResource { @JsonProperty("configMapKeyRef") @@ -149,6 +150,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public InfoItemSourceBuilder edit() { + return new InfoItemSourceBuilder(this); + } + + @JsonIgnore + public InfoItemSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/IngressSelector.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/IngressSelector.java index 2965403855e..0a4b03f49c6 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/IngressSelector.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/IngressSelector.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IngressSelector implements KubernetesResource +public class IngressSelector implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -217,6 +218,16 @@ public void setUid(String uid) { this.uid = uid; } + @JsonIgnore + public IngressSelectorBuilder edit() { + return new IngressSelectorBuilder(this); + } + + @JsonIgnore + public IngressSelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/Link.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/Link.java index 5b98193c6cc..269a76309ca 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/Link.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/Link.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Link implements KubernetesResource +public class Link implements Editable , KubernetesResource { @JsonProperty("description") @@ -107,6 +108,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public LinkBuilder edit() { + return new LinkBuilder(this); + } + + @JsonIgnore + public LinkBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ObjectStatus.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ObjectStatus.java index a7ddcd693f5..8797d389fa3 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ObjectStatus.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ObjectStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ObjectStatus implements KubernetesResource +public class ObjectStatus implements Editable , KubernetesResource { @JsonProperty("group") @@ -148,6 +149,16 @@ public void setStatus(String status) { this.status = status; } + @JsonIgnore + public ObjectStatusBuilder edit() { + return new ObjectStatusBuilder(this); + } + + @JsonIgnore + public ObjectStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/SecretKeySelector.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/SecretKeySelector.java index cf8ec609a8a..1e1358dc6d5 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/SecretKeySelector.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/SecretKeySelector.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SecretKeySelector implements KubernetesResource +public class SecretKeySelector implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -189,6 +190,16 @@ public void setUid(String uid) { this.uid = uid; } + @JsonIgnore + public SecretKeySelectorBuilder edit() { + return new SecretKeySelectorBuilder(this); + } + + @JsonIgnore + public SecretKeySelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ServiceSelector.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ServiceSelector.java index 229fa600198..ba931012c7b 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ServiceSelector.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ServiceSelector.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ServiceSelector implements KubernetesResource +public class ServiceSelector implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -217,6 +218,16 @@ public void setUid(String uid) { this.uid = uid; } + @JsonIgnore + public ServiceSelectorBuilder edit() { + return new ServiceSelectorBuilder(this); + } + + @JsonIgnore + public ServiceSelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorschannel/apps/v1/Channel.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorschannel/apps/v1/Channel.java index 65cb48633fe..424cd8d3a3d 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorschannel/apps/v1/Channel.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorschannel/apps/v1/Channel.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("apps.open-cluster-management.io") @Generated("jsonschema2pojo") -public class Channel implements HasMetadata, Namespaced +public class Channel implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(ChannelStatus status) { this.status = status; } + @JsonIgnore + public ChannelBuilder edit() { + return new ChannelBuilder(this); + } + + @JsonIgnore + public ChannelBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorschannel/apps/v1/ChannelGate.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorschannel/apps/v1/ChannelGate.java index 0adedf90177..0b3cdcd2b29 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorschannel/apps/v1/ChannelGate.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorschannel/apps/v1/ChannelGate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ChannelGate implements KubernetesResource +public class ChannelGate implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -121,6 +122,16 @@ public void setName(java.lang.String name) { this.name = name; } + @JsonIgnore + public ChannelGateBuilder edit() { + return new ChannelGateBuilder(this); + } + + @JsonIgnore + public ChannelGateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorschannel/apps/v1/ChannelList.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorschannel/apps/v1/ChannelList.java index 765dc38d563..c1bbdfbdb00 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorschannel/apps/v1/ChannelList.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorschannel/apps/v1/ChannelList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("apps.open-cluster-management.io") @Generated("jsonschema2pojo") -public class ChannelList implements KubernetesResource, KubernetesResourceList +public class ChannelList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ChannelListBuilder edit() { + return new ChannelListBuilder(this); + } + + @JsonIgnore + public ChannelListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorschannel/apps/v1/ChannelSpec.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorschannel/apps/v1/ChannelSpec.java index 38967874ef3..27eed847c25 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorschannel/apps/v1/ChannelSpec.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorschannel/apps/v1/ChannelSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ChannelSpec implements KubernetesResource +public class ChannelSpec implements Editable , KubernetesResource { @JsonProperty("configMapRef") @@ -179,6 +180,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public ChannelSpecBuilder edit() { + return new ChannelSpecBuilder(this); + } + + @JsonIgnore + public ChannelSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorschannel/apps/v1/ChannelStatus.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorschannel/apps/v1/ChannelStatus.java index 2985accc06f..56ea2d3abf5 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorschannel/apps/v1/ChannelStatus.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorschannel/apps/v1/ChannelStatus.java @@ -10,6 +10,7 @@ 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.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -61,12 +62,22 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ChannelStatus implements KubernetesResource +public class ChannelStatus implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public ChannelStatusBuilder edit() { + return new ChannelStatusBuilder(this); + } + + @JsonIgnore + public ChannelStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/AltSource.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/AltSource.java index f86c4e9505f..a4930d2a53c 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/AltSource.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/AltSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class AltSource implements KubernetesResource +public class AltSource implements Editable , KubernetesResource { @JsonProperty("configMapRef") @@ -176,6 +177,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public AltSourceBuilder edit() { + return new AltSourceBuilder(this); + } + + @JsonIgnore + public AltSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/Git.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/Git.java index b0c2b560bb7..f2f4a7ed3bd 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/Git.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/Git.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Git implements KubernetesResource +public class Git implements Editable , KubernetesResource { @JsonProperty("branch") @@ -124,6 +125,16 @@ public void setUrls(List urls) { this.urls = urls; } + @JsonIgnore + public GitBuilder edit() { + return new GitBuilder(this); + } + + @JsonIgnore + public GitBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/GitHub.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/GitHub.java index 983ea3f5e23..3b7f44a0055 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/GitHub.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/GitHub.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class GitHub implements KubernetesResource +public class GitHub implements Editable , KubernetesResource { @JsonProperty("branch") @@ -124,6 +125,16 @@ public void setUrls(List urls) { this.urls = urls; } + @JsonIgnore + public GitHubBuilder edit() { + return new GitHubBuilder(this); + } + + @JsonIgnore + public GitHubBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmAppCondition.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmAppCondition.java index b39a610fa29..ad6d91b53e3 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmAppCondition.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmAppCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HelmAppCondition implements KubernetesResource +public class HelmAppCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -149,6 +150,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public HelmAppConditionBuilder edit() { + return new HelmAppConditionBuilder(this); + } + + @JsonIgnore + public HelmAppConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmAppRelease.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmAppRelease.java index f8dcd822be7..9fc273168e6 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmAppRelease.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmAppRelease.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HelmAppRelease implements KubernetesResource +public class HelmAppRelease implements Editable , KubernetesResource { @JsonProperty("manifest") @@ -107,6 +108,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public HelmAppReleaseBuilder edit() { + return new HelmAppReleaseBuilder(this); + } + + @JsonIgnore + public HelmAppReleaseBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmAppStatus.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmAppStatus.java index ca477b44920..8c8a98bf397 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmAppStatus.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmAppStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HelmAppStatus implements KubernetesResource +public class HelmAppStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -110,6 +111,16 @@ public void setDeployedRelease(HelmAppRelease deployedRelease) { this.deployedRelease = deployedRelease; } + @JsonIgnore + public HelmAppStatusBuilder edit() { + return new HelmAppStatusBuilder(this); + } + + @JsonIgnore + public HelmAppStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmRelease.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmRelease.java index 269ebe52de7..a7eaf79d0d0 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmRelease.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmRelease.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @Version("v1") @Group("apps.open-cluster-management.io") @Generated("jsonschema2pojo") -public class HelmRelease implements HasMetadata, Namespaced +public class HelmRelease implements Editable , HasMetadata, Namespaced { /** @@ -200,6 +201,16 @@ public void setStatus(HelmAppStatus status) { this.status = status; } + @JsonIgnore + public HelmReleaseBuilder edit() { + return new HelmReleaseBuilder(this); + } + + @JsonIgnore + public HelmReleaseBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmReleaseList.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmReleaseList.java index 6495966eec9..7d62aa886b7 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmReleaseList.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmReleaseList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("apps.open-cluster-management.io") @Generated("jsonschema2pojo") -public class HelmReleaseList implements KubernetesResource, KubernetesResourceList +public class HelmReleaseList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public HelmReleaseListBuilder edit() { + return new HelmReleaseListBuilder(this); + } + + @JsonIgnore + public HelmReleaseListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmReleaseRepo.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmReleaseRepo.java index 63d07fc516b..e58f68ad571 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmReleaseRepo.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmReleaseRepo.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HelmReleaseRepo implements KubernetesResource +public class HelmReleaseRepo implements Editable , KubernetesResource { @JsonProperty("altSource") @@ -190,6 +191,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public HelmReleaseRepoBuilder edit() { + return new HelmReleaseRepoBuilder(this); + } + + @JsonIgnore + public HelmReleaseRepoBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmRepo.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmRepo.java index 3d4e35199d7..663656e27aa 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmRepo.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmRepo.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HelmRepo implements KubernetesResource +public class HelmRepo implements Editable , KubernetesResource { @JsonProperty("urls") @@ -96,6 +97,16 @@ public void setUrls(List urls) { this.urls = urls; } + @JsonIgnore + public HelmRepoBuilder edit() { + return new HelmRepoBuilder(this); + } + + @JsonIgnore + public HelmRepoBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/Source.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/Source.java index c712457219e..7af5afe6899 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/Source.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/Source.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Source implements KubernetesResource +public class Source implements Editable , KubernetesResource { @JsonProperty("git") @@ -135,6 +136,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public SourceBuilder edit() { + return new SourceBuilder(this); + } + + @JsonIgnore + public SourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/placementrule/v1/GenericClusterReference.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/placementrule/v1/GenericClusterReference.java index e990586b62b..20d09a4a098 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/placementrule/v1/GenericClusterReference.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/placementrule/v1/GenericClusterReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class GenericClusterReference implements KubernetesResource +public class GenericClusterReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -93,6 +94,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public GenericClusterReferenceBuilder edit() { + return new GenericClusterReferenceBuilder(this); + } + + @JsonIgnore + public GenericClusterReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/placementrule/v1/Placement.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/placementrule/v1/Placement.java index c9d4ed6a26f..af8a3e9045d 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/placementrule/v1/Placement.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/placementrule/v1/Placement.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Placement implements KubernetesResource +public class Placement implements Editable , KubernetesResource { @JsonProperty("clusterSelector") @@ -136,6 +137,16 @@ public void setPlacementRef(io.fabric8.kubernetes.api.model.ObjectReference plac this.placementRef = placementRef; } + @JsonIgnore + public PlacementBuilder edit() { + return new PlacementBuilder(this); + } + + @JsonIgnore + public PlacementBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/AllowDenyItem.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/AllowDenyItem.java index e109b6b7da0..caaa4614dd7 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/AllowDenyItem.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/AllowDenyItem.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class AllowDenyItem implements KubernetesResource +public class AllowDenyItem implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -109,6 +110,16 @@ public void setKinds(List kinds) { this.kinds = kinds; } + @JsonIgnore + public AllowDenyItemBuilder edit() { + return new AllowDenyItemBuilder(this); + } + + @JsonIgnore + public AllowDenyItemBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/AnsibleJobsStatus.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/AnsibleJobsStatus.java index f81e3ef5f80..d16be9575db 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/AnsibleJobsStatus.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/AnsibleJobsStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class AnsibleJobsStatus implements KubernetesResource +public class AnsibleJobsStatus implements Editable , KubernetesResource { @JsonProperty("lastposthookjob") @@ -139,6 +140,16 @@ public void setPrehookjobshistory(List prehookjobshistory) { this.prehookjobshistory = prehookjobshistory; } + @JsonIgnore + public AnsibleJobsStatusBuilder edit() { + return new AnsibleJobsStatusBuilder(this); + } + + @JsonIgnore + public AnsibleJobsStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/ClusterOverride.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/ClusterOverride.java index 95c91c5ec2a..8aa8616c77a 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/ClusterOverride.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/ClusterOverride.java @@ -10,6 +10,7 @@ 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.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -61,12 +62,22 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ClusterOverride implements KubernetesResource +public class ClusterOverride implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public ClusterOverrideBuilder edit() { + return new ClusterOverrideBuilder(this); + } + + @JsonIgnore + public ClusterOverrideBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/ClusterOverrides.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/ClusterOverrides.java index 1e6a7b7546a..09c64337841 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/ClusterOverrides.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/ClusterOverrides.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ClusterOverrides implements KubernetesResource +public class ClusterOverrides implements Editable , KubernetesResource { @JsonProperty("clusterName") @@ -110,6 +111,16 @@ public void setClusterOverrides(List clusterOverrides) { this.clusterOverrides = clusterOverrides; } + @JsonIgnore + public ClusterOverridesBuilder edit() { + return new ClusterOverridesBuilder(this); + } + + @JsonIgnore + public ClusterOverridesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/HourRange.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/HourRange.java index 694dc5d9198..6f846b33ce5 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/HourRange.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/HourRange.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HourRange implements KubernetesResource +public class HourRange implements Editable , KubernetesResource { @JsonProperty("end") @@ -107,6 +108,16 @@ public void setStart(String start) { this.start = start; } + @JsonIgnore + public HourRangeBuilder edit() { + return new HourRangeBuilder(this); + } + + @JsonIgnore + public HourRangeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/Overrides.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/Overrides.java index 0468eb8484e..a8744c76929 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/Overrides.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/Overrides.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Overrides implements KubernetesResource +public class Overrides implements Editable , KubernetesResource { @JsonProperty("packageAlias") @@ -124,6 +125,16 @@ public void setPackageOverrides(List> packageOverrides) { this.packageOverrides = packageOverrides; } + @JsonIgnore + public OverridesBuilder edit() { + return new OverridesBuilder(this); + } + + @JsonIgnore + public OverridesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/PackageFilter.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/PackageFilter.java index f6dcaf5741c..a0dffe4e2b7 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/PackageFilter.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/PackageFilter.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PackageFilter implements KubernetesResource +public class PackageFilter implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -134,6 +135,16 @@ public void setVersion(java.lang.String version) { this.version = version; } + @JsonIgnore + public PackageFilterBuilder edit() { + return new PackageFilterBuilder(this); + } + + @JsonIgnore + public PackageFilterBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/Subscription.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/Subscription.java index ec44f0e811c..6af905195c5 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/Subscription.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/Subscription.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("apps.open-cluster-management.io") @Generated("jsonschema2pojo") -public class Subscription implements HasMetadata, Namespaced +public class Subscription implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(SubscriptionStatus status) { this.status = status; } + @JsonIgnore + public SubscriptionBuilder edit() { + return new SubscriptionBuilder(this); + } + + @JsonIgnore + public SubscriptionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/SubscriptionList.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/SubscriptionList.java index 0e357624e05..c0edf7b4efb 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/SubscriptionList.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/SubscriptionList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("apps.open-cluster-management.io") @Generated("jsonschema2pojo") -public class SubscriptionList implements KubernetesResource, KubernetesResourceList +public class SubscriptionList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public SubscriptionListBuilder edit() { + return new SubscriptionListBuilder(this); + } + + @JsonIgnore + public SubscriptionListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/SubscriptionPerClusterStatus.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/SubscriptionPerClusterStatus.java index 9622cfbc00d..ae6c84b54e9 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/SubscriptionPerClusterStatus.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/SubscriptionPerClusterStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SubscriptionPerClusterStatus implements KubernetesResource +public class SubscriptionPerClusterStatus implements Editable , KubernetesResource { @JsonProperty("packages") @@ -94,6 +95,16 @@ public void setPackages(Map packages) { this.packages = packages; } + @JsonIgnore + public SubscriptionPerClusterStatusBuilder edit() { + return new SubscriptionPerClusterStatusBuilder(this); + } + + @JsonIgnore + public SubscriptionPerClusterStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/SubscriptionSpec.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/SubscriptionSpec.java index 6d3d7d0fb78..31442e7fc26 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/SubscriptionSpec.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/SubscriptionSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -75,7 +76,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SubscriptionSpec implements KubernetesResource +public class SubscriptionSpec implements Editable , KubernetesResource { @JsonProperty("allow") @@ -239,6 +240,16 @@ public void setTimewindow(TimeWindow timewindow) { this.timewindow = timewindow; } + @JsonIgnore + public SubscriptionSpecBuilder edit() { + return new SubscriptionSpecBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/SubscriptionStatus.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/SubscriptionStatus.java index c543dd571ff..a30956a620a 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/SubscriptionStatus.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/SubscriptionStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SubscriptionStatus implements KubernetesResource +public class SubscriptionStatus implements Editable , KubernetesResource { @JsonProperty("ansiblejobs") @@ -164,6 +165,16 @@ public void setStatuses(Map statuses) { this.statuses = statuses; } + @JsonIgnore + public SubscriptionStatusBuilder edit() { + return new SubscriptionStatusBuilder(this); + } + + @JsonIgnore + public SubscriptionStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/SubscriptionUnitStatus.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/SubscriptionUnitStatus.java index 0327ace1f5c..9faafa9dede 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/SubscriptionUnitStatus.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/SubscriptionUnitStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SubscriptionUnitStatus implements KubernetesResource +public class SubscriptionUnitStatus implements Editable , KubernetesResource { @JsonProperty("lastUpdateTime") @@ -150,6 +151,16 @@ public void setResourceStatus(Map resourceStatus) { this.resourceStatus = resourceStatus; } + @JsonIgnore + public SubscriptionUnitStatusBuilder edit() { + return new SubscriptionUnitStatusBuilder(this); + } + + @JsonIgnore + public SubscriptionUnitStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/TimeWindow.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/TimeWindow.java index acacb629509..35fd41e9fa9 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/TimeWindow.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/TimeWindow.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TimeWindow implements KubernetesResource +public class TimeWindow implements Editable , KubernetesResource { @JsonProperty("daysofweek") @@ -139,6 +140,16 @@ public void setWindowtype(String windowtype) { this.windowtype = windowtype; } + @JsonIgnore + public TimeWindowBuilder edit() { + return new TimeWindowBuilder(this); + } + + @JsonIgnore + public TimeWindowBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementClusterSchema.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementClusterSchema.java index fbe2e96887d..23cde5b1ed4 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementClusterSchema.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementClusterSchema.java @@ -2,10 +2,12 @@ package io.fabric8.openclustermanagement.api.model; import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -110,7 +112,8 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class OpenClusterManagementClusterSchema { +public class OpenClusterManagementClusterSchema implements Editable +{ @JsonProperty("open-cluster-management_io_api_cluster_v1_ClientConfig") private ClientConfig openClusterManagementIoApiClusterV1ClientConfig; @@ -475,4 +478,14 @@ public void setOpenClusterManagementIoApiClusterV1beta1ManagedClusterSetStatus(M this.openClusterManagementIoApiClusterV1beta1ManagedClusterSetStatus = openClusterManagementIoApiClusterV1beta1ManagedClusterSetStatus; } + @JsonIgnore + public OpenClusterManagementClusterSchemaBuilder edit() { + return new OpenClusterManagementClusterSchemaBuilder(this); + } + + @JsonIgnore + public OpenClusterManagementClusterSchemaBuilder toBuilder() { + return edit(); + } + } diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ClientConfig.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ClientConfig.java index 61845731b0a..58fad4ebcaa 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ClientConfig.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ClientConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ClientConfig implements KubernetesResource +public class ClientConfig implements Editable , KubernetesResource { @JsonProperty("caBundle") @@ -108,6 +109,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public ClientConfigBuilder edit() { + return new ClientConfigBuilder(this); + } + + @JsonIgnore + public ClientConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedCluster.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedCluster.java index ebb9bc21920..e95a637edc6 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedCluster.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedCluster.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @Version("v1") @Group("cluster.open-cluster-management.io") @Generated("jsonschema2pojo") -public class ManagedCluster implements HasMetadata +public class ManagedCluster implements Editable , HasMetadata { /** @@ -184,6 +185,16 @@ public void setStatus(ManagedClusterStatus status) { this.status = status; } + @JsonIgnore + public ManagedClusterBuilder edit() { + return new ManagedClusterBuilder(this); + } + + @JsonIgnore + public ManagedClusterBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedClusterClaim.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedClusterClaim.java index 41d9215759b..9f20510742b 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedClusterClaim.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedClusterClaim.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ManagedClusterClaim implements KubernetesResource +public class ManagedClusterClaim implements Editable , KubernetesResource { @JsonProperty("name") @@ -107,6 +108,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public ManagedClusterClaimBuilder edit() { + return new ManagedClusterClaimBuilder(this); + } + + @JsonIgnore + public ManagedClusterClaimBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedClusterList.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedClusterList.java index bb356b57dad..a7aebaf76c3 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedClusterList.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedClusterList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("cluster.open-cluster-management.io") @Generated("jsonschema2pojo") -public class ManagedClusterList implements KubernetesResource, KubernetesResourceList +public class ManagedClusterList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ManagedClusterListBuilder edit() { + return new ManagedClusterListBuilder(this); + } + + @JsonIgnore + public ManagedClusterListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedClusterSpec.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedClusterSpec.java index 0c059da2d0f..892ce2cac38 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedClusterSpec.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedClusterSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ManagedClusterSpec implements KubernetesResource +public class ManagedClusterSpec implements Editable , KubernetesResource { @JsonProperty("hubAcceptsClient") @@ -124,6 +125,16 @@ public void setManagedClusterClientConfigs(List managedClusterClie this.managedClusterClientConfigs = managedClusterClientConfigs; } + @JsonIgnore + public ManagedClusterSpecBuilder edit() { + return new ManagedClusterSpecBuilder(this); + } + + @JsonIgnore + public ManagedClusterSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedClusterStatus.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedClusterStatus.java index 4040996e19e..2c5369922ce 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedClusterStatus.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedClusterStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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.ContainerPort; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ManagedClusterStatus implements KubernetesResource +public class ManagedClusterStatus implements Editable , KubernetesResource { @JsonProperty("allocatable") @@ -157,6 +158,16 @@ public void setVersion(ManagedClusterVersion version) { this.version = version; } + @JsonIgnore + public ManagedClusterStatusBuilder edit() { + return new ManagedClusterStatusBuilder(this); + } + + @JsonIgnore + public ManagedClusterStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedClusterVersion.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedClusterVersion.java index 8fdaece24c0..9ec16c668c0 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedClusterVersion.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedClusterVersion.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ManagedClusterVersion implements KubernetesResource +public class ManagedClusterVersion implements Editable , KubernetesResource { @JsonProperty("kubernetes") @@ -93,6 +94,16 @@ public void setKubernetes(String kubernetes) { this.kubernetes = kubernetes; } + @JsonIgnore + public ManagedClusterVersionBuilder edit() { + return new ManagedClusterVersionBuilder(this); + } + + @JsonIgnore + public ManagedClusterVersionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/ClusterClaimSelector.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/ClusterClaimSelector.java index 2ea1abfd41a..ad0cb0a216d 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/ClusterClaimSelector.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/ClusterClaimSelector.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ClusterClaimSelector implements KubernetesResource +public class ClusterClaimSelector implements Editable , KubernetesResource { @JsonProperty("matchExpressions") @@ -97,6 +98,16 @@ public void setMatchExpressions(List matchExpressions) this.matchExpressions = matchExpressions; } + @JsonIgnore + public ClusterClaimSelectorBuilder edit() { + return new ClusterClaimSelectorBuilder(this); + } + + @JsonIgnore + public ClusterClaimSelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/ClusterDecision.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/ClusterDecision.java index 6492fae31a8..055336da9f2 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/ClusterDecision.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/ClusterDecision.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ClusterDecision implements KubernetesResource +public class ClusterDecision implements Editable , KubernetesResource { @JsonProperty("clusterName") @@ -107,6 +108,16 @@ public void setReason(String reason) { this.reason = reason; } + @JsonIgnore + public ClusterDecisionBuilder edit() { + return new ClusterDecisionBuilder(this); + } + + @JsonIgnore + public ClusterDecisionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/ClusterPredicate.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/ClusterPredicate.java index 1ff700afc48..b00a4b5cb68 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/ClusterPredicate.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/ClusterPredicate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ClusterPredicate implements KubernetesResource +public class ClusterPredicate implements Editable , KubernetesResource { @JsonProperty("requiredClusterSelector") @@ -93,6 +94,16 @@ public void setRequiredClusterSelector(ClusterSelector requiredClusterSelector) this.requiredClusterSelector = requiredClusterSelector; } + @JsonIgnore + public ClusterPredicateBuilder edit() { + return new ClusterPredicateBuilder(this); + } + + @JsonIgnore + public ClusterPredicateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/ClusterSelector.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/ClusterSelector.java index e5f88f79a1b..427846de14a 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/ClusterSelector.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/ClusterSelector.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ClusterSelector implements KubernetesResource +public class ClusterSelector implements Editable , KubernetesResource { @JsonProperty("claimSelector") @@ -106,6 +107,16 @@ public void setLabelSelector(io.fabric8.kubernetes.api.model.LabelSelector label this.labelSelector = labelSelector; } + @JsonIgnore + public ClusterSelectorBuilder edit() { + return new ClusterSelectorBuilder(this); + } + + @JsonIgnore + public ClusterSelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/Placement.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/Placement.java index 96c3cef36ac..c4ad639e1b0 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/Placement.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/Placement.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("cluster.open-cluster-management.io") @Generated("jsonschema2pojo") -public class Placement implements HasMetadata, Namespaced +public class Placement implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(PlacementStatus status) { this.status = status; } + @JsonIgnore + public PlacementBuilder edit() { + return new PlacementBuilder(this); + } + + @JsonIgnore + public PlacementBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementDecision.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementDecision.java index d1c36d619c0..b322580b01d 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementDecision.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementDecision.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @Version("v1alpha1") @Group("cluster.open-cluster-management.io") @Generated("jsonschema2pojo") -public class PlacementDecision implements HasMetadata, Namespaced +public class PlacementDecision implements Editable , HasMetadata, Namespaced { /** @@ -171,6 +172,16 @@ public void setStatus(PlacementDecisionStatus status) { this.status = status; } + @JsonIgnore + public PlacementDecisionBuilder edit() { + return new PlacementDecisionBuilder(this); + } + + @JsonIgnore + public PlacementDecisionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementDecisionList.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementDecisionList.java index c293ad2cb13..e9b9febc115 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementDecisionList.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementDecisionList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("cluster.open-cluster-management.io") @Generated("jsonschema2pojo") -public class PlacementDecisionList implements KubernetesResource, KubernetesResourceList +public class PlacementDecisionList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PlacementDecisionListBuilder edit() { + return new PlacementDecisionListBuilder(this); + } + + @JsonIgnore + public PlacementDecisionListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementDecisionStatus.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementDecisionStatus.java index b3f83f49724..151a4ea78eb 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementDecisionStatus.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementDecisionStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PlacementDecisionStatus implements KubernetesResource +public class PlacementDecisionStatus implements Editable , KubernetesResource { @JsonProperty("decisions") @@ -96,6 +97,16 @@ public void setDecisions(List decisions) { this.decisions = decisions; } + @JsonIgnore + public PlacementDecisionStatusBuilder edit() { + return new PlacementDecisionStatusBuilder(this); + } + + @JsonIgnore + public PlacementDecisionStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementList.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementList.java index ed565106c5f..d179c968a02 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementList.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("cluster.open-cluster-management.io") @Generated("jsonschema2pojo") -public class PlacementList implements KubernetesResource, KubernetesResourceList +public class PlacementList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PlacementListBuilder edit() { + return new PlacementListBuilder(this); + } + + @JsonIgnore + public PlacementListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementSpec.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementSpec.java index ae383698727..6ab7c21f018 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementSpec.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PlacementSpec implements KubernetesResource +public class PlacementSpec implements Editable , KubernetesResource { @JsonProperty("clusterSets") @@ -139,6 +140,16 @@ public void setPrioritizerPolicy(PrioritizerPolicy prioritizerPolicy) { this.prioritizerPolicy = prioritizerPolicy; } + @JsonIgnore + public PlacementSpecBuilder edit() { + return new PlacementSpecBuilder(this); + } + + @JsonIgnore + public PlacementSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementStatus.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementStatus.java index 9cf5253bef2..afadd7bed79 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementStatus.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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.ContainerPort; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PlacementStatus implements KubernetesResource +public class PlacementStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -111,6 +112,16 @@ public void setNumberOfSelectedClusters(Integer numberOfSelectedClusters) { this.numberOfSelectedClusters = numberOfSelectedClusters; } + @JsonIgnore + public PlacementStatusBuilder edit() { + return new PlacementStatusBuilder(this); + } + + @JsonIgnore + public PlacementStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PrioritizerConfig.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PrioritizerConfig.java index f9671015cef..65c42fe8c31 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PrioritizerConfig.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PrioritizerConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PrioritizerConfig implements KubernetesResource +public class PrioritizerConfig implements Editable , KubernetesResource { @JsonProperty("name") @@ -107,6 +108,16 @@ public void setWeight(Integer weight) { this.weight = weight; } + @JsonIgnore + public PrioritizerConfigBuilder edit() { + return new PrioritizerConfigBuilder(this); + } + + @JsonIgnore + public PrioritizerConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PrioritizerPolicy.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PrioritizerPolicy.java index 92b99a656ac..58399915473 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PrioritizerPolicy.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PrioritizerPolicy.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PrioritizerPolicy implements KubernetesResource +public class PrioritizerPolicy implements Editable , KubernetesResource { @JsonProperty("configurations") @@ -110,6 +111,16 @@ public void setMode(String mode) { this.mode = mode; } + @JsonIgnore + public PrioritizerPolicyBuilder edit() { + return new PrioritizerPolicyBuilder(this); + } + + @JsonIgnore + public PrioritizerPolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSet.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSet.java index 92dbf87935e..c42704a6ebf 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSet.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSet.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @Version("v1beta1") @Group("cluster.open-cluster-management.io") @Generated("jsonschema2pojo") -public class ManagedClusterSet implements HasMetadata +public class ManagedClusterSet implements Editable , HasMetadata { /** @@ -184,6 +185,16 @@ public void setStatus(ManagedClusterSetStatus status) { this.status = status; } + @JsonIgnore + public ManagedClusterSetBuilder edit() { + return new ManagedClusterSetBuilder(this); + } + + @JsonIgnore + public ManagedClusterSetBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetBinding.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetBinding.java index 5a4c914f6a9..25e1dc53277 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetBinding.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetBinding.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @Version("v1beta1") @Group("cluster.open-cluster-management.io") @Generated("jsonschema2pojo") -public class ManagedClusterSetBinding implements HasMetadata, Namespaced +public class ManagedClusterSetBinding implements Editable , HasMetadata, Namespaced { /** @@ -171,6 +172,16 @@ public void setSpec(ManagedClusterSetBindingSpec spec) { this.spec = spec; } + @JsonIgnore + public ManagedClusterSetBindingBuilder edit() { + return new ManagedClusterSetBindingBuilder(this); + } + + @JsonIgnore + public ManagedClusterSetBindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetBindingList.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetBindingList.java index f1d7fe6261b..abdd2719c99 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetBindingList.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetBindingList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("cluster.open-cluster-management.io") @Generated("jsonschema2pojo") -public class ManagedClusterSetBindingList implements KubernetesResource, KubernetesResourceList +public class ManagedClusterSetBindingList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ManagedClusterSetBindingListBuilder edit() { + return new ManagedClusterSetBindingListBuilder(this); + } + + @JsonIgnore + public ManagedClusterSetBindingListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetBindingSpec.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetBindingSpec.java index 761780723a1..7c0ea9b1434 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetBindingSpec.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetBindingSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ManagedClusterSetBindingSpec implements KubernetesResource +public class ManagedClusterSetBindingSpec implements Editable , KubernetesResource { @JsonProperty("clusterSet") @@ -93,6 +94,16 @@ public void setClusterSet(String clusterSet) { this.clusterSet = clusterSet; } + @JsonIgnore + public ManagedClusterSetBindingSpecBuilder edit() { + return new ManagedClusterSetBindingSpecBuilder(this); + } + + @JsonIgnore + public ManagedClusterSetBindingSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetList.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetList.java index 14f0f04a9e5..5e1cf81c6f7 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetList.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("cluster.open-cluster-management.io") @Generated("jsonschema2pojo") -public class ManagedClusterSetList implements KubernetesResource, KubernetesResourceList +public class ManagedClusterSetList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ManagedClusterSetListBuilder edit() { + return new ManagedClusterSetListBuilder(this); + } + + @JsonIgnore + public ManagedClusterSetListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetSpec.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetSpec.java index 89fea1a20e0..f6577df4788 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetSpec.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetSpec.java @@ -10,6 +10,7 @@ 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.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -61,12 +62,22 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ManagedClusterSetSpec implements KubernetesResource +public class ManagedClusterSetSpec implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public ManagedClusterSetSpecBuilder edit() { + return new ManagedClusterSetSpecBuilder(this); + } + + @JsonIgnore + public ManagedClusterSetSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetStatus.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetStatus.java index 87e38fcbe05..f38dfad3940 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetStatus.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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.ContainerPort; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ManagedClusterSetStatus implements KubernetesResource +public class ManagedClusterSetStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -97,6 +98,16 @@ public void setConditions(List conditions) { this.conditions = conditions; } + @JsonIgnore + public ManagedClusterSetStatusBuilder edit() { + return new ManagedClusterSetStatusBuilder(this); + } + + @JsonIgnore + public ManagedClusterSetStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementDiscoverySchema.java b/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementDiscoverySchema.java index b551179d191..c71e0f57891 100644 --- a/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementDiscoverySchema.java +++ b/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementDiscoverySchema.java @@ -2,10 +2,12 @@ package io.fabric8.openclustermanagement.api.model; import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +76,8 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class OpenClusterManagementDiscoverySchema { +public class OpenClusterManagementDiscoverySchema implements Editable +{ @JsonProperty("github_com_open-cluster-management_discovery_api_v1alpha1_DiscoveredCluster") private DiscoveredCluster githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster; @@ -205,4 +208,14 @@ public void setGithubComOpenClusterManagementDiscoveryApiV1alpha1Filter(Filter g this.githubComOpenClusterManagementDiscoveryApiV1alpha1Filter = githubComOpenClusterManagementDiscoveryApiV1alpha1Filter; } + @JsonIgnore + public OpenClusterManagementDiscoverySchemaBuilder edit() { + return new OpenClusterManagementDiscoverySchemaBuilder(this); + } + + @JsonIgnore + public OpenClusterManagementDiscoverySchemaBuilder toBuilder() { + return edit(); + } + } diff --git a/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveredCluster.java b/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveredCluster.java index c4fc92719cf..802a39e9190 100644 --- a/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveredCluster.java +++ b/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveredCluster.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("discovery.open-cluster-management.io") @Generated("jsonschema2pojo") -public class DiscoveredCluster implements HasMetadata, Namespaced +public class DiscoveredCluster implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(DiscoveredClusterStatus status) { this.status = status; } + @JsonIgnore + public DiscoveredClusterBuilder edit() { + return new DiscoveredClusterBuilder(this); + } + + @JsonIgnore + public DiscoveredClusterBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveredClusterList.java b/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveredClusterList.java index 5d3179b5958..12691ace140 100644 --- a/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveredClusterList.java +++ b/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveredClusterList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("discovery.open-cluster-management.io") @Generated("jsonschema2pojo") -public class DiscoveredClusterList implements KubernetesResource, KubernetesResourceList +public class DiscoveredClusterList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public DiscoveredClusterListBuilder edit() { + return new DiscoveredClusterListBuilder(this); + } + + @JsonIgnore + public DiscoveredClusterListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveredClusterSpec.java b/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveredClusterSpec.java index 10966210df2..4899f74ec11 100644 --- a/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveredClusterSpec.java +++ b/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveredClusterSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class DiscoveredClusterSpec implements KubernetesResource +public class DiscoveredClusterSpec implements Editable , KubernetesResource { @JsonProperty("activityTimestamp") @@ -246,6 +247,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public DiscoveredClusterSpecBuilder edit() { + return new DiscoveredClusterSpecBuilder(this); + } + + @JsonIgnore + public DiscoveredClusterSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveredClusterStatus.java b/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveredClusterStatus.java index 610a634d197..d2eba4a1c2a 100644 --- a/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveredClusterStatus.java +++ b/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveredClusterStatus.java @@ -10,6 +10,7 @@ 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.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -61,12 +62,22 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class DiscoveredClusterStatus implements KubernetesResource +public class DiscoveredClusterStatus implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public DiscoveredClusterStatusBuilder edit() { + return new DiscoveredClusterStatusBuilder(this); + } + + @JsonIgnore + public DiscoveredClusterStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveryConfig.java b/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveryConfig.java index 7f976de6b58..1eef86f716d 100644 --- a/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveryConfig.java +++ b/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveryConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("discovery.open-cluster-management.io") @Generated("jsonschema2pojo") -public class DiscoveryConfig implements HasMetadata, Namespaced +public class DiscoveryConfig implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(DiscoveryConfigStatus status) { this.status = status; } + @JsonIgnore + public DiscoveryConfigBuilder edit() { + return new DiscoveryConfigBuilder(this); + } + + @JsonIgnore + public DiscoveryConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveryConfigList.java b/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveryConfigList.java index 06a466cb67e..543193a1343 100644 --- a/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveryConfigList.java +++ b/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveryConfigList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("discovery.open-cluster-management.io") @Generated("jsonschema2pojo") -public class DiscoveryConfigList implements KubernetesResource, KubernetesResourceList +public class DiscoveryConfigList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public DiscoveryConfigListBuilder edit() { + return new DiscoveryConfigListBuilder(this); + } + + @JsonIgnore + public DiscoveryConfigListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveryConfigSpec.java b/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveryConfigSpec.java index e479fafc827..7c2f5e47c74 100644 --- a/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveryConfigSpec.java +++ b/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveryConfigSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class DiscoveryConfigSpec implements KubernetesResource +public class DiscoveryConfigSpec implements Editable , KubernetesResource { @JsonProperty("credential") @@ -107,6 +108,16 @@ public void setFilters(Filter filters) { this.filters = filters; } + @JsonIgnore + public DiscoveryConfigSpecBuilder edit() { + return new DiscoveryConfigSpecBuilder(this); + } + + @JsonIgnore + public DiscoveryConfigSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveryConfigStatus.java b/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveryConfigStatus.java index 8db4f731d75..bc88020e324 100644 --- a/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveryConfigStatus.java +++ b/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveryConfigStatus.java @@ -10,6 +10,7 @@ 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.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -61,12 +62,22 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class DiscoveryConfigStatus implements KubernetesResource +public class DiscoveryConfigStatus implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public DiscoveryConfigStatusBuilder edit() { + return new DiscoveryConfigStatusBuilder(this); + } + + @JsonIgnore + public DiscoveryConfigStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/Filter.java b/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/Filter.java index ed2fa177c28..d96add437cc 100644 --- a/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/Filter.java +++ b/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/Filter.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Filter implements KubernetesResource +public class Filter implements Editable , KubernetesResource { @JsonProperty("lastActive") @@ -110,6 +111,16 @@ public void setOpenShiftVersions(List openShiftVersions) { this.openShiftVersions = openShiftVersions; } + @JsonIgnore + public FilterBuilder edit() { + return new FilterBuilder(this); + } + + @JsonIgnore + public FilterBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementObservabilitySchema.java b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementObservabilitySchema.java index 8d81e703d6f..fd37ccc1841 100644 --- a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementObservabilitySchema.java +++ b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementObservabilitySchema.java @@ -2,10 +2,12 @@ package io.fabric8.openclustermanagement.api.model; import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -94,7 +96,8 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class OpenClusterManagementObservabilitySchema { +public class OpenClusterManagementObservabilitySchema implements Editable +{ @JsonProperty("github_com_open-cluster-management_multicluster-observability-operator_operators_multiclusterobservability_api_shared_Condition") private Condition githubComOpenClusterManagementMulticlusterObservabilityOperatorOperatorsMulticlusterobservabilityApiSharedCondition; @@ -355,4 +358,14 @@ public void setGithubComOpenClusterManagementMulticlusterObservabilityOperatorOp this.githubComOpenClusterManagementMulticlusterObservabilityOperatorOperatorsMulticlusterobservabilityApiV1beta2StorageConfig = githubComOpenClusterManagementMulticlusterObservabilityOperatorOperatorsMulticlusterobservabilityApiV1beta2StorageConfig; } + @JsonIgnore + public OpenClusterManagementObservabilitySchemaBuilder edit() { + return new OpenClusterManagementObservabilitySchemaBuilder(this); + } + + @JsonIgnore + public OpenClusterManagementObservabilitySchemaBuilder toBuilder() { + return edit(); + } + } diff --git a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta1/ObservabilityAddon.java b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta1/ObservabilityAddon.java index f80d9d4ec2c..0b3fe796dd2 100644 --- a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta1/ObservabilityAddon.java +++ b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta1/ObservabilityAddon.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @Version("v1beta1") @Group("observability.open-cluster-management.io") @Generated("jsonschema2pojo") -public class ObservabilityAddon implements HasMetadata, Namespaced +public class ObservabilityAddon implements Editable , HasMetadata, Namespaced { /** @@ -186,6 +187,16 @@ public void setStatus(ObservabilityAddonStatus status) { this.status = status; } + @JsonIgnore + public ObservabilityAddonBuilder edit() { + return new ObservabilityAddonBuilder(this); + } + + @JsonIgnore + public ObservabilityAddonBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta1/ObservabilityAddonList.java b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta1/ObservabilityAddonList.java index f286a9e239c..fbf0a679e1d 100644 --- a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta1/ObservabilityAddonList.java +++ b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta1/ObservabilityAddonList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("observability.open-cluster-management.io") @Generated("jsonschema2pojo") -public class ObservabilityAddonList implements KubernetesResource, KubernetesResourceList +public class ObservabilityAddonList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ObservabilityAddonListBuilder edit() { + return new ObservabilityAddonListBuilder(this); + } + + @JsonIgnore + public ObservabilityAddonListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta1/ObservabilityAddonStatus.java b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta1/ObservabilityAddonStatus.java index 8c04a618a18..69ed728196e 100644 --- a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta1/ObservabilityAddonStatus.java +++ b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta1/ObservabilityAddonStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ObservabilityAddonStatus implements KubernetesResource +public class ObservabilityAddonStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -96,6 +97,16 @@ public void setConditions(List conditions) { this.conditions = conditions; } + @JsonIgnore + public ObservabilityAddonStatusBuilder edit() { + return new ObservabilityAddonStatusBuilder(this); + } + + @JsonIgnore + public ObservabilityAddonStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta1/StatusCondition.java b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta1/StatusCondition.java index 878b11317dd..cb028dc33f0 100644 --- a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta1/StatusCondition.java +++ b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta1/StatusCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class StatusCondition implements KubernetesResource +public class StatusCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -149,6 +150,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public StatusConditionBuilder edit() { + return new StatusConditionBuilder(this); + } + + @JsonIgnore + public StatusConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/AdvancedConfig.java b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/AdvancedConfig.java index 848e30f8559..f62651657f8 100644 --- a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/AdvancedConfig.java +++ b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/AdvancedConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class AdvancedConfig implements KubernetesResource +public class AdvancedConfig implements Editable , KubernetesResource { @JsonProperty("alertmanager") @@ -275,6 +276,16 @@ public void setStoreMemcached(CacheConfig storeMemcached) { this.storeMemcached = storeMemcached; } + @JsonIgnore + public AdvancedConfigBuilder edit() { + return new AdvancedConfigBuilder(this); + } + + @JsonIgnore + public AdvancedConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/CacheConfig.java b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/CacheConfig.java index c2c73d24e63..51c7332fb13 100644 --- a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/CacheConfig.java +++ b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/CacheConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CacheConfig implements KubernetesResource +public class CacheConfig implements Editable , KubernetesResource { @JsonProperty("connectionLimit") @@ -148,6 +149,16 @@ public void setResources(io.fabric8.kubernetes.api.model.ResourceRequirements re this.resources = resources; } + @JsonIgnore + public CacheConfigBuilder edit() { + return new CacheConfigBuilder(this); + } + + @JsonIgnore + public CacheConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/CommonSpec.java b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/CommonSpec.java index 663c01ccdb2..f5a85c551b4 100644 --- a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/CommonSpec.java +++ b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/CommonSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CommonSpec implements KubernetesResource +public class CommonSpec implements Editable , KubernetesResource { @JsonProperty("replicas") @@ -106,6 +107,16 @@ public void setResources(io.fabric8.kubernetes.api.model.ResourceRequirements re this.resources = resources; } + @JsonIgnore + public CommonSpecBuilder edit() { + return new CommonSpecBuilder(this); + } + + @JsonIgnore + public CommonSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/CompactSpec.java b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/CompactSpec.java index efe31557a95..1531f9134af 100644 --- a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/CompactSpec.java +++ b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/CompactSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CompactSpec implements KubernetesResource +public class CompactSpec implements Editable , KubernetesResource { @JsonProperty("resources") @@ -92,6 +93,16 @@ public void setResources(io.fabric8.kubernetes.api.model.ResourceRequirements re this.resources = resources; } + @JsonIgnore + public CompactSpecBuilder edit() { + return new CompactSpecBuilder(this); + } + + @JsonIgnore + public CompactSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/MultiClusterObservability.java b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/MultiClusterObservability.java index 5db809e5fca..42a000bc3dc 100644 --- a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/MultiClusterObservability.java +++ b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/MultiClusterObservability.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @Version("v1beta2") @Group("observability.open-cluster-management.io") @Generated("jsonschema2pojo") -public class MultiClusterObservability implements HasMetadata +public class MultiClusterObservability implements Editable , HasMetadata { /** @@ -184,6 +185,16 @@ public void setStatus(MultiClusterObservabilityStatus status) { this.status = status; } + @JsonIgnore + public MultiClusterObservabilityBuilder edit() { + return new MultiClusterObservabilityBuilder(this); + } + + @JsonIgnore + public MultiClusterObservabilityBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/MultiClusterObservabilityList.java b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/MultiClusterObservabilityList.java index bbcd6cf9fa7..a4d332e1466 100644 --- a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/MultiClusterObservabilityList.java +++ b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/MultiClusterObservabilityList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta2") @Group("observability.open-cluster-management.io") @Generated("jsonschema2pojo") -public class MultiClusterObservabilityList implements KubernetesResource, KubernetesResourceList +public class MultiClusterObservabilityList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public MultiClusterObservabilityListBuilder edit() { + return new MultiClusterObservabilityListBuilder(this); + } + + @JsonIgnore + public MultiClusterObservabilityListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/MultiClusterObservabilitySpec.java b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/MultiClusterObservabilitySpec.java index 14778102f2c..64af6c81cf3 100644 --- a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/MultiClusterObservabilitySpec.java +++ b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/MultiClusterObservabilitySpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class MultiClusterObservabilitySpec implements KubernetesResource +public class MultiClusterObservabilitySpec implements Editable , KubernetesResource { @JsonProperty("advanced") @@ -197,6 +198,16 @@ public void setTolerations(List tolerations) { this.tolerations = tolerations; } + @JsonIgnore + public MultiClusterObservabilitySpecBuilder edit() { + return new MultiClusterObservabilitySpecBuilder(this); + } + + @JsonIgnore + public MultiClusterObservabilitySpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/MultiClusterObservabilityStatus.java b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/MultiClusterObservabilityStatus.java index 6c4eea3f141..a7644e050f1 100644 --- a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/MultiClusterObservabilityStatus.java +++ b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/MultiClusterObservabilityStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class MultiClusterObservabilityStatus implements KubernetesResource +public class MultiClusterObservabilityStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -97,6 +98,16 @@ public void setConditions(List conditions) { this.conditions = conditions; } + @JsonIgnore + public MultiClusterObservabilityStatusBuilder edit() { + return new MultiClusterObservabilityStatusBuilder(this); + } + + @JsonIgnore + public MultiClusterObservabilityStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/ObservatoriumConfig.java b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/ObservatoriumConfig.java index dcd1006c2eb..5d9f4a2ab92 100644 --- a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/ObservatoriumConfig.java +++ b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/ObservatoriumConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ObservatoriumConfig implements KubernetesResource +public class ObservatoriumConfig implements Editable , KubernetesResource { @JsonProperty("tenantHeader") @@ -107,6 +108,16 @@ public void setWriteEndpoint(String writeEndpoint) { this.writeEndpoint = writeEndpoint; } + @JsonIgnore + public ObservatoriumConfigBuilder edit() { + return new ObservatoriumConfigBuilder(this); + } + + @JsonIgnore + public ObservatoriumConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/RetentionConfig.java b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/RetentionConfig.java index d72d75cbf6a..09491b6e4ab 100644 --- a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/RetentionConfig.java +++ b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/RetentionConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class RetentionConfig implements KubernetesResource +public class RetentionConfig implements Editable , KubernetesResource { @JsonProperty("blockDuration") @@ -163,6 +164,16 @@ public void setRetentionResolutionRaw(String retentionResolutionRaw) { this.retentionResolutionRaw = retentionResolutionRaw; } + @JsonIgnore + public RetentionConfigBuilder edit() { + return new RetentionConfigBuilder(this); + } + + @JsonIgnore + public RetentionConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/RuleSpec.java b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/RuleSpec.java index 5a6b1cf08ac..b367b728b1a 100644 --- a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/RuleSpec.java +++ b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/RuleSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class RuleSpec implements KubernetesResource +public class RuleSpec implements Editable , KubernetesResource { @JsonProperty("evalInterval") @@ -120,6 +121,16 @@ public void setResources(io.fabric8.kubernetes.api.model.ResourceRequirements re this.resources = resources; } + @JsonIgnore + public RuleSpecBuilder edit() { + return new RuleSpecBuilder(this); + } + + @JsonIgnore + public RuleSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/StorageConfig.java b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/StorageConfig.java index 387696a1f5c..5184ff6c3cb 100644 --- a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/StorageConfig.java +++ b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/StorageConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class StorageConfig implements KubernetesResource +public class StorageConfig implements Editable , KubernetesResource { @JsonProperty("alertmanagerStorageSize") @@ -178,6 +179,16 @@ public void setStoreStorageSize(String storeStorageSize) { this.storeStorageSize = storeStorageSize; } + @JsonIgnore + public StorageConfigBuilder edit() { + return new StorageConfigBuilder(this); + } + + @JsonIgnore + public StorageConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/shared/Condition.java b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/shared/Condition.java index 79571777541..bd117137583 100644 --- a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/shared/Condition.java +++ b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/shared/Condition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Condition implements KubernetesResource +public class Condition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -163,6 +164,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public ConditionBuilder edit() { + return new ConditionBuilder(this); + } + + @JsonIgnore + public ConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/shared/ObservabilityAddonSpec.java b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/shared/ObservabilityAddonSpec.java index 95334885819..871d8953d7a 100644 --- a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/shared/ObservabilityAddonSpec.java +++ b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/shared/ObservabilityAddonSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ObservabilityAddonSpec implements KubernetesResource +public class ObservabilityAddonSpec implements Editable , KubernetesResource { @JsonProperty("enableMetrics") @@ -120,6 +121,16 @@ public void setResources(io.fabric8.kubernetes.api.model.ResourceRequirements re this.resources = resources; } + @JsonIgnore + public ObservabilityAddonSpecBuilder edit() { + return new ObservabilityAddonSpecBuilder(this); + } + + @JsonIgnore + public ObservabilityAddonSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/shared/PreConfiguredStorage.java b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/shared/PreConfiguredStorage.java index 253fb57cd31..e07029059ac 100644 --- a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/shared/PreConfiguredStorage.java +++ b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/shared/PreConfiguredStorage.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PreConfiguredStorage implements KubernetesResource +public class PreConfiguredStorage implements Editable , KubernetesResource { @JsonProperty("key") @@ -107,6 +108,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public PreConfiguredStorageBuilder edit() { + return new PreConfiguredStorageBuilder(this); + } + + @JsonIgnore + public PreConfiguredStorageBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementOperatorSchema.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementOperatorSchema.java index 256f5b92668..bee9b793b9e 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementOperatorSchema.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementOperatorSchema.java @@ -2,10 +2,12 @@ package io.fabric8.openclustermanagement.api.model; import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -110,7 +112,8 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class OpenClusterManagementOperatorSchema { +public class OpenClusterManagementOperatorSchema implements Editable +{ @JsonProperty("github_com_open-cluster-management_multiclusterhub-operator_api_v1_BackupConfig") private BackupConfig githubComOpenClusterManagementMulticlusterhubOperatorApiV1BackupConfig; @@ -475,4 +478,14 @@ public void setOpenClusterManagementIoApiOperatorV1ServerURL(ServerURL openClust this.openClusterManagementIoApiOperatorV1ServerURL = openClusterManagementIoApiOperatorV1ServerURL; } + @JsonIgnore + public OpenClusterManagementOperatorSchemaBuilder edit() { + return new OpenClusterManagementOperatorSchemaBuilder(this); + } + + @JsonIgnore + public OpenClusterManagementOperatorSchemaBuilder toBuilder() { + return edit(); + } + } diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/BackupConfig.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/BackupConfig.java index 3481dbd4097..9828ce94cb5 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/BackupConfig.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/BackupConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class BackupConfig implements KubernetesResource +public class BackupConfig implements Editable , KubernetesResource { @JsonProperty("minBackupPeriodSeconds") @@ -107,6 +108,16 @@ public void setVelero(VeleroBackupConfig velero) { this.velero = velero; } + @JsonIgnore + public BackupConfigBuilder edit() { + return new BackupConfigBuilder(this); + } + + @JsonIgnore + public BackupConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/ExternalDNSAWSConfig.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/ExternalDNSAWSConfig.java index d40c57f6186..5f529764471 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/ExternalDNSAWSConfig.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/ExternalDNSAWSConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ExternalDNSAWSConfig implements KubernetesResource +public class ExternalDNSAWSConfig implements Editable , KubernetesResource { @JsonProperty("credentials") @@ -92,6 +93,16 @@ public void setCredentials(io.fabric8.kubernetes.api.model.LocalObjectReference this.credentials = credentials; } + @JsonIgnore + public ExternalDNSAWSConfigBuilder edit() { + return new ExternalDNSAWSConfigBuilder(this); + } + + @JsonIgnore + public ExternalDNSAWSConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/ExternalDNSConfig.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/ExternalDNSConfig.java index 44950eec3c4..15834c74c44 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/ExternalDNSConfig.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/ExternalDNSConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ExternalDNSConfig implements KubernetesResource +public class ExternalDNSConfig implements Editable , KubernetesResource { @JsonProperty("aws") @@ -107,6 +108,16 @@ public void setGcp(ExternalDNSGCPConfig gcp) { this.gcp = gcp; } + @JsonIgnore + public ExternalDNSConfigBuilder edit() { + return new ExternalDNSConfigBuilder(this); + } + + @JsonIgnore + public ExternalDNSConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/ExternalDNSGCPConfig.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/ExternalDNSGCPConfig.java index f0c4e76caf0..8bf36c8657b 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/ExternalDNSGCPConfig.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/ExternalDNSGCPConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ExternalDNSGCPConfig implements KubernetesResource +public class ExternalDNSGCPConfig implements Editable , KubernetesResource { @JsonProperty("credentials") @@ -92,6 +93,16 @@ public void setCredentials(io.fabric8.kubernetes.api.model.LocalObjectReference this.credentials = credentials; } + @JsonIgnore + public ExternalDNSGCPConfigBuilder edit() { + return new ExternalDNSGCPConfigBuilder(this); + } + + @JsonIgnore + public ExternalDNSGCPConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/FailedProvisionConfig.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/FailedProvisionConfig.java index e3c90b8496f..9acc8c523ce 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/FailedProvisionConfig.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/FailedProvisionConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class FailedProvisionConfig implements KubernetesResource +public class FailedProvisionConfig implements Editable , KubernetesResource { @JsonProperty("skipGatherLogs") @@ -93,6 +94,16 @@ public void setSkipGatherLogs(Boolean skipGatherLogs) { this.skipGatherLogs = skipGatherLogs; } + @JsonIgnore + public FailedProvisionConfigBuilder edit() { + return new FailedProvisionConfigBuilder(this); + } + + @JsonIgnore + public FailedProvisionConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/HiveConfigSpec.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/HiveConfigSpec.java index 7cab12336bc..90674181c1b 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/HiveConfigSpec.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/HiveConfigSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HiveConfigSpec implements KubernetesResource +public class HiveConfigSpec implements Editable , KubernetesResource { @JsonProperty("additionalCertificateAuthorities") @@ -165,6 +166,16 @@ public void setMaintenanceMode(Boolean maintenanceMode) { this.maintenanceMode = maintenanceMode; } + @JsonIgnore + public HiveConfigSpecBuilder edit() { + return new HiveConfigSpecBuilder(this); + } + + @JsonIgnore + public HiveConfigSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/HubCondition.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/HubCondition.java index 1ef7d197404..71b69ca3e70 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/HubCondition.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/HubCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HubCondition implements KubernetesResource +public class HubCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -163,6 +164,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public HubConditionBuilder edit() { + return new HubConditionBuilder(this); + } + + @JsonIgnore + public HubConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/IngressSpec.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/IngressSpec.java index 9c4e28442ee..26658d3c05d 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/IngressSpec.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/IngressSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IngressSpec implements KubernetesResource +public class IngressSpec implements Editable , KubernetesResource { @JsonProperty("sslCiphers") @@ -96,6 +97,16 @@ public void setSslCiphers(List sslCiphers) { this.sslCiphers = sslCiphers; } + @JsonIgnore + public IngressSpecBuilder edit() { + return new IngressSpecBuilder(this); + } + + @JsonIgnore + public IngressSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/MultiClusterHub.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/MultiClusterHub.java index 5a78d3fa363..3b5fd33d9cc 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/MultiClusterHub.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/MultiClusterHub.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("operator.open-cluster-management.io") @Generated("jsonschema2pojo") -public class MultiClusterHub implements HasMetadata, Namespaced +public class MultiClusterHub implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(MultiClusterHubStatus status) { this.status = status; } + @JsonIgnore + public MultiClusterHubBuilder edit() { + return new MultiClusterHubBuilder(this); + } + + @JsonIgnore + public MultiClusterHubBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/MultiClusterHubList.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/MultiClusterHubList.java index 4586ca6139c..693fe63149f 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/MultiClusterHubList.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/MultiClusterHubList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("operator.open-cluster-management.io") @Generated("jsonschema2pojo") -public class MultiClusterHubList implements KubernetesResource, KubernetesResourceList +public class MultiClusterHubList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public MultiClusterHubListBuilder edit() { + return new MultiClusterHubListBuilder(this); + } + + @JsonIgnore + public MultiClusterHubListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/MultiClusterHubSpec.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/MultiClusterHubSpec.java index 08e18bd0800..3fdaeff8fce 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/MultiClusterHubSpec.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/MultiClusterHubSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class MultiClusterHubSpec implements KubernetesResource +public class MultiClusterHubSpec implements Editable , KubernetesResource { @JsonProperty("availabilityConfig") @@ -248,6 +249,16 @@ public void setSeparateCertificateManagement(Boolean separateCertificateManageme this.separateCertificateManagement = separateCertificateManagement; } + @JsonIgnore + public MultiClusterHubSpecBuilder edit() { + return new MultiClusterHubSpecBuilder(this); + } + + @JsonIgnore + public MultiClusterHubSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/MultiClusterHubStatus.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/MultiClusterHubStatus.java index 267bfe572bf..1c9b9470f49 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/MultiClusterHubStatus.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/MultiClusterHubStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class MultiClusterHubStatus implements KubernetesResource +public class MultiClusterHubStatus implements Editable , KubernetesResource { @JsonProperty("components") @@ -153,6 +154,16 @@ public void setPhase(java.lang.String phase) { this.phase = phase; } + @JsonIgnore + public MultiClusterHubStatusBuilder edit() { + return new MultiClusterHubStatusBuilder(this); + } + + @JsonIgnore + public MultiClusterHubStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/Overrides.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/Overrides.java index 114103319d3..57a95a0ef52 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/Overrides.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/Overrides.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Overrides implements KubernetesResource +public class Overrides implements Editable , KubernetesResource { @JsonProperty("imagePullPolicy") @@ -93,6 +94,16 @@ public void setImagePullPolicy(String imagePullPolicy) { this.imagePullPolicy = imagePullPolicy; } + @JsonIgnore + public OverridesBuilder edit() { + return new OverridesBuilder(this); + } + + @JsonIgnore + public OverridesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/StatusCondition.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/StatusCondition.java index e03e8bbe6ea..20ee5bc1357 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/StatusCondition.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/StatusCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class StatusCondition implements KubernetesResource +public class StatusCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -149,6 +150,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public StatusConditionBuilder edit() { + return new StatusConditionBuilder(this); + } + + @JsonIgnore + public StatusConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/VeleroBackupConfig.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/VeleroBackupConfig.java index d5fa25e5af0..b479dbc14ed 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/VeleroBackupConfig.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/VeleroBackupConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VeleroBackupConfig implements KubernetesResource +public class VeleroBackupConfig implements Editable , KubernetesResource { @JsonProperty("enabled") @@ -93,6 +94,16 @@ public void setEnabled(Boolean enabled) { this.enabled = enabled; } + @JsonIgnore + public VeleroBackupConfigBuilder edit() { + return new VeleroBackupConfigBuilder(this); + } + + @JsonIgnore + public VeleroBackupConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/ClusterManager.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/ClusterManager.java index 766292eaee0..e216b2b791b 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/ClusterManager.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/ClusterManager.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @Version("v1") @Group("operator.open-cluster-management.io") @Generated("jsonschema2pojo") -public class ClusterManager implements HasMetadata +public class ClusterManager implements Editable , HasMetadata { /** @@ -184,6 +185,16 @@ public void setStatus(ClusterManagerStatus status) { this.status = status; } + @JsonIgnore + public ClusterManagerBuilder edit() { + return new ClusterManagerBuilder(this); + } + + @JsonIgnore + public ClusterManagerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/ClusterManagerList.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/ClusterManagerList.java index 5b055115ea6..c15b8015d55 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/ClusterManagerList.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/ClusterManagerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("operator.open-cluster-management.io") @Generated("jsonschema2pojo") -public class ClusterManagerList implements KubernetesResource, KubernetesResourceList +public class ClusterManagerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterManagerListBuilder edit() { + return new ClusterManagerListBuilder(this); + } + + @JsonIgnore + public ClusterManagerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/ClusterManagerSpec.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/ClusterManagerSpec.java index 194e58879b4..e111203c0f6 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/ClusterManagerSpec.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/ClusterManagerSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ClusterManagerSpec implements KubernetesResource +public class ClusterManagerSpec implements Editable , KubernetesResource { @JsonProperty("nodePlacement") @@ -135,6 +136,16 @@ public void setWorkImagePullSpec(String workImagePullSpec) { this.workImagePullSpec = workImagePullSpec; } + @JsonIgnore + public ClusterManagerSpecBuilder edit() { + return new ClusterManagerSpecBuilder(this); + } + + @JsonIgnore + public ClusterManagerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/ClusterManagerStatus.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/ClusterManagerStatus.java index bd5ab343c90..05442f87dd3 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/ClusterManagerStatus.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/ClusterManagerStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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.ContainerPort; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ClusterManagerStatus implements KubernetesResource +public class ClusterManagerStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -141,6 +142,16 @@ public void setRelatedResources(List relatedResources) { this.relatedResources = relatedResources; } + @JsonIgnore + public ClusterManagerStatusBuilder edit() { + return new ClusterManagerStatusBuilder(this); + } + + @JsonIgnore + public ClusterManagerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/GenerationStatus.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/GenerationStatus.java index 889609f8ba1..4ecba2e7ce7 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/GenerationStatus.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/GenerationStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class GenerationStatus implements KubernetesResource +public class GenerationStatus implements Editable , KubernetesResource { @JsonProperty("group") @@ -163,6 +164,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public GenerationStatusBuilder edit() { + return new GenerationStatusBuilder(this); + } + + @JsonIgnore + public GenerationStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/Klusterlet.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/Klusterlet.java index 68c931570e7..bec750bfa99 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/Klusterlet.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/Klusterlet.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @Version("v1") @Group("operator.open-cluster-management.io") @Generated("jsonschema2pojo") -public class Klusterlet implements HasMetadata +public class Klusterlet implements Editable , HasMetadata { /** @@ -184,6 +185,16 @@ public void setStatus(KlusterletStatus status) { this.status = status; } + @JsonIgnore + public KlusterletBuilder edit() { + return new KlusterletBuilder(this); + } + + @JsonIgnore + public KlusterletBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/KlusterletList.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/KlusterletList.java index 676fec7902b..882a2132689 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/KlusterletList.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/KlusterletList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("operator.open-cluster-management.io") @Generated("jsonschema2pojo") -public class KlusterletList implements KubernetesResource, KubernetesResourceList +public class KlusterletList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public KlusterletListBuilder edit() { + return new KlusterletListBuilder(this); + } + + @JsonIgnore + public KlusterletListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/KlusterletSpec.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/KlusterletSpec.java index 90657b0e0e3..ef71ebf1f0c 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/KlusterletSpec.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/KlusterletSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class KlusterletSpec implements KubernetesResource +public class KlusterletSpec implements Editable , KubernetesResource { @JsonProperty("clusterName") @@ -166,6 +167,16 @@ public void setWorkImagePullSpec(String workImagePullSpec) { this.workImagePullSpec = workImagePullSpec; } + @JsonIgnore + public KlusterletSpecBuilder edit() { + return new KlusterletSpecBuilder(this); + } + + @JsonIgnore + public KlusterletSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/KlusterletStatus.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/KlusterletStatus.java index 65feaa6ef0b..ecf0114e84e 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/KlusterletStatus.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/KlusterletStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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.ContainerPort; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class KlusterletStatus implements KubernetesResource +public class KlusterletStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -141,6 +142,16 @@ public void setRelatedResources(List relatedResources) { this.relatedResources = relatedResources; } + @JsonIgnore + public KlusterletStatusBuilder edit() { + return new KlusterletStatusBuilder(this); + } + + @JsonIgnore + public KlusterletStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/NodePlacement.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/NodePlacement.java index 57895912623..292c1abfa0c 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/NodePlacement.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/NodePlacement.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class NodePlacement implements KubernetesResource +public class NodePlacement implements Editable , KubernetesResource { @JsonProperty("nodeSelector") @@ -112,6 +113,16 @@ public void setTolerations(List tolerations) { this.tolerations = tolerations; } + @JsonIgnore + public NodePlacementBuilder edit() { + return new NodePlacementBuilder(this); + } + + @JsonIgnore + public NodePlacementBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/RelatedResourceMeta.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/RelatedResourceMeta.java index 88f619f1a74..7b3509ccde9 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/RelatedResourceMeta.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/RelatedResourceMeta.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class RelatedResourceMeta implements KubernetesResource +public class RelatedResourceMeta implements Editable , KubernetesResource { @JsonProperty("group") @@ -149,6 +150,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public RelatedResourceMetaBuilder edit() { + return new RelatedResourceMetaBuilder(this); + } + + @JsonIgnore + public RelatedResourceMetaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/ServerURL.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/ServerURL.java index dc507723139..f1b5bbb874a 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/ServerURL.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/ServerURL.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ServerURL implements KubernetesResource +public class ServerURL implements Editable , KubernetesResource { @JsonProperty("caBundle") @@ -108,6 +109,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public ServerURLBuilder edit() { + return new ServerURLBuilder(this); + } + + @JsonIgnore + public ServerURLBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementPlacementruleappsSchema.java b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementPlacementruleappsSchema.java index 86aba3b387b..994d80cd618 100644 --- a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementPlacementruleappsSchema.java +++ b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementPlacementruleappsSchema.java @@ -2,10 +2,12 @@ package io.fabric8.openclustermanagement.api.model; import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -82,7 +84,8 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class OpenClusterManagementPlacementruleappsSchema { +public class OpenClusterManagementPlacementruleappsSchema implements Editable +{ @JsonProperty("github_com_open-cluster-management_multicloud-integrations_pkg_apis_apps_v1beta1_ArgoServerSpec") private ArgoServerSpec githubComOpenClusterManagementMulticloudIntegrationsPkgApisAppsV1beta1ArgoServerSpec; @@ -265,4 +268,14 @@ public void setGithubComOpenClusterManagementMulticloudOperatorsPlacementrulePkg this.githubComOpenClusterManagementMulticloudOperatorsPlacementrulePkgApisAppsV1ResourceHint = githubComOpenClusterManagementMulticloudOperatorsPlacementrulePkgApisAppsV1ResourceHint; } + @JsonIgnore + public OpenClusterManagementPlacementruleappsSchemaBuilder edit() { + return new OpenClusterManagementPlacementruleappsSchemaBuilder(this); + } + + @JsonIgnore + public OpenClusterManagementPlacementruleappsSchemaBuilder toBuilder() { + return edit(); + } + } diff --git a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudintegration/apps/v1beta1/ArgoServerSpec.java b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudintegration/apps/v1beta1/ArgoServerSpec.java index b2c95554c78..a26d2d069ab 100644 --- a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudintegration/apps/v1beta1/ArgoServerSpec.java +++ b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudintegration/apps/v1beta1/ArgoServerSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ArgoServerSpec implements KubernetesResource +public class ArgoServerSpec implements Editable , KubernetesResource { @JsonProperty("argoNamespace") @@ -107,6 +108,16 @@ public void setCluster(String cluster) { this.cluster = cluster; } + @JsonIgnore + public ArgoServerSpecBuilder edit() { + return new ArgoServerSpecBuilder(this); + } + + @JsonIgnore + public ArgoServerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudintegration/apps/v1beta1/GitOpsCluster.java b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudintegration/apps/v1beta1/GitOpsCluster.java index 1d91900301e..4dbc7002845 100644 --- a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudintegration/apps/v1beta1/GitOpsCluster.java +++ b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudintegration/apps/v1beta1/GitOpsCluster.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1beta1") @Group("apps.open-cluster-management.io") @Generated("jsonschema2pojo") -public class GitOpsCluster implements HasMetadata, Namespaced +public class GitOpsCluster implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(GitOpsClusterStatus status) { this.status = status; } + @JsonIgnore + public GitOpsClusterBuilder edit() { + return new GitOpsClusterBuilder(this); + } + + @JsonIgnore + public GitOpsClusterBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudintegration/apps/v1beta1/GitOpsClusterList.java b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudintegration/apps/v1beta1/GitOpsClusterList.java index 3356c6e35d3..5112c3e8cd3 100644 --- a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudintegration/apps/v1beta1/GitOpsClusterList.java +++ b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudintegration/apps/v1beta1/GitOpsClusterList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("apps.open-cluster-management.io") @Generated("jsonschema2pojo") -public class GitOpsClusterList implements KubernetesResource, KubernetesResourceList +public class GitOpsClusterList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public GitOpsClusterListBuilder edit() { + return new GitOpsClusterListBuilder(this); + } + + @JsonIgnore + public GitOpsClusterListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudintegration/apps/v1beta1/GitOpsClusterSpec.java b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudintegration/apps/v1beta1/GitOpsClusterSpec.java index 3967af8b11a..1967c6f5b47 100644 --- a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudintegration/apps/v1beta1/GitOpsClusterSpec.java +++ b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudintegration/apps/v1beta1/GitOpsClusterSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class GitOpsClusterSpec implements KubernetesResource +public class GitOpsClusterSpec implements Editable , KubernetesResource { @JsonProperty("argoServer") @@ -106,6 +107,16 @@ public void setPlacementRef(io.fabric8.kubernetes.api.model.ObjectReference plac this.placementRef = placementRef; } + @JsonIgnore + public GitOpsClusterSpecBuilder edit() { + return new GitOpsClusterSpecBuilder(this); + } + + @JsonIgnore + public GitOpsClusterSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudintegration/apps/v1beta1/GitOpsClusterStatus.java b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudintegration/apps/v1beta1/GitOpsClusterStatus.java index 2ab37dec733..f21d84c2548 100644 --- a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudintegration/apps/v1beta1/GitOpsClusterStatus.java +++ b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudintegration/apps/v1beta1/GitOpsClusterStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class GitOpsClusterStatus implements KubernetesResource +public class GitOpsClusterStatus implements Editable , KubernetesResource { @JsonProperty("lastUpdateTime") @@ -121,6 +122,16 @@ public void setPhase(String phase) { this.phase = phase; } + @JsonIgnore + public GitOpsClusterStatusBuilder edit() { + return new GitOpsClusterStatusBuilder(this); + } + + @JsonIgnore + public GitOpsClusterStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/ClusterConditionFilter.java b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/ClusterConditionFilter.java index b6e6363e792..e3e359da521 100644 --- a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/ClusterConditionFilter.java +++ b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/ClusterConditionFilter.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ClusterConditionFilter implements KubernetesResource +public class ClusterConditionFilter implements Editable , KubernetesResource { @JsonProperty("status") @@ -107,6 +108,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public ClusterConditionFilterBuilder edit() { + return new ClusterConditionFilterBuilder(this); + } + + @JsonIgnore + public ClusterConditionFilterBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/GenericClusterReference.java b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/GenericClusterReference.java index 89ebdbe99a1..8b1315bc01f 100644 --- a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/GenericClusterReference.java +++ b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/GenericClusterReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class GenericClusterReference implements KubernetesResource +public class GenericClusterReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -93,6 +94,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public GenericClusterReferenceBuilder edit() { + return new GenericClusterReferenceBuilder(this); + } + + @JsonIgnore + public GenericClusterReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/PlacementDecision.java b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/PlacementDecision.java index 8aced2d9666..0d2913276b3 100644 --- a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/PlacementDecision.java +++ b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/PlacementDecision.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PlacementDecision implements KubernetesResource +public class PlacementDecision implements Editable , KubernetesResource { @JsonProperty("clusterName") @@ -107,6 +108,16 @@ public void setClusterNamespace(String clusterNamespace) { this.clusterNamespace = clusterNamespace; } + @JsonIgnore + public PlacementDecisionBuilder edit() { + return new PlacementDecisionBuilder(this); + } + + @JsonIgnore + public PlacementDecisionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/PlacementRule.java b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/PlacementRule.java index 1ad871c4f0d..99c3f3f2918 100644 --- a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/PlacementRule.java +++ b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/PlacementRule.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("apps.open-cluster-management.io") @Generated("jsonschema2pojo") -public class PlacementRule implements HasMetadata, Namespaced +public class PlacementRule implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(PlacementRuleStatus status) { this.status = status; } + @JsonIgnore + public PlacementRuleBuilder edit() { + return new PlacementRuleBuilder(this); + } + + @JsonIgnore + public PlacementRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/PlacementRuleList.java b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/PlacementRuleList.java index 3e3799d1967..1cbcae37797 100644 --- a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/PlacementRuleList.java +++ b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/PlacementRuleList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("apps.open-cluster-management.io") @Generated("jsonschema2pojo") -public class PlacementRuleList implements KubernetesResource, KubernetesResourceList +public class PlacementRuleList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PlacementRuleListBuilder edit() { + return new PlacementRuleListBuilder(this); + } + + @JsonIgnore + public PlacementRuleListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/PlacementRuleSpec.java b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/PlacementRuleSpec.java index cc2f3d07946..0d8c885ece3 100644 --- a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/PlacementRuleSpec.java +++ b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/PlacementRuleSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PlacementRuleSpec implements KubernetesResource +public class PlacementRuleSpec implements Editable , KubernetesResource { @JsonProperty("clusterConditions") @@ -180,6 +181,16 @@ public void setSchedulerName(String schedulerName) { this.schedulerName = schedulerName; } + @JsonIgnore + public PlacementRuleSpecBuilder edit() { + return new PlacementRuleSpecBuilder(this); + } + + @JsonIgnore + public PlacementRuleSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/PlacementRuleStatus.java b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/PlacementRuleStatus.java index 93cfed63ddf..dd3904ce90f 100644 --- a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/PlacementRuleStatus.java +++ b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/PlacementRuleStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PlacementRuleStatus implements KubernetesResource +public class PlacementRuleStatus implements Editable , KubernetesResource { @JsonProperty("decisions") @@ -96,6 +97,16 @@ public void setDecisions(List decisions) { this.decisions = decisions; } + @JsonIgnore + public PlacementRuleStatusBuilder edit() { + return new PlacementRuleStatusBuilder(this); + } + + @JsonIgnore + public PlacementRuleStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/ResourceHint.java b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/ResourceHint.java index dcb996adb5a..7ccfef7a7f9 100644 --- a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/ResourceHint.java +++ b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/ResourceHint.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ResourceHint implements KubernetesResource +public class ResourceHint implements Editable , KubernetesResource { @JsonProperty("order") @@ -107,6 +108,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public ResourceHintBuilder edit() { + return new ResourceHintBuilder(this); + } + + @JsonIgnore + public ResourceHintBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementPolicySchema.java b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementPolicySchema.java index 5f19b19c9d4..a1acec0184c 100644 --- a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementPolicySchema.java +++ b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementPolicySchema.java @@ -2,10 +2,12 @@ package io.fabric8.openclustermanagement.api.model; import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -96,7 +98,8 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class OpenClusterManagementPolicySchema { +public class OpenClusterManagementPolicySchema implements Editable +{ @JsonProperty("github_com_open-cluster-management_governance-policy-propagator_api_v1_ComplianceHistory") private ComplianceHistory githubComOpenClusterManagementGovernancePolicyPropagatorApiV1ComplianceHistory; @@ -370,4 +373,14 @@ public void setGithubComOpenClusterManagementMulticloudOperatorsPlacementrulePkg this.githubComOpenClusterManagementMulticloudOperatorsPlacementrulePkgApisAppsV1PlacementDecision = githubComOpenClusterManagementMulticloudOperatorsPlacementrulePkgApisAppsV1PlacementDecision; } + @JsonIgnore + public OpenClusterManagementPolicySchemaBuilder edit() { + return new OpenClusterManagementPolicySchemaBuilder(this); + } + + @JsonIgnore + public OpenClusterManagementPolicySchemaBuilder toBuilder() { + return edit(); + } + } diff --git a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/ComplianceHistory.java b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/ComplianceHistory.java index ea874cc6bcb..24de16d6d60 100644 --- a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/ComplianceHistory.java +++ b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/ComplianceHistory.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ComplianceHistory implements KubernetesResource +public class ComplianceHistory implements Editable , KubernetesResource { @JsonProperty("eventName") @@ -121,6 +122,16 @@ public void setMessage(String message) { this.message = message; } + @JsonIgnore + public ComplianceHistoryBuilder edit() { + return new ComplianceHistoryBuilder(this); + } + + @JsonIgnore + public ComplianceHistoryBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/CompliancePerClusterStatus.java b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/CompliancePerClusterStatus.java index 21b04aa5a5d..ee1ee65b2cf 100644 --- a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/CompliancePerClusterStatus.java +++ b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/CompliancePerClusterStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CompliancePerClusterStatus implements KubernetesResource +public class CompliancePerClusterStatus implements Editable , KubernetesResource { @JsonProperty("clustername") @@ -121,6 +122,16 @@ public void setCompliant(String compliant) { this.compliant = compliant; } + @JsonIgnore + public CompliancePerClusterStatusBuilder edit() { + return new CompliancePerClusterStatusBuilder(this); + } + + @JsonIgnore + public CompliancePerClusterStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/DetailsPerTemplate.java b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/DetailsPerTemplate.java index 56c4fa72d78..e9096c0f756 100644 --- a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/DetailsPerTemplate.java +++ b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/DetailsPerTemplate.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class DetailsPerTemplate implements KubernetesResource +public class DetailsPerTemplate implements Editable , KubernetesResource { @JsonProperty("compliant") @@ -123,6 +124,16 @@ public void setTemplateMeta(io.fabric8.kubernetes.api.model.ObjectMeta templateM this.templateMeta = templateMeta; } + @JsonIgnore + public DetailsPerTemplateBuilder edit() { + return new DetailsPerTemplateBuilder(this); + } + + @JsonIgnore + public DetailsPerTemplateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/Placement.java b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/Placement.java index 3bbbae10912..9b57ae743e2 100644 --- a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/Placement.java +++ b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/Placement.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Placement implements KubernetesResource +public class Placement implements Editable , KubernetesResource { @JsonProperty("decisions") @@ -139,6 +140,16 @@ public void setPlacementRule(String placementRule) { this.placementRule = placementRule; } + @JsonIgnore + public PlacementBuilder edit() { + return new PlacementBuilder(this); + } + + @JsonIgnore + public PlacementBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PlacementBinding.java b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PlacementBinding.java index 6c2e1642695..81200585cbd 100644 --- a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PlacementBinding.java +++ b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PlacementBinding.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("policy.open-cluster-management.io") @Generated("jsonschema2pojo") -public class PlacementBinding implements HasMetadata, Namespaced +public class PlacementBinding implements Editable , HasMetadata, Namespaced { /** @@ -202,6 +203,16 @@ public void setSubjects(List subjects) { this.subjects = subjects; } + @JsonIgnore + public PlacementBindingBuilder edit() { + return new PlacementBindingBuilder(this); + } + + @JsonIgnore + public PlacementBindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PlacementBindingList.java b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PlacementBindingList.java index e8f2b1e021e..b2052061734 100644 --- a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PlacementBindingList.java +++ b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PlacementBindingList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("policy.open-cluster-management.io") @Generated("jsonschema2pojo") -public class PlacementBindingList implements KubernetesResource, KubernetesResourceList +public class PlacementBindingList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PlacementBindingListBuilder edit() { + return new PlacementBindingListBuilder(this); + } + + @JsonIgnore + public PlacementBindingListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PlacementBindingStatus.java b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PlacementBindingStatus.java index 7029f228687..7fdf9a6fbda 100644 --- a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PlacementBindingStatus.java +++ b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PlacementBindingStatus.java @@ -10,6 +10,7 @@ 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.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -61,12 +62,22 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PlacementBindingStatus implements KubernetesResource +public class PlacementBindingStatus implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public PlacementBindingStatusBuilder edit() { + return new PlacementBindingStatusBuilder(this); + } + + @JsonIgnore + public PlacementBindingStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PlacementSubject.java b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PlacementSubject.java index c1b9ea069b3..8550746772d 100644 --- a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PlacementSubject.java +++ b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PlacementSubject.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PlacementSubject implements KubernetesResource +public class PlacementSubject implements Editable , KubernetesResource { @JsonProperty("apiGroup") @@ -120,6 +121,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public PlacementSubjectBuilder edit() { + return new PlacementSubjectBuilder(this); + } + + @JsonIgnore + public PlacementSubjectBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/Policy.java b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/Policy.java index 57c2e763e8f..314b4b3f28c 100644 --- a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/Policy.java +++ b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/Policy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("policy.open-cluster-management.io") @Generated("jsonschema2pojo") -public class Policy implements HasMetadata, Namespaced +public class Policy implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(PolicyStatus status) { this.status = status; } + @JsonIgnore + public PolicyBuilder edit() { + return new PolicyBuilder(this); + } + + @JsonIgnore + public PolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PolicyList.java b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PolicyList.java index 6e58025c6f5..36b21a4daed 100644 --- a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PolicyList.java +++ b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PolicyList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("policy.open-cluster-management.io") @Generated("jsonschema2pojo") -public class PolicyList implements KubernetesResource, KubernetesResourceList +public class PolicyList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PolicyListBuilder edit() { + return new PolicyListBuilder(this); + } + + @JsonIgnore + public PolicyListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PolicySpec.java b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PolicySpec.java index 4ed2a9a3ed4..8892c2a57d9 100644 --- a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PolicySpec.java +++ b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PolicySpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PolicySpec implements KubernetesResource +public class PolicySpec implements Editable , KubernetesResource { @JsonProperty("disabled") @@ -124,6 +125,16 @@ public void setRemediationAction(String remediationAction) { this.remediationAction = remediationAction; } + @JsonIgnore + public PolicySpecBuilder edit() { + return new PolicySpecBuilder(this); + } + + @JsonIgnore + public PolicySpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PolicyStatus.java b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PolicyStatus.java index 39c8cde004c..6f58fe2a310 100644 --- a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PolicyStatus.java +++ b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PolicyStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PolicyStatus implements KubernetesResource +public class PolicyStatus implements Editable , KubernetesResource { @JsonProperty("compliant") @@ -140,6 +141,16 @@ public void setStatus(List status) { this.status = status; } + @JsonIgnore + public PolicyStatusBuilder edit() { + return new PolicyStatusBuilder(this); + } + + @JsonIgnore + public PolicyStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PolicyTemplate.java b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PolicyTemplate.java index 1bb0f0dbe0f..c06d7a52011 100644 --- a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PolicyTemplate.java +++ b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PolicyTemplate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PolicyTemplate implements KubernetesResource +public class PolicyTemplate implements Editable , KubernetesResource { @JsonProperty("objectDefinition") @@ -94,6 +95,16 @@ public void setObjectDefinition(Map objectDefinition) { this.objectDefinition = objectDefinition; } + @JsonIgnore + public PolicyTemplateBuilder edit() { + return new PolicyTemplateBuilder(this); + } + + @JsonIgnore + public PolicyTemplateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/Subject.java b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/Subject.java index 0b0fa77a634..24cd6bd74cd 100644 --- a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/Subject.java +++ b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/Subject.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Subject implements KubernetesResource +public class Subject implements Editable , KubernetesResource { @JsonProperty("apiGroup") @@ -120,6 +121,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public SubjectBuilder edit() { + return new SubjectBuilder(this); + } + + @JsonIgnore + public SubjectBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1beta1/AutomationDef.java b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1beta1/AutomationDef.java index 1eb6a122166..bdc6bbda678 100644 --- a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1beta1/AutomationDef.java +++ b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1beta1/AutomationDef.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class AutomationDef implements KubernetesResource +public class AutomationDef implements Editable , KubernetesResource { @JsonProperty("extra_vars") @@ -136,6 +137,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public AutomationDefBuilder edit() { + return new AutomationDefBuilder(this); + } + + @JsonIgnore + public AutomationDefBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1beta1/PolicyAutomation.java b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1beta1/PolicyAutomation.java index 5c523337330..7c0e604f8d0 100644 --- a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1beta1/PolicyAutomation.java +++ b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1beta1/PolicyAutomation.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1beta1") @Group("policy.open-cluster-management.io") @Generated("jsonschema2pojo") -public class PolicyAutomation implements HasMetadata, Namespaced +public class PolicyAutomation implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(PolicyAutomationStatus status) { this.status = status; } + @JsonIgnore + public PolicyAutomationBuilder edit() { + return new PolicyAutomationBuilder(this); + } + + @JsonIgnore + public PolicyAutomationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1beta1/PolicyAutomationList.java b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1beta1/PolicyAutomationList.java index c79768bbd34..2ac54978b54 100644 --- a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1beta1/PolicyAutomationList.java +++ b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1beta1/PolicyAutomationList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("policy.open-cluster-management.io") @Generated("jsonschema2pojo") -public class PolicyAutomationList implements KubernetesResource, KubernetesResourceList +public class PolicyAutomationList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PolicyAutomationListBuilder edit() { + return new PolicyAutomationListBuilder(this); + } + + @JsonIgnore + public PolicyAutomationListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1beta1/PolicyAutomationSpec.java b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1beta1/PolicyAutomationSpec.java index 822900a27ea..1d6119ab5de 100644 --- a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1beta1/PolicyAutomationSpec.java +++ b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1beta1/PolicyAutomationSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PolicyAutomationSpec implements KubernetesResource +public class PolicyAutomationSpec implements Editable , KubernetesResource { @JsonProperty("automationDef") @@ -149,6 +150,16 @@ public void setRescanAfter(String rescanAfter) { this.rescanAfter = rescanAfter; } + @JsonIgnore + public PolicyAutomationSpecBuilder edit() { + return new PolicyAutomationSpecBuilder(this); + } + + @JsonIgnore + public PolicyAutomationSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1beta1/PolicyAutomationStatus.java b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1beta1/PolicyAutomationStatus.java index feaab8df2da..cab09387d7d 100644 --- a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1beta1/PolicyAutomationStatus.java +++ b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1beta1/PolicyAutomationStatus.java @@ -10,6 +10,7 @@ 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.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -61,12 +62,22 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PolicyAutomationStatus implements KubernetesResource +public class PolicyAutomationStatus implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public PolicyAutomationStatusBuilder edit() { + return new PolicyAutomationStatusBuilder(this); + } + + @JsonIgnore + public PolicyAutomationStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/PlacementDecision.java b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/PlacementDecision.java index 8aced2d9666..0d2913276b3 100644 --- a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/PlacementDecision.java +++ b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/PlacementDecision.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PlacementDecision implements KubernetesResource +public class PlacementDecision implements Editable , KubernetesResource { @JsonProperty("clusterName") @@ -107,6 +108,16 @@ public void setClusterNamespace(String clusterNamespace) { this.clusterNamespace = clusterNamespace; } + @JsonIgnore + public PlacementDecisionBuilder edit() { + return new PlacementDecisionBuilder(this); + } + + @JsonIgnore + public PlacementDecisionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementSearchSchema.java b/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementSearchSchema.java index d709cfa55ab..baa2bf9ff4d 100644 --- a/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementSearchSchema.java +++ b/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/OpenClusterManagementSearchSchema.java @@ -2,10 +2,12 @@ package io.fabric8.openclustermanagement.api.model; import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +78,8 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class OpenClusterManagementSearchSchema { +public class OpenClusterManagementSearchSchema implements Editable +{ @JsonProperty("github_com_open-cluster-management_search-operator_api_v1alpha1_ImageOverrides") private ImageOverrides githubComOpenClusterManagementSearchOperatorApiV1alpha1ImageOverrides; @@ -220,4 +223,14 @@ public void setGithubComOpenClusterManagementSearchOperatorApiV1alpha1SearchOper this.githubComOpenClusterManagementSearchOperatorApiV1alpha1SearchOperatorStatus = githubComOpenClusterManagementSearchOperatorApiV1alpha1SearchOperatorStatus; } + @JsonIgnore + public OpenClusterManagementSearchSchemaBuilder edit() { + return new OpenClusterManagementSearchSchemaBuilder(this); + } + + @JsonIgnore + public OpenClusterManagementSearchSchemaBuilder toBuilder() { + return edit(); + } + } diff --git a/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/ImageOverrides.java b/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/ImageOverrides.java index bd1cba89cb7..772dfe4821f 100644 --- a/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/ImageOverrides.java +++ b/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/ImageOverrides.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ImageOverrides implements KubernetesResource +public class ImageOverrides implements Editable , KubernetesResource { @JsonProperty("redisgraph_tls") @@ -135,6 +136,16 @@ public void setSearchCollector(String searchCollector) { this.searchCollector = searchCollector; } + @JsonIgnore + public ImageOverridesBuilder edit() { + return new ImageOverridesBuilder(this); + } + + @JsonIgnore + public ImageOverridesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/PodResource.java b/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/PodResource.java index dac6669e4ca..366d4837e33 100644 --- a/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/PodResource.java +++ b/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/PodResource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PodResource implements KubernetesResource +public class PodResource implements Editable , KubernetesResource { @JsonProperty("limit_cpu") @@ -135,6 +136,16 @@ public void setRequestMemory(String requestMemory) { this.requestMemory = requestMemory; } + @JsonIgnore + public PodResourceBuilder edit() { + return new PodResourceBuilder(this); + } + + @JsonIgnore + public PodResourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchCustomization.java b/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchCustomization.java index ed06aabc9ab..0b05b531c72 100644 --- a/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchCustomization.java +++ b/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchCustomization.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("search.open-cluster-management.io") @Generated("jsonschema2pojo") -public class SearchCustomization implements HasMetadata, Namespaced +public class SearchCustomization implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(SearchCustomizationStatus status) { this.status = status; } + @JsonIgnore + public SearchCustomizationBuilder edit() { + return new SearchCustomizationBuilder(this); + } + + @JsonIgnore + public SearchCustomizationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchCustomizationList.java b/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchCustomizationList.java index 562d68ed8ad..5bcaa0db81c 100644 --- a/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchCustomizationList.java +++ b/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchCustomizationList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("search.open-cluster-management.io") @Generated("jsonschema2pojo") -public class SearchCustomizationList implements KubernetesResource, KubernetesResourceList +public class SearchCustomizationList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public SearchCustomizationListBuilder edit() { + return new SearchCustomizationListBuilder(this); + } + + @JsonIgnore + public SearchCustomizationListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchCustomizationSpec.java b/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchCustomizationSpec.java index c83145d6f85..77b78816d14 100644 --- a/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchCustomizationSpec.java +++ b/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchCustomizationSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SearchCustomizationSpec implements KubernetesResource +public class SearchCustomizationSpec implements Editable , KubernetesResource { @JsonProperty("persistence") @@ -121,6 +122,16 @@ public void setStorageSize(String storageSize) { this.storageSize = storageSize; } + @JsonIgnore + public SearchCustomizationSpecBuilder edit() { + return new SearchCustomizationSpecBuilder(this); + } + + @JsonIgnore + public SearchCustomizationSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchCustomizationStatus.java b/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchCustomizationStatus.java index 8a0918cbab1..d38bbe81573 100644 --- a/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchCustomizationStatus.java +++ b/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchCustomizationStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SearchCustomizationStatus implements KubernetesResource +public class SearchCustomizationStatus implements Editable , KubernetesResource { @JsonProperty("persistence") @@ -121,6 +122,16 @@ public void setStorageSize(String storageSize) { this.storageSize = storageSize; } + @JsonIgnore + public SearchCustomizationStatusBuilder edit() { + return new SearchCustomizationStatusBuilder(this); + } + + @JsonIgnore + public SearchCustomizationStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchOperator.java b/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchOperator.java index d45db37e30e..9c5b8d18097 100644 --- a/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchOperator.java +++ b/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchOperator.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("search.open-cluster-management.io") @Generated("jsonschema2pojo") -public class SearchOperator implements HasMetadata, Namespaced +public class SearchOperator implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(SearchOperatorStatus status) { this.status = status; } + @JsonIgnore + public SearchOperatorBuilder edit() { + return new SearchOperatorBuilder(this); + } + + @JsonIgnore + public SearchOperatorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchOperatorList.java b/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchOperatorList.java index 5dc2f7f6795..44df5001809 100644 --- a/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchOperatorList.java +++ b/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchOperatorList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("search.open-cluster-management.io") @Generated("jsonschema2pojo") -public class SearchOperatorList implements KubernetesResource, KubernetesResourceList +public class SearchOperatorList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public SearchOperatorListBuilder edit() { + return new SearchOperatorListBuilder(this); + } + + @JsonIgnore + public SearchOperatorListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchOperatorSpec.java b/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchOperatorSpec.java index 66b063d7356..b6493814f86 100644 --- a/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchOperatorSpec.java +++ b/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchOperatorSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SearchOperatorSpec implements KubernetesResource +public class SearchOperatorSpec implements Editable , KubernetesResource { @JsonProperty("nodeSelector") @@ -150,6 +151,16 @@ public void setSearchimageoverrides(ImageOverrides searchimageoverrides) { this.searchimageoverrides = searchimageoverrides; } + @JsonIgnore + public SearchOperatorSpecBuilder edit() { + return new SearchOperatorSpecBuilder(this); + } + + @JsonIgnore + public SearchOperatorSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchOperatorStatus.java b/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchOperatorStatus.java index 00f2fecbde1..146ebc09304 100644 --- a/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchOperatorStatus.java +++ b/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchOperatorStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SearchOperatorStatus implements KubernetesResource +public class SearchOperatorStatus implements Editable , KubernetesResource { @JsonProperty("deployredisgraph") @@ -107,6 +108,16 @@ public void setPersistence(String persistence) { this.persistence = persistence; } + @JsonIgnore + public SearchOperatorStatusBuilder edit() { + return new SearchOperatorStatusBuilder(this); + } + + @JsonIgnore + public SearchOperatorStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/AddKeyTransform.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/AddKeyTransform.java index 30cfe3044ae..46aef7e12f2 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/AddKeyTransform.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/AddKeyTransform.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class AddKeyTransform implements KubernetesResource +public class AddKeyTransform implements Editable , KubernetesResource { @JsonProperty("jsonPathExpression") @@ -135,6 +136,16 @@ public void setValue(java.lang.String value) { this.value = value; } + @JsonIgnore + public AddKeyTransformBuilder edit() { + return new AddKeyTransformBuilder(this); + } + + @JsonIgnore + public AddKeyTransformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/AddKeysFromTransform.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/AddKeysFromTransform.java index c3778043e32..001e607560e 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/AddKeysFromTransform.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/AddKeysFromTransform.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class AddKeysFromTransform implements KubernetesResource +public class AddKeysFromTransform implements Editable , KubernetesResource { @JsonProperty("secretRef") @@ -92,6 +93,16 @@ public void setSecretRef(io.fabric8.servicecatalog.api.model.ObjectReference sec this.secretRef = secretRef; } + @JsonIgnore + public AddKeysFromTransformBuilder edit() { + return new AddKeysFromTransformBuilder(this); + } + + @JsonIgnore + public AddKeysFromTransformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/BasicAuthConfig.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/BasicAuthConfig.java index a44395fb667..d20cd0a60ed 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/BasicAuthConfig.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/BasicAuthConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class BasicAuthConfig implements KubernetesResource +public class BasicAuthConfig implements Editable , KubernetesResource { @JsonProperty("secretRef") @@ -92,6 +93,16 @@ public void setSecretRef(io.fabric8.servicecatalog.api.model.LocalObjectReferenc this.secretRef = secretRef; } + @JsonIgnore + public BasicAuthConfigBuilder edit() { + return new BasicAuthConfigBuilder(this); + } + + @JsonIgnore + public BasicAuthConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/BearerTokenAuthConfig.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/BearerTokenAuthConfig.java index 2e1923d3f4b..7263e299a13 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/BearerTokenAuthConfig.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/BearerTokenAuthConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class BearerTokenAuthConfig implements KubernetesResource +public class BearerTokenAuthConfig implements Editable , KubernetesResource { @JsonProperty("secretRef") @@ -92,6 +93,16 @@ public void setSecretRef(io.fabric8.servicecatalog.api.model.LocalObjectReferenc this.secretRef = secretRef; } + @JsonIgnore + public BearerTokenAuthConfigBuilder edit() { + return new BearerTokenAuthConfigBuilder(this); + } + + @JsonIgnore + public BearerTokenAuthConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/CatalogRestrictions.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/CatalogRestrictions.java index 93545c19105..5805d01e31b 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/CatalogRestrictions.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/CatalogRestrictions.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CatalogRestrictions implements KubernetesResource +public class CatalogRestrictions implements Editable , KubernetesResource { @JsonProperty("serviceClass") @@ -111,6 +112,16 @@ public void setServicePlan(List servicePlan) { this.servicePlan = servicePlan; } + @JsonIgnore + public CatalogRestrictionsBuilder edit() { + return new CatalogRestrictionsBuilder(this); + } + + @JsonIgnore + public CatalogRestrictionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterBasicAuthConfig.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterBasicAuthConfig.java index 0ed7513d36c..d935918bced 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterBasicAuthConfig.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterBasicAuthConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ClusterBasicAuthConfig implements KubernetesResource +public class ClusterBasicAuthConfig implements Editable , KubernetesResource { @JsonProperty("secretRef") @@ -92,6 +93,16 @@ public void setSecretRef(io.fabric8.servicecatalog.api.model.ObjectReference sec this.secretRef = secretRef; } + @JsonIgnore + public ClusterBasicAuthConfigBuilder edit() { + return new ClusterBasicAuthConfigBuilder(this); + } + + @JsonIgnore + public ClusterBasicAuthConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterBearerTokenAuthConfig.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterBearerTokenAuthConfig.java index 6755d0cf517..a60dc4bba43 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterBearerTokenAuthConfig.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterBearerTokenAuthConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ClusterBearerTokenAuthConfig implements KubernetesResource +public class ClusterBearerTokenAuthConfig implements Editable , KubernetesResource { @JsonProperty("secretRef") @@ -92,6 +93,16 @@ public void setSecretRef(io.fabric8.servicecatalog.api.model.ObjectReference sec this.secretRef = secretRef; } + @JsonIgnore + public ClusterBearerTokenAuthConfigBuilder edit() { + return new ClusterBearerTokenAuthConfigBuilder(this); + } + + @JsonIgnore + public ClusterBearerTokenAuthConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterObjectReference.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterObjectReference.java index 63ebc8e7ea8..6cec98e6a6b 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterObjectReference.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterObjectReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ClusterObjectReference implements KubernetesResource +public class ClusterObjectReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -93,6 +94,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public ClusterObjectReferenceBuilder edit() { + return new ClusterObjectReferenceBuilder(this); + } + + @JsonIgnore + public ClusterObjectReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBroker.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBroker.java index e9b5c08487b..5720431a15d 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBroker.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBroker.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @Version("v1beta1") @Group("servicecatalog.k8s.io") @Generated("jsonschema2pojo") -public class ClusterServiceBroker implements HasMetadata +public class ClusterServiceBroker implements Editable , HasMetadata { /** @@ -184,6 +185,16 @@ public void setStatus(ClusterServiceBrokerStatus status) { this.status = status; } + @JsonIgnore + public ClusterServiceBrokerBuilder edit() { + return new ClusterServiceBrokerBuilder(this); + } + + @JsonIgnore + public ClusterServiceBrokerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerAuthInfo.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerAuthInfo.java index cd08af7c413..2f2c58d2758 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerAuthInfo.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerAuthInfo.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ClusterServiceBrokerAuthInfo implements KubernetesResource +public class ClusterServiceBrokerAuthInfo implements Editable , KubernetesResource { @JsonProperty("basic") @@ -107,6 +108,16 @@ public void setBearer(ClusterBearerTokenAuthConfig bearer) { this.bearer = bearer; } + @JsonIgnore + public ClusterServiceBrokerAuthInfoBuilder edit() { + return new ClusterServiceBrokerAuthInfoBuilder(this); + } + + @JsonIgnore + public ClusterServiceBrokerAuthInfoBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerList.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerList.java index 9684a004e4e..398dc3b6ce6 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerList.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("servicecatalog.k8s.io") @Generated("jsonschema2pojo") -public class ClusterServiceBrokerList implements KubernetesResource, KubernetesResourceList +public class ClusterServiceBrokerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterServiceBrokerListBuilder edit() { + return new ClusterServiceBrokerListBuilder(this); + } + + @JsonIgnore + public ClusterServiceBrokerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerSpec.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerSpec.java index f164b6ec409..24d3b6ab8ce 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerSpec.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ClusterServiceBrokerSpec implements KubernetesResource +public class ClusterServiceBrokerSpec implements Editable , KubernetesResource { @JsonProperty("authInfo") @@ -192,6 +193,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public ClusterServiceBrokerSpecBuilder edit() { + return new ClusterServiceBrokerSpecBuilder(this); + } + + @JsonIgnore + public ClusterServiceBrokerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerStatus.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerStatus.java index 2d843c8152e..e2bf38b95be 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerStatus.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ClusterServiceBrokerStatus implements KubernetesResource +public class ClusterServiceBrokerStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -138,6 +139,16 @@ public void setReconciledGeneration(Long reconciledGeneration) { this.reconciledGeneration = reconciledGeneration; } + @JsonIgnore + public ClusterServiceBrokerStatusBuilder edit() { + return new ClusterServiceBrokerStatusBuilder(this); + } + + @JsonIgnore + public ClusterServiceBrokerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClass.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClass.java index 220a20bbb40..cbda8f8364e 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClass.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClass.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @Version("v1beta1") @Group("servicecatalog.k8s.io") @Generated("jsonschema2pojo") -public class ClusterServiceClass implements HasMetadata +public class ClusterServiceClass implements Editable , HasMetadata { /** @@ -184,6 +185,16 @@ public void setStatus(ClusterServiceClassStatus status) { this.status = status; } + @JsonIgnore + public ClusterServiceClassBuilder edit() { + return new ClusterServiceClassBuilder(this); + } + + @JsonIgnore + public ClusterServiceClassBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClassList.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClassList.java index 4845b6ff226..3be5e36b773 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClassList.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClassList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("servicecatalog.k8s.io") @Generated("jsonschema2pojo") -public class ClusterServiceClassList implements KubernetesResource, KubernetesResourceList +public class ClusterServiceClassList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterServiceClassListBuilder edit() { + return new ClusterServiceClassListBuilder(this); + } + + @JsonIgnore + public ClusterServiceClassListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClassSpec.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClassSpec.java index fea392b8527..77ff6c5a696 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClassSpec.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClassSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -75,7 +76,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ClusterServiceClassSpec implements KubernetesResource +public class ClusterServiceClassSpec implements Editable , KubernetesResource { @JsonProperty("bindable") @@ -239,6 +240,16 @@ public void setTags(List tags) { this.tags = tags; } + @JsonIgnore + public ClusterServiceClassSpecBuilder edit() { + return new ClusterServiceClassSpecBuilder(this); + } + + @JsonIgnore + public ClusterServiceClassSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClassStatus.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClassStatus.java index 571a968f00e..3919305cfb4 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClassStatus.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClassStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ClusterServiceClassStatus implements KubernetesResource +public class ClusterServiceClassStatus implements Editable , KubernetesResource { @JsonProperty("removedFromBrokerCatalog") @@ -93,6 +94,16 @@ public void setRemovedFromBrokerCatalog(Boolean removedFromBrokerCatalog) { this.removedFromBrokerCatalog = removedFromBrokerCatalog; } + @JsonIgnore + public ClusterServiceClassStatusBuilder edit() { + return new ClusterServiceClassStatusBuilder(this); + } + + @JsonIgnore + public ClusterServiceClassStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlan.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlan.java index 6c149cbea8d..c3595ec6837 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlan.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlan.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @Version("v1beta1") @Group("servicecatalog.k8s.io") @Generated("jsonschema2pojo") -public class ClusterServicePlan implements HasMetadata +public class ClusterServicePlan implements Editable , HasMetadata { /** @@ -184,6 +185,16 @@ public void setStatus(ClusterServicePlanStatus status) { this.status = status; } + @JsonIgnore + public ClusterServicePlanBuilder edit() { + return new ClusterServicePlanBuilder(this); + } + + @JsonIgnore + public ClusterServicePlanBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlanList.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlanList.java index 85cc2fa43da..5464f843899 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlanList.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlanList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("servicecatalog.k8s.io") @Generated("jsonschema2pojo") -public class ClusterServicePlanList implements KubernetesResource, KubernetesResourceList +public class ClusterServicePlanList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterServicePlanListBuilder edit() { + return new ClusterServicePlanListBuilder(this); + } + + @JsonIgnore + public ClusterServicePlanListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlanSpec.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlanSpec.java index 5281bd95108..d99240100d0 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlanSpec.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlanSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -75,7 +76,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ClusterServicePlanSpec implements KubernetesResource +public class ClusterServicePlanSpec implements Editable , KubernetesResource { @JsonProperty("bindable") @@ -267,6 +268,16 @@ public void setServiceBindingCreateResponseSchema(Map serviceBin this.serviceBindingCreateResponseSchema = serviceBindingCreateResponseSchema; } + @JsonIgnore + public ClusterServicePlanSpecBuilder edit() { + return new ClusterServicePlanSpecBuilder(this); + } + + @JsonIgnore + public ClusterServicePlanSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlanStatus.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlanStatus.java index 352a46f13f8..85e3c21726c 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlanStatus.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlanStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ClusterServicePlanStatus implements KubernetesResource +public class ClusterServicePlanStatus implements Editable , KubernetesResource { @JsonProperty("removedFromBrokerCatalog") @@ -93,6 +94,16 @@ public void setRemovedFromBrokerCatalog(Boolean removedFromBrokerCatalog) { this.removedFromBrokerCatalog = removedFromBrokerCatalog; } + @JsonIgnore + public ClusterServicePlanStatusBuilder edit() { + return new ClusterServicePlanStatusBuilder(this); + } + + @JsonIgnore + public ClusterServicePlanStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/LocalObjectReference.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/LocalObjectReference.java index 6de18ad2634..6b52e7f0c2b 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/LocalObjectReference.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/LocalObjectReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -62,7 +63,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LocalObjectReference implements KubernetesResource +public class LocalObjectReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -92,6 +93,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public LocalObjectReferenceBuilder edit() { + return new LocalObjectReferenceBuilder(this); + } + + @JsonIgnore + public LocalObjectReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ObjectReference.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ObjectReference.java index b046bfe3712..eadfd60814f 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ObjectReference.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ObjectReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ObjectReference implements KubernetesResource +public class ObjectReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -106,6 +107,16 @@ public void setNamespace(String namespace) { this.namespace = namespace; } + @JsonIgnore + public ObjectReferenceBuilder edit() { + return new ObjectReferenceBuilder(this); + } + + @JsonIgnore + public ObjectReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ParametersFromSource.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ParametersFromSource.java index abc9f506a18..12f5c829b26 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ParametersFromSource.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ParametersFromSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ParametersFromSource implements KubernetesResource +public class ParametersFromSource implements Editable , KubernetesResource { @JsonProperty("secretKeyRef") @@ -93,6 +94,16 @@ public void setSecretKeyRef(SecretKeyReference secretKeyRef) { this.secretKeyRef = secretKeyRef; } + @JsonIgnore + public ParametersFromSourceBuilder edit() { + return new ParametersFromSourceBuilder(this); + } + + @JsonIgnore + public ParametersFromSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/RemoveKeyTransform.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/RemoveKeyTransform.java index 9d46d89f454..614e8e2e707 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/RemoveKeyTransform.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/RemoveKeyTransform.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class RemoveKeyTransform implements KubernetesResource +public class RemoveKeyTransform implements Editable , KubernetesResource { @JsonProperty("key") @@ -93,6 +94,16 @@ public void setKey(String key) { this.key = key; } + @JsonIgnore + public RemoveKeyTransformBuilder edit() { + return new RemoveKeyTransformBuilder(this); + } + + @JsonIgnore + public RemoveKeyTransformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/RenameKeyTransform.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/RenameKeyTransform.java index 4395f21b6b0..b54844c3e83 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/RenameKeyTransform.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/RenameKeyTransform.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class RenameKeyTransform implements KubernetesResource +public class RenameKeyTransform implements Editable , KubernetesResource { @JsonProperty("from") @@ -107,6 +108,16 @@ public void setTo(String to) { this.to = to; } + @JsonIgnore + public RenameKeyTransformBuilder edit() { + return new RenameKeyTransformBuilder(this); + } + + @JsonIgnore + public RenameKeyTransformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/SecretKeyReference.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/SecretKeyReference.java index 0c417fdd039..f9ef5a432c7 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/SecretKeyReference.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/SecretKeyReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SecretKeyReference implements KubernetesResource +public class SecretKeyReference implements Editable , KubernetesResource { @JsonProperty("key") @@ -107,6 +108,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public SecretKeyReferenceBuilder edit() { + return new SecretKeyReferenceBuilder(this); + } + + @JsonIgnore + public SecretKeyReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/SecretTransform.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/SecretTransform.java index 68daa4d57a6..6078991a75e 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/SecretTransform.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/SecretTransform.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SecretTransform implements KubernetesResource +public class SecretTransform implements Editable , KubernetesResource { @JsonProperty("addKey") @@ -135,6 +136,16 @@ public void setRenameKey(RenameKeyTransform renameKey) { this.renameKey = renameKey; } + @JsonIgnore + public SecretTransformBuilder edit() { + return new SecretTransformBuilder(this); + } + + @JsonIgnore + public SecretTransformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBinding.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBinding.java index 41efd5b1fb3..0c3ee9a148f 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBinding.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBinding.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1beta1") @Group("servicecatalog.k8s.io") @Generated("jsonschema2pojo") -public class ServiceBinding implements HasMetadata, Namespaced +public class ServiceBinding implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(ServiceBindingStatus status) { this.status = status; } + @JsonIgnore + public ServiceBindingBuilder edit() { + return new ServiceBindingBuilder(this); + } + + @JsonIgnore + public ServiceBindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBindingCondition.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBindingCondition.java index 32ab59aa882..aa700228071 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBindingCondition.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBindingCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ServiceBindingCondition implements KubernetesResource +public class ServiceBindingCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -149,6 +150,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public ServiceBindingConditionBuilder edit() { + return new ServiceBindingConditionBuilder(this); + } + + @JsonIgnore + public ServiceBindingConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBindingList.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBindingList.java index 074a8200d95..d9cd9de23e1 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBindingList.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBindingList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("servicecatalog.k8s.io") @Generated("jsonschema2pojo") -public class ServiceBindingList implements KubernetesResource, KubernetesResourceList +public class ServiceBindingList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ServiceBindingListBuilder edit() { + return new ServiceBindingListBuilder(this); + } + + @JsonIgnore + public ServiceBindingListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBindingPropertiesState.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBindingPropertiesState.java index 8afc1357fb4..2a5445c718e 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBindingPropertiesState.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBindingPropertiesState.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ServiceBindingPropertiesState implements KubernetesResource +public class ServiceBindingPropertiesState implements Editable , KubernetesResource { @JsonProperty("parameterChecksum") @@ -122,6 +123,16 @@ public void setUserInfo(UserInfo userInfo) { this.userInfo = userInfo; } + @JsonIgnore + public ServiceBindingPropertiesStateBuilder edit() { + return new ServiceBindingPropertiesStateBuilder(this); + } + + @JsonIgnore + public ServiceBindingPropertiesStateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBindingSpec.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBindingSpec.java index 1bda12aae70..d35634f7b63 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBindingSpec.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBindingSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ServiceBindingSpec implements KubernetesResource +public class ServiceBindingSpec implements Editable , KubernetesResource { @JsonProperty("externalID") @@ -181,6 +182,16 @@ public void setUserInfo(UserInfo userInfo) { this.userInfo = userInfo; } + @JsonIgnore + public ServiceBindingSpecBuilder edit() { + return new ServiceBindingSpecBuilder(this); + } + + @JsonIgnore + public ServiceBindingSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBindingStatus.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBindingStatus.java index 29908b7e475..cd8a5931f04 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBindingStatus.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBindingStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ServiceBindingStatus implements KubernetesResource +public class ServiceBindingStatus implements Editable , KubernetesResource { @JsonProperty("asyncOpInProgress") @@ -222,6 +223,16 @@ public void setUnbindStatus(java.lang.String unbindStatus) { this.unbindStatus = unbindStatus; } + @JsonIgnore + public ServiceBindingStatusBuilder edit() { + return new ServiceBindingStatusBuilder(this); + } + + @JsonIgnore + public ServiceBindingStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBroker.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBroker.java index 282af66eefb..0f325425e99 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBroker.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBroker.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1beta1") @Group("servicecatalog.k8s.io") @Generated("jsonschema2pojo") -public class ServiceBroker implements HasMetadata, Namespaced +public class ServiceBroker implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(ServiceBrokerStatus status) { this.status = status; } + @JsonIgnore + public ServiceBrokerBuilder edit() { + return new ServiceBrokerBuilder(this); + } + + @JsonIgnore + public ServiceBrokerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBrokerAuthInfo.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBrokerAuthInfo.java index a26a9304097..8bea9576d1e 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBrokerAuthInfo.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBrokerAuthInfo.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ServiceBrokerAuthInfo implements KubernetesResource +public class ServiceBrokerAuthInfo implements Editable , KubernetesResource { @JsonProperty("basic") @@ -107,6 +108,16 @@ public void setBearer(BearerTokenAuthConfig bearer) { this.bearer = bearer; } + @JsonIgnore + public ServiceBrokerAuthInfoBuilder edit() { + return new ServiceBrokerAuthInfoBuilder(this); + } + + @JsonIgnore + public ServiceBrokerAuthInfoBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBrokerCondition.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBrokerCondition.java index 6b026906213..a9e49e9be00 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBrokerCondition.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBrokerCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ServiceBrokerCondition implements KubernetesResource +public class ServiceBrokerCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -149,6 +150,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public ServiceBrokerConditionBuilder edit() { + return new ServiceBrokerConditionBuilder(this); + } + + @JsonIgnore + public ServiceBrokerConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBrokerList.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBrokerList.java index 129afe312af..0986a2a2454 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBrokerList.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBrokerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("servicecatalog.k8s.io") @Generated("jsonschema2pojo") -public class ServiceBrokerList implements KubernetesResource, KubernetesResourceList +public class ServiceBrokerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ServiceBrokerListBuilder edit() { + return new ServiceBrokerListBuilder(this); + } + + @JsonIgnore + public ServiceBrokerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBrokerSpec.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBrokerSpec.java index 0565e0a2695..205e0b4a002 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBrokerSpec.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBrokerSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ServiceBrokerSpec implements KubernetesResource +public class ServiceBrokerSpec implements Editable , KubernetesResource { @JsonProperty("authInfo") @@ -192,6 +193,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public ServiceBrokerSpecBuilder edit() { + return new ServiceBrokerSpecBuilder(this); + } + + @JsonIgnore + public ServiceBrokerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBrokerStatus.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBrokerStatus.java index bf07c3f8270..7be3b5dfdcf 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBrokerStatus.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBrokerStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ServiceBrokerStatus implements KubernetesResource +public class ServiceBrokerStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -138,6 +139,16 @@ public void setReconciledGeneration(Long reconciledGeneration) { this.reconciledGeneration = reconciledGeneration; } + @JsonIgnore + public ServiceBrokerStatusBuilder edit() { + return new ServiceBrokerStatusBuilder(this); + } + + @JsonIgnore + public ServiceBrokerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceClass.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceClass.java index a0c15cc7e7f..8e998c4b805 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceClass.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceClass.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1beta1") @Group("servicecatalog.k8s.io") @Generated("jsonschema2pojo") -public class ServiceClass implements HasMetadata, Namespaced +public class ServiceClass implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(ServiceClassStatus status) { this.status = status; } + @JsonIgnore + public ServiceClassBuilder edit() { + return new ServiceClassBuilder(this); + } + + @JsonIgnore + public ServiceClassBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceClassList.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceClassList.java index 8bc84ace520..42286f5cf0b 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceClassList.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceClassList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("servicecatalog.k8s.io") @Generated("jsonschema2pojo") -public class ServiceClassList implements KubernetesResource, KubernetesResourceList +public class ServiceClassList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ServiceClassListBuilder edit() { + return new ServiceClassListBuilder(this); + } + + @JsonIgnore + public ServiceClassListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceClassSpec.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceClassSpec.java index 2281c195c1f..f2821473b08 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceClassSpec.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceClassSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -75,7 +76,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ServiceClassSpec implements KubernetesResource +public class ServiceClassSpec implements Editable , KubernetesResource { @JsonProperty("bindable") @@ -239,6 +240,16 @@ public void setTags(List tags) { this.tags = tags; } + @JsonIgnore + public ServiceClassSpecBuilder edit() { + return new ServiceClassSpecBuilder(this); + } + + @JsonIgnore + public ServiceClassSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceClassStatus.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceClassStatus.java index 167b3fea1c5..dcb7cddf8ad 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceClassStatus.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceClassStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ServiceClassStatus implements KubernetesResource +public class ServiceClassStatus implements Editable , KubernetesResource { @JsonProperty("removedFromBrokerCatalog") @@ -93,6 +94,16 @@ public void setRemovedFromBrokerCatalog(Boolean removedFromBrokerCatalog) { this.removedFromBrokerCatalog = removedFromBrokerCatalog; } + @JsonIgnore + public ServiceClassStatusBuilder edit() { + return new ServiceClassStatusBuilder(this); + } + + @JsonIgnore + public ServiceClassStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstance.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstance.java index ac6d2cd9f99..66833464d48 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstance.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstance.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1beta1") @Group("servicecatalog.k8s.io") @Generated("jsonschema2pojo") -public class ServiceInstance implements HasMetadata, Namespaced +public class ServiceInstance implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(ServiceInstanceStatus status) { this.status = status; } + @JsonIgnore + public ServiceInstanceBuilder edit() { + return new ServiceInstanceBuilder(this); + } + + @JsonIgnore + public ServiceInstanceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstanceCondition.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstanceCondition.java index 60592761f80..0c3d861fbb9 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstanceCondition.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstanceCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ServiceInstanceCondition implements KubernetesResource +public class ServiceInstanceCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -149,6 +150,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public ServiceInstanceConditionBuilder edit() { + return new ServiceInstanceConditionBuilder(this); + } + + @JsonIgnore + public ServiceInstanceConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstanceList.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstanceList.java index a490449419c..8299ed1f4bf 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstanceList.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstanceList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("servicecatalog.k8s.io") @Generated("jsonschema2pojo") -public class ServiceInstanceList implements KubernetesResource, KubernetesResourceList +public class ServiceInstanceList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ServiceInstanceListBuilder edit() { + return new ServiceInstanceListBuilder(this); + } + + @JsonIgnore + public ServiceInstanceListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstancePropertiesState.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstancePropertiesState.java index 3d3fec1e2cf..e1f5c4ddd47 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstancePropertiesState.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstancePropertiesState.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ServiceInstancePropertiesState implements KubernetesResource +public class ServiceInstancePropertiesState implements Editable , KubernetesResource { @JsonProperty("clusterServicePlanExternalID") @@ -178,6 +179,16 @@ public void setUserInfo(UserInfo userInfo) { this.userInfo = userInfo; } + @JsonIgnore + public ServiceInstancePropertiesStateBuilder edit() { + return new ServiceInstancePropertiesStateBuilder(this); + } + + @JsonIgnore + public ServiceInstancePropertiesStateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstanceSpec.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstanceSpec.java index 29916dcc809..23d7393be55 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstanceSpec.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstanceSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -84,7 +85,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ServiceInstanceSpec implements KubernetesResource +public class ServiceInstanceSpec implements Editable , KubernetesResource { @JsonProperty("clusterServiceClassExternalID") @@ -376,6 +377,16 @@ public void setUserInfo(UserInfo userInfo) { this.userInfo = userInfo; } + @JsonIgnore + public ServiceInstanceSpecBuilder edit() { + return new ServiceInstanceSpecBuilder(this); + } + + @JsonIgnore + public ServiceInstanceSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstanceStatus.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstanceStatus.java index 2f5216e2030..c0d2075f31f 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstanceStatus.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstanceStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -78,7 +79,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ServiceInstanceStatus implements KubernetesResource +public class ServiceInstanceStatus implements Editable , KubernetesResource { @JsonProperty("asyncOpInProgress") @@ -279,6 +280,16 @@ public void setReconciledGeneration(Long reconciledGeneration) { this.reconciledGeneration = reconciledGeneration; } + @JsonIgnore + public ServiceInstanceStatusBuilder edit() { + return new ServiceInstanceStatusBuilder(this); + } + + @JsonIgnore + public ServiceInstanceStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServicePlan.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServicePlan.java index ff6738f47f3..867d88c4c20 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServicePlan.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServicePlan.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1beta1") @Group("servicecatalog.k8s.io") @Generated("jsonschema2pojo") -public class ServicePlan implements HasMetadata, Namespaced +public class ServicePlan implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(ServicePlanStatus status) { this.status = status; } + @JsonIgnore + public ServicePlanBuilder edit() { + return new ServicePlanBuilder(this); + } + + @JsonIgnore + public ServicePlanBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServicePlanList.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServicePlanList.java index a4ce8153627..a0f32569b42 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServicePlanList.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServicePlanList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("servicecatalog.k8s.io") @Generated("jsonschema2pojo") -public class ServicePlanList implements KubernetesResource, KubernetesResourceList +public class ServicePlanList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ServicePlanListBuilder edit() { + return new ServicePlanListBuilder(this); + } + + @JsonIgnore + public ServicePlanListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServicePlanSpec.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServicePlanSpec.java index 131c1ba1874..333d3838814 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServicePlanSpec.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServicePlanSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ServicePlanSpec implements KubernetesResource +public class ServicePlanSpec implements Editable , KubernetesResource { @JsonProperty("bindable") @@ -266,6 +267,16 @@ public void setServiceClassRef(io.fabric8.servicecatalog.api.model.LocalObjectRe this.serviceClassRef = serviceClassRef; } + @JsonIgnore + public ServicePlanSpecBuilder edit() { + return new ServicePlanSpecBuilder(this); + } + + @JsonIgnore + public ServicePlanSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServicePlanStatus.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServicePlanStatus.java index e21a055e722..f1d842a78ea 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServicePlanStatus.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServicePlanStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ServicePlanStatus implements KubernetesResource +public class ServicePlanStatus implements Editable , KubernetesResource { @JsonProperty("removedFromBrokerCatalog") @@ -93,6 +94,16 @@ public void setRemovedFromBrokerCatalog(Boolean removedFromBrokerCatalog) { this.removedFromBrokerCatalog = removedFromBrokerCatalog; } + @JsonIgnore + public ServicePlanStatusBuilder edit() { + return new ServicePlanStatusBuilder(this); + } + + @JsonIgnore + public ServicePlanStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServicecatalogSchema.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServicecatalogSchema.java index b4cb60eccbb..b16a0470874 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServicecatalogSchema.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServicecatalogSchema.java @@ -2,10 +2,12 @@ package io.fabric8.servicecatalog.api.model; import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -109,7 +111,8 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ServicecatalogSchema { +public class ServicecatalogSchema implements Editable +{ @JsonProperty("github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_AddKeyTransform") private AddKeyTransform githubComKubernetesSigsServiceCatalogPkgApisServicecatalogV1beta1AddKeyTransform; @@ -838,4 +841,14 @@ public void setGithubComKubernetesSigsServiceCatalogPkgApisServicecatalogV1beta1 this.githubComKubernetesSigsServiceCatalogPkgApisServicecatalogV1beta1UserInfo = githubComKubernetesSigsServiceCatalogPkgApisServicecatalogV1beta1UserInfo; } + @JsonIgnore + public ServicecatalogSchemaBuilder edit() { + return new ServicecatalogSchemaBuilder(this); + } + + @JsonIgnore + public ServicecatalogSchemaBuilder toBuilder() { + return edit(); + } + } diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/UserInfo.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/UserInfo.java index 09865c10cbe..1f924c8a01c 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/UserInfo.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/UserInfo.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class UserInfo implements KubernetesResource +public class UserInfo implements Editable , KubernetesResource { @JsonProperty("extra") @@ -139,6 +140,16 @@ public void setUsername(java.lang.String username) { this.username = username; } + @JsonIgnore + public UserInfoBuilder edit() { + return new UserInfoBuilder(this); + } + + @JsonIgnore + public UserInfoBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/BitbucketInterceptor.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/BitbucketInterceptor.java index 5f6b071322c..3318defc451 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/BitbucketInterceptor.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/BitbucketInterceptor.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class BitbucketInterceptor implements KubernetesResource +public class BitbucketInterceptor implements Editable , KubernetesResource { @JsonProperty("eventTypes") @@ -110,6 +111,16 @@ public void setSecretRef(SecretRef secretRef) { this.secretRef = secretRef; } + @JsonIgnore + public BitbucketInterceptorBuilder edit() { + return new BitbucketInterceptorBuilder(this); + } + + @JsonIgnore + public BitbucketInterceptorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/CELInterceptor.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/CELInterceptor.java index b41e088c792..26e99d88b81 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/CELInterceptor.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/CELInterceptor.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CELInterceptor implements KubernetesResource +public class CELInterceptor implements Editable , KubernetesResource { @JsonProperty("filter") @@ -110,6 +111,16 @@ public void setOverlays(List overlays) { this.overlays = overlays; } + @JsonIgnore + public CELInterceptorBuilder edit() { + return new CELInterceptorBuilder(this); + } + + @JsonIgnore + public CELInterceptorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/CELOverlay.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/CELOverlay.java index 5b8862abe45..dc5c3826cb5 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/CELOverlay.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/CELOverlay.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CELOverlay implements KubernetesResource +public class CELOverlay implements Editable , KubernetesResource { @JsonProperty("expression") @@ -107,6 +108,16 @@ public void setKey(String key) { this.key = key; } + @JsonIgnore + public CELOverlayBuilder edit() { + return new CELOverlayBuilder(this); + } + + @JsonIgnore + public CELOverlayBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClientConfig.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClientConfig.java index 7a0cc4604be..23f30d714d3 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClientConfig.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClientConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ClientConfig implements KubernetesResource +public class ClientConfig implements Editable , KubernetesResource { @JsonProperty("caBundle") @@ -122,6 +123,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public ClientConfigBuilder edit() { + return new ClientConfigBuilder(this); + } + + @JsonIgnore + public ClientConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptor.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptor.java index 6d2e5a97677..0e4d3ad50bf 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptor.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptor.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @Version("v1alpha1") @Group("triggers.tekton.dev") @Generated("jsonschema2pojo") -public class ClusterInterceptor implements HasMetadata +public class ClusterInterceptor implements Editable , HasMetadata { /** @@ -184,6 +185,16 @@ public void setStatus(ClusterInterceptorStatus status) { this.status = status; } + @JsonIgnore + public ClusterInterceptorBuilder edit() { + return new ClusterInterceptorBuilder(this); + } + + @JsonIgnore + public ClusterInterceptorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorList.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorList.java index e898a0938c4..2a730373043 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorList.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("triggers.tekton.dev") @Generated("jsonschema2pojo") -public class ClusterInterceptorList implements KubernetesResource, KubernetesResourceList +public class ClusterInterceptorList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterInterceptorListBuilder edit() { + return new ClusterInterceptorListBuilder(this); + } + + @JsonIgnore + public ClusterInterceptorListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorSpec.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorSpec.java index 000fc5eb10d..213febe7e18 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorSpec.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ClusterInterceptorSpec implements KubernetesResource +public class ClusterInterceptorSpec implements Editable , KubernetesResource { @JsonProperty("clientConfig") @@ -93,6 +94,16 @@ public void setClientConfig(ClientConfig clientConfig) { this.clientConfig = clientConfig; } + @JsonIgnore + public ClusterInterceptorSpecBuilder edit() { + return new ClusterInterceptorSpecBuilder(this); + } + + @JsonIgnore + public ClusterInterceptorSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorStatus.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorStatus.java index c8aacfa2376..4d8da424cb6 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorStatus.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorStatus.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; import io.fabric8.knative.internal.pkg.apis.duck.v1.Addressable; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ClusterInterceptorStatus implements KubernetesResource +public class ClusterInterceptorStatus implements Editable , KubernetesResource { @JsonProperty("address") @@ -141,6 +142,16 @@ public void setObservedGeneration(Long observedGeneration) { this.observedGeneration = observedGeneration; } + @JsonIgnore + public ClusterInterceptorStatusBuilder edit() { + return new ClusterInterceptorStatusBuilder(this); + } + + @JsonIgnore + public ClusterInterceptorStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterTriggerBinding.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterTriggerBinding.java index 0feb5727d01..21376a2dbd8 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterTriggerBinding.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterTriggerBinding.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @Version("v1alpha1") @Group("triggers.tekton.dev") @Generated("jsonschema2pojo") -public class ClusterTriggerBinding implements HasMetadata +public class ClusterTriggerBinding implements Editable , HasMetadata { /** @@ -184,6 +185,16 @@ public void setStatus(TriggerBindingStatus status) { this.status = status; } + @JsonIgnore + public ClusterTriggerBindingBuilder edit() { + return new ClusterTriggerBindingBuilder(this); + } + + @JsonIgnore + public ClusterTriggerBindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterTriggerBindingList.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterTriggerBindingList.java index 91dd3811cc7..0ed1f461bbd 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterTriggerBindingList.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterTriggerBindingList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("triggers.tekton.dev") @Generated("jsonschema2pojo") -public class ClusterTriggerBindingList implements KubernetesResource, KubernetesResourceList +public class ClusterTriggerBindingList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterTriggerBindingListBuilder edit() { + return new ClusterTriggerBindingListBuilder(this); + } + + @JsonIgnore + public ClusterTriggerBindingListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListener.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListener.java index 7dbaaff887d..aa04f4fb487 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListener.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListener.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("triggers.tekton.dev") @Generated("jsonschema2pojo") -public class EventListener implements HasMetadata, Namespaced +public class EventListener implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(EventListenerStatus status) { this.status = status; } + @JsonIgnore + public EventListenerBuilder edit() { + return new EventListenerBuilder(this); + } + + @JsonIgnore + public EventListenerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerConfig.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerConfig.java index 067678d200e..2c425697204 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerConfig.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EventListenerConfig implements KubernetesResource +public class EventListenerConfig implements Editable , KubernetesResource { @JsonProperty("generatedName") @@ -93,6 +94,16 @@ public void setGeneratedName(String generatedName) { this.generatedName = generatedName; } + @JsonIgnore + public EventListenerConfigBuilder edit() { + return new EventListenerConfigBuilder(this); + } + + @JsonIgnore + public EventListenerConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerList.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerList.java index cde816c0a77..dc3ecb1f0ab 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerList.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("triggers.tekton.dev") @Generated("jsonschema2pojo") -public class EventListenerList implements KubernetesResource, KubernetesResourceList +public class EventListenerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public EventListenerListBuilder edit() { + return new EventListenerListBuilder(this); + } + + @JsonIgnore + public EventListenerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerSpec.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerSpec.java index 42b4b54206f..a998b43542c 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerSpec.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EventListenerSpec implements KubernetesResource +public class EventListenerSpec implements Editable , KubernetesResource { @JsonProperty("labelSelector") @@ -151,6 +152,16 @@ public void setTriggers(List triggers) { this.triggers = triggers; } + @JsonIgnore + public EventListenerSpecBuilder edit() { + return new EventListenerSpecBuilder(this); + } + + @JsonIgnore + public EventListenerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerStatus.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerStatus.java index 3aaa110baa1..5796784bb11 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerStatus.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerStatus.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; import io.fabric8.knative.internal.pkg.apis.duck.v1alpha1.Addressable; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EventListenerStatus implements KubernetesResource +public class EventListenerStatus implements Editable , KubernetesResource { @JsonProperty("address") @@ -155,6 +156,16 @@ public void setObservedGeneration(Long observedGeneration) { this.observedGeneration = observedGeneration; } + @JsonIgnore + public EventListenerStatusBuilder edit() { + return new EventListenerStatusBuilder(this); + } + + @JsonIgnore + public EventListenerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerTrigger.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerTrigger.java index e75789d5081..66c5e5b7150 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerTrigger.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerTrigger.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EventListenerTrigger implements KubernetesResource +public class EventListenerTrigger implements Editable , KubernetesResource { @JsonProperty("bindings") @@ -167,6 +168,16 @@ public void setTriggerRef(String triggerRef) { this.triggerRef = triggerRef; } + @JsonIgnore + public EventListenerTriggerBuilder edit() { + return new EventListenerTriggerBuilder(this); + } + + @JsonIgnore + public EventListenerTriggerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/GitHubInterceptor.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/GitHubInterceptor.java index 258d1b52b15..840fdfea4a7 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/GitHubInterceptor.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/GitHubInterceptor.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class GitHubInterceptor implements KubernetesResource +public class GitHubInterceptor implements Editable , KubernetesResource { @JsonProperty("eventTypes") @@ -110,6 +111,16 @@ public void setSecretRef(SecretRef secretRef) { this.secretRef = secretRef; } + @JsonIgnore + public GitHubInterceptorBuilder edit() { + return new GitHubInterceptorBuilder(this); + } + + @JsonIgnore + public GitHubInterceptorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/GitLabInterceptor.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/GitLabInterceptor.java index 7c2b258cf8c..f00d541f49b 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/GitLabInterceptor.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/GitLabInterceptor.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class GitLabInterceptor implements KubernetesResource +public class GitLabInterceptor implements Editable , KubernetesResource { @JsonProperty("eventTypes") @@ -110,6 +111,16 @@ public void setSecretRef(SecretRef secretRef) { this.secretRef = secretRef; } + @JsonIgnore + public GitLabInterceptorBuilder edit() { + return new GitLabInterceptorBuilder(this); + } + + @JsonIgnore + public GitLabInterceptorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Interceptor.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Interceptor.java index e33f2bf457b..bf2b357ce23 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Interceptor.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Interceptor.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("triggers.tekton.dev") @Generated("jsonschema2pojo") -public class Interceptor implements HasMetadata, Namespaced +public class Interceptor implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(InterceptorStatus status) { this.status = status; } + @JsonIgnore + public InterceptorBuilder edit() { + return new InterceptorBuilder(this); + } + + @JsonIgnore + public InterceptorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorList.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorList.java index e0898f0ce5a..47818b1d019 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorList.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("triggers.tekton.dev") @Generated("jsonschema2pojo") -public class InterceptorList implements KubernetesResource, KubernetesResourceList +public class InterceptorList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public InterceptorListBuilder edit() { + return new InterceptorListBuilder(this); + } + + @JsonIgnore + public InterceptorListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorParams.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorParams.java index 703df8973a2..fc537be458e 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorParams.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorParams.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class InterceptorParams implements KubernetesResource +public class InterceptorParams implements Editable , KubernetesResource { @JsonProperty("name") @@ -107,6 +108,16 @@ public void setValue(Object value) { this.value = value; } + @JsonIgnore + public InterceptorParamsBuilder edit() { + return new InterceptorParamsBuilder(this); + } + + @JsonIgnore + public InterceptorParamsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorRef.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorRef.java index 6393beff413..32e34ad6392 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorRef.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorRef.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class InterceptorRef implements KubernetesResource +public class InterceptorRef implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -119,6 +120,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public InterceptorRefBuilder edit() { + return new InterceptorRefBuilder(this); + } + + @JsonIgnore + public InterceptorRefBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorSpec.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorSpec.java index 5256a5dbc8d..a8a8f12e451 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorSpec.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class InterceptorSpec implements KubernetesResource +public class InterceptorSpec implements Editable , KubernetesResource { @JsonProperty("clientConfig") @@ -93,6 +94,16 @@ public void setClientConfig(ClientConfig clientConfig) { this.clientConfig = clientConfig; } + @JsonIgnore + public InterceptorSpecBuilder edit() { + return new InterceptorSpecBuilder(this); + } + + @JsonIgnore + public InterceptorSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorStatus.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorStatus.java index e40f9051cc7..140a4dee804 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorStatus.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorStatus.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; import io.fabric8.knative.internal.pkg.apis.duck.v1.Addressable; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class InterceptorStatus implements KubernetesResource +public class InterceptorStatus implements Editable , KubernetesResource { @JsonProperty("address") @@ -141,6 +142,16 @@ public void setObservedGeneration(Long observedGeneration) { this.observedGeneration = observedGeneration; } + @JsonIgnore + public InterceptorStatusBuilder edit() { + return new InterceptorStatusBuilder(this); + } + + @JsonIgnore + public InterceptorStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/KubernetesResource.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/KubernetesResource.java index 20612b579a8..0533b8905f1 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/KubernetesResource.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/KubernetesResource.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.duck.v1.WithPodSpec; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class KubernetesResource implements io.fabric8.kubernetes.api.model.KubernetesResource +public class KubernetesResource implements Editable , io.fabric8.kubernetes.api.model.KubernetesResource { @JsonProperty("replicas") @@ -121,6 +122,16 @@ public void setSpec(WithPodSpec spec) { this.spec = spec; } + @JsonIgnore + public KubernetesResourceBuilder edit() { + return new KubernetesResourceBuilder(this); + } + + @JsonIgnore + public KubernetesResourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/NamespaceSelector.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/NamespaceSelector.java index 2c71689fcab..e69c50c5472 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/NamespaceSelector.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/NamespaceSelector.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class NamespaceSelector implements KubernetesResource +public class NamespaceSelector implements Editable , KubernetesResource { @JsonProperty("matchNames") @@ -96,6 +97,16 @@ public void setMatchNames(List matchNames) { this.matchNames = matchNames; } + @JsonIgnore + public NamespaceSelectorBuilder edit() { + return new NamespaceSelectorBuilder(this); + } + + @JsonIgnore + public NamespaceSelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Param.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Param.java index 74d94088524..ca8b37a6da8 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Param.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Param.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Param implements KubernetesResource +public class Param implements Editable , KubernetesResource { @JsonProperty("name") @@ -107,6 +108,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public ParamBuilder edit() { + return new ParamBuilder(this); + } + + @JsonIgnore + public ParamBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ParamSpec.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ParamSpec.java index 813a748d220..2ccbbbeb2cd 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ParamSpec.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ParamSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ParamSpec implements KubernetesResource +public class ParamSpec implements Editable , KubernetesResource { @JsonProperty("default") @@ -121,6 +122,16 @@ public void setName(java.lang.String name) { this.name = name; } + @JsonIgnore + public ParamSpecBuilder edit() { + return new ParamSpecBuilder(this); + } + + @JsonIgnore + public ParamSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Resources.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Resources.java index 043eb3f885f..991b5ba21a5 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Resources.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Resources.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Resources implements io.fabric8.kubernetes.api.model.KubernetesResource +public class Resources implements Editable , io.fabric8.kubernetes.api.model.KubernetesResource { @JsonProperty("customResource") @@ -111,6 +112,16 @@ public void setKubernetesResource(io.fabric8.tekton.triggers.v1alpha1.Kubernetes this.kubernetesResource = kubernetesResource; } + @JsonIgnore + public ResourcesBuilder edit() { + return new ResourcesBuilder(this); + } + + @JsonIgnore + public ResourcesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/SecretRef.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/SecretRef.java index 3f69d5365b7..423e9f1fd0c 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/SecretRef.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/SecretRef.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SecretRef implements KubernetesResource +public class SecretRef implements Editable , KubernetesResource { @JsonProperty("secretKey") @@ -107,6 +108,16 @@ public void setSecretName(String secretName) { this.secretName = secretName; } + @JsonIgnore + public SecretRefBuilder edit() { + return new SecretRefBuilder(this); + } + + @JsonIgnore + public SecretRefBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ServiceReference.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ServiceReference.java index a8848d26c6d..0fa83e176ca 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ServiceReference.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ServiceReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ServiceReference implements KubernetesResource +public class ServiceReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -135,6 +136,16 @@ public void setPort(Integer port) { this.port = port; } + @JsonIgnore + public ServiceReferenceBuilder edit() { + return new ServiceReferenceBuilder(this); + } + + @JsonIgnore + public ServiceReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Trigger.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Trigger.java index 0d657a706cb..4bbac0cd77a 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Trigger.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Trigger.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @Version("v1alpha1") @Group("triggers.tekton.dev") @Generated("jsonschema2pojo") -public class Trigger implements HasMetadata, Namespaced +public class Trigger implements Editable , HasMetadata, Namespaced { /** @@ -171,6 +172,16 @@ public void setSpec(TriggerSpec spec) { this.spec = spec; } + @JsonIgnore + public TriggerBuilder edit() { + return new TriggerBuilder(this); + } + + @JsonIgnore + public TriggerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBinding.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBinding.java index ff62241da6f..a208eda5597 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBinding.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBinding.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("triggers.tekton.dev") @Generated("jsonschema2pojo") -public class TriggerBinding implements HasMetadata, Namespaced +public class TriggerBinding implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(TriggerBindingStatus status) { this.status = status; } + @JsonIgnore + public TriggerBindingBuilder edit() { + return new TriggerBindingBuilder(this); + } + + @JsonIgnore + public TriggerBindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingList.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingList.java index 442f24c1ced..b81f7b443a8 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingList.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("triggers.tekton.dev") @Generated("jsonschema2pojo") -public class TriggerBindingList implements KubernetesResource, KubernetesResourceList +public class TriggerBindingList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public TriggerBindingListBuilder edit() { + return new TriggerBindingListBuilder(this); + } + + @JsonIgnore + public TriggerBindingListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingSpec.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingSpec.java index f006ce3a38d..3fc279e59c7 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingSpec.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TriggerBindingSpec implements KubernetesResource +public class TriggerBindingSpec implements Editable , KubernetesResource { @JsonProperty("params") @@ -96,6 +97,16 @@ public void setParams(List params) { this.params = params; } + @JsonIgnore + public TriggerBindingSpecBuilder edit() { + return new TriggerBindingSpecBuilder(this); + } + + @JsonIgnore + public TriggerBindingSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingStatus.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingStatus.java index 4afa084a2bd..58bcd91ccdf 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingStatus.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingStatus.java @@ -10,6 +10,7 @@ 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.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -61,12 +62,22 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TriggerBindingStatus implements KubernetesResource +public class TriggerBindingStatus implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public TriggerBindingStatusBuilder edit() { + return new TriggerBindingStatusBuilder(this); + } + + @JsonIgnore + public TriggerBindingStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerInterceptor.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerInterceptor.java index 88d432fefff..aa8dda4a328 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerInterceptor.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerInterceptor.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TriggerInterceptor implements KubernetesResource +public class TriggerInterceptor implements Editable , KubernetesResource { @JsonProperty("bitbucket") @@ -194,6 +195,16 @@ public void setWebhook(WebhookInterceptor webhook) { this.webhook = webhook; } + @JsonIgnore + public TriggerInterceptorBuilder edit() { + return new TriggerInterceptorBuilder(this); + } + + @JsonIgnore + public TriggerInterceptorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerList.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerList.java index 2172b713663..0f6671bef18 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerList.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("triggers.tekton.dev") @Generated("jsonschema2pojo") -public class TriggerList implements KubernetesResource, KubernetesResourceList +public class TriggerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public TriggerListBuilder edit() { + return new TriggerListBuilder(this); + } + + @JsonIgnore + public TriggerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpec.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpec.java index d592ba46157..c1512a96e44 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpec.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TriggerSpec implements KubernetesResource +public class TriggerSpec implements Editable , KubernetesResource { @JsonProperty("bindings") @@ -153,6 +154,16 @@ public void setTemplate(TriggerSpecTemplate template) { this.template = template; } + @JsonIgnore + public TriggerSpecBuilder edit() { + return new TriggerSpecBuilder(this); + } + + @JsonIgnore + public TriggerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpecBinding.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpecBinding.java index 0b547ebf3bf..950a7e4463b 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpecBinding.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpecBinding.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TriggerSpecBinding implements KubernetesResource +public class TriggerSpecBinding implements Editable , KubernetesResource { @JsonProperty("apiversion") @@ -148,6 +149,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public TriggerSpecBindingBuilder edit() { + return new TriggerSpecBindingBuilder(this); + } + + @JsonIgnore + public TriggerSpecBindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpecTemplate.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpecTemplate.java index d26b61d182b..73c7feb3239 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpecTemplate.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpecTemplate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TriggerSpecTemplate implements KubernetesResource +public class TriggerSpecTemplate implements Editable , KubernetesResource { @JsonProperty("apiversion") @@ -121,6 +122,16 @@ public void setSpec(TriggerTemplateSpec spec) { this.spec = spec; } + @JsonIgnore + public TriggerSpecTemplateBuilder edit() { + return new TriggerSpecTemplateBuilder(this); + } + + @JsonIgnore + public TriggerSpecTemplateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplate.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplate.java index 53cc5b49a9c..4f9d859e2b5 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplate.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("triggers.tekton.dev") @Generated("jsonschema2pojo") -public class TriggerTemplate implements HasMetadata, Namespaced +public class TriggerTemplate implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(TriggerTemplateStatus status) { this.status = status; } + @JsonIgnore + public TriggerTemplateBuilder edit() { + return new TriggerTemplateBuilder(this); + } + + @JsonIgnore + public TriggerTemplateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateList.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateList.java index 48eba9cd4ad..78dcf773562 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateList.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("triggers.tekton.dev") @Generated("jsonschema2pojo") -public class TriggerTemplateList implements KubernetesResource, KubernetesResourceList +public class TriggerTemplateList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public TriggerTemplateListBuilder edit() { + return new TriggerTemplateListBuilder(this); + } + + @JsonIgnore + public TriggerTemplateListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateSpec.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateSpec.java index 8dd24ea1b0d..392245464f9 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateSpec.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TriggerTemplateSpec implements KubernetesResource +public class TriggerTemplateSpec implements Editable , KubernetesResource { @JsonProperty("params") @@ -116,6 +117,16 @@ public void setResourcetemplates(List resourcetemplates) { this.resourcetemplates = resourcetemplates; } + @JsonIgnore + public TriggerTemplateSpecBuilder edit() { + return new TriggerTemplateSpecBuilder(this); + } + + @JsonIgnore + public TriggerTemplateSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateStatus.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateStatus.java index 04af5ff771b..dd1b705e186 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateStatus.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateStatus.java @@ -10,6 +10,7 @@ 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.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -61,12 +62,22 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TriggerTemplateStatus implements KubernetesResource +public class TriggerTemplateStatus implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public TriggerTemplateStatusBuilder edit() { + return new TriggerTemplateStatusBuilder(this); + } + + @JsonIgnore + public TriggerTemplateStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/WebhookInterceptor.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/WebhookInterceptor.java index 7285fc968b1..dc4f7021fef 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/WebhookInterceptor.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/WebhookInterceptor.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class WebhookInterceptor implements KubernetesResource +public class WebhookInterceptor implements Editable , KubernetesResource { @JsonProperty("header") @@ -124,6 +125,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public WebhookInterceptorBuilder edit() { + return new WebhookInterceptorBuilder(this); + } + + @JsonIgnore + public WebhookInterceptorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/ClusterTriggerBinding.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/ClusterTriggerBinding.java index 8925eaf8dec..6a45bbf02ca 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/ClusterTriggerBinding.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/ClusterTriggerBinding.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @Version("v1beta1") @Group("triggers.tekton.dev") @Generated("jsonschema2pojo") -public class ClusterTriggerBinding implements HasMetadata +public class ClusterTriggerBinding implements Editable , HasMetadata { /** @@ -184,6 +185,16 @@ public void setStatus(TriggerBindingStatus status) { this.status = status; } + @JsonIgnore + public ClusterTriggerBindingBuilder edit() { + return new ClusterTriggerBindingBuilder(this); + } + + @JsonIgnore + public ClusterTriggerBindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/ClusterTriggerBindingList.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/ClusterTriggerBindingList.java index 4cab0586ece..c37a11cd0f9 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/ClusterTriggerBindingList.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/ClusterTriggerBindingList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("triggers.tekton.dev") @Generated("jsonschema2pojo") -public class ClusterTriggerBindingList implements KubernetesResource, KubernetesResourceList +public class ClusterTriggerBindingList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterTriggerBindingListBuilder edit() { + return new ClusterTriggerBindingListBuilder(this); + } + + @JsonIgnore + public ClusterTriggerBindingListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListener.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListener.java index 6602f6bffd2..724747332e6 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListener.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListener.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1beta1") @Group("triggers.tekton.dev") @Generated("jsonschema2pojo") -public class EventListener implements HasMetadata, Namespaced +public class EventListener implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(EventListenerStatus status) { this.status = status; } + @JsonIgnore + public EventListenerBuilder edit() { + return new EventListenerBuilder(this); + } + + @JsonIgnore + public EventListenerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerConfig.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerConfig.java index 093d65c63af..f0894aa4bc7 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerConfig.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EventListenerConfig implements KubernetesResource +public class EventListenerConfig implements Editable , KubernetesResource { @JsonProperty("generatedName") @@ -93,6 +94,16 @@ public void setGeneratedName(String generatedName) { this.generatedName = generatedName; } + @JsonIgnore + public EventListenerConfigBuilder edit() { + return new EventListenerConfigBuilder(this); + } + + @JsonIgnore + public EventListenerConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerList.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerList.java index ff47abb9f2d..2ad65c94e00 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerList.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("triggers.tekton.dev") @Generated("jsonschema2pojo") -public class EventListenerList implements KubernetesResource, KubernetesResourceList +public class EventListenerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public EventListenerListBuilder edit() { + return new EventListenerListBuilder(this); + } + + @JsonIgnore + public EventListenerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerSpec.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerSpec.java index 8e52a90e836..4e3ef775bf5 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerSpec.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EventListenerSpec implements KubernetesResource +public class EventListenerSpec implements Editable , KubernetesResource { @JsonProperty("cloudEventURI") @@ -180,6 +181,16 @@ public void setTriggers(List triggers) { this.triggers = triggers; } + @JsonIgnore + public EventListenerSpecBuilder edit() { + return new EventListenerSpecBuilder(this); + } + + @JsonIgnore + public EventListenerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerStatus.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerStatus.java index 99abe82de54..415d4ade73e 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerStatus.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerStatus.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; import io.fabric8.knative.internal.pkg.apis.duck.v1beta1.Addressable; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EventListenerStatus implements KubernetesResource +public class EventListenerStatus implements Editable , KubernetesResource { @JsonProperty("address") @@ -155,6 +156,16 @@ public void setObservedGeneration(Long observedGeneration) { this.observedGeneration = observedGeneration; } + @JsonIgnore + public EventListenerStatusBuilder edit() { + return new EventListenerStatusBuilder(this); + } + + @JsonIgnore + public EventListenerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTrigger.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTrigger.java index 4fbc603f3ba..d21e978166b 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTrigger.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTrigger.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EventListenerTrigger implements KubernetesResource +public class EventListenerTrigger implements Editable , KubernetesResource { @JsonProperty("bindings") @@ -167,6 +168,16 @@ public void setTriggerRef(String triggerRef) { this.triggerRef = triggerRef; } + @JsonIgnore + public EventListenerTriggerBuilder edit() { + return new EventListenerTriggerBuilder(this); + } + + @JsonIgnore + public EventListenerTriggerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTriggerGroup.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTriggerGroup.java index 044f70c4a5d..2569c9fd796 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTriggerGroup.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTriggerGroup.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EventListenerTriggerGroup implements KubernetesResource +public class EventListenerTriggerGroup implements Editable , KubernetesResource { @JsonProperty("interceptors") @@ -124,6 +125,16 @@ public void setTriggerSelector(EventListenerTriggerSelector triggerSelector) { this.triggerSelector = triggerSelector; } + @JsonIgnore + public EventListenerTriggerGroupBuilder edit() { + return new EventListenerTriggerGroupBuilder(this); + } + + @JsonIgnore + public EventListenerTriggerGroupBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTriggerSelector.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTriggerSelector.java index 06b083b10fd..ffefc2d99d3 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTriggerSelector.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTriggerSelector.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EventListenerTriggerSelector implements KubernetesResource +public class EventListenerTriggerSelector implements Editable , KubernetesResource { @JsonProperty("labelSelector") @@ -106,6 +107,16 @@ public void setNamespaceSelector(NamespaceSelector namespaceSelector) { this.namespaceSelector = namespaceSelector; } + @JsonIgnore + public EventListenerTriggerSelectorBuilder edit() { + return new EventListenerTriggerSelectorBuilder(this); + } + + @JsonIgnore + public EventListenerTriggerSelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/InterceptorParams.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/InterceptorParams.java index ea7085d4212..36b9f489c5e 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/InterceptorParams.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/InterceptorParams.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class InterceptorParams implements KubernetesResource +public class InterceptorParams implements Editable , KubernetesResource { @JsonProperty("name") @@ -107,6 +108,16 @@ public void setValue(Object value) { this.value = value; } + @JsonIgnore + public InterceptorParamsBuilder edit() { + return new InterceptorParamsBuilder(this); + } + + @JsonIgnore + public InterceptorParamsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/InterceptorRef.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/InterceptorRef.java index c3703a9ec3b..68f197650fa 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/InterceptorRef.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/InterceptorRef.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class InterceptorRef implements KubernetesResource +public class InterceptorRef implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -119,6 +120,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public InterceptorRefBuilder edit() { + return new InterceptorRefBuilder(this); + } + + @JsonIgnore + public InterceptorRefBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/KubernetesResource.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/KubernetesResource.java index 618975456b5..da8956b0b3c 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/KubernetesResource.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/KubernetesResource.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.duck.v1.WithPodSpec; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class KubernetesResource implements io.fabric8.kubernetes.api.model.KubernetesResource +public class KubernetesResource implements Editable , io.fabric8.kubernetes.api.model.KubernetesResource { @JsonProperty("replicas") @@ -135,6 +136,16 @@ public void setSpec(WithPodSpec spec) { this.spec = spec; } + @JsonIgnore + public KubernetesResourceBuilder edit() { + return new KubernetesResourceBuilder(this); + } + + @JsonIgnore + public KubernetesResourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/NamespaceSelector.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/NamespaceSelector.java index 00228e5b2ab..851d51977aa 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/NamespaceSelector.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/NamespaceSelector.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class NamespaceSelector implements KubernetesResource +public class NamespaceSelector implements Editable , KubernetesResource { @JsonProperty("matchNames") @@ -96,6 +97,16 @@ public void setMatchNames(List matchNames) { this.matchNames = matchNames; } + @JsonIgnore + public NamespaceSelectorBuilder edit() { + return new NamespaceSelectorBuilder(this); + } + + @JsonIgnore + public NamespaceSelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Param.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Param.java index 2a7952a5544..a158e117732 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Param.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Param.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Param implements KubernetesResource +public class Param implements Editable , KubernetesResource { @JsonProperty("name") @@ -107,6 +108,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public ParamBuilder edit() { + return new ParamBuilder(this); + } + + @JsonIgnore + public ParamBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/ParamSpec.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/ParamSpec.java index 1aac43ed628..f35a37f03e4 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/ParamSpec.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/ParamSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ParamSpec implements KubernetesResource +public class ParamSpec implements Editable , KubernetesResource { @JsonProperty("default") @@ -121,6 +122,16 @@ public void setName(java.lang.String name) { this.name = name; } + @JsonIgnore + public ParamSpecBuilder edit() { + return new ParamSpecBuilder(this); + } + + @JsonIgnore + public ParamSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Resources.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Resources.java index 2a5687435c3..380c59f2e66 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Resources.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Resources.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Resources implements io.fabric8.kubernetes.api.model.KubernetesResource +public class Resources implements Editable , io.fabric8.kubernetes.api.model.KubernetesResource { @JsonProperty("customResource") @@ -111,6 +112,16 @@ public void setKubernetesResource(io.fabric8.tekton.triggers.v1beta1.KubernetesR this.kubernetesResource = kubernetesResource; } + @JsonIgnore + public ResourcesBuilder edit() { + return new ResourcesBuilder(this); + } + + @JsonIgnore + public ResourcesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Trigger.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Trigger.java index 94a91166c02..eeb25f6e09c 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Trigger.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Trigger.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @Version("v1beta1") @Group("triggers.tekton.dev") @Generated("jsonschema2pojo") -public class Trigger implements HasMetadata, Namespaced +public class Trigger implements Editable , HasMetadata, Namespaced { /** @@ -171,6 +172,16 @@ public void setSpec(TriggerSpec spec) { this.spec = spec; } + @JsonIgnore + public TriggerBuilder edit() { + return new TriggerBuilder(this); + } + + @JsonIgnore + public TriggerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBinding.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBinding.java index 8ff3987af6c..1360e66ece5 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBinding.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBinding.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1beta1") @Group("triggers.tekton.dev") @Generated("jsonschema2pojo") -public class TriggerBinding implements HasMetadata, Namespaced +public class TriggerBinding implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(TriggerBindingStatus status) { this.status = status; } + @JsonIgnore + public TriggerBindingBuilder edit() { + return new TriggerBindingBuilder(this); + } + + @JsonIgnore + public TriggerBindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingList.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingList.java index 528a86b29fa..8565a645ec0 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingList.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("triggers.tekton.dev") @Generated("jsonschema2pojo") -public class TriggerBindingList implements KubernetesResource, KubernetesResourceList +public class TriggerBindingList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public TriggerBindingListBuilder edit() { + return new TriggerBindingListBuilder(this); + } + + @JsonIgnore + public TriggerBindingListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingSpec.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingSpec.java index 50d0e8a786f..c653be7c910 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingSpec.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TriggerBindingSpec implements KubernetesResource +public class TriggerBindingSpec implements Editable , KubernetesResource { @JsonProperty("params") @@ -96,6 +97,16 @@ public void setParams(List params) { this.params = params; } + @JsonIgnore + public TriggerBindingSpecBuilder edit() { + return new TriggerBindingSpecBuilder(this); + } + + @JsonIgnore + public TriggerBindingSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingStatus.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingStatus.java index 3843bd5d836..5b3633dd6f4 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingStatus.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingStatus.java @@ -10,6 +10,7 @@ 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.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -61,12 +62,22 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TriggerBindingStatus implements KubernetesResource +public class TriggerBindingStatus implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public TriggerBindingStatusBuilder edit() { + return new TriggerBindingStatusBuilder(this); + } + + @JsonIgnore + public TriggerBindingStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerInterceptor.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerInterceptor.java index ba15818e39f..e056ca6be6a 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerInterceptor.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerInterceptor.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TriggerInterceptor implements KubernetesResource +public class TriggerInterceptor implements Editable , KubernetesResource { @JsonProperty("name") @@ -138,6 +139,16 @@ public void setWebhook(WebhookInterceptor webhook) { this.webhook = webhook; } + @JsonIgnore + public TriggerInterceptorBuilder edit() { + return new TriggerInterceptorBuilder(this); + } + + @JsonIgnore + public TriggerInterceptorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerList.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerList.java index 29fbf1fdd3b..b83109780ea 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerList.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("triggers.tekton.dev") @Generated("jsonschema2pojo") -public class TriggerList implements KubernetesResource, KubernetesResourceList +public class TriggerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public TriggerListBuilder edit() { + return new TriggerListBuilder(this); + } + + @JsonIgnore + public TriggerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpec.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpec.java index 89907b88cf8..431e91822d9 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpec.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TriggerSpec implements KubernetesResource +public class TriggerSpec implements Editable , KubernetesResource { @JsonProperty("bindings") @@ -153,6 +154,16 @@ public void setTemplate(TriggerSpecTemplate template) { this.template = template; } + @JsonIgnore + public TriggerSpecBuilder edit() { + return new TriggerSpecBuilder(this); + } + + @JsonIgnore + public TriggerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpecBinding.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpecBinding.java index a999ef65bf4..327b4f827b0 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpecBinding.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpecBinding.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TriggerSpecBinding implements KubernetesResource +public class TriggerSpecBinding implements Editable , KubernetesResource { @JsonProperty("apiversion") @@ -148,6 +149,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public TriggerSpecBindingBuilder edit() { + return new TriggerSpecBindingBuilder(this); + } + + @JsonIgnore + public TriggerSpecBindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpecTemplate.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpecTemplate.java index 933847b05f5..61c27ccc4fb 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpecTemplate.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpecTemplate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TriggerSpecTemplate implements KubernetesResource +public class TriggerSpecTemplate implements Editable , KubernetesResource { @JsonProperty("apiversion") @@ -121,6 +122,16 @@ public void setSpec(TriggerTemplateSpec spec) { this.spec = spec; } + @JsonIgnore + public TriggerSpecTemplateBuilder edit() { + return new TriggerSpecTemplateBuilder(this); + } + + @JsonIgnore + public TriggerSpecTemplateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplate.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplate.java index db5a05537db..ce3eb20933e 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplate.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1beta1") @Group("triggers.tekton.dev") @Generated("jsonschema2pojo") -public class TriggerTemplate implements HasMetadata, Namespaced +public class TriggerTemplate implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(TriggerTemplateStatus status) { this.status = status; } + @JsonIgnore + public TriggerTemplateBuilder edit() { + return new TriggerTemplateBuilder(this); + } + + @JsonIgnore + public TriggerTemplateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateList.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateList.java index ed45fd72d3d..cfb1b52510b 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateList.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("triggers.tekton.dev") @Generated("jsonschema2pojo") -public class TriggerTemplateList implements KubernetesResource, KubernetesResourceList +public class TriggerTemplateList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public TriggerTemplateListBuilder edit() { + return new TriggerTemplateListBuilder(this); + } + + @JsonIgnore + public TriggerTemplateListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateSpec.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateSpec.java index a88079f4e9c..fc8bea18e93 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateSpec.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TriggerTemplateSpec implements KubernetesResource +public class TriggerTemplateSpec implements Editable , KubernetesResource { @JsonProperty("params") @@ -116,6 +117,16 @@ public void setResourcetemplates(List resourcetemplates) { this.resourcetemplates = resourcetemplates; } + @JsonIgnore + public TriggerTemplateSpecBuilder edit() { + return new TriggerTemplateSpecBuilder(this); + } + + @JsonIgnore + public TriggerTemplateSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateStatus.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateStatus.java index b6943669213..7eece0f0ab7 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateStatus.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateStatus.java @@ -10,6 +10,7 @@ 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.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -61,12 +62,22 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TriggerTemplateStatus implements KubernetesResource +public class TriggerTemplateStatus implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public TriggerTemplateStatusBuilder edit() { + return new TriggerTemplateStatusBuilder(this); + } + + @JsonIgnore + public TriggerTemplateStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/WebhookInterceptor.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/WebhookInterceptor.java index de0e2d78ead..558dc17b64f 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/WebhookInterceptor.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/WebhookInterceptor.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class WebhookInterceptor implements KubernetesResource +public class WebhookInterceptor implements Editable , KubernetesResource { @JsonProperty("header") @@ -124,6 +125,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public WebhookInterceptorBuilder edit() { + return new WebhookInterceptorBuilder(this); + } + + @JsonIgnore + public WebhookInterceptorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/ChildStatusReference.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/ChildStatusReference.java index 8a3d05640b5..cfac1a1aa96 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/ChildStatusReference.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/ChildStatusReference.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ChildStatusReference implements KubernetesResource +public class ChildStatusReference implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -150,6 +151,16 @@ public void setWhenExpressions(List whenExpressions) { this.whenExpressions = whenExpressions; } + @JsonIgnore + public ChildStatusReferenceBuilder edit() { + return new ChildStatusReferenceBuilder(this); + } + + @JsonIgnore + public ChildStatusReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/EmbeddedTask.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/EmbeddedTask.java index 959249abd4b..a52c5157ac8 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/EmbeddedTask.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/EmbeddedTask.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EmbeddedTask implements KubernetesResource +public class EmbeddedTask implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -266,6 +267,16 @@ public void setWorkspaces(List workspaces) { this.workspaces = workspaces; } + @JsonIgnore + public EmbeddedTaskBuilder edit() { + return new EmbeddedTaskBuilder(this); + } + + @JsonIgnore + public EmbeddedTaskBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/IncludeParams.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/IncludeParams.java index adf05304dbf..d44b7d26fbf 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/IncludeParams.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/IncludeParams.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IncludeParams implements KubernetesResource +public class IncludeParams implements Editable , KubernetesResource { @JsonProperty("name") @@ -110,6 +111,16 @@ public void setParams(List params) { this.params = params; } + @JsonIgnore + public IncludeParamsBuilder edit() { + return new IncludeParamsBuilder(this); + } + + @JsonIgnore + public IncludeParamsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Matrix.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Matrix.java index 3f3f3b466ff..55a1f1376d4 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Matrix.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Matrix.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Matrix implements KubernetesResource +public class Matrix implements Editable , KubernetesResource { @JsonProperty("include") @@ -111,6 +112,16 @@ public void setParams(List params) { this.params = params; } + @JsonIgnore + public MatrixBuilder edit() { + return new MatrixBuilder(this); + } + + @JsonIgnore + public MatrixBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Param.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Param.java index 1c582c4875e..d203b6a4c3d 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Param.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Param.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Param implements KubernetesResource +public class Param implements Editable , KubernetesResource { @JsonProperty("name") @@ -107,6 +108,16 @@ public void setValue(ParamValue value) { this.value = value; } + @JsonIgnore + public ParamBuilder edit() { + return new ParamBuilder(this); + } + + @JsonIgnore + public ParamBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/ParamSpec.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/ParamSpec.java index 1cf2026bb7d..dbc3b7c1470 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/ParamSpec.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/ParamSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ParamSpec implements KubernetesResource +public class ParamSpec implements Editable , KubernetesResource { @JsonProperty("default") @@ -150,6 +151,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public ParamSpecBuilder edit() { + return new ParamSpecBuilder(this); + } + + @JsonIgnore + public ParamSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Pipeline.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Pipeline.java index 394f96c665c..2a0105c4756 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Pipeline.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Pipeline.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @Version("v1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class Pipeline implements HasMetadata, Namespaced +public class Pipeline implements Editable , HasMetadata, Namespaced { /** @@ -171,6 +172,16 @@ public void setSpec(PipelineSpec spec) { this.spec = spec; } + @JsonIgnore + public PipelineBuilder edit() { + return new PipelineBuilder(this); + } + + @JsonIgnore + public PipelineBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineList.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineList.java index f742ed673bf..e11a9347f98 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineList.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class PipelineList implements KubernetesResource, KubernetesResourceList +public class PipelineList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PipelineListBuilder edit() { + return new PipelineListBuilder(this); + } + + @JsonIgnore + public PipelineListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRef.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRef.java index 3169d99135a..f222ed136a9 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRef.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRef.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PipelineRef implements KubernetesResource +public class PipelineRef implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -137,6 +138,16 @@ public void setResolver(String resolver) { this.resolver = resolver; } + @JsonIgnore + public PipelineRefBuilder edit() { + return new PipelineRefBuilder(this); + } + + @JsonIgnore + public PipelineRefBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineResult.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineResult.java index 6a59c739261..fcf3ccd978f 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineResult.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineResult.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PipelineResult implements KubernetesResource +public class PipelineResult implements Editable , KubernetesResource { @JsonProperty("description") @@ -135,6 +136,16 @@ public void setValue(ParamValue value) { this.value = value; } + @JsonIgnore + public PipelineResultBuilder edit() { + return new PipelineResultBuilder(this); + } + + @JsonIgnore + public PipelineResultBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRun.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRun.java index bb7b09b8e7a..792c5214168 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRun.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRun.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class PipelineRun implements HasMetadata, Namespaced +public class PipelineRun implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(PipelineRunStatus status) { this.status = status; } + @JsonIgnore + public PipelineRunBuilder edit() { + return new PipelineRunBuilder(this); + } + + @JsonIgnore + public PipelineRunBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRunList.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRunList.java index 60b23ba1a14..72f5aa87aa0 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRunList.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRunList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class PipelineRunList implements KubernetesResource, KubernetesResourceList +public class PipelineRunList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PipelineRunListBuilder edit() { + return new PipelineRunListBuilder(this); + } + + @JsonIgnore + public PipelineRunListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRunResult.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRunResult.java index 633e0e2d356..15f8ab4dc84 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRunResult.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRunResult.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PipelineRunResult implements KubernetesResource +public class PipelineRunResult implements Editable , KubernetesResource { @JsonProperty("name") @@ -107,6 +108,16 @@ public void setValue(ParamValue value) { this.value = value; } + @JsonIgnore + public PipelineRunResultBuilder edit() { + return new PipelineRunResultBuilder(this); + } + + @JsonIgnore + public PipelineRunResultBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRunSpec.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRunSpec.java index ba41709301a..7d6589f687a 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRunSpec.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRunSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PipelineRunSpec implements KubernetesResource +public class PipelineRunSpec implements Editable , KubernetesResource { @JsonProperty("params") @@ -196,6 +197,16 @@ public void setWorkspaces(List workspaces) { this.workspaces = workspaces; } + @JsonIgnore + public PipelineRunSpecBuilder edit() { + return new PipelineRunSpecBuilder(this); + } + + @JsonIgnore + public PipelineRunSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRunStatus.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRunStatus.java index 01f1dabd037..5d44dd22016 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRunStatus.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRunStatus.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -77,7 +78,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PipelineRunStatus implements KubernetesResource +public class PipelineRunStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -256,6 +257,16 @@ public void setStartTime(java.lang.String startTime) { this.startTime = startTime; } + @JsonIgnore + public PipelineRunStatusBuilder edit() { + return new PipelineRunStatusBuilder(this); + } + + @JsonIgnore + public PipelineRunStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineSpec.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineSpec.java index 32582bd46d2..9cf42be36d4 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineSpec.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PipelineSpec implements KubernetesResource +public class PipelineSpec implements Editable , KubernetesResource { @JsonProperty("description") @@ -184,6 +185,16 @@ public void setWorkspaces(List workspaces) { this.workspaces = workspaces; } + @JsonIgnore + public PipelineSpecBuilder edit() { + return new PipelineSpecBuilder(this); + } + + @JsonIgnore + public PipelineSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineTask.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineTask.java index 7e828ab2516..f41aa552939 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineTask.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineTask.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; @@ -77,7 +78,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PipelineTask implements KubernetesResource +public class PipelineTask implements Editable , KubernetesResource { @JsonProperty("description") @@ -254,6 +255,16 @@ public void setWorkspaces(List workspaces) { this.workspaces = workspaces; } + @JsonIgnore + public PipelineTaskBuilder edit() { + return new PipelineTaskBuilder(this); + } + + @JsonIgnore + public PipelineTaskBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineTaskMetadata.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineTaskMetadata.java index 6a74aeb8c3f..3b2a897c263 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineTaskMetadata.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineTaskMetadata.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PipelineTaskMetadata implements KubernetesResource +public class PipelineTaskMetadata implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -109,6 +110,16 @@ public void setLabels(Map labels) { this.labels = labels; } + @JsonIgnore + public PipelineTaskMetadataBuilder edit() { + return new PipelineTaskMetadataBuilder(this); + } + + @JsonIgnore + public PipelineTaskMetadataBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineTaskRunSpec.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineTaskRunSpec.java index 412c7b25ffc..e6f42b09222 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineTaskRunSpec.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineTaskRunSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PipelineTaskRunSpec implements KubernetesResource +public class PipelineTaskRunSpec implements Editable , KubernetesResource { @JsonProperty("computeResources") @@ -180,6 +181,16 @@ public void setStepSpecs(List stepSpecs) { this.stepSpecs = stepSpecs; } + @JsonIgnore + public PipelineTaskRunSpecBuilder edit() { + return new PipelineTaskRunSpecBuilder(this); + } + + @JsonIgnore + public PipelineTaskRunSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineTaskRunTemplate.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineTaskRunTemplate.java index 02b16223914..ee04e15fa91 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineTaskRunTemplate.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineTaskRunTemplate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PipelineTaskRunTemplate implements KubernetesResource +public class PipelineTaskRunTemplate implements Editable , KubernetesResource { @JsonProperty("podTemplate") @@ -108,6 +109,16 @@ public void setServiceAccountName(String serviceAccountName) { this.serviceAccountName = serviceAccountName; } + @JsonIgnore + public PipelineTaskRunTemplateBuilder edit() { + return new PipelineTaskRunTemplateBuilder(this); + } + + @JsonIgnore + public PipelineTaskRunTemplateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineWorkspaceDeclaration.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineWorkspaceDeclaration.java index f41735ed63e..96a1a4d868b 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineWorkspaceDeclaration.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineWorkspaceDeclaration.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PipelineWorkspaceDeclaration implements KubernetesResource +public class PipelineWorkspaceDeclaration implements Editable , KubernetesResource { @JsonProperty("description") @@ -121,6 +122,16 @@ public void setOptional(Boolean optional) { this.optional = optional; } + @JsonIgnore + public PipelineWorkspaceDeclarationBuilder edit() { + return new PipelineWorkspaceDeclarationBuilder(this); + } + + @JsonIgnore + public PipelineWorkspaceDeclarationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PropertySpec.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PropertySpec.java index f664bad099e..0df0b0cb6df 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PropertySpec.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PropertySpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PropertySpec implements KubernetesResource +public class PropertySpec implements Editable , KubernetesResource { @JsonProperty("type") @@ -93,6 +94,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public PropertySpecBuilder edit() { + return new PropertySpecBuilder(this); + } + + @JsonIgnore + public PropertySpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Provenance.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Provenance.java index b4ce927e6a0..416d2320de0 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Provenance.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Provenance.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Provenance implements KubernetesResource +public class Provenance implements Editable , KubernetesResource { @JsonProperty("featureFlags") @@ -108,6 +109,16 @@ public void setRefSource(RefSource refSource) { this.refSource = refSource; } + @JsonIgnore + public ProvenanceBuilder edit() { + return new ProvenanceBuilder(this); + } + + @JsonIgnore + public ProvenanceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/RefSource.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/RefSource.java index 148412e933d..7f331437fde 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/RefSource.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/RefSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class RefSource implements KubernetesResource +public class RefSource implements Editable , KubernetesResource { @JsonProperty("digest") @@ -122,6 +123,16 @@ public void setUri(java.lang.String uri) { this.uri = uri; } + @JsonIgnore + public RefSourceBuilder edit() { + return new RefSourceBuilder(this); + } + + @JsonIgnore + public RefSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Sidecar.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Sidecar.java index b371dbdf11c..f58061cc286 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Sidecar.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Sidecar.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.EnvFromSource; import io.fabric8.kubernetes.api.model.IntOrString; @@ -89,7 +90,7 @@ @BuildableReference(io.fabric8.kubernetes.api.model.VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Sidecar implements KubernetesResource +public class Sidecar implements Editable , KubernetesResource { @JsonProperty("args") @@ -426,6 +427,16 @@ public void setWorkspaces(List workspaces) { this.workspaces = workspaces; } + @JsonIgnore + public SidecarBuilder edit() { + return new SidecarBuilder(this); + } + + @JsonIgnore + public SidecarBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/SidecarState.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/SidecarState.java index f8c74771b2e..f50b8c82742 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/SidecarState.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/SidecarState.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.ContainerStateRunning; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SidecarState implements KubernetesResource +public class SidecarState implements Editable , KubernetesResource { @JsonProperty("container") @@ -166,6 +167,16 @@ public void setWaiting(ContainerStateWaiting waiting) { this.waiting = waiting; } + @JsonIgnore + public SidecarStateBuilder edit() { + return new SidecarStateBuilder(this); + } + + @JsonIgnore + public SidecarStateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/SkippedTask.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/SkippedTask.java index 2b4021bac22..6ce82e2561c 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/SkippedTask.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/SkippedTask.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SkippedTask implements KubernetesResource +public class SkippedTask implements Editable , KubernetesResource { @JsonProperty("name") @@ -124,6 +125,16 @@ public void setWhenExpressions(List whenExpressions) { this.whenExpressions = whenExpressions; } + @JsonIgnore + public SkippedTaskBuilder edit() { + return new SkippedTaskBuilder(this); + } + + @JsonIgnore + public SkippedTaskBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Step.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Step.java index 8d22bcf11bc..e15ed3137e8 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Step.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Step.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; @@ -83,7 +84,7 @@ @BuildableReference(io.fabric8.kubernetes.api.model.VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Step implements KubernetesResource +public class Step implements Editable , KubernetesResource { @JsonProperty("args") @@ -341,6 +342,16 @@ public void setWorkspaces(List workspaces) { this.workspaces = workspaces; } + @JsonIgnore + public StepBuilder edit() { + return new StepBuilder(this); + } + + @JsonIgnore + public StepBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/StepOutputConfig.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/StepOutputConfig.java index 481c82e1dcf..2a2326796e0 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/StepOutputConfig.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/StepOutputConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class StepOutputConfig implements KubernetesResource +public class StepOutputConfig implements Editable , KubernetesResource { @JsonProperty("path") @@ -93,6 +94,16 @@ public void setPath(String path) { this.path = path; } + @JsonIgnore + public StepOutputConfigBuilder edit() { + return new StepOutputConfigBuilder(this); + } + + @JsonIgnore + public StepOutputConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/StepState.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/StepState.java index 9d68db5c51a..a88df37b869 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/StepState.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/StepState.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.ContainerStateRunning; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class StepState implements KubernetesResource +public class StepState implements Editable , KubernetesResource { @JsonProperty("container") @@ -166,6 +167,16 @@ public void setWaiting(ContainerStateWaiting waiting) { this.waiting = waiting; } + @JsonIgnore + public StepStateBuilder edit() { + return new StepStateBuilder(this); + } + + @JsonIgnore + public StepStateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/StepTemplate.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/StepTemplate.java index 91ac470402d..c1fd613e888 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/StepTemplate.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/StepTemplate.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvFromSource; @@ -75,7 +76,7 @@ @BuildableReference(io.fabric8.kubernetes.api.model.VolumeMount.class) }) @Generated("jsonschema2pojo") -public class StepTemplate implements KubernetesResource +public class StepTemplate implements Editable , KubernetesResource { @JsonProperty("args") @@ -241,6 +242,16 @@ public void setWorkingDir(String workingDir) { this.workingDir = workingDir; } + @JsonIgnore + public StepTemplateBuilder edit() { + return new StepTemplateBuilder(this); + } + + @JsonIgnore + public StepTemplateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Task.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Task.java index fb66d9ffdf2..54f88a6b603 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Task.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Task.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @Version("v1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class Task implements HasMetadata, Namespaced +public class Task implements Editable , HasMetadata, Namespaced { /** @@ -171,6 +172,16 @@ public void setSpec(TaskSpec spec) { this.spec = spec; } + @JsonIgnore + public TaskBuilder edit() { + return new TaskBuilder(this); + } + + @JsonIgnore + public TaskBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskList.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskList.java index 63c7b816d5a..70bda12c8c0 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskList.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class TaskList implements KubernetesResource, KubernetesResourceList +public class TaskList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public TaskListBuilder edit() { + return new TaskListBuilder(this); + } + + @JsonIgnore + public TaskListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRef.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRef.java index a34fa9b553f..405d4377daa 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRef.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRef.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TaskRef implements KubernetesResource +public class TaskRef implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -150,6 +151,16 @@ public void setResolver(String resolver) { this.resolver = resolver; } + @JsonIgnore + public TaskRefBuilder edit() { + return new TaskRefBuilder(this); + } + + @JsonIgnore + public TaskRefBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskResult.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskResult.java index a1ab5cdb8e3..ea87eb359f4 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskResult.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskResult.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TaskResult implements KubernetesResource +public class TaskResult implements Editable , KubernetesResource { @JsonProperty("description") @@ -136,6 +137,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public TaskResultBuilder edit() { + return new TaskResultBuilder(this); + } + + @JsonIgnore + public TaskResultBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRun.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRun.java index b255ccf00ab..bddfc85f74b 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRun.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRun.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class TaskRun implements HasMetadata, Namespaced +public class TaskRun implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(TaskRunStatus status) { this.status = status; } + @JsonIgnore + public TaskRunBuilder edit() { + return new TaskRunBuilder(this); + } + + @JsonIgnore + public TaskRunBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunDebug.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunDebug.java index 95eb4927946..5623bd5e483 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunDebug.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunDebug.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TaskRunDebug implements KubernetesResource +public class TaskRunDebug implements Editable , KubernetesResource { @JsonProperty("breakpoint") @@ -96,6 +97,16 @@ public void setBreakpoint(List breakpoint) { this.breakpoint = breakpoint; } + @JsonIgnore + public TaskRunDebugBuilder edit() { + return new TaskRunDebugBuilder(this); + } + + @JsonIgnore + public TaskRunDebugBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunList.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunList.java index 63ccd73d6fd..00fb4e810bf 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunList.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class TaskRunList implements KubernetesResource, KubernetesResourceList +public class TaskRunList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public TaskRunListBuilder edit() { + return new TaskRunListBuilder(this); + } + + @JsonIgnore + public TaskRunListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunResult.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunResult.java index 150374c6616..761ae188f4c 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunResult.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunResult.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TaskRunResult implements KubernetesResource +public class TaskRunResult implements Editable , KubernetesResource { @JsonProperty("name") @@ -121,6 +122,16 @@ public void setValue(ParamValue value) { this.value = value; } + @JsonIgnore + public TaskRunResultBuilder edit() { + return new TaskRunResultBuilder(this); + } + + @JsonIgnore + public TaskRunResultBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunSidecarSpec.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunSidecarSpec.java index 849f1d43535..c3b78712105 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunSidecarSpec.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunSidecarSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TaskRunSidecarSpec implements KubernetesResource +public class TaskRunSidecarSpec implements Editable , KubernetesResource { @JsonProperty("computeResources") @@ -106,6 +107,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public TaskRunSidecarSpecBuilder edit() { + return new TaskRunSidecarSpecBuilder(this); + } + + @JsonIgnore + public TaskRunSidecarSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunSpec.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunSpec.java index 1442a082949..0af2619f8aa 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunSpec.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; @@ -79,7 +80,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TaskRunSpec implements KubernetesResource +public class TaskRunSpec implements Editable , KubernetesResource { @JsonProperty("computeResources") @@ -282,6 +283,16 @@ public void setWorkspaces(List workspaces) { this.workspaces = workspaces; } + @JsonIgnore + public TaskRunSpecBuilder edit() { + return new TaskRunSpecBuilder(this); + } + + @JsonIgnore + public TaskRunSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunStatus.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunStatus.java index cb698b6068c..23c6d624866 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunStatus.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunStatus.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -78,7 +79,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TaskRunStatus implements KubernetesResource +public class TaskRunStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -271,6 +272,16 @@ public void setTaskSpec(TaskSpec taskSpec) { this.taskSpec = taskSpec; } + @JsonIgnore + public TaskRunStatusBuilder edit() { + return new TaskRunStatusBuilder(this); + } + + @JsonIgnore + public TaskRunStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunStepSpec.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunStepSpec.java index fe21eac82f1..baa722d1ce0 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunStepSpec.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunStepSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TaskRunStepSpec implements KubernetesResource +public class TaskRunStepSpec implements Editable , KubernetesResource { @JsonProperty("computeResources") @@ -106,6 +107,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public TaskRunStepSpecBuilder edit() { + return new TaskRunStepSpecBuilder(this); + } + + @JsonIgnore + public TaskRunStepSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskSpec.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskSpec.java index 062c14e789e..c1078a649d0 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskSpec.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TaskSpec implements KubernetesResource +public class TaskSpec implements Editable , KubernetesResource { @JsonProperty("description") @@ -212,6 +213,16 @@ public void setWorkspaces(List workspaces) { this.workspaces = workspaces; } + @JsonIgnore + public TaskSpecBuilder edit() { + return new TaskSpecBuilder(this); + } + + @JsonIgnore + public TaskSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TimeoutFields.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TimeoutFields.java index fe7484e65d8..6ed88a69046 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TimeoutFields.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TimeoutFields.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TimeoutFields implements KubernetesResource +public class TimeoutFields implements Editable , KubernetesResource { @JsonProperty("finally") @@ -122,6 +123,16 @@ public void setTasks(Duration tasks) { this.tasks = tasks; } + @JsonIgnore + public TimeoutFieldsBuilder edit() { + return new TimeoutFieldsBuilder(this); + } + + @JsonIgnore + public TimeoutFieldsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WhenExpression.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WhenExpression.java index a5751a67ae0..c6b20f0cbf5 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WhenExpression.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WhenExpression.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class WhenExpression implements KubernetesResource +public class WhenExpression implements Editable , KubernetesResource { @JsonProperty("input") @@ -124,6 +125,16 @@ public void setValues(List values) { this.values = values; } + @JsonIgnore + public WhenExpressionBuilder edit() { + return new WhenExpressionBuilder(this); + } + + @JsonIgnore + public WhenExpressionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WorkspaceBinding.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WorkspaceBinding.java index 058e7055554..497de30b345 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WorkspaceBinding.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WorkspaceBinding.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.CSIVolumeSource; import io.fabric8.kubernetes.api.model.ConfigMapVolumeSource; import io.fabric8.kubernetes.api.model.Container; @@ -76,7 +77,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class WorkspaceBinding implements KubernetesResource +public class WorkspaceBinding implements Editable , KubernetesResource { @JsonProperty("configMap") @@ -210,6 +211,16 @@ public void setVolumeClaimTemplate(io.fabric8.kubernetes.api.model.PersistentVol this.volumeClaimTemplate = volumeClaimTemplate; } + @JsonIgnore + public WorkspaceBindingBuilder edit() { + return new WorkspaceBindingBuilder(this); + } + + @JsonIgnore + public WorkspaceBindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WorkspaceDeclaration.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WorkspaceDeclaration.java index 04682f16a78..a8ff7a7f25f 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WorkspaceDeclaration.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WorkspaceDeclaration.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class WorkspaceDeclaration implements KubernetesResource +public class WorkspaceDeclaration implements Editable , KubernetesResource { @JsonProperty("description") @@ -149,6 +150,16 @@ public void setReadOnly(Boolean readOnly) { this.readOnly = readOnly; } + @JsonIgnore + public WorkspaceDeclarationBuilder edit() { + return new WorkspaceDeclarationBuilder(this); + } + + @JsonIgnore + public WorkspaceDeclarationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WorkspacePipelineTaskBinding.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WorkspacePipelineTaskBinding.java index 123acbc114b..f3063d84151 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WorkspacePipelineTaskBinding.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WorkspacePipelineTaskBinding.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class WorkspacePipelineTaskBinding implements KubernetesResource +public class WorkspacePipelineTaskBinding implements Editable , KubernetesResource { @JsonProperty("name") @@ -121,6 +122,16 @@ public void setWorkspace(String workspace) { this.workspace = workspace; } + @JsonIgnore + public WorkspacePipelineTaskBindingBuilder edit() { + return new WorkspacePipelineTaskBindingBuilder(this); + } + + @JsonIgnore + public WorkspacePipelineTaskBindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WorkspaceUsage.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WorkspaceUsage.java index 1bc2b488a80..451102c2818 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WorkspaceUsage.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WorkspaceUsage.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class WorkspaceUsage implements KubernetesResource +public class WorkspaceUsage implements Editable , KubernetesResource { @JsonProperty("mountPath") @@ -107,6 +108,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public WorkspaceUsageBuilder edit() { + return new WorkspaceUsageBuilder(this); + } + + @JsonIgnore + public WorkspaceUsageBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/v1/internal/pipeline/pkg/apis/config/FeatureFlags.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/v1/internal/pipeline/pkg/apis/config/FeatureFlags.java index e06e6e7e804..d4a26042c9f 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/v1/internal/pipeline/pkg/apis/config/FeatureFlags.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/v1/internal/pipeline/pkg/apis/config/FeatureFlags.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class FeatureFlags implements KubernetesResource +public class FeatureFlags implements Editable , KubernetesResource { @JsonProperty("AwaitSidecarReadiness") @@ -275,6 +276,16 @@ public void setVerificationNoMatchPolicy(String verificationNoMatchPolicy) { this.verificationNoMatchPolicy = verificationNoMatchPolicy; } + @JsonIgnore + public FeatureFlagsBuilder edit() { + return new FeatureFlagsBuilder(this); + } + + @JsonIgnore + public FeatureFlagsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/v1/internal/pipeline/pkg/apis/pipeline/pod/Template.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/v1/internal/pipeline/pkg/apis/pipeline/pod/Template.java index 40f4131e21f..317e103d4ba 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/v1/internal/pipeline/pkg/apis/pipeline/pod/Template.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/v1/internal/pipeline/pkg/apis/pipeline/pod/Template.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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.ContainerPort; @@ -84,7 +85,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Template implements KubernetesResource +public class Template implements Editable , KubernetesResource { @JsonProperty("affinity") @@ -329,6 +330,16 @@ public void setVolumes(List volumes) { this.volumes = volumes; } + @JsonIgnore + public TemplateBuilder edit() { + return new TemplateBuilder(this); + } + + @JsonIgnore + public TemplateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/Authority.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/Authority.java index 08ee1a1ad75..c4f7cd26b0e 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/Authority.java +++ b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/Authority.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Authority implements KubernetesResource +public class Authority implements Editable , KubernetesResource { @JsonProperty("key") @@ -107,6 +108,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public AuthorityBuilder edit() { + return new AuthorityBuilder(this); + } + + @JsonIgnore + public AuthorityBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/EmbeddedRunSpec.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/EmbeddedRunSpec.java index 7ce978b8552..2b0ed80d8c6 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/EmbeddedRunSpec.java +++ b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/EmbeddedRunSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EmbeddedRunSpec implements KubernetesResource +public class EmbeddedRunSpec implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -134,6 +135,16 @@ public void setSpec(Map spec) { this.spec = spec; } + @JsonIgnore + public EmbeddedRunSpecBuilder edit() { + return new EmbeddedRunSpecBuilder(this); + } + + @JsonIgnore + public EmbeddedRunSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/KeyRef.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/KeyRef.java index 9923bb4c037..552c592be44 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/KeyRef.java +++ b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/KeyRef.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class KeyRef implements KubernetesResource +public class KeyRef implements Editable , KubernetesResource { @JsonProperty("data") @@ -136,6 +137,16 @@ public void setSecretRef(SecretReference secretRef) { this.secretRef = secretRef; } + @JsonIgnore + public KeyRefBuilder edit() { + return new KeyRefBuilder(this); + } + + @JsonIgnore + public KeyRefBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/ResourcePattern.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/ResourcePattern.java index f4b0916c840..4e374cee342 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/ResourcePattern.java +++ b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/ResourcePattern.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ResourcePattern implements KubernetesResource +public class ResourcePattern implements Editable , KubernetesResource { @JsonProperty("pattern") @@ -93,6 +94,16 @@ public void setPattern(String pattern) { this.pattern = pattern; } + @JsonIgnore + public ResourcePatternBuilder edit() { + return new ResourcePatternBuilder(this); + } + + @JsonIgnore + public ResourcePatternBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/Run.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/Run.java index 711ba329a7a..9918fc90709 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/Run.java +++ b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/Run.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @Version("v1alpha1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class Run implements HasMetadata, Namespaced +public class Run implements Editable , HasMetadata, Namespaced { /** @@ -186,6 +187,16 @@ public void setStatus(RunStatus status) { this.status = status; } + @JsonIgnore + public RunBuilder edit() { + return new RunBuilder(this); + } + + @JsonIgnore + public RunBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/RunList.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/RunList.java index bee8f634a5e..6de1eab857a 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/RunList.java +++ b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/RunList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class RunList implements KubernetesResource, KubernetesResourceList +public class RunList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public RunListBuilder edit() { + return new RunListBuilder(this); + } + + @JsonIgnore + public RunListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/RunSpec.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/RunSpec.java index a7e9adba9a6..30e001482fe 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/RunSpec.java +++ b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/RunSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; @@ -79,7 +80,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class RunSpec implements KubernetesResource +public class RunSpec implements Editable , KubernetesResource { @JsonProperty("params") @@ -228,6 +229,16 @@ public void setWorkspaces(List workspaces) { this.workspaces = workspaces; } + @JsonIgnore + public RunSpecBuilder edit() { + return new RunSpecBuilder(this); + } + + @JsonIgnore + public RunSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/VerificationPolicy.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/VerificationPolicy.java index 980ada4aaad..584318e82fb 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/VerificationPolicy.java +++ b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/VerificationPolicy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @Version("v1alpha1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class VerificationPolicy implements HasMetadata, Namespaced +public class VerificationPolicy implements Editable , HasMetadata, Namespaced { /** @@ -171,6 +172,16 @@ public void setSpec(VerificationPolicySpec spec) { this.spec = spec; } + @JsonIgnore + public VerificationPolicyBuilder edit() { + return new VerificationPolicyBuilder(this); + } + + @JsonIgnore + public VerificationPolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/VerificationPolicyList.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/VerificationPolicyList.java index 2fa040e786b..fc8b00d386f 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/VerificationPolicyList.java +++ b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/VerificationPolicyList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class VerificationPolicyList implements KubernetesResource, KubernetesResourceList +public class VerificationPolicyList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public VerificationPolicyListBuilder edit() { + return new VerificationPolicyListBuilder(this); + } + + @JsonIgnore + public VerificationPolicyListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/VerificationPolicySpec.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/VerificationPolicySpec.java index f922e5486c0..d4b1ee4bef8 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/VerificationPolicySpec.java +++ b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/VerificationPolicySpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VerificationPolicySpec implements KubernetesResource +public class VerificationPolicySpec implements Editable , KubernetesResource { @JsonProperty("authorities") @@ -125,6 +126,16 @@ public void setResources(List resources) { this.resources = resources; } + @JsonIgnore + public VerificationPolicySpecBuilder edit() { + return new VerificationPolicySpecBuilder(this); + } + + @JsonIgnore + public VerificationPolicySpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequest.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequest.java index 73a02f4a447..bd9e299d2fd 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequest.java +++ b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequest.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1alpha1") @Group("resolution.tekton.dev") @Generated("jsonschema2pojo") -public class ResolutionRequest implements HasMetadata, Namespaced +public class ResolutionRequest implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(ResolutionRequestStatus status) { this.status = status; } + @JsonIgnore + public ResolutionRequestBuilder edit() { + return new ResolutionRequestBuilder(this); + } + + @JsonIgnore + public ResolutionRequestBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestList.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestList.java index aba65b998c8..d44a36ed2d7 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestList.java +++ b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1alpha1") @Group("resolution.tekton.dev") @Generated("jsonschema2pojo") -public class ResolutionRequestList implements KubernetesResource, KubernetesResourceList +public class ResolutionRequestList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ResolutionRequestListBuilder edit() { + return new ResolutionRequestListBuilder(this); + } + + @JsonIgnore + public ResolutionRequestListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestSpec.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestSpec.java index 253917a573e..77a3d74686f 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestSpec.java +++ b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ResolutionRequestSpec implements KubernetesResource +public class ResolutionRequestSpec implements Editable , KubernetesResource { @JsonProperty("params") @@ -94,6 +95,16 @@ public void setParams(Map params) { this.params = params; } + @JsonIgnore + public ResolutionRequestSpecBuilder edit() { + return new ResolutionRequestSpecBuilder(this); + } + + @JsonIgnore + public ResolutionRequestSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestStatus.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestStatus.java index 9369c34622b..28ff2ddea0d 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestStatus.java +++ b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestStatus.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ResolutionRequestStatus implements KubernetesResource +public class ResolutionRequestStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -155,6 +156,16 @@ public void setRefSource(RefSource refSource) { this.refSource = refSource; } + @JsonIgnore + public ResolutionRequestStatusBuilder edit() { + return new ResolutionRequestStatusBuilder(this); + } + + @JsonIgnore + public ResolutionRequestStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/pod/Template.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/pod/Template.java index 1b8718886c9..0397ee0c60c 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/pod/Template.java +++ b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/pod/Template.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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.ContainerPort; @@ -84,7 +85,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Template implements KubernetesResource +public class Template implements Editable , KubernetesResource { @JsonProperty("affinity") @@ -329,6 +330,16 @@ public void setVolumes(List volumes) { this.volumes = volumes; } + @JsonIgnore + public TemplateBuilder edit() { + return new TemplateBuilder(this); + } + + @JsonIgnore + public TemplateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/Param.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/Param.java index ef56c3c7ff2..06cabffe807 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/Param.java +++ b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/Param.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Param implements KubernetesResource +public class Param implements Editable , KubernetesResource { @JsonProperty("name") @@ -107,6 +108,16 @@ public void setValue(ParamValue value) { this.value = value; } + @JsonIgnore + public ParamBuilder edit() { + return new ParamBuilder(this); + } + + @JsonIgnore + public ParamBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/ParamValue.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/ParamValue.java index aadb21920cb..3aa87149d07 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/ParamValue.java +++ b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/ParamValue.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ParamValue implements KubernetesResource +public class ParamValue implements Editable , KubernetesResource { @JsonProperty("ArrayVal") @@ -139,6 +140,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public ParamValueBuilder edit() { + return new ParamValueBuilder(this); + } + + @JsonIgnore + public ParamValueBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/PipelineTaskMetadata.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/PipelineTaskMetadata.java index a054e81d8f7..26dcd91216f 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/PipelineTaskMetadata.java +++ b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/PipelineTaskMetadata.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PipelineTaskMetadata implements KubernetesResource +public class PipelineTaskMetadata implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -109,6 +110,16 @@ public void setLabels(Map labels) { this.labels = labels; } + @JsonIgnore + public PipelineTaskMetadataBuilder edit() { + return new PipelineTaskMetadataBuilder(this); + } + + @JsonIgnore + public PipelineTaskMetadataBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/RefSource.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/RefSource.java index 2799013fe79..90fdd6bda52 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/RefSource.java +++ b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/RefSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class RefSource implements KubernetesResource +public class RefSource implements Editable , KubernetesResource { @JsonProperty("digest") @@ -122,6 +123,16 @@ public void setUri(java.lang.String uri) { this.uri = uri; } + @JsonIgnore + public RefSourceBuilder edit() { + return new RefSourceBuilder(this); + } + + @JsonIgnore + public RefSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/TaskRef.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/TaskRef.java index b39e051a78b..5876a9120a9 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/TaskRef.java +++ b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/TaskRef.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TaskRef implements KubernetesResource +public class TaskRef implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -164,6 +165,16 @@ public void setResolver(String resolver) { this.resolver = resolver; } + @JsonIgnore + public TaskRefBuilder edit() { + return new TaskRefBuilder(this); + } + + @JsonIgnore + public TaskRefBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/WorkspaceBinding.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/WorkspaceBinding.java index 51c3b10abf9..1d213d65923 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/WorkspaceBinding.java +++ b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/WorkspaceBinding.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.CSIVolumeSource; import io.fabric8.kubernetes.api.model.ConfigMapVolumeSource; import io.fabric8.kubernetes.api.model.Container; @@ -76,7 +77,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class WorkspaceBinding implements KubernetesResource +public class WorkspaceBinding implements Editable , KubernetesResource { @JsonProperty("configMap") @@ -210,6 +211,16 @@ public void setVolumeClaimTemplate(io.fabric8.kubernetes.api.model.PersistentVol this.volumeClaimTemplate = volumeClaimTemplate; } + @JsonIgnore + public WorkspaceBindingBuilder edit() { + return new WorkspaceBindingBuilder(this); + } + + @JsonIgnore + public WorkspaceBindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/run/v1alpha1/RunResult.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/run/v1alpha1/RunResult.java index 23af052773d..4900614f719 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/run/v1alpha1/RunResult.java +++ b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/run/v1alpha1/RunResult.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class RunResult implements KubernetesResource +public class RunResult implements Editable , KubernetesResource { @JsonProperty("name") @@ -107,6 +108,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public RunResultBuilder edit() { + return new RunResultBuilder(this); + } + + @JsonIgnore + public RunResultBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/run/v1alpha1/RunStatus.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/run/v1alpha1/RunStatus.java index 3ea1de008f1..30735f2477d 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/run/v1alpha1/RunStatus.java +++ b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/run/v1alpha1/RunStatus.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class RunStatus implements KubernetesResource +public class RunStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -199,6 +200,16 @@ public void setStartTime(java.lang.String startTime) { this.startTime = startTime; } + @JsonIgnore + public RunStatusBuilder edit() { + return new RunStatusBuilder(this); + } + + @JsonIgnore + public RunStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ChildStatusReference.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ChildStatusReference.java index 13b89b37bbd..09a5620a163 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ChildStatusReference.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ChildStatusReference.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ChildStatusReference implements KubernetesResource +public class ChildStatusReference implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -150,6 +151,16 @@ public void setWhenExpressions(List whenExpressions) { this.whenExpressions = whenExpressions; } + @JsonIgnore + public ChildStatusReferenceBuilder edit() { + return new ChildStatusReferenceBuilder(this); + } + + @JsonIgnore + public ChildStatusReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CloudEventDelivery.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CloudEventDelivery.java index d92031db00a..59daf2a4ed4 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CloudEventDelivery.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CloudEventDelivery.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CloudEventDelivery implements KubernetesResource +public class CloudEventDelivery implements Editable , KubernetesResource { @JsonProperty("status") @@ -107,6 +108,16 @@ public void setTarget(String target) { this.target = target; } + @JsonIgnore + public CloudEventDeliveryBuilder edit() { + return new CloudEventDeliveryBuilder(this); + } + + @JsonIgnore + public CloudEventDeliveryBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CloudEventDeliveryState.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CloudEventDeliveryState.java index 7bd16e6cdff..23f3d477f8b 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CloudEventDeliveryState.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CloudEventDeliveryState.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CloudEventDeliveryState implements KubernetesResource +public class CloudEventDeliveryState implements Editable , KubernetesResource { @JsonProperty("condition") @@ -135,6 +136,16 @@ public void setSentAt(String sentAt) { this.sentAt = sentAt; } + @JsonIgnore + public CloudEventDeliveryStateBuilder edit() { + return new CloudEventDeliveryStateBuilder(this); + } + + @JsonIgnore + public CloudEventDeliveryStateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ClusterTask.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ClusterTask.java index 63574d66956..391739234a6 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ClusterTask.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ClusterTask.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @Version("v1beta1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class ClusterTask implements HasMetadata +public class ClusterTask implements Editable , HasMetadata { /** @@ -170,6 +171,16 @@ public void setSpec(TaskSpec spec) { this.spec = spec; } + @JsonIgnore + public ClusterTaskBuilder edit() { + return new ClusterTaskBuilder(this); + } + + @JsonIgnore + public ClusterTaskBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ClusterTaskList.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ClusterTaskList.java index 058a038ceae..318d404b9d8 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ClusterTaskList.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ClusterTaskList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class ClusterTaskList implements KubernetesResource, KubernetesResourceList +public class ClusterTaskList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterTaskListBuilder edit() { + return new ClusterTaskListBuilder(this); + } + + @JsonIgnore + public ClusterTaskListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ConfigSource.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ConfigSource.java index 959d8076eab..65677dede9d 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ConfigSource.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ConfigSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ConfigSource implements KubernetesResource +public class ConfigSource implements Editable , KubernetesResource { @JsonProperty("digest") @@ -122,6 +123,16 @@ public void setUri(java.lang.String uri) { this.uri = uri; } + @JsonIgnore + public ConfigSourceBuilder edit() { + return new ConfigSourceBuilder(this); + } + + @JsonIgnore + public ConfigSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CustomRun.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CustomRun.java index 6b8bffadf74..c2de6dd7f0f 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CustomRun.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CustomRun.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @Version("v1beta1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class CustomRun implements HasMetadata, Namespaced +public class CustomRun implements Editable , HasMetadata, Namespaced { /** @@ -186,6 +187,16 @@ public void setStatus(CustomRunStatus status) { this.status = status; } + @JsonIgnore + public CustomRunBuilder edit() { + return new CustomRunBuilder(this); + } + + @JsonIgnore + public CustomRunBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CustomRunList.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CustomRunList.java index 0909c6f4de8..28249230dfc 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CustomRunList.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CustomRunList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class CustomRunList implements KubernetesResource, KubernetesResourceList +public class CustomRunList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public CustomRunListBuilder edit() { + return new CustomRunListBuilder(this); + } + + @JsonIgnore + public CustomRunListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CustomRunSpec.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CustomRunSpec.java index 38065c9362d..5205cb735ce 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CustomRunSpec.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CustomRunSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; @@ -74,7 +75,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CustomRunSpec implements KubernetesResource +public class CustomRunSpec implements Editable , KubernetesResource { @JsonProperty("customRef") @@ -210,6 +211,16 @@ public void setWorkspaces(List workspaces) { this.workspaces = workspaces; } + @JsonIgnore + public CustomRunSpecBuilder edit() { + return new CustomRunSpecBuilder(this); + } + + @JsonIgnore + public CustomRunSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/EmbeddedCustomRunSpec.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/EmbeddedCustomRunSpec.java index effa49353b6..610aef5da57 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/EmbeddedCustomRunSpec.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/EmbeddedCustomRunSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EmbeddedCustomRunSpec implements KubernetesResource +public class EmbeddedCustomRunSpec implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -133,6 +134,16 @@ public void setSpec(Map spec) { this.spec = spec; } + @JsonIgnore + public EmbeddedCustomRunSpecBuilder edit() { + return new EmbeddedCustomRunSpecBuilder(this); + } + + @JsonIgnore + public EmbeddedCustomRunSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/EmbeddedTask.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/EmbeddedTask.java index 5439610560f..8c90fbcf364 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/EmbeddedTask.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/EmbeddedTask.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +75,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EmbeddedTask implements KubernetesResource +public class EmbeddedTask implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -280,6 +281,16 @@ public void setWorkspaces(List workspaces) { this.workspaces = workspaces; } + @JsonIgnore + public EmbeddedTaskBuilder edit() { + return new EmbeddedTaskBuilder(this); + } + + @JsonIgnore + public EmbeddedTaskBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/IncludeParams.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/IncludeParams.java index 9e4c9f891e2..3587d42ed22 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/IncludeParams.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/IncludeParams.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IncludeParams implements KubernetesResource +public class IncludeParams implements Editable , KubernetesResource { @JsonProperty("name") @@ -110,6 +111,16 @@ public void setParams(List params) { this.params = params; } + @JsonIgnore + public IncludeParamsBuilder edit() { + return new IncludeParamsBuilder(this); + } + + @JsonIgnore + public IncludeParamsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Matrix.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Matrix.java index 323038112b6..48e4752ffb9 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Matrix.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Matrix.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Matrix implements KubernetesResource +public class Matrix implements Editable , KubernetesResource { @JsonProperty("include") @@ -111,6 +112,16 @@ public void setParams(List params) { this.params = params; } + @JsonIgnore + public MatrixBuilder edit() { + return new MatrixBuilder(this); + } + + @JsonIgnore + public MatrixBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Param.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Param.java index 82eb9eaa4aa..e9feddc8570 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Param.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Param.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Param implements KubernetesResource +public class Param implements Editable , KubernetesResource { @JsonProperty("name") @@ -107,6 +108,16 @@ public void setValue(ParamValue value) { this.value = value; } + @JsonIgnore + public ParamBuilder edit() { + return new ParamBuilder(this); + } + + @JsonIgnore + public ParamBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ParamSpec.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ParamSpec.java index c4f9154ba46..b8154313dfd 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ParamSpec.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ParamSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ParamSpec implements KubernetesResource +public class ParamSpec implements Editable , KubernetesResource { @JsonProperty("default") @@ -150,6 +151,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public ParamSpecBuilder edit() { + return new ParamSpecBuilder(this); + } + + @JsonIgnore + public ParamSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Pipeline.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Pipeline.java index 448abce8387..32e44cf2133 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Pipeline.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Pipeline.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @Version("v1beta1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class Pipeline implements HasMetadata, Namespaced +public class Pipeline implements Editable , HasMetadata, Namespaced { /** @@ -171,6 +172,16 @@ public void setSpec(PipelineSpec spec) { this.spec = spec; } + @JsonIgnore + public PipelineBuilder edit() { + return new PipelineBuilder(this); + } + + @JsonIgnore + public PipelineBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineDeclaredResource.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineDeclaredResource.java index 62817ffc9a9..9b53b90669d 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineDeclaredResource.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineDeclaredResource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PipelineDeclaredResource implements KubernetesResource +public class PipelineDeclaredResource implements Editable , KubernetesResource { @JsonProperty("name") @@ -121,6 +122,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public PipelineDeclaredResourceBuilder edit() { + return new PipelineDeclaredResourceBuilder(this); + } + + @JsonIgnore + public PipelineDeclaredResourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineList.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineList.java index e903e155919..d9b7be57d17 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineList.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class PipelineList implements KubernetesResource, KubernetesResourceList +public class PipelineList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PipelineListBuilder edit() { + return new PipelineListBuilder(this); + } + + @JsonIgnore + public PipelineListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRef.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRef.java index 9baee6e015e..5c78ecf0b1f 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRef.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRef.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PipelineRef implements KubernetesResource +public class PipelineRef implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -151,6 +152,16 @@ public void setResolver(String resolver) { this.resolver = resolver; } + @JsonIgnore + public PipelineRefBuilder edit() { + return new PipelineRefBuilder(this); + } + + @JsonIgnore + public PipelineRefBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineResourceBinding.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineResourceBinding.java index 0fe91927076..7b9b6d12bdd 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineResourceBinding.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineResourceBinding.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PipelineResourceBinding implements KubernetesResource +public class PipelineResourceBinding implements Editable , KubernetesResource { @JsonProperty("name") @@ -122,6 +123,16 @@ public void setResourceSpec(PipelineResourceSpec resourceSpec) { this.resourceSpec = resourceSpec; } + @JsonIgnore + public PipelineResourceBindingBuilder edit() { + return new PipelineResourceBindingBuilder(this); + } + + @JsonIgnore + public PipelineResourceBindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineResourceRef.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineResourceRef.java index 8dd13a4f899..b6e78240e3d 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineResourceRef.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineResourceRef.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PipelineResourceRef implements KubernetesResource +public class PipelineResourceRef implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -106,6 +107,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public PipelineResourceRefBuilder edit() { + return new PipelineResourceRefBuilder(this); + } + + @JsonIgnore + public PipelineResourceRefBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineResult.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineResult.java index c7040ea12c6..7f92685bb40 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineResult.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineResult.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PipelineResult implements KubernetesResource +public class PipelineResult implements Editable , KubernetesResource { @JsonProperty("description") @@ -135,6 +136,16 @@ public void setValue(ParamValue value) { this.value = value; } + @JsonIgnore + public PipelineResultBuilder edit() { + return new PipelineResultBuilder(this); + } + + @JsonIgnore + public PipelineResultBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRun.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRun.java index aef7bf45cbb..b723372eecc 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRun.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRun.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1beta1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class PipelineRun implements HasMetadata, Namespaced +public class PipelineRun implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(PipelineRunStatus status) { this.status = status; } + @JsonIgnore + public PipelineRunBuilder edit() { + return new PipelineRunBuilder(this); + } + + @JsonIgnore + public PipelineRunBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunList.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunList.java index cd228e8fd0d..91c3679bf7d 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunList.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class PipelineRunList implements KubernetesResource, KubernetesResourceList +public class PipelineRunList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PipelineRunListBuilder edit() { + return new PipelineRunListBuilder(this); + } + + @JsonIgnore + public PipelineRunListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunResult.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunResult.java index bf7f870ee5c..a3f0703377f 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunResult.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunResult.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PipelineRunResult implements KubernetesResource +public class PipelineRunResult implements Editable , KubernetesResource { @JsonProperty("name") @@ -107,6 +108,16 @@ public void setValue(ParamValue value) { this.value = value; } + @JsonIgnore + public PipelineRunResultBuilder edit() { + return new PipelineRunResultBuilder(this); + } + + @JsonIgnore + public PipelineRunResultBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunRunStatus.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunRunStatus.java index 0070e0c23fa..56fd1bdb7a4 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunRunStatus.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunRunStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PipelineRunRunStatus implements KubernetesResource +public class PipelineRunRunStatus implements Editable , KubernetesResource { @JsonProperty("pipelineTaskName") @@ -125,6 +126,16 @@ public void setWhenExpressions(List whenExpressions) { this.whenExpressions = whenExpressions; } + @JsonIgnore + public PipelineRunRunStatusBuilder edit() { + return new PipelineRunRunStatusBuilder(this); + } + + @JsonIgnore + public PipelineRunRunStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunSpec.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunSpec.java index 17fb46fe134..5fedf7a3732 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunSpec.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; @@ -77,7 +78,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PipelineRunSpec implements KubernetesResource +public class PipelineRunSpec implements Editable , KubernetesResource { @JsonProperty("params") @@ -241,6 +242,16 @@ public void setWorkspaces(List workspaces) { this.workspaces = workspaces; } + @JsonIgnore + public PipelineRunSpecBuilder edit() { + return new PipelineRunSpecBuilder(this); + } + + @JsonIgnore + public PipelineRunSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunStatus.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunStatus.java index 40ffeef158a..199374fd92d 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunStatus.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunStatus.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -79,7 +80,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PipelineRunStatus implements KubernetesResource +public class PipelineRunStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -286,6 +287,16 @@ public void setTaskRuns(Map taskRuns) { this.taskRuns = taskRuns; } + @JsonIgnore + public PipelineRunStatusBuilder edit() { + return new PipelineRunStatusBuilder(this); + } + + @JsonIgnore + public PipelineRunStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunTaskRunStatus.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunTaskRunStatus.java index 6fd73dce284..7a5b6abf056 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunTaskRunStatus.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunTaskRunStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PipelineRunTaskRunStatus implements KubernetesResource +public class PipelineRunTaskRunStatus implements Editable , KubernetesResource { @JsonProperty("pipelineTaskName") @@ -124,6 +125,16 @@ public void setWhenExpressions(List whenExpressions) { this.whenExpressions = whenExpressions; } + @JsonIgnore + public PipelineRunTaskRunStatusBuilder edit() { + return new PipelineRunTaskRunStatusBuilder(this); + } + + @JsonIgnore + public PipelineRunTaskRunStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineSpec.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineSpec.java index 5c1fe68fc56..db131e146e2 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineSpec.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PipelineSpec implements KubernetesResource +public class PipelineSpec implements Editable , KubernetesResource { @JsonProperty("description") @@ -199,6 +200,16 @@ public void setWorkspaces(List workspaces) { this.workspaces = workspaces; } + @JsonIgnore + public PipelineSpecBuilder edit() { + return new PipelineSpecBuilder(this); + } + + @JsonIgnore + public PipelineSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTask.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTask.java index ceb06a83e85..4c4e36734ca 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTask.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTask.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; @@ -78,7 +79,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PipelineTask implements KubernetesResource +public class PipelineTask implements Editable , KubernetesResource { @JsonProperty("description") @@ -268,6 +269,16 @@ public void setWorkspaces(List workspaces) { this.workspaces = workspaces; } + @JsonIgnore + public PipelineTaskBuilder edit() { + return new PipelineTaskBuilder(this); + } + + @JsonIgnore + public PipelineTaskBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskInputResource.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskInputResource.java index 16fb44d97e5..42d899ad3ff 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskInputResource.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskInputResource.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PipelineTaskInputResource implements KubernetesResource +public class PipelineTaskInputResource implements Editable , KubernetesResource { @JsonProperty("from") @@ -124,6 +125,16 @@ public void setResource(String resource) { this.resource = resource; } + @JsonIgnore + public PipelineTaskInputResourceBuilder edit() { + return new PipelineTaskInputResourceBuilder(this); + } + + @JsonIgnore + public PipelineTaskInputResourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskMetadata.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskMetadata.java index 1098f4c9939..0d91ecc5cdf 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskMetadata.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskMetadata.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PipelineTaskMetadata implements KubernetesResource +public class PipelineTaskMetadata implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -109,6 +110,16 @@ public void setLabels(Map labels) { this.labels = labels; } + @JsonIgnore + public PipelineTaskMetadataBuilder edit() { + return new PipelineTaskMetadataBuilder(this); + } + + @JsonIgnore + public PipelineTaskMetadataBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskOutputResource.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskOutputResource.java index 257eddb2c76..58361b73bc7 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskOutputResource.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskOutputResource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PipelineTaskOutputResource implements KubernetesResource +public class PipelineTaskOutputResource implements Editable , KubernetesResource { @JsonProperty("name") @@ -107,6 +108,16 @@ public void setResource(String resource) { this.resource = resource; } + @JsonIgnore + public PipelineTaskOutputResourceBuilder edit() { + return new PipelineTaskOutputResourceBuilder(this); + } + + @JsonIgnore + public PipelineTaskOutputResourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskResources.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskResources.java index d8409481e52..4dee5bb160c 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskResources.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskResources.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PipelineTaskResources implements KubernetesResource +public class PipelineTaskResources implements Editable , KubernetesResource { @JsonProperty("inputs") @@ -111,6 +112,16 @@ public void setOutputs(List outputs) { this.outputs = outputs; } + @JsonIgnore + public PipelineTaskResourcesBuilder edit() { + return new PipelineTaskResourcesBuilder(this); + } + + @JsonIgnore + public PipelineTaskResourcesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskRunSpec.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskRunSpec.java index e201cbc6340..bebc17a6127 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskRunSpec.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskRunSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -70,7 +71,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PipelineTaskRunSpec implements KubernetesResource +public class PipelineTaskRunSpec implements Editable , KubernetesResource { @JsonProperty("computeResources") @@ -180,6 +181,16 @@ public void setTaskServiceAccountName(String taskServiceAccountName) { this.taskServiceAccountName = taskServiceAccountName; } + @JsonIgnore + public PipelineTaskRunSpecBuilder edit() { + return new PipelineTaskRunSpecBuilder(this); + } + + @JsonIgnore + public PipelineTaskRunSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineWorkspaceDeclaration.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineWorkspaceDeclaration.java index e19252c44ac..3971e7df631 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineWorkspaceDeclaration.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineWorkspaceDeclaration.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PipelineWorkspaceDeclaration implements KubernetesResource +public class PipelineWorkspaceDeclaration implements Editable , KubernetesResource { @JsonProperty("description") @@ -121,6 +122,16 @@ public void setOptional(Boolean optional) { this.optional = optional; } + @JsonIgnore + public PipelineWorkspaceDeclarationBuilder edit() { + return new PipelineWorkspaceDeclarationBuilder(this); + } + + @JsonIgnore + public PipelineWorkspaceDeclarationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PropertySpec.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PropertySpec.java index ea34738b0ea..f3543c1aedc 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PropertySpec.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PropertySpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PropertySpec implements KubernetesResource +public class PropertySpec implements Editable , KubernetesResource { @JsonProperty("type") @@ -93,6 +94,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public PropertySpecBuilder edit() { + return new PropertySpecBuilder(this); + } + + @JsonIgnore + public PropertySpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Provenance.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Provenance.java index eb26b636729..33c392a2dd2 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Provenance.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Provenance.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Provenance implements KubernetesResource +public class Provenance implements Editable , KubernetesResource { @JsonProperty("configSource") @@ -122,6 +123,16 @@ public void setRefSource(RefSource refSource) { this.refSource = refSource; } + @JsonIgnore + public ProvenanceBuilder edit() { + return new ProvenanceBuilder(this); + } + + @JsonIgnore + public ProvenanceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/RefSource.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/RefSource.java index 71b7d566380..ebee1eed435 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/RefSource.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/RefSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class RefSource implements KubernetesResource +public class RefSource implements Editable , KubernetesResource { @JsonProperty("digest") @@ -122,6 +123,16 @@ public void setUri(java.lang.String uri) { this.uri = uri; } + @JsonIgnore + public RefSourceBuilder edit() { + return new RefSourceBuilder(this); + } + + @JsonIgnore + public RefSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Sidecar.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Sidecar.java index 80a99a708a8..dc7ed39f51f 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Sidecar.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Sidecar.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.EnvFromSource; import io.fabric8.kubernetes.api.model.IntOrString; @@ -89,7 +90,7 @@ @BuildableReference(io.fabric8.kubernetes.api.model.VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Sidecar implements KubernetesResource +public class Sidecar implements Editable , KubernetesResource { @JsonProperty("args") @@ -426,6 +427,16 @@ public void setWorkspaces(List workspaces) { this.workspaces = workspaces; } + @JsonIgnore + public SidecarBuilder edit() { + return new SidecarBuilder(this); + } + + @JsonIgnore + public SidecarBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/SidecarState.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/SidecarState.java index 646788834bb..dd459b27b0c 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/SidecarState.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/SidecarState.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.ContainerStateRunning; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SidecarState implements KubernetesResource +public class SidecarState implements Editable , KubernetesResource { @JsonProperty("container") @@ -166,6 +167,16 @@ public void setWaiting(ContainerStateWaiting waiting) { this.waiting = waiting; } + @JsonIgnore + public SidecarStateBuilder edit() { + return new SidecarStateBuilder(this); + } + + @JsonIgnore + public SidecarStateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/SkippedTask.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/SkippedTask.java index 3c1595917fe..8c0eaf9423e 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/SkippedTask.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/SkippedTask.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SkippedTask implements KubernetesResource +public class SkippedTask implements Editable , KubernetesResource { @JsonProperty("name") @@ -124,6 +125,16 @@ public void setWhenExpressions(List whenExpressions) { this.whenExpressions = whenExpressions; } + @JsonIgnore + public SkippedTaskBuilder edit() { + return new SkippedTaskBuilder(this); + } + + @JsonIgnore + public SkippedTaskBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Step.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Step.java index c6107ae3be1..cd2df98f9b0 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Step.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Step.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.Duration; import io.fabric8.kubernetes.api.model.EnvFromSource; @@ -94,7 +95,7 @@ @BuildableReference(io.fabric8.kubernetes.api.model.VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Step implements KubernetesResource +public class Step implements Editable , KubernetesResource { @JsonProperty("args") @@ -483,6 +484,16 @@ public void setWorkspaces(List workspaces) { this.workspaces = workspaces; } + @JsonIgnore + public StepBuilder edit() { + return new StepBuilder(this); + } + + @JsonIgnore + public StepBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/StepOutputConfig.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/StepOutputConfig.java index fc7b3aa4397..5a23931a03b 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/StepOutputConfig.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/StepOutputConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class StepOutputConfig implements KubernetesResource +public class StepOutputConfig implements Editable , KubernetesResource { @JsonProperty("path") @@ -93,6 +94,16 @@ public void setPath(String path) { this.path = path; } + @JsonIgnore + public StepOutputConfigBuilder edit() { + return new StepOutputConfigBuilder(this); + } + + @JsonIgnore + public StepOutputConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/StepState.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/StepState.java index 1e3cfcba62e..bd51a86f9ae 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/StepState.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/StepState.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.ContainerStateRunning; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class StepState implements KubernetesResource +public class StepState implements Editable , KubernetesResource { @JsonProperty("container") @@ -166,6 +167,16 @@ public void setWaiting(ContainerStateWaiting waiting) { this.waiting = waiting; } + @JsonIgnore + public StepStateBuilder edit() { + return new StepStateBuilder(this); + } + + @JsonIgnore + public StepStateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/StepTemplate.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/StepTemplate.java index 60404fbb6a1..9bda9e652f6 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/StepTemplate.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/StepTemplate.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.EnvFromSource; import io.fabric8.kubernetes.api.model.IntOrString; @@ -87,7 +88,7 @@ @BuildableReference(io.fabric8.kubernetes.api.model.VolumeMount.class) }) @Generated("jsonschema2pojo") -public class StepTemplate implements KubernetesResource +public class StepTemplate implements Editable , KubernetesResource { @JsonProperty("args") @@ -397,6 +398,16 @@ public void setWorkingDir(String workingDir) { this.workingDir = workingDir; } + @JsonIgnore + public StepTemplateBuilder edit() { + return new StepTemplateBuilder(this); + } + + @JsonIgnore + public StepTemplateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Task.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Task.java index 898261ed437..00b14b1e29b 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Task.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Task.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @Version("v1beta1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class Task implements HasMetadata, Namespaced +public class Task implements Editable , HasMetadata, Namespaced { /** @@ -171,6 +172,16 @@ public void setSpec(TaskSpec spec) { this.spec = spec; } + @JsonIgnore + public TaskBuilder edit() { + return new TaskBuilder(this); + } + + @JsonIgnore + public TaskBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskList.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskList.java index 7325d35a14b..65baed9d0b0 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskList.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class TaskList implements KubernetesResource, KubernetesResourceList +public class TaskList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public TaskListBuilder edit() { + return new TaskListBuilder(this); + } + + @JsonIgnore + public TaskListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRef.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRef.java index 237a9a003d5..6e4f29e7297 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRef.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRef.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TaskRef implements KubernetesResource +public class TaskRef implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -164,6 +165,16 @@ public void setResolver(String resolver) { this.resolver = resolver; } + @JsonIgnore + public TaskRefBuilder edit() { + return new TaskRefBuilder(this); + } + + @JsonIgnore + public TaskRefBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskResource.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskResource.java index 15483c43665..04b54db8a70 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskResource.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskResource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TaskResource implements KubernetesResource +public class TaskResource implements Editable , KubernetesResource { @JsonProperty("description") @@ -149,6 +150,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public TaskResourceBuilder edit() { + return new TaskResourceBuilder(this); + } + + @JsonIgnore + public TaskResourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskResourceBinding.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskResourceBinding.java index 3e00c31b8c6..1f2d9c7bc90 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskResourceBinding.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskResourceBinding.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TaskResourceBinding implements KubernetesResource +public class TaskResourceBinding implements Editable , KubernetesResource { @JsonProperty("name") @@ -139,6 +140,16 @@ public void setResourceSpec(PipelineResourceSpec resourceSpec) { this.resourceSpec = resourceSpec; } + @JsonIgnore + public TaskResourceBindingBuilder edit() { + return new TaskResourceBindingBuilder(this); + } + + @JsonIgnore + public TaskResourceBindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskResources.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskResources.java index 4d5185473a9..a61c47e2d67 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskResources.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskResources.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TaskResources implements KubernetesResource +public class TaskResources implements Editable , KubernetesResource { @JsonProperty("inputs") @@ -111,6 +112,16 @@ public void setOutputs(List outputs) { this.outputs = outputs; } + @JsonIgnore + public TaskResourcesBuilder edit() { + return new TaskResourcesBuilder(this); + } + + @JsonIgnore + public TaskResourcesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskResult.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskResult.java index 2537e7ff31d..6fa64b4e9ca 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskResult.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskResult.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TaskResult implements KubernetesResource +public class TaskResult implements Editable , KubernetesResource { @JsonProperty("description") @@ -136,6 +137,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public TaskResultBuilder edit() { + return new TaskResultBuilder(this); + } + + @JsonIgnore + public TaskResultBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRun.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRun.java index 5fe9c55dba8..021a1cb80e0 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRun.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRun.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1beta1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class TaskRun implements HasMetadata, Namespaced +public class TaskRun implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(TaskRunStatus status) { this.status = status; } + @JsonIgnore + public TaskRunBuilder edit() { + return new TaskRunBuilder(this); + } + + @JsonIgnore + public TaskRunBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunDebug.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunDebug.java index 8cdfbf0a65a..2aa9d82adee 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunDebug.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunDebug.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TaskRunDebug implements KubernetesResource +public class TaskRunDebug implements Editable , KubernetesResource { @JsonProperty("breakpoint") @@ -96,6 +97,16 @@ public void setBreakpoint(List breakpoint) { this.breakpoint = breakpoint; } + @JsonIgnore + public TaskRunDebugBuilder edit() { + return new TaskRunDebugBuilder(this); + } + + @JsonIgnore + public TaskRunDebugBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunList.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunList.java index 7d296854529..4d533c00e80 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunList.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class TaskRunList implements KubernetesResource, KubernetesResourceList +public class TaskRunList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public TaskRunListBuilder edit() { + return new TaskRunListBuilder(this); + } + + @JsonIgnore + public TaskRunListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunResources.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunResources.java index 3f792f0ea23..93ccd1025cc 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunResources.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunResources.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TaskRunResources implements KubernetesResource +public class TaskRunResources implements Editable , KubernetesResource { @JsonProperty("inputs") @@ -111,6 +112,16 @@ public void setOutputs(List outputs) { this.outputs = outputs; } + @JsonIgnore + public TaskRunResourcesBuilder edit() { + return new TaskRunResourcesBuilder(this); + } + + @JsonIgnore + public TaskRunResourcesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunResult.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunResult.java index f4b0f7a72bf..1b46ba1191a 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunResult.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunResult.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TaskRunResult implements KubernetesResource +public class TaskRunResult implements Editable , KubernetesResource { @JsonProperty("name") @@ -121,6 +122,16 @@ public void setValue(ParamValue value) { this.value = value; } + @JsonIgnore + public TaskRunResultBuilder edit() { + return new TaskRunResultBuilder(this); + } + + @JsonIgnore + public TaskRunResultBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunSidecarOverride.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunSidecarOverride.java index 8c801cb1758..9065be828ac 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunSidecarOverride.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunSidecarOverride.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TaskRunSidecarOverride implements KubernetesResource +public class TaskRunSidecarOverride implements Editable , KubernetesResource { @JsonProperty("name") @@ -106,6 +107,16 @@ public void setResources(io.fabric8.kubernetes.api.model.ResourceRequirements re this.resources = resources; } + @JsonIgnore + public TaskRunSidecarOverrideBuilder edit() { + return new TaskRunSidecarOverrideBuilder(this); + } + + @JsonIgnore + public TaskRunSidecarOverrideBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunSpec.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunSpec.java index 3a9b73df892..c7415efa999 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunSpec.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; @@ -80,7 +81,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TaskRunSpec implements KubernetesResource +public class TaskRunSpec implements Editable , KubernetesResource { @JsonProperty("computeResources") @@ -296,6 +297,16 @@ public void setWorkspaces(List workspaces) { this.workspaces = workspaces; } + @JsonIgnore + public TaskRunSpecBuilder edit() { + return new TaskRunSpecBuilder(this); + } + + @JsonIgnore + public TaskRunSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunStatus.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunStatus.java index a9bb87156e0..eab48c474be 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunStatus.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunStatus.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -81,7 +82,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TaskRunStatus implements KubernetesResource +public class TaskRunStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -302,6 +303,16 @@ public void setTaskSpec(TaskSpec taskSpec) { this.taskSpec = taskSpec; } + @JsonIgnore + public TaskRunStatusBuilder edit() { + return new TaskRunStatusBuilder(this); + } + + @JsonIgnore + public TaskRunStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunStepOverride.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunStepOverride.java index f0b6b90bc6b..42679e5a785 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunStepOverride.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunStepOverride.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TaskRunStepOverride implements KubernetesResource +public class TaskRunStepOverride implements Editable , KubernetesResource { @JsonProperty("name") @@ -106,6 +107,16 @@ public void setResources(io.fabric8.kubernetes.api.model.ResourceRequirements re this.resources = resources; } + @JsonIgnore + public TaskRunStepOverrideBuilder edit() { + return new TaskRunStepOverrideBuilder(this); + } + + @JsonIgnore + public TaskRunStepOverrideBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskSpec.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskSpec.java index 494f82974a4..5dcab183350 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskSpec.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TaskSpec implements KubernetesResource +public class TaskSpec implements Editable , KubernetesResource { @JsonProperty("description") @@ -226,6 +227,16 @@ public void setWorkspaces(List workspaces) { this.workspaces = workspaces; } + @JsonIgnore + public TaskSpecBuilder edit() { + return new TaskSpecBuilder(this); + } + + @JsonIgnore + public TaskSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TimeoutFields.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TimeoutFields.java index c8b9f951a45..12df87f2f93 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TimeoutFields.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TimeoutFields.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TimeoutFields implements KubernetesResource +public class TimeoutFields implements Editable , KubernetesResource { @JsonProperty("finally") @@ -122,6 +123,16 @@ public void setTasks(Duration tasks) { this.tasks = tasks; } + @JsonIgnore + public TimeoutFieldsBuilder edit() { + return new TimeoutFieldsBuilder(this); + } + + @JsonIgnore + public TimeoutFieldsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WhenExpression.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WhenExpression.java index 031491f2a02..25c20c36a2e 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WhenExpression.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WhenExpression.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class WhenExpression implements KubernetesResource +public class WhenExpression implements Editable , KubernetesResource { @JsonProperty("input") @@ -124,6 +125,16 @@ public void setValues(List values) { this.values = values; } + @JsonIgnore + public WhenExpressionBuilder edit() { + return new WhenExpressionBuilder(this); + } + + @JsonIgnore + public WhenExpressionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WorkspaceBinding.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WorkspaceBinding.java index 49cc840efa7..93877417b76 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WorkspaceBinding.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WorkspaceBinding.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.CSIVolumeSource; import io.fabric8.kubernetes.api.model.ConfigMapVolumeSource; import io.fabric8.kubernetes.api.model.Container; @@ -76,7 +77,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class WorkspaceBinding implements KubernetesResource +public class WorkspaceBinding implements Editable , KubernetesResource { @JsonProperty("configMap") @@ -210,6 +211,16 @@ public void setVolumeClaimTemplate(io.fabric8.kubernetes.api.model.PersistentVol this.volumeClaimTemplate = volumeClaimTemplate; } + @JsonIgnore + public WorkspaceBindingBuilder edit() { + return new WorkspaceBindingBuilder(this); + } + + @JsonIgnore + public WorkspaceBindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WorkspaceDeclaration.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WorkspaceDeclaration.java index fc91752b0da..8c1ee0c9995 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WorkspaceDeclaration.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WorkspaceDeclaration.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class WorkspaceDeclaration implements KubernetesResource +public class WorkspaceDeclaration implements Editable , KubernetesResource { @JsonProperty("description") @@ -149,6 +150,16 @@ public void setReadOnly(Boolean readOnly) { this.readOnly = readOnly; } + @JsonIgnore + public WorkspaceDeclarationBuilder edit() { + return new WorkspaceDeclarationBuilder(this); + } + + @JsonIgnore + public WorkspaceDeclarationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WorkspacePipelineTaskBinding.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WorkspacePipelineTaskBinding.java index d2796fe398d..f2b83cd96e6 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WorkspacePipelineTaskBinding.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WorkspacePipelineTaskBinding.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class WorkspacePipelineTaskBinding implements KubernetesResource +public class WorkspacePipelineTaskBinding implements Editable , KubernetesResource { @JsonProperty("name") @@ -121,6 +122,16 @@ public void setWorkspace(String workspace) { this.workspace = workspace; } + @JsonIgnore + public WorkspacePipelineTaskBindingBuilder edit() { + return new WorkspacePipelineTaskBindingBuilder(this); + } + + @JsonIgnore + public WorkspacePipelineTaskBindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WorkspaceUsage.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WorkspaceUsage.java index 8404bc63aec..91f7ffe2870 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WorkspaceUsage.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WorkspaceUsage.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class WorkspaceUsage implements KubernetesResource +public class WorkspaceUsage implements Editable , KubernetesResource { @JsonProperty("mountPath") @@ -107,6 +108,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public WorkspaceUsageBuilder edit() { + return new WorkspaceUsageBuilder(this); + } + + @JsonIgnore + public WorkspaceUsageBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequest.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequest.java index b58e31cae84..7837acebd17 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequest.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequest.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1beta1") @Group("resolution.tekton.dev") @Generated("jsonschema2pojo") -public class ResolutionRequest implements HasMetadata, Namespaced +public class ResolutionRequest implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(ResolutionRequestStatus status) { this.status = status; } + @JsonIgnore + public ResolutionRequestBuilder edit() { + return new ResolutionRequestBuilder(this); + } + + @JsonIgnore + public ResolutionRequestBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestList.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestList.java index 60c593e2c9e..cc8a96a3370 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestList.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("resolution.tekton.dev") @Generated("jsonschema2pojo") -public class ResolutionRequestList implements KubernetesResource, KubernetesResourceList +public class ResolutionRequestList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ResolutionRequestListBuilder edit() { + return new ResolutionRequestListBuilder(this); + } + + @JsonIgnore + public ResolutionRequestListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestSpec.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestSpec.java index a5d449f7f26..88683aaf174 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestSpec.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ResolutionRequestSpec implements KubernetesResource +public class ResolutionRequestSpec implements Editable , KubernetesResource { @JsonProperty("params") @@ -97,6 +98,16 @@ public void setParams(List params) { this.params = params; } + @JsonIgnore + public ResolutionRequestSpecBuilder edit() { + return new ResolutionRequestSpecBuilder(this); + } + + @JsonIgnore + public ResolutionRequestSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestStatus.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestStatus.java index d13d1a0f5bb..480bf4b8317 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestStatus.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestStatus.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ResolutionRequestStatus implements KubernetesResource +public class ResolutionRequestStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -170,6 +171,16 @@ public void setSource(ConfigSource source) { this.source = source; } + @JsonIgnore + public ResolutionRequestStatusBuilder edit() { + return new ResolutionRequestStatusBuilder(this); + } + + @JsonIgnore + public ResolutionRequestStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/config/FeatureFlags.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/config/FeatureFlags.java index 6f55aa9a441..8581dce4054 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/config/FeatureFlags.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/config/FeatureFlags.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class FeatureFlags implements KubernetesResource +public class FeatureFlags implements Editable , KubernetesResource { @JsonProperty("AwaitSidecarReadiness") @@ -275,6 +276,16 @@ public void setVerificationNoMatchPolicy(String verificationNoMatchPolicy) { this.verificationNoMatchPolicy = verificationNoMatchPolicy; } + @JsonIgnore + public FeatureFlagsBuilder edit() { + return new FeatureFlagsBuilder(this); + } + + @JsonIgnore + public FeatureFlagsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/pipeline/pod/Template.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/pipeline/pod/Template.java index b2380395a22..8a5d2fa8c7f 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/pipeline/pod/Template.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/pipeline/pod/Template.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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.ContainerPort; @@ -84,7 +85,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Template implements KubernetesResource +public class Template implements Editable , KubernetesResource { @JsonProperty("affinity") @@ -329,6 +330,16 @@ public void setVolumes(List volumes) { this.volumes = volumes; } + @JsonIgnore + public TemplateBuilder edit() { + return new TemplateBuilder(this); + } + + @JsonIgnore + public TemplateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/resource/v1alpha1/PipelineResourceSpec.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/resource/v1alpha1/PipelineResourceSpec.java index 4c9dede7b93..082ef3c6da0 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/resource/v1alpha1/PipelineResourceSpec.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/resource/v1alpha1/PipelineResourceSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PipelineResourceSpec implements KubernetesResource +public class PipelineResourceSpec implements Editable , KubernetesResource { @JsonProperty("description") @@ -139,6 +140,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public PipelineResourceSpecBuilder edit() { + return new PipelineResourceSpecBuilder(this); + } + + @JsonIgnore + public PipelineResourceSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/resource/v1alpha1/ResourceParam.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/resource/v1alpha1/ResourceParam.java index ee99599cef5..ed439ef41f4 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/resource/v1alpha1/ResourceParam.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/resource/v1alpha1/ResourceParam.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ResourceParam implements KubernetesResource +public class ResourceParam implements Editable , KubernetesResource { @JsonProperty("name") @@ -107,6 +108,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public ResourceParamBuilder edit() { + return new ResourceParamBuilder(this); + } + + @JsonIgnore + public ResourceParamBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/resource/v1alpha1/SecretParam.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/resource/v1alpha1/SecretParam.java index 2ff45e72c76..d4d80baeafa 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/resource/v1alpha1/SecretParam.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/resource/v1alpha1/SecretParam.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class SecretParam implements KubernetesResource +public class SecretParam implements Editable , KubernetesResource { @JsonProperty("fieldName") @@ -121,6 +122,16 @@ public void setSecretName(String secretName) { this.secretName = secretName; } + @JsonIgnore + public SecretParamBuilder edit() { + return new SecretParamBuilder(this); + } + + @JsonIgnore + public SecretParamBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/run/v1beta1/CustomRunResult.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/run/v1beta1/CustomRunResult.java index 5257c2fb5a0..9c66d213465 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/run/v1beta1/CustomRunResult.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/run/v1beta1/CustomRunResult.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CustomRunResult implements KubernetesResource +public class CustomRunResult implements Editable , KubernetesResource { @JsonProperty("name") @@ -107,6 +108,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public CustomRunResultBuilder edit() { + return new CustomRunResultBuilder(this); + } + + @JsonIgnore + public CustomRunResultBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/run/v1beta1/CustomRunStatus.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/run/v1beta1/CustomRunStatus.java index 9018099d40f..9aed6d8f871 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/run/v1beta1/CustomRunStatus.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/run/v1beta1/CustomRunStatus.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.knative.internal.pkg.apis.Condition; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class CustomRunStatus implements KubernetesResource +public class CustomRunStatus implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -199,6 +200,16 @@ public void setStartTime(java.lang.String startTime) { this.startTime = startTime; } + @JsonIgnore + public CustomRunStatusBuilder edit() { + return new CustomRunStatusBuilder(this); + } + + @JsonIgnore + public CustomRunStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/result/RunResult.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/result/RunResult.java index 23680ca6f6e..789122111ad 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/result/RunResult.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/result/RunResult.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class RunResult implements KubernetesResource +public class RunResult implements Editable , KubernetesResource { @JsonProperty("key") @@ -135,6 +136,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public RunResultBuilder edit() { + return new RunResultBuilder(this); + } + + @JsonIgnore + public RunResultBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/VerticalpodautoscalerSchema.java b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/VerticalpodautoscalerSchema.java index a2701b37ae7..c9da82b3f56 100644 --- a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/VerticalpodautoscalerSchema.java +++ b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/VerticalpodautoscalerSchema.java @@ -2,10 +2,12 @@ package io.fabric8.verticalpodautoscaler.api.model; import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -86,7 +88,8 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VerticalpodautoscalerSchema { +public class VerticalpodautoscalerSchema implements Editable +{ @JsonProperty("k8s_io_autoscaler_vertical-pod-autoscaler_pkg_apis_autoscaling_k8s_io_v1_ContainerResourcePolicy") private ContainerResourcePolicy k8sIoAutoscalerVerticalPodAutoscalerPkgApisAutoscalingK8sIoV1ContainerResourcePolicy; @@ -295,4 +298,14 @@ public void setK8sIoAutoscalerVerticalPodAutoscalerPkgApisAutoscalingK8sIoV1Vert this.k8sIoAutoscalerVerticalPodAutoscalerPkgApisAutoscalingK8sIoV1VerticalPodAutoscalerStatus = k8sIoAutoscalerVerticalPodAutoscalerPkgApisAutoscalingK8sIoV1VerticalPodAutoscalerStatus; } + @JsonIgnore + public VerticalpodautoscalerSchemaBuilder edit() { + return new VerticalpodautoscalerSchemaBuilder(this); + } + + @JsonIgnore + public VerticalpodautoscalerSchemaBuilder toBuilder() { + return edit(); + } + } diff --git a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/ContainerResourcePolicy.java b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/ContainerResourcePolicy.java index cf305eb8031..91ba9b9cdee 100644 --- a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/ContainerResourcePolicy.java +++ b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/ContainerResourcePolicy.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -71,7 +72,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ContainerResourcePolicy implements KubernetesResource +public class ContainerResourcePolicy implements Editable , KubernetesResource { @JsonProperty("containerName") @@ -169,6 +170,16 @@ public void setMode(String mode) { this.mode = mode; } + @JsonIgnore + public ContainerResourcePolicyBuilder edit() { + return new ContainerResourcePolicyBuilder(this); + } + + @JsonIgnore + public ContainerResourcePolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/HistogramCheckpoint.java b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/HistogramCheckpoint.java index 3e165926405..96f85fcc979 100644 --- a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/HistogramCheckpoint.java +++ b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/HistogramCheckpoint.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HistogramCheckpoint implements KubernetesResource +public class HistogramCheckpoint implements Editable , KubernetesResource { @JsonProperty("bucketWeights") @@ -122,6 +123,16 @@ public void setTotalWeight(Double totalWeight) { this.totalWeight = totalWeight; } + @JsonIgnore + public HistogramCheckpointBuilder edit() { + return new HistogramCheckpointBuilder(this); + } + + @JsonIgnore + public HistogramCheckpointBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/PodResourcePolicy.java b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/PodResourcePolicy.java index d991972c8ad..6dfd7e69053 100644 --- a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/PodResourcePolicy.java +++ b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/PodResourcePolicy.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PodResourcePolicy implements KubernetesResource +public class PodResourcePolicy implements Editable , KubernetesResource { @JsonProperty("containerPolicies") @@ -96,6 +97,16 @@ public void setContainerPolicies(List containerPolicies this.containerPolicies = containerPolicies; } + @JsonIgnore + public PodResourcePolicyBuilder edit() { + return new PodResourcePolicyBuilder(this); + } + + @JsonIgnore + public PodResourcePolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/PodUpdatePolicy.java b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/PodUpdatePolicy.java index 4d9826e8337..314c01eced0 100644 --- a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/PodUpdatePolicy.java +++ b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/PodUpdatePolicy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -63,7 +64,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PodUpdatePolicy implements KubernetesResource +public class PodUpdatePolicy implements Editable , KubernetesResource { @JsonProperty("updateMode") @@ -93,6 +94,16 @@ public void setUpdateMode(String updateMode) { this.updateMode = updateMode; } + @JsonIgnore + public PodUpdatePolicyBuilder edit() { + return new PodUpdatePolicyBuilder(this); + } + + @JsonIgnore + public PodUpdatePolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/RecommendedContainerResources.java b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/RecommendedContainerResources.java index bf982ac05bf..15ee3ee1328 100644 --- a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/RecommendedContainerResources.java +++ b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/RecommendedContainerResources.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class RecommendedContainerResources implements KubernetesResource +public class RecommendedContainerResources implements Editable , KubernetesResource { @JsonProperty("containerName") @@ -154,6 +155,16 @@ public void setUpperBound(Map upperBound) { this.upperBound = upperBound; } + @JsonIgnore + public RecommendedContainerResourcesBuilder edit() { + return new RecommendedContainerResourcesBuilder(this); + } + + @JsonIgnore + public RecommendedContainerResourcesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/RecommendedPodResources.java b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/RecommendedPodResources.java index 909c4bf639b..b97c5db9b7d 100644 --- a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/RecommendedPodResources.java +++ b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/RecommendedPodResources.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -65,7 +66,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class RecommendedPodResources implements KubernetesResource +public class RecommendedPodResources implements Editable , KubernetesResource { @JsonProperty("containerRecommendations") @@ -96,6 +97,16 @@ public void setContainerRecommendations(List cont this.containerRecommendations = containerRecommendations; } + @JsonIgnore + public RecommendedPodResourcesBuilder edit() { + return new RecommendedPodResourcesBuilder(this); + } + + @JsonIgnore + public RecommendedPodResourcesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscaler.java b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscaler.java index c48d3d0393a..a6e079150de 100644 --- a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscaler.java +++ b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscaler.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("autoscaling.k8s.io") @Generated("jsonschema2pojo") -public class VerticalPodAutoscaler implements HasMetadata, Namespaced +public class VerticalPodAutoscaler implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(VerticalPodAutoscalerStatus status) { this.status = status; } + @JsonIgnore + public VerticalPodAutoscalerBuilder edit() { + return new VerticalPodAutoscalerBuilder(this); + } + + @JsonIgnore + public VerticalPodAutoscalerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerCheckpoint.java b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerCheckpoint.java index 0e8f66b4876..26842bfbf2e 100644 --- a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerCheckpoint.java +++ b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerCheckpoint.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("autoscaling.k8s.io") @Generated("jsonschema2pojo") -public class VerticalPodAutoscalerCheckpoint implements HasMetadata, Namespaced +public class VerticalPodAutoscalerCheckpoint implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(VerticalPodAutoscalerCheckpointStatus status) { this.status = status; } + @JsonIgnore + public VerticalPodAutoscalerCheckpointBuilder edit() { + return new VerticalPodAutoscalerCheckpointBuilder(this); + } + + @JsonIgnore + public VerticalPodAutoscalerCheckpointBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerCheckpointList.java b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerCheckpointList.java index 9201deddfa3..e24dd2d76b1 100644 --- a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerCheckpointList.java +++ b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerCheckpointList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("autoscaling.k8s.io") @Generated("jsonschema2pojo") -public class VerticalPodAutoscalerCheckpointList implements KubernetesResource, KubernetesResourceList +public class VerticalPodAutoscalerCheckpointList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public VerticalPodAutoscalerCheckpointListBuilder edit() { + return new VerticalPodAutoscalerCheckpointListBuilder(this); + } + + @JsonIgnore + public VerticalPodAutoscalerCheckpointListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerCheckpointSpec.java b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerCheckpointSpec.java index aabadcb218c..1406e2449ef 100644 --- a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerCheckpointSpec.java +++ b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerCheckpointSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VerticalPodAutoscalerCheckpointSpec implements KubernetesResource +public class VerticalPodAutoscalerCheckpointSpec implements Editable , KubernetesResource { @JsonProperty("containerName") @@ -107,6 +108,16 @@ public void setVpaObjectName(String vpaObjectName) { this.vpaObjectName = vpaObjectName; } + @JsonIgnore + public VerticalPodAutoscalerCheckpointSpecBuilder edit() { + return new VerticalPodAutoscalerCheckpointSpecBuilder(this); + } + + @JsonIgnore + public VerticalPodAutoscalerCheckpointSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerCheckpointStatus.java b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerCheckpointStatus.java index 105b6faa610..047426275b0 100644 --- a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerCheckpointStatus.java +++ b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerCheckpointStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VerticalPodAutoscalerCheckpointStatus implements KubernetesResource +public class VerticalPodAutoscalerCheckpointStatus implements Editable , KubernetesResource { @JsonProperty("cpuHistogram") @@ -177,6 +178,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public VerticalPodAutoscalerCheckpointStatusBuilder edit() { + return new VerticalPodAutoscalerCheckpointStatusBuilder(this); + } + + @JsonIgnore + public VerticalPodAutoscalerCheckpointStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerCondition.java b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerCondition.java index fb502fe4394..9f6a3bf08db 100644 --- a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerCondition.java +++ b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VerticalPodAutoscalerCondition implements KubernetesResource +public class VerticalPodAutoscalerCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -149,6 +150,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public VerticalPodAutoscalerConditionBuilder edit() { + return new VerticalPodAutoscalerConditionBuilder(this); + } + + @JsonIgnore + public VerticalPodAutoscalerConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerList.java b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerList.java index ef7ffdb0046..aa7913b3f0b 100644 --- a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerList.java +++ b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("autoscaling.k8s.io") @Generated("jsonschema2pojo") -public class VerticalPodAutoscalerList implements KubernetesResource, KubernetesResourceList +public class VerticalPodAutoscalerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public VerticalPodAutoscalerListBuilder edit() { + return new VerticalPodAutoscalerListBuilder(this); + } + + @JsonIgnore + public VerticalPodAutoscalerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerSpec.java b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerSpec.java index 63f1992d884..d8df3879c3e 100644 --- a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerSpec.java +++ b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VerticalPodAutoscalerSpec implements KubernetesResource +public class VerticalPodAutoscalerSpec implements Editable , KubernetesResource { @JsonProperty("resourcePolicy") @@ -122,6 +123,16 @@ public void setUpdatePolicy(PodUpdatePolicy updatePolicy) { this.updatePolicy = updatePolicy; } + @JsonIgnore + public VerticalPodAutoscalerSpecBuilder edit() { + return new VerticalPodAutoscalerSpecBuilder(this); + } + + @JsonIgnore + public VerticalPodAutoscalerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerStatus.java b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerStatus.java index 9e1c57ff060..a4dc4476df8 100644 --- a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerStatus.java +++ b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VerticalPodAutoscalerStatus implements KubernetesResource +public class VerticalPodAutoscalerStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -110,6 +111,16 @@ public void setRecommendation(RecommendedPodResources recommendation) { this.recommendation = recommendation; } + @JsonIgnore + public VerticalPodAutoscalerStatusBuilder edit() { + return new VerticalPodAutoscalerStatusBuilder(this); + } + + @JsonIgnore + public VerticalPodAutoscalerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/volcano/examples/src/main/java/io/fabric8/volcano/examples/Utils.java b/extensions/volcano/examples/src/main/java/io/fabric8/volcano/examples/Utils.java index 817311f2a98..bb8cfcbbda2 100644 --- a/extensions/volcano/examples/src/main/java/io/fabric8/volcano/examples/Utils.java +++ b/extensions/volcano/examples/src/main/java/io/fabric8/volcano/examples/Utils.java @@ -31,10 +31,10 @@ private Utils() { } public static Map buildDefaultResourceMap() { - Quantity cpu = new QuantityBuilder(false) + Quantity cpu = new QuantityBuilder() .withAmount("1") .build(); - Quantity memory = new QuantityBuilder(false) + Quantity memory = new QuantityBuilder() .withAmount("1024") .build(); Map resourceMap = new HashMap<>(); diff --git a/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/api/model/VolcanoSchema.java b/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/api/model/VolcanoSchema.java index 601f4f6253c..cf2277ba64f 100644 --- a/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/api/model/VolcanoSchema.java +++ b/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/api/model/VolcanoSchema.java @@ -2,10 +2,12 @@ package io.fabric8.volcano.api.model; import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -74,7 +76,8 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VolcanoSchema { +public class VolcanoSchema implements Editable +{ @JsonProperty("volcano_sh_apis_pkg_apis_scheduling_v1beta1_PodGroup") private PodGroup volcanoShApisPkgApisSchedulingV1beta1PodGroup; @@ -205,4 +208,14 @@ public void setVolcanoShApisPkgApisSchedulingV1beta1QueueStatus(QueueStatus volc this.volcanoShApisPkgApisSchedulingV1beta1QueueStatus = volcanoShApisPkgApisSchedulingV1beta1QueueStatus; } + @JsonIgnore + public VolcanoSchemaBuilder edit() { + return new VolcanoSchemaBuilder(this); + } + + @JsonIgnore + public VolcanoSchemaBuilder toBuilder() { + return edit(); + } + } diff --git a/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/PodGroup.java b/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/PodGroup.java index 8f39ed0a9b7..b4621a71fd4 100644 --- a/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/PodGroup.java +++ b/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/PodGroup.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1beta1") @Group("scheduling.volcano.sh") @Generated("jsonschema2pojo") -public class PodGroup implements HasMetadata, Namespaced +public class PodGroup implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(PodGroupStatus status) { this.status = status; } + @JsonIgnore + public PodGroupBuilder edit() { + return new PodGroupBuilder(this); + } + + @JsonIgnore + public PodGroupBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/PodGroupCondition.java b/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/PodGroupCondition.java index f26c0002f5e..b7a991f005e 100644 --- a/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/PodGroupCondition.java +++ b/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/PodGroupCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PodGroupCondition implements KubernetesResource +public class PodGroupCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -163,6 +164,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public PodGroupConditionBuilder edit() { + return new PodGroupConditionBuilder(this); + } + + @JsonIgnore + public PodGroupConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/PodGroupList.java b/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/PodGroupList.java index 754706ff975..4c080cd3dfe 100644 --- a/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/PodGroupList.java +++ b/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/PodGroupList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("scheduling.volcano.sh") @Generated("jsonschema2pojo") -public class PodGroupList implements KubernetesResource, KubernetesResourceList +public class PodGroupList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PodGroupListBuilder edit() { + return new PodGroupListBuilder(this); + } + + @JsonIgnore + public PodGroupListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/PodGroupSpec.java b/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/PodGroupSpec.java index 8863f1daa3c..37b806af8cd 100644 --- a/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/PodGroupSpec.java +++ b/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/PodGroupSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PodGroupSpec implements KubernetesResource +public class PodGroupSpec implements Editable , KubernetesResource { @JsonProperty("minMember") @@ -137,6 +138,16 @@ public void setQueue(java.lang.String queue) { this.queue = queue; } + @JsonIgnore + public PodGroupSpecBuilder edit() { + return new PodGroupSpecBuilder(this); + } + + @JsonIgnore + public PodGroupSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/PodGroupStatus.java b/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/PodGroupStatus.java index 79707af1779..5766923945c 100644 --- a/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/PodGroupStatus.java +++ b/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/PodGroupStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +70,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class PodGroupStatus implements KubernetesResource +public class PodGroupStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -152,6 +153,16 @@ public void setSucceeded(Integer succeeded) { this.succeeded = succeeded; } + @JsonIgnore + public PodGroupStatusBuilder edit() { + return new PodGroupStatusBuilder(this); + } + + @JsonIgnore + public PodGroupStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/Queue.java b/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/Queue.java index a63bcc76147..5eff8ab9266 100644 --- a/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/Queue.java +++ b/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/Queue.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @Version("v1beta1") @Group("scheduling.volcano.sh") @Generated("jsonschema2pojo") -public class Queue implements HasMetadata +public class Queue implements Editable , HasMetadata { /** @@ -184,6 +185,16 @@ public void setStatus(QueueStatus status) { this.status = status; } + @JsonIgnore + public QueueBuilder edit() { + return new QueueBuilder(this); + } + + @JsonIgnore + public QueueBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/QueueList.java b/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/QueueList.java index 3f70c96d1c9..d5eba392316 100644 --- a/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/QueueList.java +++ b/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/QueueList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1beta1") @Group("scheduling.volcano.sh") @Generated("jsonschema2pojo") -public class QueueList implements KubernetesResource, KubernetesResourceList +public class QueueList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public QueueListBuilder edit() { + return new QueueListBuilder(this); + } + + @JsonIgnore + public QueueListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/QueueSpec.java b/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/QueueSpec.java index ba9120794c3..832f82c844e 100644 --- a/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/QueueSpec.java +++ b/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/QueueSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class QueueSpec implements KubernetesResource +public class QueueSpec implements Editable , KubernetesResource { @JsonProperty("capability") @@ -123,6 +124,16 @@ public void setWeight(Integer weight) { this.weight = weight; } + @JsonIgnore + public QueueSpecBuilder edit() { + return new QueueSpecBuilder(this); + } + + @JsonIgnore + public QueueSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/QueueStatus.java b/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/QueueStatus.java index 378e923c652..1cf3fa9a677 100644 --- a/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/QueueStatus.java +++ b/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/QueueStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class QueueStatus implements KubernetesResource +public class QueueStatus implements Editable , KubernetesResource { @JsonProperty("inqueue") @@ -149,6 +150,16 @@ public void setUnknown(Integer unknown) { this.unknown = unknown; } + @JsonIgnore + public QueueStatusBuilder edit() { + return new QueueStatusBuilder(this); + } + + @JsonIgnore + public QueueStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/volcano/tests/src/test/java/io/fabric8/volcano/test/crud/VolcanoTest.java b/extensions/volcano/tests/src/test/java/io/fabric8/volcano/test/crud/VolcanoTest.java index e98ae2dcc6f..114060b9f7d 100644 --- a/extensions/volcano/tests/src/test/java/io/fabric8/volcano/test/crud/VolcanoTest.java +++ b/extensions/volcano/tests/src/test/java/io/fabric8/volcano/test/crud/VolcanoTest.java @@ -44,10 +44,10 @@ class VolcanoTest { @Test void testPodGroupWithMetaAndSpec() { - Quantity cpu = new QuantityBuilder(false) + Quantity cpu = new QuantityBuilder() .withAmount("1") .build(); - Quantity memory = new QuantityBuilder(false) + Quantity memory = new QuantityBuilder() .withAmount(TEST_MEMORY + "Mi") .build(); Map resourceMap = new HashMap<>(); diff --git a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshot.java b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshot.java index 23732f1203c..fc55ae664c5 100644 --- a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshot.java +++ b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshot.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("snapshot.storage.k8s.io") @Generated("jsonschema2pojo") -public class VolumeSnapshot implements HasMetadata, Namespaced +public class VolumeSnapshot implements Editable , HasMetadata, Namespaced { /** @@ -185,6 +186,16 @@ public void setStatus(VolumeSnapshotStatus status) { this.status = status; } + @JsonIgnore + public VolumeSnapshotBuilder edit() { + return new VolumeSnapshotBuilder(this); + } + + @JsonIgnore + public VolumeSnapshotBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotClass.java b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotClass.java index 857d826783e..30102d9b889 100644 --- a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotClass.java +++ b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotClass.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -73,7 +74,7 @@ @Version("v1") @Group("snapshot.storage.k8s.io") @Generated("jsonschema2pojo") -public class VolumeSnapshotClass implements HasMetadata +public class VolumeSnapshotClass implements Editable , HasMetadata { /** @@ -199,6 +200,16 @@ public void setParameters(Map parameters) { this.parameters = parameters; } + @JsonIgnore + public VolumeSnapshotClassBuilder edit() { + return new VolumeSnapshotClassBuilder(this); + } + + @JsonIgnore + public VolumeSnapshotClassBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotClassList.java b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotClassList.java index 01945196285..e646f8d4a65 100644 --- a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotClassList.java +++ b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotClassList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("snapshot.storage.k8s.io") @Generated("jsonschema2pojo") -public class VolumeSnapshotClassList implements KubernetesResource, KubernetesResourceList +public class VolumeSnapshotClassList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public VolumeSnapshotClassListBuilder edit() { + return new VolumeSnapshotClassListBuilder(this); + } + + @JsonIgnore + public VolumeSnapshotClassListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotContent.java b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotContent.java index b9dcf22cd8c..c086b4837cc 100644 --- a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotContent.java +++ b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotContent.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -72,7 +73,7 @@ @Version("v1") @Group("snapshot.storage.k8s.io") @Generated("jsonschema2pojo") -public class VolumeSnapshotContent implements HasMetadata +public class VolumeSnapshotContent implements Editable , HasMetadata { /** @@ -184,6 +185,16 @@ public void setStatus(VolumeSnapshotContentStatus status) { this.status = status; } + @JsonIgnore + public VolumeSnapshotContentBuilder edit() { + return new VolumeSnapshotContentBuilder(this); + } + + @JsonIgnore + public VolumeSnapshotContentBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotContentList.java b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotContentList.java index b4fc8eeca80..c06041509c0 100644 --- a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotContentList.java +++ b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotContentList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("snapshot.storage.k8s.io") @Generated("jsonschema2pojo") -public class VolumeSnapshotContentList implements KubernetesResource, KubernetesResourceList +public class VolumeSnapshotContentList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public VolumeSnapshotContentListBuilder edit() { + return new VolumeSnapshotContentListBuilder(this); + } + + @JsonIgnore + public VolumeSnapshotContentListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotContentSource.java b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotContentSource.java index 8e3490685bf..830556d4abb 100644 --- a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotContentSource.java +++ b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotContentSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VolumeSnapshotContentSource implements KubernetesResource +public class VolumeSnapshotContentSource implements Editable , KubernetesResource { @JsonProperty("snapshotHandle") @@ -107,6 +108,16 @@ public void setVolumeHandle(String volumeHandle) { this.volumeHandle = volumeHandle; } + @JsonIgnore + public VolumeSnapshotContentSourceBuilder edit() { + return new VolumeSnapshotContentSourceBuilder(this); + } + + @JsonIgnore + public VolumeSnapshotContentSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotContentSpec.java b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotContentSpec.java index 19c93cf6ba6..81068b6063e 100644 --- a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotContentSpec.java +++ b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotContentSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -66,7 +67,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VolumeSnapshotContentSpec implements KubernetesResource +public class VolumeSnapshotContentSpec implements Editable , KubernetesResource { @JsonProperty("deletionPolicy") @@ -148,6 +149,16 @@ public void setVolumeSnapshotRef(io.fabric8.kubernetes.api.model.ObjectReference this.volumeSnapshotRef = volumeSnapshotRef; } + @JsonIgnore + public VolumeSnapshotContentSpecBuilder edit() { + return new VolumeSnapshotContentSpecBuilder(this); + } + + @JsonIgnore + public VolumeSnapshotContentSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotContentStatus.java b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotContentStatus.java index d83089de7ad..6589ec9d322 100644 --- a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotContentStatus.java +++ b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotContentStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VolumeSnapshotContentStatus implements KubernetesResource +public class VolumeSnapshotContentStatus implements Editable , KubernetesResource { @JsonProperty("creationTime") @@ -149,6 +150,16 @@ public void setSnapshotHandle(String snapshotHandle) { this.snapshotHandle = snapshotHandle; } + @JsonIgnore + public VolumeSnapshotContentStatusBuilder edit() { + return new VolumeSnapshotContentStatusBuilder(this); + } + + @JsonIgnore + public VolumeSnapshotContentStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotError.java b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotError.java index 52062031af8..0cdf0c766f8 100644 --- a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotError.java +++ b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotError.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VolumeSnapshotError implements KubernetesResource +public class VolumeSnapshotError implements Editable , KubernetesResource { @JsonProperty("message") @@ -107,6 +108,16 @@ public void setTime(java.lang.String time) { this.time = time; } + @JsonIgnore + public VolumeSnapshotErrorBuilder edit() { + return new VolumeSnapshotErrorBuilder(this); + } + + @JsonIgnore + public VolumeSnapshotErrorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotList.java b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotList.java index e00def6e0e3..700cde255c2 100644 --- a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotList.java +++ b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -76,7 +77,7 @@ @Version("v1") @Group("snapshot.storage.k8s.io") @Generated("jsonschema2pojo") -public class VolumeSnapshotList implements KubernetesResource, KubernetesResourceList +public class VolumeSnapshotList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -176,6 +177,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public VolumeSnapshotListBuilder edit() { + return new VolumeSnapshotListBuilder(this); + } + + @JsonIgnore + public VolumeSnapshotListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotSource.java b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotSource.java index b281d3d5cb2..d6361915a33 100644 --- a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotSource.java +++ b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VolumeSnapshotSource implements KubernetesResource +public class VolumeSnapshotSource implements Editable , KubernetesResource { @JsonProperty("persistentVolumeClaimName") @@ -107,6 +108,16 @@ public void setVolumeSnapshotContentName(String volumeSnapshotContentName) { this.volumeSnapshotContentName = volumeSnapshotContentName; } + @JsonIgnore + public VolumeSnapshotSourceBuilder edit() { + return new VolumeSnapshotSourceBuilder(this); + } + + @JsonIgnore + public VolumeSnapshotSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotSpec.java b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotSpec.java index ae5143e857f..0f0b4cb037d 100644 --- a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotSpec.java +++ b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -64,7 +65,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VolumeSnapshotSpec implements KubernetesResource +public class VolumeSnapshotSpec implements Editable , KubernetesResource { @JsonProperty("source") @@ -107,6 +108,16 @@ public void setVolumeSnapshotClassName(String volumeSnapshotClassName) { this.volumeSnapshotClassName = volumeSnapshotClassName; } + @JsonIgnore + public VolumeSnapshotSpecBuilder edit() { + return new VolumeSnapshotSpecBuilder(this); + } + + @JsonIgnore + public VolumeSnapshotSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotStatus.java b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotStatus.java index e4d3ba43212..66affcc59dd 100644 --- a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotStatus.java +++ b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -68,7 +69,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VolumeSnapshotStatus implements KubernetesResource +public class VolumeSnapshotStatus implements Editable , KubernetesResource { @JsonProperty("boundVolumeSnapshotContentName") @@ -150,6 +151,16 @@ public void setRestoreSize(Quantity restoreSize) { this.restoreSize = restoreSize; } + @JsonIgnore + public VolumeSnapshotStatusBuilder edit() { + return new VolumeSnapshotStatusBuilder(this); + } + + @JsonIgnore + public VolumeSnapshotStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumesnapshotSchema.java b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumesnapshotSchema.java index ce0ce63c8f0..e45043dc150 100644 --- a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumesnapshotSchema.java +++ b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumesnapshotSchema.java @@ -2,10 +2,12 @@ package io.fabric8.volumesnapshot.api.model; import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvVar; @@ -69,7 +71,8 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class VolumesnapshotSchema { +public class VolumesnapshotSchema implements Editable +{ @JsonProperty("github_com_kubernetes-csi_external-snapshotter_client_v4_apis_volumesnapshot_v1_VolumeSnapshot") private VolumeSnapshot githubComKubernetesCsiExternalSnapshotterClientV4ApisVolumesnapshotV1VolumeSnapshot; @@ -252,4 +255,14 @@ public void setGithubComKubernetesCsiExternalSnapshotterClientV4ApisVolumesnapsh this.githubComKubernetesCsiExternalSnapshotterClientV4ApisVolumesnapshotV1VolumeSnapshotStatus = githubComKubernetesCsiExternalSnapshotterClientV4ApisVolumesnapshotV1VolumeSnapshotStatus; } + @JsonIgnore + public VolumesnapshotSchemaBuilder edit() { + return new VolumesnapshotSchemaBuilder(this); + } + + @JsonIgnore + public VolumesnapshotSchemaBuilder toBuilder() { + return edit(); + } + } diff --git a/httpclient-okhttp/src/main/java/io/fabric8/kubernetes/client/okhttp/OkHttpClientImpl.java b/httpclient-okhttp/src/main/java/io/fabric8/kubernetes/client/okhttp/OkHttpClientImpl.java index 204b7b56fbd..f2bfd38e2a3 100644 --- a/httpclient-okhttp/src/main/java/io/fabric8/kubernetes/client/okhttp/OkHttpClientImpl.java +++ b/httpclient-okhttp/src/main/java/io/fabric8/kubernetes/client/okhttp/OkHttpClientImpl.java @@ -55,9 +55,7 @@ import java.io.BufferedInputStream; import java.io.IOException; import java.io.InterruptedIOException; -import java.io.PrintWriter; import java.io.Reader; -import java.io.StringWriter; import java.lang.reflect.Method; import java.net.MalformedURLException; import java.nio.ByteBuffer; @@ -250,15 +248,6 @@ public OkHttpClientImpl(OkHttpClient client, OkHttpClientBuilderImpl builder) { @Override public void close() { - if (LOG.isDebugEnabled()) { - StringWriter writer = new StringWriter(); - PrintWriter printWriter = new PrintWriter(writer); - new Exception().printStackTrace(printWriter); - printWriter.close(); - String stack = writer.toString(); - stack = stack.substring(stack.indexOf("\n")); - LOG.debug("Shutting down dispatcher {} at the following call stack: {}", this.httpClient.dispatcher(), stack); - } ConnectionPool connectionPool = httpClient.connectionPool(); Dispatcher dispatcher = httpClient.dispatcher(); diff --git a/java-generator/cli/pom.xml b/java-generator/cli/pom.xml index fe21003da97..0573a4a46c8 100644 --- a/java-generator/cli/pom.xml +++ b/java-generator/cli/pom.xml @@ -80,7 +80,7 @@ org.apache.maven.plugins maven-shade-plugin - 3.5.0 + 3.5.1 package diff --git a/java-generator/core/src/main/java/io/fabric8/java/generator/nodes/AbstractJSONSchema2Pojo.java b/java-generator/core/src/main/java/io/fabric8/java/generator/nodes/AbstractJSONSchema2Pojo.java index ff2c7b630bb..47d2861a034 100644 --- a/java-generator/core/src/main/java/io/fabric8/java/generator/nodes/AbstractJSONSchema2Pojo.java +++ b/java-generator/core/src/main/java/io/fabric8/java/generator/nodes/AbstractJSONSchema2Pojo.java @@ -27,7 +27,7 @@ import java.util.Locale; import java.util.function.Function; -import static io.fabric8.java.generator.nodes.Keywords.JAVA_KEYWORDS; +import static io.fabric8.java.generator.nodes.Keywords.*; public abstract class AbstractJSONSchema2Pojo { @@ -151,6 +151,37 @@ public static String escapeQuotes(String str) { return str.replace("\"", "\\\"").replace("\'", "\\\'"); } + private static String getRefinedIntegerType(String format) { + if (format == null || format.equals(INT64_CRD_TYPE)) { + return INT64_CRD_TYPE; + } else if (format.equals(INT32_CRD_TYPE)) { + return INT32_CRD_TYPE; + } else { + throw new JavaGeneratorException("Unsupported format for integer found " + format); + } + } + + private static String getRefinedNumberType(String format) { + if (format == null || format.equals(DOUBLE_CRD_TYPE)) { + return DOUBLE_CRD_TYPE; + } else if (format.equals(FLOAT_CRD_TYPE)) { + return FLOAT_CRD_TYPE; + } else { + throw new JavaGeneratorException("Unsupported format for number found " + format); + } + } + + private static String getRefinedStringType(String format) { + if (format == null || format.equals(STRING_CRD_TYPE)) { + return STRING_CRD_TYPE; + } else if (format.equals(DATETIME_CRD_TYPE)) { + return DATETIME_CRD_TYPE; + } else { + // TODO: there are more string format to support: byte, date etc. + return STRING_CRD_TYPE; + } + } + public static AbstractJSONSchema2Pojo fromJsonSchema( String key, JSONSchemaProps prop, @@ -179,11 +210,7 @@ public static AbstractJSONSchema2Pojo fromJsonSchema( case BOOLEAN_CRD_TYPE: return fromJsonSchema.apply(JPrimitiveNameAndType.BOOL); case INTEGER_CRD_TYPE: - String intFormat = prop.getFormat(); - if (intFormat == null) - intFormat = INT64_CRD_TYPE; - - switch (intFormat) { + switch (getRefinedIntegerType(prop.getFormat())) { case INT32_CRD_TYPE: return fromJsonSchema.apply(JPrimitiveNameAndType.INTEGER); case INT64_CRD_TYPE: @@ -191,11 +218,7 @@ public static AbstractJSONSchema2Pojo fromJsonSchema( return fromJsonSchema.apply(JPrimitiveNameAndType.LONG); } case NUMBER_CRD_TYPE: - String numberFormat = prop.getFormat(); - if (numberFormat == null) - numberFormat = DOUBLE_CRD_TYPE; - - switch (numberFormat) { + switch (getRefinedNumberType(prop.getFormat())) { case FLOAT_CRD_TYPE: return fromJsonSchema.apply(JPrimitiveNameAndType.FLOAT); case DOUBLE_CRD_TYPE: @@ -203,11 +226,7 @@ public static AbstractJSONSchema2Pojo fromJsonSchema( return fromJsonSchema.apply(JPrimitiveNameAndType.DOUBLE); } case STRING_CRD_TYPE: - String stringFormat = prop.getFormat(); - if (stringFormat == null) - stringFormat = STRING_CRD_TYPE; - - switch (stringFormat) { + switch (getRefinedStringType(prop.getFormat())) { case DATETIME_CRD_TYPE: return fromJsonSchema.apply(JPrimitiveNameAndType.DATETIME); case STRING_CRD_TYPE: @@ -286,8 +305,27 @@ private static AbstractJSONSchema2Pojo fromJsonSchema( isNullable, prop.getDefault()); case ENUM: + String enumType = JAVA_LANG_STRING; + switch (prop.getType()) { + case INTEGER_CRD_TYPE: + switch (getRefinedIntegerType(prop.getFormat())) { + case INT32_CRD_TYPE: + enumType = JAVA_LANG_INTEGER; + break; + case INT64_CRD_TYPE: + default: + enumType = JAVA_LANG_LONG; + break; + } + break; + case STRING_CRD_TYPE: + break; + default: + throw new JavaGeneratorException("Unsupported enumeration type/format" + prop.getType() + "/" + prop.getFormat()); + } return new JEnum( key, + enumType, prop.getEnum(), config, prop.getDescription(), diff --git a/java-generator/core/src/main/java/io/fabric8/java/generator/nodes/JEnum.java b/java-generator/core/src/main/java/io/fabric8/java/generator/nodes/JEnum.java index 92c9555b352..3ffa9b7d317 100644 --- a/java-generator/core/src/main/java/io/fabric8/java/generator/nodes/JEnum.java +++ b/java-generator/core/src/main/java/io/fabric8/java/generator/nodes/JEnum.java @@ -30,6 +30,7 @@ import java.util.Locale; import java.util.stream.Collectors; +import static io.fabric8.java.generator.nodes.Keywords.JAVA_LANG_LONG; import static io.fabric8.java.generator.nodes.Keywords.JAVA_LANG_STRING; public class JEnum extends AbstractJSONSchema2Pojo { @@ -37,14 +38,16 @@ public class JEnum extends AbstractJSONSchema2Pojo { private static final String VALUE = "value"; private final String type; - // TODO: handle number enum + private final String underlyingType; private final List values; - public JEnum(String type, List values, Config config, String description, final boolean isNullable, + public JEnum(String type, String underlyingType, List values, Config config, String description, + final boolean isNullable, JsonNode defaultValue) { super(config, description, isNullable, defaultValue, null); this.type = AbstractJSONSchema2Pojo.sanitizeString( type.substring(0, 1).toUpperCase() + type.substring(1)); + this.underlyingType = underlyingType; this.values = values.stream().map(JsonNode::asText).collect(Collectors.toList()); } @@ -70,9 +73,9 @@ public GeneratorResult generateJava() { CompilationUnit cu = new CompilationUnit(); EnumDeclaration en = cu.addEnum(this.type); - en.addField(JAVA_LANG_STRING, VALUE); + en.addField(underlyingType, VALUE); ConstructorDeclaration cd = en.addConstructor(); - cd.addParameter(JAVA_LANG_STRING, VALUE); + cd.addParameter(underlyingType, VALUE); cd.createBody(); cd.setBody( @@ -85,7 +88,7 @@ public GeneratorResult generateJava() { MethodDeclaration getValue = en .addMethod("getValue", Modifier.Keyword.PUBLIC); - getValue.setType(JAVA_LANG_STRING); + getValue.setType(underlyingType); getValue .setBody(new BlockStmt().addStatement(new ReturnStmt(VALUE))); getValue.addAnnotation("com.fasterxml.jackson.annotation.JsonValue"); @@ -101,6 +104,14 @@ public GeneratorResult generateJava() { constantName = sanitizeEnumEntry(sanitizeString(k)); } String originalName = AbstractJSONSchema2Pojo.escapeQuotes(k); + Expression valueArgument = new StringLiteralExpr(originalName); + if (!underlyingType.equals(JAVA_LANG_STRING)) { + if (underlyingType.equals(JAVA_LANG_LONG) && !originalName.endsWith("L")) { + valueArgument = new IntegerLiteralExpr(originalName + "L"); + } else { + valueArgument = new IntegerLiteralExpr(originalName); + } + } EnumConstantDeclaration decl = new EnumConstantDeclaration(); decl.addAnnotation( @@ -108,7 +119,7 @@ public GeneratorResult generateJava() { new Name("com.fasterxml.jackson.annotation.JsonProperty"), new StringLiteralExpr(originalName))); decl.setName(constantName); - decl.addArgument(new StringLiteralExpr(originalName)); + decl.addArgument(valueArgument); en.addEntry(decl); } diff --git a/java-generator/core/src/main/java/io/fabric8/java/generator/nodes/Keywords.java b/java-generator/core/src/main/java/io/fabric8/java/generator/nodes/Keywords.java index ddb9600fbfb..fe33c73abe2 100644 --- a/java-generator/core/src/main/java/io/fabric8/java/generator/nodes/Keywords.java +++ b/java-generator/core/src/main/java/io/fabric8/java/generator/nodes/Keywords.java @@ -79,8 +79,10 @@ private Keywords() { JAVA_KEYWORDS.add("while"); } - static final String JAVA_UTIL_MAP = "java.util.Map"; - static final String JAVA_UTIL_LIST = "java.util.List"; - static final String JAVA_LANG_STRING = "java.lang.String"; - static final String ADDITIONAL_PROPERTIES = "additionalProperties"; + public static final String JAVA_UTIL_MAP = "java.util.Map"; + public static final String JAVA_UTIL_LIST = "java.util.List"; + public static final String JAVA_LANG_STRING = "java.lang.String"; + public static final String JAVA_LANG_LONG = "java.lang.Long"; + public static final String JAVA_LANG_INTEGER = "java.lang.Integer"; + public static final String ADDITIONAL_PROPERTIES = "additionalProperties"; } diff --git a/java-generator/core/src/test/java/io/fabric8/java/generator/CompilationTest.java b/java-generator/core/src/test/java/io/fabric8/java/generator/CompilationTest.java index c412fc9b3c3..771a635698f 100644 --- a/java-generator/core/src/test/java/io/fabric8/java/generator/CompilationTest.java +++ b/java-generator/core/src/test/java/io/fabric8/java/generator/CompilationTest.java @@ -69,7 +69,8 @@ private static Stream compilationTestData() { Arguments.of("camel-integrationplatforms-crd.yaml", 192), Arguments.of("two-crds.yml", 6), Arguments.of("folder", 6), - Arguments.of("calico-ippool-crd.yml", 3)); + Arguments.of("calico-ippool-crd.yml", 3), + Arguments.of("emissary-crds.yaml", 242)); } @ParameterizedTest(name = "{0} should generate {1} source files and compile OK") diff --git a/java-generator/core/src/test/java/io/fabric8/java/generator/GeneratorTest.java b/java-generator/core/src/test/java/io/fabric8/java/generator/GeneratorTest.java index 56708dc5cbb..5bd9c42e1a6 100644 --- a/java-generator/core/src/test/java/io/fabric8/java/generator/GeneratorTest.java +++ b/java-generator/core/src/test/java/io/fabric8/java/generator/GeneratorTest.java @@ -35,6 +35,7 @@ import java.util.*; import static io.fabric8.java.generator.CRGeneratorRunner.groupToPackage; +import static io.fabric8.java.generator.nodes.Keywords.*; import static org.junit.jupiter.api.Assertions.*; class GeneratorTest { @@ -439,6 +440,7 @@ void testDefaultEnum() { props.put("e1", newEnum); JEnum enu = new JEnum( "t", + JAVA_LANG_STRING, enumValues, defaultConfig, null, @@ -461,6 +463,85 @@ void testDefaultEnum() { assertEquals("BAZ", en.get().getEntries().get(2).getName().asString()); } + @Test + void testLongEnum() { + // Arrange + Map props = new HashMap<>(); + JSONSchemaProps newEnum = new JSONSchemaProps(); + newEnum.setType("integer"); + List enumValues = new ArrayList<>(); + enumValues.add(new TextNode("1")); + enumValues.add(new TextNode("2")); + enumValues.add(new TextNode("3")); + props.put("e1", newEnum); + JEnum enu = new JEnum( + "t", + JAVA_LANG_LONG, + enumValues, + defaultConfig, + null, + Boolean.FALSE, + null); + + // Act + GeneratorResult res = enu.generateJava(); + + // Assert + assertEquals("T", enu.getType()); + assertEquals(1, res.getInnerClasses().size()); + assertEquals("T", res.getInnerClasses().get(0).getName()); + + Optional en = res.getInnerClasses().get(0).getEnumByName("T"); + assertTrue(en.isPresent()); + assertEquals(3, en.get().getEntries().size()); + assertEquals("V__1", en.get().getEntries().get(0).getName().asString()); + assertEquals("V__2", en.get().getEntries().get(1).getName().asString()); + assertEquals("V__3", en.get().getEntries().get(2).getName().asString()); + assertEquals("1L", en.get().getEntries().get(0).getArgument(0).toString()); + assertEquals("2L", en.get().getEntries().get(1).getArgument(0).toString()); + assertEquals("3L", en.get().getEntries().get(2).getArgument(0).toString()); + } + + @Test + void testIntEnum() { + // Arrange + Map props = new HashMap<>(); + JSONSchemaProps newEnum = new JSONSchemaProps(); + newEnum.setType("integer"); + newEnum.setFormat("int32"); + List enumValues = new ArrayList<>(); + enumValues.add(new TextNode("1")); + enumValues.add(new TextNode("2")); + enumValues.add(new TextNode("3")); + props.put("e1", newEnum); + JEnum enu = new JEnum( + "t", + JAVA_LANG_INTEGER, + enumValues, + defaultConfig, + null, + Boolean.FALSE, + null); + + // Act + GeneratorResult res = enu.generateJava(); + + // Assert + assertEquals("T", enu.getType()); + assertEquals(1, res.getInnerClasses().size()); + assertEquals("T", res.getInnerClasses().get(0).getName()); + + Optional en = res.getInnerClasses().get(0).getEnumByName("T"); + assertTrue(en.isPresent()); + assertEquals(3, en.get().getEntries().size()); + assertEquals("V__1", en.get().getEntries().get(0).getName().asString()); + assertEquals("V__2", en.get().getEntries().get(1).getName().asString()); + assertEquals("V__3", en.get().getEntries().get(2).getName().asString()); + assertEquals("1", en.get().getEntries().get(0).getArgument(0).toString()); + assertEquals("2", en.get().getEntries().get(1).getArgument(0).toString()); + assertEquals("3", en.get().getEntries().get(2).getArgument(0).toString()); + } + @Test void testNotUppercaseEnum() { // Arrange @@ -475,6 +556,7 @@ void testNotUppercaseEnum() { props.put("e1", newEnum); JEnum enu = new JEnum( "t", + JAVA_LANG_STRING, enumValues, new Config(false, null, null, new HashMap<>()), null, diff --git a/java-generator/core/src/test/resources/emissary-crds.yaml b/java-generator/core/src/test/resources/emissary-crds.yaml new file mode 100644 index 00000000000..a13a1ccdc49 --- /dev/null +++ b/java-generator/core/src/test/resources/emissary-crds.yaml @@ -0,0 +1,5391 @@ +# +# 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. +# + +# GENERATED FILE: edits made by hand will not be preserved. +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.12.0 + labels: + app.kubernetes.io/instance: emissary-apiext + app.kubernetes.io/managed-by: kubectl_apply_-f_emissary-apiext.yaml + app.kubernetes.io/name: emissary-apiext + app.kubernetes.io/part-of: emissary-apiext + name: authservices.getambassador.io +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: emissary-apiext + namespace: emissary-system + conversionReviewVersions: + - v1 + group: getambassador.io + names: + categories: + - ambassador-crds + kind: AuthService + listKind: AuthServiceList + plural: authservices + singular: authservice + preserveUnknownFields: false + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + description: AuthService is the Schema for the authservices API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AuthServiceSpec defines the desired state of AuthService + properties: + add_auth_headers: + additionalProperties: + type: string + type: object + add_linkerd_headers: + type: boolean + allow_request_body: + type: boolean + allowed_authorization_headers: + items: + type: string + type: array + allowed_request_headers: + items: + type: string + type: array + auth_service: + type: string + failure_mode_allow: + type: boolean + include_body: + properties: + allow_partial: + type: boolean + max_bytes: + description: These aren't pointer types because they are required. + type: integer + required: + - allow_partial + - max_bytes + type: object + path_prefix: + type: string + proto: + enum: + - http + - grpc + type: string + protocol_version: + enum: + - v2 + - v3 + type: string + status_on_error: + description: Why isn't this just an int?? + properties: + code: + type: integer + type: object + timeout_ms: + type: integer + v3CircuitBreakers: + items: + properties: + max_connections: + type: integer + max_pending_requests: + type: integer + max_requests: + type: integer + max_retries: + type: integer + priority: + enum: + - default + - high + type: string + type: object + type: array + v3StatsName: + type: string + required: + - auth_service + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + served: true + storage: false + - name: v2 + schema: + openAPIV3Schema: + description: AuthService is the Schema for the authservices API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AuthServiceSpec defines the desired state of AuthService + properties: + add_auth_headers: + additionalProperties: + type: string + type: object + add_linkerd_headers: + type: boolean + allow_request_body: + type: boolean + allowed_authorization_headers: + items: + type: string + type: array + allowed_request_headers: + items: + type: string + type: array + auth_service: + type: string + failure_mode_allow: + type: boolean + include_body: + properties: + allow_partial: + type: boolean + max_bytes: + description: These aren't pointer types because they are required. + type: integer + required: + - allow_partial + - max_bytes + type: object + path_prefix: + type: string + proto: + enum: + - http + - grpc + type: string + protocol_version: + enum: + - v2 + - v3 + type: string + status_on_error: + description: Why isn't this just an int?? + properties: + code: + type: integer + type: object + timeout_ms: + type: integer + v3CircuitBreakers: + items: + properties: + max_connections: + type: integer + max_pending_requests: + type: integer + max_requests: + type: integer + max_retries: + type: integer + priority: + enum: + - default + - high + type: string + type: object + type: array + v3StatsName: + type: string + required: + - auth_service + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + served: true + storage: true + - name: v3alpha1 + schema: + openAPIV3Schema: + description: AuthService is the Schema for the authservices API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AuthServiceSpec defines the desired state of AuthService + properties: + add_auth_headers: + additionalProperties: + type: string + type: object + add_linkerd_headers: + type: boolean + allow_request_body: + type: boolean + allowed_authorization_headers: + items: + type: string + type: array + allowed_request_headers: + items: + type: string + type: array + ambassador_id: + description: "AmbassadorID declares which Ambassador instances should + pay attention to this resource. If no value is provided, the default + is: \n ambassador_id: - \"default\"" + items: + type: string + type: array + auth_service: + type: string + circuit_breakers: + items: + properties: + max_connections: + type: integer + max_pending_requests: + type: integer + max_requests: + type: integer + max_retries: + type: integer + priority: + enum: + - default + - high + type: string + type: object + type: array + failure_mode_allow: + type: boolean + include_body: + properties: + allow_partial: + type: boolean + max_bytes: + description: These aren't pointer types because they are required. + type: integer + required: + - allow_partial + - max_bytes + type: object + path_prefix: + type: string + proto: + enum: + - http + - grpc + type: string + protocol_version: + description: ProtocolVersion is the envoy api transport protocol version + enum: + - v2 + - v3 + type: string + stats_name: + type: string + status_on_error: + properties: + code: + type: integer + type: object + timeout_ms: + type: integer + tls: + type: string + v2ExplicitTLS: + description: V2ExplicitTLS controls some vanity/stylistic elements + when converting from v3alpha1 to v2. The values in an V2ExplicitTLS + should not in any way affect the runtime operation of Emissary; + except that it may affect internal names in the Envoy config, which + may in turn affect stats names. But it should not affect any end-user + observable behavior. + properties: + serviceScheme: + description: "ServiceScheme specifies how to spell and capitalize + the scheme-part of the service URL. \n Acceptable values are + \"http://\" (case-insensitive), \"https://\" (case-insensitive), + or \"\". The value is used if it agrees with whether or not + this resource enables TLS origination, or if something else + in the resource overrides the scheme." + pattern: ^([hH][tT][tT][pP][sS]?://)?$ + type: string + tls: + description: "TLS controls whether and how to represent the \"tls\" + field when its value could be implied by the \"service\" field. + \ In v2, there were a lot of different ways to spell an \"empty\" + value, and this field specifies which way to spell it (and will + therefore only be used if the value will indeed be empty). \n + | Value | Representation | Meaning + of representation | |--------------+---------------------------------------+------------------------------------| + | \"\" | omit the field | defer + to service (no TLSContext) | | \"null\" | store an explicit + \"null\" in the field | defer to service (no TLSContext) | + | \"string\" | store an empty string in the field | defer + to service (no TLSContext) | | \"bool:false\" | store a Boolean + \"false\" in the field | defer to service (no TLSContext) | + | \"bool:true\" | store a Boolean \"true\" in the field | + originate TLS (no TLSContext) | \n If the meaning of the + representation contradicts anything else (if a TLSContext is + to be used, or in the case of \"bool:true\" if TLS is not to + be originated), then this field is ignored." + enum: + - "" + - "null" + - bool:true + - bool:false + - string + type: string + type: object + required: + - auth_service + type: object + type: object + served: true + storage: false +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.12.0 + labels: + app.kubernetes.io/instance: emissary-apiext + app.kubernetes.io/managed-by: kubectl_apply_-f_emissary-apiext.yaml + app.kubernetes.io/name: emissary-apiext + app.kubernetes.io/part-of: emissary-apiext + name: consulresolvers.getambassador.io +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: emissary-apiext + namespace: emissary-system + conversionReviewVersions: + - v1 + group: getambassador.io + names: + categories: + - ambassador-crds + kind: ConsulResolver + listKind: ConsulResolverList + plural: consulresolvers + singular: consulresolver + preserveUnknownFields: false + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + description: ConsulResolver is the Schema for the ConsulResolver API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ConsulResolver tells Ambassador to use Consul to resolve + services. In addition to the AmbassadorID, it needs information about + which Consul server and DC to use. + properties: + address: + type: string + datacenter: + type: string + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + served: true + storage: false + - name: v2 + schema: + openAPIV3Schema: + description: ConsulResolver is the Schema for the ConsulResolver API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ConsulResolver tells Ambassador to use Consul to resolve + services. In addition to the AmbassadorID, it needs information about + which Consul server and DC to use. + properties: + address: + type: string + datacenter: + type: string + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + served: true + storage: true + - name: v3alpha1 + schema: + openAPIV3Schema: + description: ConsulResolver is the Schema for the ConsulResolver API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ConsulResolver tells Ambassador to use Consul to resolve + services. In addition to the AmbassadorID, it needs information about + which Consul server and DC to use. + properties: + address: + type: string + ambassador_id: + description: "AmbassadorID declares which Ambassador instances should + pay attention to this resource. If no value is provided, the default + is: \n ambassador_id: - \"default\"" + items: + type: string + type: array + datacenter: + type: string + type: object + type: object + served: true + storage: false +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.12.0 + labels: + app.kubernetes.io/instance: emissary-apiext + app.kubernetes.io/managed-by: kubectl_apply_-f_emissary-apiext.yaml + app.kubernetes.io/name: emissary-apiext + app.kubernetes.io/part-of: emissary-apiext + name: devportals.getambassador.io +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: emissary-apiext + namespace: emissary-system + conversionReviewVersions: + - v1 + group: getambassador.io + names: + categories: + - ambassador-crds + kind: DevPortal + listKind: DevPortalList + plural: devportals + singular: devportal + preserveUnknownFields: false + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + description: "DevPortal is the Schema for the DevPortals API \n DevPortal + resources specify the `what` and `how` is shown in a DevPortal: \n 1. `what` + is in a DevPortal can be controlled with \n - a `selector`, that can be + used for filtering `Mappings`. \n - a `docs` listing of (services, url) + \n 2. `how` is a pointer to some `contents` (a checkout of a Git repository + with go-templates/markdown/css). \n Multiple `DevPortal`s can exist in the + cluster, and the Dev Portal server will show them at different endpoints. + A `DevPortal` resource with a special name, `ambassador`, will be used for + configuring the default Dev Portal (served at `/docs/` by default)." + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DevPortalSpec defines the desired state of DevPortal + properties: + content: + description: Content specifies where the content shown in the DevPortal + come from + properties: + branch: + type: string + dir: + type: string + url: + type: string + type: object + default: + description: Default must be true when this is the default DevPortal + type: boolean + docs: + description: Docs is a static docs definition + items: + description: 'DevPortalDocsSpec is a static documentation definition: + instead of using a Selector for finding documentation for services, + users can provide a static list of : tuples. These + services will be shown in the Dev Portal with the documentation + obtained from this URL.' + properties: + service: + description: Service is the service being documented + type: string + timeout_ms: + description: Timeout specifies the amount of time devportal + will wait for the downstream service to report an openapi + spec back + type: integer + url: + description: URL is the URL used for obtaining docs + type: string + type: object + type: array + naming_scheme: + description: Describes how to display "services" in the DevPortal. + Default namespace.name + enum: + - namespace.name + - name.prefix + type: string + preserve_servers: + description: Configures this DevPortal to use server definitions from + the openAPI doc instead of rewriting them based on the url used + for the connection. + type: boolean + search: + description: DevPortalSearchSpec allows configuration over search + functionality for the DevPortal + properties: + enabled: + type: boolean + type: + description: 'Type of search. "title-only" does a fuzzy search + over openapi and page titles "all-content" will fuzzy search + over all openapi and page content. "title-only" is the default. + warning: using all-content may incur a larger memory footprint' + enum: + - title-only + - all-content + type: string + type: object + selector: + description: Selector is used for choosing what is shown in the DevPortal + properties: + matchLabels: + additionalProperties: + type: string + description: MatchLabels specifies the list of labels that must + be present in Mappings for being present in this DevPortal. + type: object + matchNamespaces: + description: MatchNamespaces is a list of namespaces that will + be included in this DevPortal. + items: + type: string + type: array + type: object + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + served: true + storage: false + - name: v2 + schema: + openAPIV3Schema: + description: "DevPortal is the Schema for the DevPortals API \n DevPortal + resources specify the `what` and `how` is shown in a DevPortal: \n 1. `what` + is in a DevPortal can be controlled with \n - a `selector`, that can be + used for filtering `Mappings`. \n - a `docs` listing of (services, url) + \n 2. `how` is a pointer to some `contents` (a checkout of a Git repository + with go-templates/markdown/css). \n Multiple `DevPortal`s can exist in the + cluster, and the Dev Portal server will show them at different endpoints. + A `DevPortal` resource with a special name, `ambassador`, will be used for + configuring the default Dev Portal (served at `/docs/` by default)." + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DevPortalSpec defines the desired state of DevPortal + properties: + content: + description: Content specifies where the content shown in the DevPortal + come from + properties: + branch: + type: string + dir: + type: string + url: + type: string + type: object + default: + description: Default must be true when this is the default DevPortal + type: boolean + docs: + description: Docs is a static docs definition + items: + description: 'DevPortalDocsSpec is a static documentation definition: + instead of using a Selector for finding documentation for services, + users can provide a static list of : tuples. These + services will be shown in the Dev Portal with the documentation + obtained from this URL.' + properties: + service: + description: Service is the service being documented + type: string + timeout_ms: + description: Timeout specifies the amount of time devportal + will wait for the downstream service to report an openapi + spec back + type: integer + url: + description: URL is the URL used for obtaining docs + type: string + type: object + type: array + naming_scheme: + description: Describes how to display "services" in the DevPortal. + Default namespace.name + enum: + - namespace.name + - name.prefix + type: string + preserve_servers: + description: Configures this DevPortal to use server definitions from + the openAPI doc instead of rewriting them based on the url used + for the connection. + type: boolean + search: + description: DevPortalSearchSpec allows configuration over search + functionality for the DevPortal + properties: + enabled: + type: boolean + type: + description: 'Type of search. "title-only" does a fuzzy search + over openapi and page titles "all-content" will fuzzy search + over all openapi and page content. "title-only" is the default. + warning: using all-content may incur a larger memory footprint' + enum: + - title-only + - all-content + type: string + type: object + selector: + description: Selector is used for choosing what is shown in the DevPortal + properties: + matchLabels: + additionalProperties: + type: string + description: MatchLabels specifies the list of labels that must + be present in Mappings for being present in this DevPortal. + type: object + matchNamespaces: + description: MatchNamespaces is a list of namespaces that will + be included in this DevPortal. + items: + type: string + type: array + type: object + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + served: true + storage: true + - name: v3alpha1 + schema: + openAPIV3Schema: + description: "DevPortal is the Schema for the DevPortals API \n DevPortal + resources specify the `what` and `how` is shown in a DevPortal: \n 1. `what` + is in a DevPortal can be controlled with \n - a `selector`, that can be + used for filtering `Mappings`. \n - a `docs` listing of (services, url) + \n 2. `how` is a pointer to some `contents` (a checkout of a Git repository + with go-templates/markdown/css). \n Multiple `DevPortal`s can exist in the + cluster, and the Dev Portal server will show them at different endpoints. + A `DevPortal` resource with a special name, `ambassador`, will be used for + configuring the default Dev Portal (served at `/docs/` by default)." + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DevPortalSpec defines the desired state of DevPortal + properties: + ambassador_id: + description: "AmbassadorID declares which Ambassador instances should + pay attention to this resource. If no value is provided, the default + is: \n ambassador_id: - \"default\"" + items: + type: string + type: array + content: + description: Content specifies where the content shown in the DevPortal + come from + properties: + branch: + type: string + dir: + type: string + url: + type: string + type: object + default: + description: Default must be true when this is the default DevPortal + type: boolean + docs: + description: Docs is a static docs definition + items: + description: 'DevPortalDocsSpec is a static documentation definition: + instead of using a Selector for finding documentation for services, + users can provide a static list of : tuples. These + services will be shown in the Dev Portal with the documentation + obtained from this URL.' + properties: + service: + description: Service is the service being documented + type: string + timeout_ms: + description: Timeout specifies the amount of time devportal + will wait for the downstream service to report an openapi + spec back + type: integer + url: + description: URL is the URL used for obtaining docs + type: string + type: object + type: array + naming_scheme: + description: Describes how to display "services" in the DevPortal. + Default namespace.name + enum: + - namespace.name + - name.prefix + type: string + preserve_servers: + description: Configures this DevPortal to use server definitions from + the openAPI doc instead of rewriting them based on the url used + for the connection. + type: boolean + search: + description: DevPortalSearchSpec allows configuration over search + functionality for the DevPortal + properties: + enabled: + type: boolean + type: + description: 'Type of search. "title-only" does a fuzzy search + over openapi and page titles "all-content" will fuzzy search + over all openapi and page content. "title-only" is the default. + warning: using all-content may incur a larger memory footprint' + enum: + - title-only + - all-content + type: string + type: object + selector: + description: Selector is used for choosing what is shown in the DevPortal + properties: + matchLabels: + additionalProperties: + type: string + description: MatchLabels specifies the list of labels that must + be present in Mappings for being present in this DevPortal. + type: object + matchNamespaces: + description: MatchNamespaces is a list of namespaces that will + be included in this DevPortal. + items: + type: string + type: array + type: object + type: object + type: object + served: true + storage: false +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.12.0 + labels: + app.kubernetes.io/instance: emissary-apiext + app.kubernetes.io/managed-by: kubectl_apply_-f_emissary-apiext.yaml + app.kubernetes.io/name: emissary-apiext + app.kubernetes.io/part-of: emissary-apiext + name: hosts.getambassador.io +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: emissary-apiext + namespace: emissary-system + conversionReviewVersions: + - v1 + group: getambassador.io + names: + categories: + - ambassador-crds + kind: Host + listKind: HostList + plural: hosts + singular: host + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.hostname + name: Hostname + type: string + - jsonPath: .status.state + name: State + type: string + - jsonPath: .status.phaseCompleted + name: Phase Completed + type: string + - jsonPath: .status.phasePending + name: Phase Pending + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v2 + schema: + openAPIV3Schema: + description: Host is the Schema for the hosts API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: HostSpec defines the desired state of Host + properties: + acmeProvider: + description: Specifies whether/who to talk ACME with to automatically + manage the $tlsSecret. + properties: + authority: + description: Specifies who to talk ACME with to get certs. Defaults + to Let's Encrypt; if "none" (case-insensitive), do not try to + do ACME for this Host. + type: string + email: + type: string + privateKeySecret: + description: "Specifies the Kubernetes Secret to use to store + the private key of the ACME account (essentially, where to store + the auto-generated password for the auto-created ACME account). + \ You should not normally need to set this--the default value + is based on a combination of the ACME authority being registered + wit and the email address associated with the account. \n Note + that this is a native-Kubernetes-style core.v1.LocalObjectReference, + not an Ambassador-style `{name}.{namespace}` string. Because + we're opinionated, it does not support referencing a Secret + in another namespace (because most native Kubernetes resources + don't support that), but if we ever abandon that opinion and + decide to support non-local references it, it would be by adding + a `namespace:` field by changing it from a core.v1.LocalObjectReference + to a core.v1.SecretReference, not by adopting the `{name}.{namespace}` + notation." + properties: + name: + description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid?' + type: string + type: object + x-kubernetes-map-type: atomic + registration: + description: This is normally set automatically + type: string + type: object + hostname: + description: Hostname by which the Ambassador can be reached. + type: string + previewUrl: + description: Configuration for the Preview URL feature of Service + Preview. Defaults to preview URLs not enabled. + properties: + enabled: + description: Is the Preview URL feature enabled? + type: boolean + type: + description: What type of Preview URL is allowed? + enum: + - Path + type: string + type: object + requestPolicy: + description: Request policy definition. + properties: + insecure: + properties: + action: + enum: + - Redirect + - Reject + - Route + type: string + additionalPort: + type: integer + type: object + type: object + selector: + description: Selector by which we can find further configuration. + Defaults to hostname=$hostname + properties: + matchExpressions: + description: matchExpressions is a list of label selector requirements. + The requirements are ANDed. + items: + description: A label selector requirement is a selector that + contains values, a key, and an operator that relates the key + and values. + properties: + key: + description: key is the label key that the selector applies + to. + type: string + operator: + description: operator represents a key's relationship to + a set of values. Valid operators are In, NotIn, Exists + and DoesNotExist. + type: string + values: + description: values is an array of string values. If the + operator is In or NotIn, the values array must be non-empty. + If the operator is Exists or DoesNotExist, the values + array must be empty. This array is replaced during a strategic + merge patch. + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + description: matchLabels is a map of {key,value} pairs. A single + {key,value} in the matchLabels map is equivalent to an element + of matchExpressions, whose key field is "key", the operator + is "In", and the values array contains only "value". The requirements + are ANDed. + type: object + type: object + x-kubernetes-map-type: atomic + tls: + description: TLS configuration. It is not valid to specify both `tlsContext` + and `tls`. + properties: + alpn_protocols: + type: string + ca_secret: + type: string + cacert_chain_file: + type: string + cert_chain_file: + type: string + cert_required: + type: boolean + cipher_suites: + items: + type: string + type: array + ecdh_curves: + items: + type: string + type: array + max_tls_version: + type: string + min_tls_version: + type: string + private_key_file: + type: string + redirect_cleartext_from: + type: integer + sni: + type: string + v3CRLSecret: + type: string + type: object + tlsContext: + description: "Name of the TLSContext the Host resource is linked with. + It is not valid to specify both `tlsContext` and `tls`. \n Note + that this is a native-Kubernetes-style core.v1.LocalObjectReference, + not an Ambassador-style `{name}.{namespace}` string. Because we're + opinionated, it does not support referencing a Secret in another + namespace (because most native Kubernetes resources don't support + that), but if we ever abandon that opinion and decide to support + non-local references it, it would be by adding a `namespace:` field + by changing it from a core.v1.LocalObjectReference to a core.v1.SecretReference, + not by adopting the `{name}.{namespace}` notation." + properties: + name: + description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid?' + type: string + type: object + x-kubernetes-map-type: atomic + tlsSecret: + description: Name of the Kubernetes secret into which to save generated + certificates. If ACME is enabled (see $acmeProvider), then the + default is $hostname; otherwise the default is "". If the value + is "", then we do not do TLS for this Host. + properties: + name: + description: name is unique within a namespace to reference a + secret resource. + type: string + namespace: + description: namespace defines the space within which the secret + name must be unique. + type: string + type: object + x-kubernetes-map-type: atomic + type: object + x-kubernetes-preserve-unknown-fields: true + status: + description: HostStatus defines the observed state of Host + properties: + errorBackoff: + type: string + errorReason: + description: errorReason, errorTimestamp, and errorBackoff are valid + when state==Error. + type: string + errorTimestamp: + format: date-time + type: string + phaseCompleted: + description: phaseCompleted and phasePending are valid when state==Pending + or state==Error. + enum: + - NA + - DefaultsFilled + - ACMEUserPrivateKeyCreated + - ACMEUserRegistered + - ACMECertificateChallenge + type: string + phasePending: + description: phaseCompleted and phasePending are valid when state==Pending + or state==Error. + enum: + - NA + - DefaultsFilled + - ACMEUserPrivateKeyCreated + - ACMEUserRegistered + - ACMECertificateChallenge + type: string + state: + enum: + - Initial + - Pending + - Ready + - Error + type: string + tlsCertificateSource: + enum: + - Unknown + - None + - Other + - ACME + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} + - additionalPrinterColumns: + - jsonPath: .spec.hostname + name: Hostname + type: string + - jsonPath: .status.state + name: State + type: string + - jsonPath: .status.phaseCompleted + name: Phase Completed + type: string + - jsonPath: .status.phasePending + name: Phase Pending + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v3alpha1 + schema: + openAPIV3Schema: + description: Host is the Schema for the hosts API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: HostSpec defines the desired state of Host + properties: + acmeProvider: + description: Specifies whether/who to talk ACME with to automatically + manage the $tlsSecret. + properties: + authority: + description: Specifies who to talk ACME with to get certs. Defaults + to Let's Encrypt; if "none" (case-insensitive), do not try to + do ACME for this Host. + type: string + email: + type: string + privateKeySecret: + description: "Specifies the Kubernetes Secret to use to store + the private key of the ACME account (essentially, where to store + the auto-generated password for the auto-created ACME account). + \ You should not normally need to set this--the default value + is based on a combination of the ACME authority being registered + wit and the email address associated with the account. \n Note + that this is a native-Kubernetes-style core.v1.LocalObjectReference, + not an Ambassador-style `{name}.{namespace}` string. Because + we're opinionated, it does not support referencing a Secret + in another namespace (because most native Kubernetes resources + don't support that), but if we ever abandon that opinion and + decide to support non-local references it, it would be by adding + a `namespace:` field by changing it from a core.v1.LocalObjectReference + to a core.v1.SecretReference, not by adopting the `{name}.{namespace}` + notation." + properties: + name: + description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid?' + type: string + type: object + x-kubernetes-map-type: atomic + registration: + description: This is normally set automatically + type: string + type: object + ambassador_id: + description: Common to all Ambassador objects (and optional). + items: + type: string + type: array + hostname: + description: Hostname by which the Ambassador can be reached. + type: string + mappingSelector: + description: Selector for Mappings we'll associate with this Host. + At the moment, Selector and MappingSelector are synonyms, but that + will change soon. + properties: + matchExpressions: + description: matchExpressions is a list of label selector requirements. + The requirements are ANDed. + items: + description: A label selector requirement is a selector that + contains values, a key, and an operator that relates the key + and values. + properties: + key: + description: key is the label key that the selector applies + to. + type: string + operator: + description: operator represents a key's relationship to + a set of values. Valid operators are In, NotIn, Exists + and DoesNotExist. + type: string + values: + description: values is an array of string values. If the + operator is In or NotIn, the values array must be non-empty. + If the operator is Exists or DoesNotExist, the values + array must be empty. This array is replaced during a strategic + merge patch. + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + description: matchLabels is a map of {key,value} pairs. A single + {key,value} in the matchLabels map is equivalent to an element + of matchExpressions, whose key field is "key", the operator + is "In", and the values array contains only "value". The requirements + are ANDed. + type: object + type: object + x-kubernetes-map-type: atomic + previewUrl: + description: Configuration for the Preview URL feature of Service + Preview. Defaults to preview URLs not enabled. + properties: + enabled: + description: Is the Preview URL feature enabled? + type: boolean + type: + description: What type of Preview URL is allowed? + enum: + - Path + type: string + type: object + requestPolicy: + description: Request policy definition. + properties: + insecure: + properties: + action: + enum: + - Redirect + - Reject + - Route + type: string + additionalPort: + type: integer + type: object + type: object + selector: + description: 'DEPRECATED: Selector by which we can find further configuration. + Use MappingSelector instead.' + properties: + matchExpressions: + description: matchExpressions is a list of label selector requirements. + The requirements are ANDed. + items: + description: A label selector requirement is a selector that + contains values, a key, and an operator that relates the key + and values. + properties: + key: + description: key is the label key that the selector applies + to. + type: string + operator: + description: operator represents a key's relationship to + a set of values. Valid operators are In, NotIn, Exists + and DoesNotExist. + type: string + values: + description: values is an array of string values. If the + operator is In or NotIn, the values array must be non-empty. + If the operator is Exists or DoesNotExist, the values + array must be empty. This array is replaced during a strategic + merge patch. + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + description: matchLabels is a map of {key,value} pairs. A single + {key,value} in the matchLabels map is equivalent to an element + of matchExpressions, whose key field is "key", the operator + is "In", and the values array contains only "value". The requirements + are ANDed. + type: object + type: object + x-kubernetes-map-type: atomic + tls: + description: TLS configuration. It is not valid to specify both `tlsContext` + and `tls`. + properties: + alpn_protocols: + type: string + ca_secret: + type: string + cacert_chain_file: + type: string + cert_chain_file: + type: string + cert_required: + type: boolean + cipher_suites: + items: + type: string + type: array + crl_secret: + type: string + ecdh_curves: + items: + type: string + type: array + max_tls_version: + type: string + min_tls_version: + type: string + private_key_file: + type: string + redirect_cleartext_from: + type: integer + sni: + type: string + type: object + tlsContext: + description: "Name of the TLSContext the Host resource is linked with. + It is not valid to specify both `tlsContext` and `tls`. \n Note + that this is a native-Kubernetes-style core.v1.LocalObjectReference, + not an Ambassador-style `{name}.{namespace}` string. Because we're + opinionated, it does not support referencing a Secret in another + namespace (because most native Kubernetes resources don't support + that), but if we ever abandon that opinion and decide to support + non-local references it, it would be by adding a `namespace:` field + by changing it from a core.v1.LocalObjectReference to a core.v1.SecretReference, + not by adopting the `{name}.{namespace}` notation." + properties: + name: + description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid?' + type: string + type: object + x-kubernetes-map-type: atomic + tlsSecret: + description: Name of the Kubernetes secret into which to save generated + certificates. If ACME is enabled (see $acmeProvider), then the + default is $hostname; otherwise the default is "". If the value + is "", then we do not do TLS for this Host. + properties: + name: + description: name is unique within a namespace to reference a + secret resource. + type: string + namespace: + description: namespace defines the space within which the secret + name must be unique. + type: string + type: object + x-kubernetes-map-type: atomic + type: object + status: + description: HostStatus defines the observed state of Host + properties: + errorBackoff: + type: string + errorReason: + description: errorReason, errorTimestamp, and errorBackoff are valid + when state==Error. + type: string + errorTimestamp: + format: date-time + type: string + phaseCompleted: + description: phaseCompleted and phasePending are valid when state==Pending + or state==Error. + enum: + - NA + - DefaultsFilled + - ACMEUserPrivateKeyCreated + - ACMEUserRegistered + - ACMECertificateChallenge + type: string + phasePending: + description: phaseCompleted and phasePending are valid when state==Pending + or state==Error. + enum: + - NA + - DefaultsFilled + - ACMEUserPrivateKeyCreated + - ACMEUserRegistered + - ACMECertificateChallenge + type: string + state: + enum: + - Initial + - Pending + - Ready + - Error + type: string + tlsCertificateSource: + enum: + - Unknown + - None + - Other + - ACME + type: string + type: object + type: object + served: true + storage: false + subresources: + status: {} +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.12.0 + labels: + app.kubernetes.io/instance: emissary-apiext + app.kubernetes.io/managed-by: kubectl_apply_-f_emissary-apiext.yaml + app.kubernetes.io/name: emissary-apiext + app.kubernetes.io/part-of: emissary-apiext + name: kubernetesendpointresolvers.getambassador.io +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: emissary-apiext + namespace: emissary-system + conversionReviewVersions: + - v1 + group: getambassador.io + names: + categories: + - ambassador-crds + kind: KubernetesEndpointResolver + listKind: KubernetesEndpointResolverList + plural: kubernetesendpointresolvers + singular: kubernetesendpointresolver + preserveUnknownFields: false + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + description: KubernetesEndpointResolver is the Schema for the kubernetesendpointresolver + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: KubernetesEndpointResolver tells Ambassador to use Kubernetes + Endpoints resources to resolve services. It actually has no spec other + than the AmbassadorID. + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + served: true + storage: false + - name: v2 + schema: + openAPIV3Schema: + description: KubernetesEndpointResolver is the Schema for the kubernetesendpointresolver + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: KubernetesEndpointResolver tells Ambassador to use Kubernetes + Endpoints resources to resolve services. It actually has no spec other + than the AmbassadorID. + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + served: true + storage: true + - name: v3alpha1 + schema: + openAPIV3Schema: + description: KubernetesEndpointResolver is the Schema for the kubernetesendpointresolver + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: KubernetesEndpointResolver tells Ambassador to use Kubernetes + Endpoints resources to resolve services. It actually has no spec other + than the AmbassadorID. + properties: + ambassador_id: + description: "AmbassadorID declares which Ambassador instances should + pay attention to this resource. If no value is provided, the default + is: \n ambassador_id: - \"default\"" + items: + type: string + type: array + type: object + type: object + served: true + storage: false +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.12.0 + labels: + app.kubernetes.io/instance: emissary-apiext + app.kubernetes.io/managed-by: kubectl_apply_-f_emissary-apiext.yaml + app.kubernetes.io/name: emissary-apiext + app.kubernetes.io/part-of: emissary-apiext + name: kubernetesserviceresolvers.getambassador.io +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: emissary-apiext + namespace: emissary-system + conversionReviewVersions: + - v1 + group: getambassador.io + names: + categories: + - ambassador-crds + kind: KubernetesServiceResolver + listKind: KubernetesServiceResolverList + plural: kubernetesserviceresolvers + singular: kubernetesserviceresolver + preserveUnknownFields: false + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + description: KubernetesServiceResolver is the Schema for the kubernetesserviceresolver + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: KubernetesServiceResolver tells Ambassador to use Kubernetes + Service resources to resolve services. It actually has no spec other + than the AmbassadorID. + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + served: true + storage: false + - name: v2 + schema: + openAPIV3Schema: + description: KubernetesServiceResolver is the Schema for the kubernetesserviceresolver + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: KubernetesServiceResolver tells Ambassador to use Kubernetes + Service resources to resolve services. It actually has no spec other + than the AmbassadorID. + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + served: true + storage: true + - name: v3alpha1 + schema: + openAPIV3Schema: + description: KubernetesServiceResolver is the Schema for the kubernetesserviceresolver + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: KubernetesServiceResolver tells Ambassador to use Kubernetes + Service resources to resolve services. It actually has no spec other + than the AmbassadorID. + properties: + ambassador_id: + description: "AmbassadorID declares which Ambassador instances should + pay attention to this resource. If no value is provided, the default + is: \n ambassador_id: - \"default\"" + items: + type: string + type: array + type: object + type: object + served: true + storage: false +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.12.0 + labels: + app.kubernetes.io/instance: emissary-apiext + app.kubernetes.io/managed-by: kubectl_apply_-f_emissary-apiext.yaml + app.kubernetes.io/name: emissary-apiext + app.kubernetes.io/part-of: emissary-apiext + name: listeners.getambassador.io +spec: + group: getambassador.io + names: + categories: + - ambassador-crds + kind: Listener + listKind: ListenerList + plural: listeners + singular: listener + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.port + name: Port + type: string + - jsonPath: .spec.protocol + name: Protocol + type: string + - jsonPath: .spec.protocolStack + name: Stack + type: string + - jsonPath: .spec.statsPrefix + name: StatsPrefix + type: string + - jsonPath: .spec.securityModel + name: Security + type: string + - jsonPath: .spec.l7Depth + name: L7Depth + type: string + name: v3alpha1 + schema: + openAPIV3Schema: + description: Listener is the Schema for the hosts API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ListenerSpec defines the desired state of this Port + properties: + ambassador_id: + description: "AmbassadorID declares which Ambassador instances should + pay attention to this resource. If no value is provided, the default + is: \n ambassador_id: - \"default\"" + items: + type: string + type: array + hostBinding: + description: HostBinding allows restricting which Hosts will be used + for this Listener. + properties: + namespace: + description: NamespaceBindingType defines we we specify which + namespaces to look for Hosts in. + properties: + from: + description: NamespaceFromType defines how we evaluate a NamespaceBindingType. + enum: + - SELF + - ALL + - SELECTOR + type: string + type: object + selector: + description: A label selector is a label query over a set of resources. + The result of matchLabels and matchExpressions are ANDed. An + empty label selector matches all objects. A null label selector + matches no objects. + properties: + matchExpressions: + description: matchExpressions is a list of label selector + requirements. The requirements are ANDed. + items: + description: A label selector requirement is a selector + that contains values, a key, and an operator that relates + the key and values. + properties: + key: + description: key is the label key that the selector + applies to. + type: string + operator: + description: operator represents a key's relationship + to a set of values. Valid operators are In, NotIn, + Exists and DoesNotExist. + type: string + values: + description: values is an array of string values. If + the operator is In or NotIn, the values array must + be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced + during a strategic merge patch. + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + description: matchLabels is a map of {key,value} pairs. A + single {key,value} in the matchLabels map is equivalent + to an element of matchExpressions, whose key field is "key", + the operator is "In", and the values array contains only + "value". The requirements are ANDed. + type: object + type: object + x-kubernetes-map-type: atomic + type: object + l7Depth: + description: L7Depth specifies how many layer 7 load balancers are + between us and the edge of the network. + format: int32 + type: integer + port: + description: Port is the network port. Only one Listener can use a + given port. + format: int32 + maximum: 65535 + minimum: 1 + type: integer + protocol: + description: Protocol is a shorthand for certain predefined stacks. + Exactly one of Protocol or ProtocolStack must be supplied. + enum: + - HTTP + - HTTPS + - HTTPPROXY + - HTTPSPROXY + - TCP + - TLS + - UDP + type: string + protocolStack: + description: ProtocolStack explicitly specifies the protocol stack + to set up. Exactly one of Protocol or ProtocolStack must be supplied. + items: + description: ProtocolStackElement defines specific layers that may + be combined in a protocol stack for processing connections to + a port. + enum: + - HTTP + - PROXY + - TLS + - TCP + - UDP + type: string + type: array + securityModel: + description: SecurityModel specifies how to determine whether connections + to this port are secure or insecure. + enum: + - XFP + - SECURE + - INSECURE + type: string + statsPrefix: + description: 'StatsPrefix specifies the prefix for statistics sent + by Envoy about this Listener. The default depends on the protocol: + "ingress-http", "ingress-https", "ingress-tls-$port", or "ingress-$port".' + type: string + required: + - hostBinding + - port + - securityModel + type: object + type: object + served: true + storage: true + subresources: {} +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.12.0 + labels: + app.kubernetes.io/instance: emissary-apiext + app.kubernetes.io/managed-by: kubectl_apply_-f_emissary-apiext.yaml + app.kubernetes.io/name: emissary-apiext + app.kubernetes.io/part-of: emissary-apiext + name: logservices.getambassador.io +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: emissary-apiext + namespace: emissary-system + conversionReviewVersions: + - v1 + group: getambassador.io + names: + categories: + - ambassador-crds + kind: LogService + listKind: LogServiceList + plural: logservices + singular: logservice + preserveUnknownFields: false + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + description: LogService is the Schema for the logservices API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: LogServiceSpec defines the desired state of LogService + properties: + driver: + enum: + - tcp + - http + type: string + driver_config: + properties: + additional_log_headers: + items: + properties: + during_request: + type: boolean + during_response: + type: boolean + during_trailer: + type: boolean + header_name: + type: string + type: object + type: array + type: object + flush_interval_byte_size: + type: integer + flush_interval_time: + type: integer + grpc: + type: boolean + service: + type: string + v3ProtocolVersion: + enum: + - v2 + - v3 + type: string + v3StatsName: + type: string + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + served: true + storage: false + - name: v2 + schema: + openAPIV3Schema: + description: LogService is the Schema for the logservices API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: LogServiceSpec defines the desired state of LogService + properties: + driver: + enum: + - tcp + - http + type: string + driver_config: + properties: + additional_log_headers: + items: + properties: + during_request: + type: boolean + during_response: + type: boolean + during_trailer: + type: boolean + header_name: + type: string + type: object + type: array + type: object + flush_interval_byte_size: + type: integer + flush_interval_time: + type: integer + grpc: + type: boolean + service: + type: string + v3ProtocolVersion: + enum: + - v2 + - v3 + type: string + v3StatsName: + type: string + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + served: true + storage: true + - name: v3alpha1 + schema: + openAPIV3Schema: + description: LogService is the Schema for the logservices API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: LogServiceSpec defines the desired state of LogService + properties: + ambassador_id: + description: "AmbassadorID declares which Ambassador instances should + pay attention to this resource. If no value is provided, the default + is: \n ambassador_id: - \"default\"" + items: + type: string + type: array + driver: + enum: + - tcp + - http + type: string + driver_config: + properties: + additional_log_headers: + items: + properties: + during_request: + type: boolean + during_response: + type: boolean + during_trailer: + type: boolean + header_name: + type: string + type: object + type: array + type: object + flush_interval_byte_size: + type: integer + flush_interval_time: + type: integer + grpc: + type: boolean + protocol_version: + description: ProtocolVersion is the envoy api transport protocol version + enum: + - v2 + - v3 + type: string + service: + type: string + stats_name: + type: string + type: object + type: object + served: true + storage: false +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.12.0 + labels: + app.kubernetes.io/instance: emissary-apiext + app.kubernetes.io/managed-by: kubectl_apply_-f_emissary-apiext.yaml + app.kubernetes.io/name: emissary-apiext + app.kubernetes.io/part-of: emissary-apiext + name: mappings.getambassador.io +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: emissary-apiext + namespace: emissary-system + conversionReviewVersions: + - v1 + group: getambassador.io + names: + categories: + - ambassador-crds + kind: Mapping + listKind: MappingList + plural: mappings + singular: mapping + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.host + name: Source Host + type: string + - jsonPath: .spec.prefix + name: Source Prefix + type: string + - jsonPath: .spec.service + name: Dest Service + type: string + - jsonPath: .status.state + name: State + type: string + - jsonPath: .status.reason + name: Reason + type: string + name: v1 + schema: + openAPIV3Schema: + description: Mapping is the Schema for the mappings API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: MappingSpec defines the desired state of Mapping + properties: + add_linkerd_headers: + type: boolean + add_request_headers: + type: object + x-kubernetes-preserve-unknown-fields: true + add_response_headers: + type: object + x-kubernetes-preserve-unknown-fields: true + allow_upgrade: + description: "A case-insensitive list of the non-HTTP protocols to + allow \"upgrading\" to from HTTP via the \"Connection: upgrade\" + mechanism[1]. After the upgrade, Ambassador does not interpret + the traffic, and behaves similarly to how it does for TCPMappings. + \n [1]: https://tools.ietf.org/html/rfc7230#section-6.7 \n For example, + if your upstream service supports WebSockets, you would write \n + allow_upgrade: - websocket \n Or if your upstream service supports + upgrading from HTTP to SPDY (as the Kubernetes apiserver does for + `kubectl exec` functionality), you would write \n allow_upgrade: + - spdy/3.1" + items: + type: string + type: array + auth_context_extensions: + additionalProperties: + type: string + type: object + auto_host_rewrite: + type: boolean + bypass_auth: + type: boolean + bypass_error_response_overrides: + description: If true, bypasses any `error_response_overrides` set + on the Ambassador module. + type: boolean + case_sensitive: + type: boolean + circuit_breakers: + items: + properties: + max_connections: + type: integer + max_pending_requests: + type: integer + max_requests: + type: integer + max_retries: + type: integer + priority: + enum: + - default + - high + type: string + type: object + type: array + cluster_idle_timeout_ms: + type: integer + cluster_max_connection_lifetime_ms: + type: integer + cluster_tag: + type: string + connect_timeout_ms: + type: integer + cors: + properties: + credentials: + type: boolean + max_age: + type: string + type: object + x-kubernetes-preserve-unknown-fields: true + dns_type: + type: string + docs: + description: DocsInfo provides some extra information about the docs + for the Mapping (used by the Dev Portal) + properties: + display_name: + type: string + ignored: + type: boolean + path: + type: string + timeout_ms: + type: integer + url: + type: string + type: object + enable_ipv4: + type: boolean + enable_ipv6: + type: boolean + envoy_override: + type: object + x-kubernetes-preserve-unknown-fields: true + error_response_overrides: + description: Error response overrides for this Mapping. Replaces all + of the `error_response_overrides` set on the Ambassador module, + if any. + items: + description: A response rewrite for an HTTP error response + properties: + body: + description: The new response body + properties: + content_type: + description: The content type to set on the error response + body when using text_format or text_format_source. Defaults + to 'text/plain'. + type: string + json_format: + additionalProperties: + type: string + description: 'A JSON response with content-type: application/json. + The values can contain format text like in text_format.' + type: object + text_format: + description: A format string representing a text response + body. Content-Type can be set using the `content_type` + field below. + type: string + text_format_source: + description: A format string sourced from a file on the + Ambassador container. Useful for larger response bodies + that should not be placed inline in configuration. + properties: + filename: + description: The name of a file on the Ambassador pod + that contains a format text string. + type: string + type: object + type: object + on_status_code: + description: The status code to match on -- not a pointer because + it's required. + maximum: 599 + minimum: 400 + type: integer + required: + - body + - on_status_code + type: object + minItems: 1 + type: array + grpc: + type: boolean + headers: + type: object + x-kubernetes-preserve-unknown-fields: true + host: + type: string + host_redirect: + type: boolean + host_regex: + type: boolean + host_rewrite: + type: string + idle_timeout_ms: + type: integer + keepalive: + properties: + idle_time: + type: integer + interval: + type: integer + probes: + type: integer + type: object + labels: + additionalProperties: + description: A MappingLabelGroupsArray is an array of MappingLabelGroups. + I know, complex. + items: + description: 'A MappingLabelGroup is a single element of a MappingLabelGroupsArray: + a second map, where the key is a human-readable name that identifies + the group.' + maxProperties: 1 + minProperties: 1 + type: object + x-kubernetes-preserve-unknown-fields: true + type: array + description: A DomainMap is the overall Mapping.spec.Labels type. + It maps domains (kind of like namespaces for Mapping labels) to + arrays of label groups. + type: object + load_balancer: + properties: + cookie: + properties: + name: + type: string + path: + type: string + ttl: + type: string + required: + - name + type: object + header: + type: string + policy: + enum: + - round_robin + - ring_hash + - maglev + - least_request + type: string + source_ip: + type: boolean + required: + - policy + type: object + method: + type: string + method_regex: + type: boolean + modules: + items: + type: object + x-kubernetes-preserve-unknown-fields: true + type: array + outlier_detection: + type: string + path_redirect: + description: Path replacement to use when generating an HTTP redirect. + Used with `host_redirect`. + type: string + precedence: + type: integer + prefix: + type: string + prefix_exact: + type: boolean + prefix_redirect: + description: Prefix rewrite to use when generating an HTTP redirect. + Used with `host_redirect`. + type: string + prefix_regex: + type: boolean + priority: + type: string + query_parameters: + type: object + x-kubernetes-preserve-unknown-fields: true + redirect_response_code: + description: The response code to use when generating an HTTP redirect. + Defaults to 301. Used with `host_redirect`. + enum: + - 301 + - 302 + - 303 + - 307 + - 308 + type: integer + regex_headers: + additionalProperties: + type: string + type: object + regex_query_parameters: + additionalProperties: + type: string + type: object + regex_redirect: + description: Prefix regex rewrite to use when generating an HTTP redirect. + Used with `host_redirect`. + properties: + pattern: + type: string + substitution: + type: string + type: object + regex_rewrite: + properties: + pattern: + type: string + substitution: + type: string + type: object + resolver: + type: string + respect_dns_ttl: + type: boolean + retry_policy: + properties: + num_retries: + type: integer + per_try_timeout: + type: string + retry_on: + enum: + - 5xx + - gateway-error + - connect-failure + - retriable-4xx + - refused-stream + - retriable-status-codes + type: string + type: object + rewrite: + type: string + service: + type: string + shadow: + type: boolean + timeout_ms: + description: The timeout for requests that use this Mapping. Overrides + `cluster_request_timeout_ms` set on the Ambassador Module, if it + exists. + type: integer + use_websocket: + description: 'use_websocket is deprecated, and is equivlaent to setting + `allow_upgrade: ["websocket"]`' + type: boolean + v3StatsName: + type: string + v3health_checks: + items: + description: HealthCheck specifies settings for performing active + health checking on upstreams + properties: + health_check: + description: Configuration for where the healthcheck request + should be made to + maxProperties: 1 + minProperties: 1 + properties: + grpc: + description: HealthCheck for gRPC upstreams. Only one of + grpc_health_check or http_health_check may be specified + properties: + authority: + description: The value of the :authority header in the + gRPC health check request. If left empty the upstream + name will be used. + type: string + upstream_name: + description: The upstream name parameter which will + be sent to gRPC service in the health check message + type: string + required: + - upstream_name + type: object + http: + description: HealthCheck for HTTP upstreams. Only one of + http_health_check or grpc_health_check may be specified + properties: + add_request_headers: + additionalProperties: + properties: + append: + type: boolean + v2Representation: + enum: + - "" + - string + - "null" + type: string + value: + type: string + type: object + type: object + expected_statuses: + items: + description: A range of response statuses from Start + to End inclusive + properties: + max: + description: End of the statuses to include. Must + be between 100 and 599 (inclusive) + maximum: 599 + minimum: 100 + type: integer + min: + description: Start of the statuses to include. + Must be between 100 and 599 (inclusive) + maximum: 599 + minimum: 100 + type: integer + required: + - max + - min + type: object + type: array + hostname: + type: string + path: + type: string + remove_request_headers: + items: + type: string + type: array + required: + - path + type: object + type: object + healthy_threshold: + description: Number of expected responses for the upstream to + be considered healthy. Defaults to 1. + type: integer + interval: + description: Interval between health checks. Defaults to every + 5 seconds. + type: string + timeout: + description: Timeout for connecting to the health checking endpoint. + Defaults to 3 seconds. + type: string + unhealthy_threshold: + description: Number of non-expected responses for the upstream + to be considered unhealthy. A single 503 will mark the upstream + as unhealthy regardless of the threshold. Defaults to 2. + type: integer + required: + - health_check + type: object + minItems: 1 + type: array + weight: + type: integer + required: + - prefix + - service + type: object + x-kubernetes-preserve-unknown-fields: true + status: + description: MappingStatus defines the observed state of Mapping + properties: + reason: + type: string + state: + enum: + - "" + - Inactive + - Running + type: string + type: object + type: object + served: true + storage: false + subresources: + status: {} + - additionalPrinterColumns: + - jsonPath: .spec.host + name: Source Host + type: string + - jsonPath: .spec.prefix + name: Source Prefix + type: string + - jsonPath: .spec.service + name: Dest Service + type: string + - jsonPath: .status.state + name: State + type: string + - jsonPath: .status.reason + name: Reason + type: string + name: v2 + schema: + openAPIV3Schema: + description: Mapping is the Schema for the mappings API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: MappingSpec defines the desired state of Mapping + properties: + add_linkerd_headers: + type: boolean + add_request_headers: + type: object + x-kubernetes-preserve-unknown-fields: true + add_response_headers: + type: object + x-kubernetes-preserve-unknown-fields: true + allow_upgrade: + description: "A case-insensitive list of the non-HTTP protocols to + allow \"upgrading\" to from HTTP via the \"Connection: upgrade\" + mechanism[1]. After the upgrade, Ambassador does not interpret + the traffic, and behaves similarly to how it does for TCPMappings. + \n [1]: https://tools.ietf.org/html/rfc7230#section-6.7 \n For example, + if your upstream service supports WebSockets, you would write \n + allow_upgrade: - websocket \n Or if your upstream service supports + upgrading from HTTP to SPDY (as the Kubernetes apiserver does for + `kubectl exec` functionality), you would write \n allow_upgrade: + - spdy/3.1" + items: + type: string + type: array + auth_context_extensions: + additionalProperties: + type: string + type: object + auto_host_rewrite: + type: boolean + bypass_auth: + type: boolean + bypass_error_response_overrides: + description: If true, bypasses any `error_response_overrides` set + on the Ambassador module. + type: boolean + case_sensitive: + type: boolean + circuit_breakers: + items: + properties: + max_connections: + type: integer + max_pending_requests: + type: integer + max_requests: + type: integer + max_retries: + type: integer + priority: + enum: + - default + - high + type: string + type: object + type: array + cluster_idle_timeout_ms: + type: integer + cluster_max_connection_lifetime_ms: + type: integer + cluster_tag: + type: string + connect_timeout_ms: + type: integer + cors: + properties: + credentials: + type: boolean + max_age: + type: string + type: object + x-kubernetes-preserve-unknown-fields: true + dns_type: + type: string + docs: + description: DocsInfo provides some extra information about the docs + for the Mapping (used by the Dev Portal) + properties: + display_name: + type: string + ignored: + type: boolean + path: + type: string + timeout_ms: + type: integer + url: + type: string + type: object + enable_ipv4: + type: boolean + enable_ipv6: + type: boolean + envoy_override: + type: object + x-kubernetes-preserve-unknown-fields: true + error_response_overrides: + description: Error response overrides for this Mapping. Replaces all + of the `error_response_overrides` set on the Ambassador module, + if any. + items: + description: A response rewrite for an HTTP error response + properties: + body: + description: The new response body + properties: + content_type: + description: The content type to set on the error response + body when using text_format or text_format_source. Defaults + to 'text/plain'. + type: string + json_format: + additionalProperties: + type: string + description: 'A JSON response with content-type: application/json. + The values can contain format text like in text_format.' + type: object + text_format: + description: A format string representing a text response + body. Content-Type can be set using the `content_type` + field below. + type: string + text_format_source: + description: A format string sourced from a file on the + Ambassador container. Useful for larger response bodies + that should not be placed inline in configuration. + properties: + filename: + description: The name of a file on the Ambassador pod + that contains a format text string. + type: string + type: object + type: object + on_status_code: + description: The status code to match on -- not a pointer because + it's required. + maximum: 599 + minimum: 400 + type: integer + required: + - body + - on_status_code + type: object + minItems: 1 + type: array + grpc: + type: boolean + headers: + type: object + x-kubernetes-preserve-unknown-fields: true + host: + type: string + host_redirect: + type: boolean + host_regex: + type: boolean + host_rewrite: + type: string + idle_timeout_ms: + type: integer + keepalive: + properties: + idle_time: + type: integer + interval: + type: integer + probes: + type: integer + type: object + labels: + additionalProperties: + description: A MappingLabelGroupsArray is an array of MappingLabelGroups. + I know, complex. + items: + description: 'A MappingLabelGroup is a single element of a MappingLabelGroupsArray: + a second map, where the key is a human-readable name that identifies + the group.' + maxProperties: 1 + minProperties: 1 + type: object + x-kubernetes-preserve-unknown-fields: true + type: array + description: A DomainMap is the overall Mapping.spec.Labels type. + It maps domains (kind of like namespaces for Mapping labels) to + arrays of label groups. + type: object + load_balancer: + properties: + cookie: + properties: + name: + type: string + path: + type: string + ttl: + type: string + required: + - name + type: object + header: + type: string + policy: + enum: + - round_robin + - ring_hash + - maglev + - least_request + type: string + source_ip: + type: boolean + required: + - policy + type: object + method: + type: string + method_regex: + type: boolean + modules: + items: + type: object + x-kubernetes-preserve-unknown-fields: true + type: array + outlier_detection: + type: string + path_redirect: + description: Path replacement to use when generating an HTTP redirect. + Used with `host_redirect`. + type: string + precedence: + type: integer + prefix: + type: string + prefix_exact: + type: boolean + prefix_redirect: + description: Prefix rewrite to use when generating an HTTP redirect. + Used with `host_redirect`. + type: string + prefix_regex: + type: boolean + priority: + type: string + query_parameters: + type: object + x-kubernetes-preserve-unknown-fields: true + redirect_response_code: + description: The response code to use when generating an HTTP redirect. + Defaults to 301. Used with `host_redirect`. + enum: + - 301 + - 302 + - 303 + - 307 + - 308 + type: integer + regex_headers: + additionalProperties: + type: string + type: object + regex_query_parameters: + additionalProperties: + type: string + type: object + regex_redirect: + description: Prefix regex rewrite to use when generating an HTTP redirect. + Used with `host_redirect`. + properties: + pattern: + type: string + substitution: + type: string + type: object + regex_rewrite: + properties: + pattern: + type: string + substitution: + type: string + type: object + resolver: + type: string + respect_dns_ttl: + type: boolean + retry_policy: + properties: + num_retries: + type: integer + per_try_timeout: + type: string + retry_on: + enum: + - 5xx + - gateway-error + - connect-failure + - retriable-4xx + - refused-stream + - retriable-status-codes + type: string + type: object + rewrite: + type: string + service: + type: string + shadow: + type: boolean + timeout_ms: + description: The timeout for requests that use this Mapping. Overrides + `cluster_request_timeout_ms` set on the Ambassador Module, if it + exists. + type: integer + use_websocket: + description: 'use_websocket is deprecated, and is equivlaent to setting + `allow_upgrade: ["websocket"]`' + type: boolean + v3StatsName: + type: string + v3health_checks: + items: + description: HealthCheck specifies settings for performing active + health checking on upstreams + properties: + health_check: + description: Configuration for where the healthcheck request + should be made to + maxProperties: 1 + minProperties: 1 + properties: + grpc: + description: HealthCheck for gRPC upstreams. Only one of + grpc_health_check or http_health_check may be specified + properties: + authority: + description: The value of the :authority header in the + gRPC health check request. If left empty the upstream + name will be used. + type: string + upstream_name: + description: The upstream name parameter which will + be sent to gRPC service in the health check message + type: string + required: + - upstream_name + type: object + http: + description: HealthCheck for HTTP upstreams. Only one of + http_health_check or grpc_health_check may be specified + properties: + add_request_headers: + additionalProperties: + properties: + append: + type: boolean + v2Representation: + enum: + - "" + - string + - "null" + type: string + value: + type: string + type: object + type: object + expected_statuses: + items: + description: A range of response statuses from Start + to End inclusive + properties: + max: + description: End of the statuses to include. Must + be between 100 and 599 (inclusive) + maximum: 599 + minimum: 100 + type: integer + min: + description: Start of the statuses to include. + Must be between 100 and 599 (inclusive) + maximum: 599 + minimum: 100 + type: integer + required: + - max + - min + type: object + type: array + hostname: + type: string + path: + type: string + remove_request_headers: + items: + type: string + type: array + required: + - path + type: object + type: object + healthy_threshold: + description: Number of expected responses for the upstream to + be considered healthy. Defaults to 1. + type: integer + interval: + description: Interval between health checks. Defaults to every + 5 seconds. + type: string + timeout: + description: Timeout for connecting to the health checking endpoint. + Defaults to 3 seconds. + type: string + unhealthy_threshold: + description: Number of non-expected responses for the upstream + to be considered unhealthy. A single 503 will mark the upstream + as unhealthy regardless of the threshold. Defaults to 2. + type: integer + required: + - health_check + type: object + minItems: 1 + type: array + weight: + type: integer + required: + - prefix + - service + type: object + x-kubernetes-preserve-unknown-fields: true + status: + description: MappingStatus defines the observed state of Mapping + properties: + reason: + type: string + state: + enum: + - "" + - Inactive + - Running + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} + - additionalPrinterColumns: + - jsonPath: .spec.host + name: Source Host + type: string + - jsonPath: .spec.prefix + name: Source Prefix + type: string + - jsonPath: .spec.service + name: Dest Service + type: string + - jsonPath: .status.state + name: State + type: string + - jsonPath: .status.reason + name: Reason + type: string + name: v3alpha1 + schema: + openAPIV3Schema: + description: Mapping is the Schema for the mappings API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: MappingSpec defines the desired state of Mapping + properties: + add_linkerd_headers: + type: boolean + add_request_headers: + additionalProperties: + properties: + append: + type: boolean + v2Representation: + enum: + - "" + - string + - "null" + type: string + value: + type: string + type: object + type: object + add_response_headers: + additionalProperties: + properties: + append: + type: boolean + v2Representation: + enum: + - "" + - string + - "null" + type: string + value: + type: string + type: object + type: object + allow_upgrade: + description: "A case-insensitive list of the non-HTTP protocols to + allow \"upgrading\" to from HTTP via the \"Connection: upgrade\" + mechanism[1]. After the upgrade, Ambassador does not interpret + the traffic, and behaves similarly to how it does for TCPMappings. + \n [1]: https://tools.ietf.org/html/rfc7230#section-6.7 \n For example, + if your upstream service supports WebSockets, you would write \n + allow_upgrade: - websocket \n Or if your upstream service supports + upgrading from HTTP to SPDY (as the Kubernetes apiserver does for + `kubectl exec` functionality), you would write \n allow_upgrade: + - spdy/3.1" + items: + type: string + type: array + ambassador_id: + description: "AmbassadorID declares which Ambassador instances should + pay attention to this resource. If no value is provided, the default + is: \n ambassador_id: - \"default\"" + items: + type: string + type: array + auth_context_extensions: + additionalProperties: + type: string + type: object + auto_host_rewrite: + type: boolean + bypass_auth: + type: boolean + bypass_error_response_overrides: + description: If true, bypasses any `error_response_overrides` set + on the Ambassador module. + type: boolean + case_sensitive: + type: boolean + circuit_breakers: + items: + properties: + max_connections: + type: integer + max_pending_requests: + type: integer + max_requests: + type: integer + max_retries: + type: integer + priority: + enum: + - default + - high + type: string + type: object + type: array + cluster_idle_timeout_ms: + type: integer + cluster_max_connection_lifetime_ms: + type: integer + cluster_tag: + type: string + connect_timeout_ms: + type: integer + cors: + properties: + credentials: + type: boolean + exposed_headers: + items: + type: string + type: array + headers: + items: + type: string + type: array + max_age: + type: string + methods: + items: + type: string + type: array + origins: + items: + type: string + type: array + v2CommaSeparatedOrigins: + type: boolean + type: object + dns_type: + type: string + docs: + description: DocsInfo provides some extra information about the docs + for the Mapping. Docs is used by both the agent and the DevPortal. + properties: + display_name: + type: string + ignored: + type: boolean + path: + type: string + timeout_ms: + type: integer + url: + type: string + type: object + enable_ipv4: + type: boolean + enable_ipv6: + type: boolean + envoy_override: + type: object + x-kubernetes-preserve-unknown-fields: true + error_response_overrides: + description: Error response overrides for this Mapping. Replaces all + of the `error_response_overrides` set on the Ambassador module, + if any. + items: + description: A response rewrite for an HTTP error response + properties: + body: + description: The new response body + properties: + content_type: + description: The content type to set on the error response + body when using text_format or text_format_source. Defaults + to 'text/plain'. + type: string + json_format: + additionalProperties: + type: string + description: 'A JSON response with content-type: application/json. + The values can contain format text like in text_format.' + type: object + text_format: + description: A format string representing a text response + body. Content-Type can be set using the `content_type` + field below. + type: string + text_format_source: + description: A format string sourced from a file on the + Ambassador container. Useful for larger response bodies + that should not be placed inline in configuration. + properties: + filename: + description: The name of a file on the Ambassador pod + that contains a format text string. + type: string + type: object + type: object + on_status_code: + description: The status code to match on -- not a pointer because + it's required. + maximum: 599 + minimum: 400 + type: integer + required: + - body + - on_status_code + type: object + minItems: 1 + type: array + grpc: + type: boolean + headers: + additionalProperties: + type: string + type: object + health_checks: + items: + description: HealthCheck specifies settings for performing active + health checking on upstreams + properties: + health_check: + description: Configuration for where the healthcheck request + should be made to + maxProperties: 1 + minProperties: 1 + properties: + grpc: + description: HealthCheck for gRPC upstreams. Only one of + grpc_health_check or http_health_check may be specified + properties: + authority: + description: The value of the :authority header in the + gRPC health check request. If left empty the upstream + name will be used. + type: string + upstream_name: + description: The upstream name parameter which will + be sent to gRPC service in the health check message + type: string + required: + - upstream_name + type: object + http: + description: HealthCheck for HTTP upstreams. Only one of + http_health_check or grpc_health_check may be specified + properties: + add_request_headers: + additionalProperties: + properties: + append: + type: boolean + v2Representation: + enum: + - "" + - string + - "null" + type: string + value: + type: string + type: object + type: object + expected_statuses: + items: + description: A range of response statuses from Start + to End inclusive + properties: + max: + description: End of the statuses to include. Must + be between 100 and 599 (inclusive) + maximum: 599 + minimum: 100 + type: integer + min: + description: Start of the statuses to include. + Must be between 100 and 599 (inclusive) + maximum: 599 + minimum: 100 + type: integer + required: + - max + - min + type: object + type: array + hostname: + type: string + path: + type: string + remove_request_headers: + items: + type: string + type: array + required: + - path + type: object + type: object + healthy_threshold: + description: Number of expected responses for the upstream to + be considered healthy. Defaults to 1. + type: integer + interval: + description: Interval between health checks. Defaults to every + 5 seconds. + type: string + timeout: + description: Timeout for connecting to the health checking endpoint. + Defaults to 3 seconds. + type: string + unhealthy_threshold: + description: Number of non-expected responses for the upstream + to be considered unhealthy. A single 503 will mark the upstream + as unhealthy regardless of the threshold. Defaults to 2. + type: integer + required: + - health_check + type: object + minItems: 1 + type: array + host: + description: "Exact match for the hostname of a request if HostRegex + is false; regex match for the hostname if HostRegex is true. \n + Host specifies both a match for the ':authority' header of a request, + as well as a match criterion for Host CRDs: a Mapping that specifies + Host will not associate with a Host that doesn't have a matching + Hostname. \n If both Host and Hostname are set, an error is logged, + Host is ignored, and Hostname is used. \n DEPRECATED: Host is either + an exact match or a regex, depending on HostRegex. Use HostName + instead." + type: string + host_redirect: + type: boolean + host_regex: + description: 'DEPRECATED: Host is either an exact match or a regex, + depending on HostRegex. Use HostName instead.' + type: boolean + host_rewrite: + type: string + hostname: + description: "Hostname is a DNS glob specifying the hosts to which + this Mapping applies. \n Hostname specifies both a match for the + ':authority' header of a request, as well as a match criterion for + Host CRDs: a Mapping that specifies Hostname will not associate + with a Host that doesn't have a matching Hostname. \n If both Host + and Hostname are set, an error is logged, Host is ignored, and Hostname + is used." + type: string + idle_timeout_ms: + type: integer + keepalive: + properties: + idle_time: + type: integer + interval: + type: integer + probes: + type: integer + type: object + labels: + additionalProperties: + description: A MappingLabelGroupsArray is an array of MappingLabelGroups. + I know, complex. + items: + additionalProperties: + description: 'A MappingLabelsArray is the value in the MappingLabelGroup: + an array of label specifiers.' + items: + description: "A MappingLabelSpecifier (finally!) defines a + single label. \n This mimics envoy/config/route/v3/route_components.proto:RateLimit:Action:action_specifier." + maxProperties: 1 + minProperties: 1 + properties: + destination_cluster: + description: Sets the label "destination_cluster=«Envoy + destination cluster name»". + properties: + key: + enum: + - destination_cluster + type: string + required: + - key + type: object + generic_key: + description: Sets the label "«key»=«value»" (where by + default «key» is "generic_key"). + properties: + key: + description: The default is "generic_key". + type: string + v2Shorthand: + type: boolean + value: + type: string + required: + - value + type: object + remote_address: + description: Sets the label "remote_address=«IP address + of the client»". + properties: + key: + enum: + - remote_address + type: string + required: + - key + type: object + request_headers: + description: If the «header_name» header is set, then + set the label "«key»=«Value of the «header_name» header»"; + otherwise skip applying this label group. + properties: + header_name: + type: string + key: + type: string + omit_if_not_present: + type: boolean + required: + - header_name + - key + type: object + source_cluster: + description: Sets the label "source_cluster=«Envoy source + cluster name»". + properties: + key: + enum: + - source_cluster + type: string + required: + - key + type: object + type: object + type: array + description: 'A MappingLabelGroup is a single element of a MappingLabelGroupsArray: + a second map, where the key is a human-readable name that identifies + the group.' + maxProperties: 1 + minProperties: 1 + type: object + type: array + description: A DomainMap is the overall Mapping.spec.Labels type. + It maps domains (kind of like namespaces for Mapping labels) to + arrays of label groups. + type: object + load_balancer: + properties: + cookie: + properties: + name: + type: string + path: + type: string + ttl: + type: string + required: + - name + type: object + header: + type: string + policy: + enum: + - round_robin + - ring_hash + - maglev + - least_request + type: string + source_ip: + type: boolean + required: + - policy + type: object + method: + type: string + method_regex: + type: boolean + modules: + items: + type: object + x-kubernetes-preserve-unknown-fields: true + type: array + outlier_detection: + type: string + path_redirect: + description: Path replacement to use when generating an HTTP redirect. + Used with `host_redirect`. + type: string + precedence: + type: integer + prefix: + type: string + prefix_exact: + type: boolean + prefix_redirect: + description: Prefix rewrite to use when generating an HTTP redirect. + Used with `host_redirect`. + type: string + prefix_regex: + type: boolean + priority: + type: string + query_parameters: + additionalProperties: + type: string + type: object + redirect_response_code: + description: The response code to use when generating an HTTP redirect. + Defaults to 301. Used with `host_redirect`. + enum: + - 301 + - 302 + - 303 + - 307 + - 308 + type: integer + regex_headers: + additionalProperties: + type: string + type: object + regex_query_parameters: + additionalProperties: + type: string + type: object + regex_redirect: + description: Prefix regex rewrite to use when generating an HTTP redirect. + Used with `host_redirect`. + properties: + pattern: + type: string + substitution: + type: string + type: object + regex_rewrite: + properties: + pattern: + type: string + substitution: + type: string + type: object + remove_request_headers: + items: + type: string + type: array + remove_response_headers: + items: + type: string + type: array + resolver: + type: string + respect_dns_ttl: + type: boolean + retry_policy: + properties: + num_retries: + type: integer + per_try_timeout: + type: string + retry_on: + enum: + - 5xx + - gateway-error + - connect-failure + - retriable-4xx + - refused-stream + - retriable-status-codes + type: string + type: object + rewrite: + type: string + service: + type: string + shadow: + type: boolean + stats_name: + type: string + timeout_ms: + description: The timeout for requests that use this Mapping. Overrides + `cluster_request_timeout_ms` set on the Ambassador Module, if it + exists. + type: integer + tls: + type: string + use_websocket: + description: 'use_websocket is deprecated, and is equivlaent to setting + `allow_upgrade: ["websocket"]`' + type: boolean + v2BoolHeaders: + items: + type: string + type: array + v2BoolQueryParameters: + items: + type: string + type: array + v2ExplicitTLS: + description: V2ExplicitTLS controls some vanity/stylistic elements + when converting from v3alpha1 to v2. The values in an V2ExplicitTLS + should not in any way affect the runtime operation of Emissary; + except that it may affect internal names in the Envoy config, which + may in turn affect stats names. But it should not affect any end-user + observable behavior. + properties: + serviceScheme: + description: "ServiceScheme specifies how to spell and capitalize + the scheme-part of the service URL. \n Acceptable values are + \"http://\" (case-insensitive), \"https://\" (case-insensitive), + or \"\". The value is used if it agrees with whether or not + this resource enables TLS origination, or if something else + in the resource overrides the scheme." + pattern: ^([hH][tT][tT][pP][sS]?://)?$ + type: string + tls: + description: "TLS controls whether and how to represent the \"tls\" + field when its value could be implied by the \"service\" field. + \ In v2, there were a lot of different ways to spell an \"empty\" + value, and this field specifies which way to spell it (and will + therefore only be used if the value will indeed be empty). \n + | Value | Representation | Meaning + of representation | |--------------+---------------------------------------+------------------------------------| + | \"\" | omit the field | defer + to service (no TLSContext) | | \"null\" | store an explicit + \"null\" in the field | defer to service (no TLSContext) | + | \"string\" | store an empty string in the field | defer + to service (no TLSContext) | | \"bool:false\" | store a Boolean + \"false\" in the field | defer to service (no TLSContext) | + | \"bool:true\" | store a Boolean \"true\" in the field | + originate TLS (no TLSContext) | \n If the meaning of the + representation contradicts anything else (if a TLSContext is + to be used, or in the case of \"bool:true\" if TLS is not to + be originated), then this field is ignored." + enum: + - "" + - "null" + - bool:true + - bool:false + - string + type: string + type: object + weight: + type: integer + required: + - prefix + - service + type: object + status: + description: MappingStatus defines the observed state of Mapping + properties: + reason: + type: string + state: + enum: + - "" + - Inactive + - Running + type: string + type: object + type: object + served: true + storage: false + subresources: + status: {} +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.12.0 + labels: + app.kubernetes.io/instance: emissary-apiext + app.kubernetes.io/managed-by: kubectl_apply_-f_emissary-apiext.yaml + app.kubernetes.io/name: emissary-apiext + app.kubernetes.io/part-of: emissary-apiext + name: modules.getambassador.io +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: emissary-apiext + namespace: emissary-system + conversionReviewVersions: + - v1 + group: getambassador.io + names: + categories: + - ambassador-crds + kind: Module + listKind: ModuleList + plural: modules + singular: module + preserveUnknownFields: false + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + description: "A Module defines system-wide configuration. The type of module + is controlled by the .metadata.name; valid names are \"ambassador\" or \"tls\". + \n https://www.getambassador.io/docs/edge-stack/latest/topics/running/ambassador/#the-ambassador-module + https://www.getambassador.io/docs/edge-stack/latest/topics/running/tls/#tls-module-deprecated" + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + properties: + config: + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + served: true + storage: false + - name: v2 + schema: + openAPIV3Schema: + description: "A Module defines system-wide configuration. The type of module + is controlled by the .metadata.name; valid names are \"ambassador\" or \"tls\". + \n https://www.getambassador.io/docs/edge-stack/latest/topics/running/ambassador/#the-ambassador-module + https://www.getambassador.io/docs/edge-stack/latest/topics/running/tls/#tls-module-deprecated" + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + properties: + config: + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + served: true + storage: true + - name: v3alpha1 + schema: + openAPIV3Schema: + description: "A Module defines system-wide configuration. The type of module + is controlled by the .metadata.name; valid names are \"ambassador\" or \"tls\". + \n https://www.getambassador.io/docs/edge-stack/latest/topics/running/ambassador/#the-ambassador-module + https://www.getambassador.io/docs/edge-stack/latest/topics/running/tls/#tls-module-deprecated" + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + properties: + ambassador_id: + description: "AmbassadorID declares which Ambassador instances should + pay attention to this resource. If no value is provided, the default + is: \n ambassador_id: - \"default\"" + items: + type: string + type: array + config: + type: object + x-kubernetes-preserve-unknown-fields: true + required: + - config + type: object + type: object + served: true + storage: false +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.12.0 + labels: + app.kubernetes.io/instance: emissary-apiext + app.kubernetes.io/managed-by: kubectl_apply_-f_emissary-apiext.yaml + app.kubernetes.io/name: emissary-apiext + app.kubernetes.io/part-of: emissary-apiext + name: ratelimitservices.getambassador.io +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: emissary-apiext + namespace: emissary-system + conversionReviewVersions: + - v1 + group: getambassador.io + names: + categories: + - ambassador-crds + kind: RateLimitService + listKind: RateLimitServiceList + plural: ratelimitservices + singular: ratelimitservice + preserveUnknownFields: false + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + description: RateLimitService is the Schema for the ratelimitservices API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: RateLimitServiceSpec defines the desired state of RateLimitService + properties: + domain: + type: string + failure_mode_deny: + description: FailureModeDeny when set to true, envoy will deny traffic + if it is unable to communicate with the rate limit service. + type: boolean + protocol_version: + enum: + - v2 + - v3 + type: string + service: + type: string + timeout_ms: + type: integer + v3StatsName: + type: string + required: + - service + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + served: true + storage: false + - name: v2 + schema: + openAPIV3Schema: + description: RateLimitService is the Schema for the ratelimitservices API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: RateLimitServiceSpec defines the desired state of RateLimitService + properties: + domain: + type: string + failure_mode_deny: + description: FailureModeDeny when set to true, envoy will deny traffic + if it is unable to communicate with the rate limit service. + type: boolean + protocol_version: + enum: + - v2 + - v3 + type: string + service: + type: string + timeout_ms: + type: integer + v3StatsName: + type: string + required: + - service + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + served: true + storage: true + - name: v3alpha1 + schema: + openAPIV3Schema: + description: RateLimitService is the Schema for the ratelimitservices API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: RateLimitServiceSpec defines the desired state of RateLimitService + properties: + ambassador_id: + description: Common to all Ambassador objects. + items: + type: string + type: array + domain: + type: string + failure_mode_deny: + description: FailureModeDeny when set to true, envoy will deny traffic + if it is unable to communicate with the rate limit service. + type: boolean + protocol_version: + description: ProtocolVersion is the envoy api transport protocol version + enum: + - v2 + - v3 + type: string + service: + type: string + stats_name: + type: string + timeout_ms: + type: integer + tls: + type: string + v2ExplicitTLS: + description: V2ExplicitTLS controls some vanity/stylistic elements + when converting from v3alpha1 to v2. The values in an V2ExplicitTLS + should not in any way affect the runtime operation of Emissary; + except that it may affect internal names in the Envoy config, which + may in turn affect stats names. But it should not affect any end-user + observable behavior. + properties: + serviceScheme: + description: "ServiceScheme specifies how to spell and capitalize + the scheme-part of the service URL. \n Acceptable values are + \"http://\" (case-insensitive), \"https://\" (case-insensitive), + or \"\". The value is used if it agrees with whether or not + this resource enables TLS origination, or if something else + in the resource overrides the scheme." + pattern: ^([hH][tT][tT][pP][sS]?://)?$ + type: string + tls: + description: "TLS controls whether and how to represent the \"tls\" + field when its value could be implied by the \"service\" field. + \ In v2, there were a lot of different ways to spell an \"empty\" + value, and this field specifies which way to spell it (and will + therefore only be used if the value will indeed be empty). \n + | Value | Representation | Meaning + of representation | |--------------+---------------------------------------+------------------------------------| + | \"\" | omit the field | defer + to service (no TLSContext) | | \"null\" | store an explicit + \"null\" in the field | defer to service (no TLSContext) | + | \"string\" | store an empty string in the field | defer + to service (no TLSContext) | | \"bool:false\" | store a Boolean + \"false\" in the field | defer to service (no TLSContext) | + | \"bool:true\" | store a Boolean \"true\" in the field | + originate TLS (no TLSContext) | \n If the meaning of the + representation contradicts anything else (if a TLSContext is + to be used, or in the case of \"bool:true\" if TLS is not to + be originated), then this field is ignored." + enum: + - "" + - "null" + - bool:true + - bool:false + - string + type: string + type: object + required: + - service + type: object + type: object + served: true + storage: false +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.12.0 + labels: + app.kubernetes.io/instance: emissary-apiext + app.kubernetes.io/managed-by: kubectl_apply_-f_emissary-apiext.yaml + app.kubernetes.io/name: emissary-apiext + app.kubernetes.io/part-of: emissary-apiext + name: tcpmappings.getambassador.io +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: emissary-apiext + namespace: emissary-system + conversionReviewVersions: + - v1 + group: getambassador.io + names: + categories: + - ambassador-crds + kind: TCPMapping + listKind: TCPMappingList + plural: tcpmappings + singular: tcpmapping + preserveUnknownFields: false + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + description: TCPMapping is the Schema for the tcpmappings API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TCPMappingSpec defines the desired state of TCPMapping + properties: + address: + type: string + circuit_breakers: + items: + properties: + max_connections: + type: integer + max_pending_requests: + type: integer + max_requests: + type: integer + max_retries: + type: integer + priority: + enum: + - default + - high + type: string + type: object + type: array + cluster_tag: + type: string + enable_ipv4: + type: boolean + enable_ipv6: + type: boolean + host: + type: string + idle_timeout_ms: + type: string + port: + description: Port isn't a pointer because it's required. + type: integer + resolver: + type: string + service: + type: string + v3StatsName: + type: string + weight: + type: integer + required: + - port + - service + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + served: true + storage: false + - name: v2 + schema: + openAPIV3Schema: + description: TCPMapping is the Schema for the tcpmappings API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TCPMappingSpec defines the desired state of TCPMapping + properties: + address: + type: string + circuit_breakers: + items: + properties: + max_connections: + type: integer + max_pending_requests: + type: integer + max_requests: + type: integer + max_retries: + type: integer + priority: + enum: + - default + - high + type: string + type: object + type: array + cluster_tag: + type: string + enable_ipv4: + type: boolean + enable_ipv6: + type: boolean + host: + type: string + idle_timeout_ms: + type: string + port: + description: Port isn't a pointer because it's required. + type: integer + resolver: + type: string + service: + type: string + v3StatsName: + type: string + weight: + type: integer + required: + - port + - service + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + served: true + storage: true + - name: v3alpha1 + schema: + openAPIV3Schema: + description: TCPMapping is the Schema for the tcpmappings API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TCPMappingSpec defines the desired state of TCPMapping + properties: + address: + type: string + ambassador_id: + description: "AmbassadorID declares which Ambassador instances should + pay attention to this resource. If no value is provided, the default + is: \n ambassador_id: - \"default\"" + items: + type: string + type: array + circuit_breakers: + items: + properties: + max_connections: + type: integer + max_pending_requests: + type: integer + max_requests: + type: integer + max_retries: + type: integer + priority: + enum: + - default + - high + type: string + type: object + type: array + cluster_tag: + type: string + enable_ipv4: + type: boolean + enable_ipv6: + type: boolean + host: + type: string + idle_timeout_ms: + type: string + port: + description: Port isn't a pointer because it's required. + type: integer + resolver: + type: string + service: + type: string + stats_name: + type: string + tls: + type: string + v2ExplicitTLS: + description: V2ExplicitTLS controls some vanity/stylistic elements + when converting from v3alpha1 to v2. The values in an V2ExplicitTLS + should not in any way affect the runtime operation of Emissary; + except that it may affect internal names in the Envoy config, which + may in turn affect stats names. But it should not affect any end-user + observable behavior. + properties: + serviceScheme: + description: "ServiceScheme specifies how to spell and capitalize + the scheme-part of the service URL. \n Acceptable values are + \"http://\" (case-insensitive), \"https://\" (case-insensitive), + or \"\". The value is used if it agrees with whether or not + this resource enables TLS origination, or if something else + in the resource overrides the scheme." + pattern: ^([hH][tT][tT][pP][sS]?://)?$ + type: string + tls: + description: "TLS controls whether and how to represent the \"tls\" + field when its value could be implied by the \"service\" field. + \ In v2, there were a lot of different ways to spell an \"empty\" + value, and this field specifies which way to spell it (and will + therefore only be used if the value will indeed be empty). \n + | Value | Representation | Meaning + of representation | |--------------+---------------------------------------+------------------------------------| + | \"\" | omit the field | defer + to service (no TLSContext) | | \"null\" | store an explicit + \"null\" in the field | defer to service (no TLSContext) | + | \"string\" | store an empty string in the field | defer + to service (no TLSContext) | | \"bool:false\" | store a Boolean + \"false\" in the field | defer to service (no TLSContext) | + | \"bool:true\" | store a Boolean \"true\" in the field | + originate TLS (no TLSContext) | \n If the meaning of the + representation contradicts anything else (if a TLSContext is + to be used, or in the case of \"bool:true\" if TLS is not to + be originated), then this field is ignored." + enum: + - "" + - "null" + - bool:true + - bool:false + - string + type: string + type: object + weight: + type: integer + required: + - port + - service + type: object + type: object + served: true + storage: false +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.12.0 + labels: + app.kubernetes.io/instance: emissary-apiext + app.kubernetes.io/managed-by: kubectl_apply_-f_emissary-apiext.yaml + app.kubernetes.io/name: emissary-apiext + app.kubernetes.io/part-of: emissary-apiext + name: tlscontexts.getambassador.io +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: emissary-apiext + namespace: emissary-system + conversionReviewVersions: + - v1 + group: getambassador.io + names: + categories: + - ambassador-crds + kind: TLSContext + listKind: TLSContextList + plural: tlscontexts + singular: tlscontext + preserveUnknownFields: false + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + description: TLSContext is the Schema for the tlscontexts API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TLSContextSpec defines the desired state of TLSContext + properties: + alpn_protocols: + type: string + ca_secret: + type: string + cacert_chain_file: + type: string + cert_chain_file: + type: string + cert_required: + type: boolean + cipher_suites: + items: + type: string + type: array + ecdh_curves: + items: + type: string + type: array + hosts: + items: + type: string + type: array + max_tls_version: + enum: + - v1.0 + - v1.1 + - v1.2 + - v1.3 + type: string + min_tls_version: + enum: + - v1.0 + - v1.1 + - v1.2 + - v1.3 + type: string + private_key_file: + type: string + redirect_cleartext_from: + type: integer + secret: + type: string + secret_namespacing: + type: boolean + sni: + type: string + v3CRLSecret: + type: string + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + served: true + storage: false + - name: v2 + schema: + openAPIV3Schema: + description: TLSContext is the Schema for the tlscontexts API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TLSContextSpec defines the desired state of TLSContext + properties: + alpn_protocols: + type: string + ca_secret: + type: string + cacert_chain_file: + type: string + cert_chain_file: + type: string + cert_required: + type: boolean + cipher_suites: + items: + type: string + type: array + ecdh_curves: + items: + type: string + type: array + hosts: + items: + type: string + type: array + max_tls_version: + enum: + - v1.0 + - v1.1 + - v1.2 + - v1.3 + type: string + min_tls_version: + enum: + - v1.0 + - v1.1 + - v1.2 + - v1.3 + type: string + private_key_file: + type: string + redirect_cleartext_from: + type: integer + secret: + type: string + secret_namespacing: + type: boolean + sni: + type: string + v3CRLSecret: + type: string + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + served: true + storage: true + - name: v3alpha1 + schema: + openAPIV3Schema: + description: TLSContext is the Schema for the tlscontexts API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TLSContextSpec defines the desired state of TLSContext + properties: + alpn_protocols: + type: string + ambassador_id: + description: "AmbassadorID declares which Ambassador instances should + pay attention to this resource. If no value is provided, the default + is: \n ambassador_id: - \"default\"" + items: + type: string + type: array + ca_secret: + type: string + cacert_chain_file: + type: string + cert_chain_file: + type: string + cert_required: + type: boolean + cipher_suites: + items: + type: string + type: array + crl_secret: + type: string + ecdh_curves: + items: + type: string + type: array + hosts: + items: + type: string + type: array + max_tls_version: + enum: + - v1.0 + - v1.1 + - v1.2 + - v1.3 + type: string + min_tls_version: + enum: + - v1.0 + - v1.1 + - v1.2 + - v1.3 + type: string + private_key_file: + type: string + redirect_cleartext_from: + type: integer + secret: + type: string + secret_namespacing: + type: boolean + sni: + type: string + type: object + type: object + served: true + storage: false +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.12.0 + labels: + app.kubernetes.io/instance: emissary-apiext + app.kubernetes.io/managed-by: kubectl_apply_-f_emissary-apiext.yaml + app.kubernetes.io/name: emissary-apiext + app.kubernetes.io/part-of: emissary-apiext + name: tracingservices.getambassador.io +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: emissary-apiext + namespace: emissary-system + conversionReviewVersions: + - v1 + group: getambassador.io + names: + categories: + - ambassador-crds + kind: TracingService + listKind: TracingServiceList + plural: tracingservices + singular: tracingservice + preserveUnknownFields: false + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + description: TracingService is the Schema for the tracingservices API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TracingServiceSpec defines the desired state of TracingService + properties: + config: + properties: + access_token_file: + type: string + collector_cluster: + type: string + collector_endpoint: + type: string + collector_endpoint_version: + enum: + - HTTP_JSON_V1 + - HTTP_JSON + - HTTP_PROTO + type: string + collector_hostname: + type: string + service_name: + type: string + shared_span_context: + type: boolean + trace_id_128bit: + type: boolean + v3PropagationModes: + items: + enum: + - ENVOY + - LIGHTSTEP + - B3 + - TRACE_CONTEXT + type: string + type: array + type: object + driver: + enum: + - lightstep + - zipkin + - datadog + - opentelemetry + type: string + sampling: + properties: + client: + type: integer + overall: + type: integer + random: + type: integer + type: object + service: + type: string + tag_headers: + items: + type: string + type: array + v3CustomTags: + items: + description: TracingCustomTag provides a data structure for capturing + envoy's `type.tracing.v3.CustomTag` + properties: + environment: + description: Environment explicitly specifies the protocol stack + to set up. Exactly one of Literal, Environment or Header must + be supplied. + properties: + default_value: + type: string + name: + type: string + required: + - name + type: object + literal: + description: Literal explicitly specifies the protocol stack + to set up. Exactly one of Literal, Environment or Header must + be supplied. + properties: + value: + type: string + required: + - value + type: object + request_header: + description: Header explicitly specifies the protocol stack + to set up. Exactly one of Literal, Environment or Header must + be supplied. + properties: + default_value: + type: string + name: + type: string + required: + - name + type: object + tag: + type: string + required: + - tag + type: object + type: array + v3StatsName: + type: string + required: + - driver + - service + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + served: true + storage: false + - name: v2 + schema: + openAPIV3Schema: + description: TracingService is the Schema for the tracingservices API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TracingServiceSpec defines the desired state of TracingService + properties: + config: + properties: + access_token_file: + type: string + collector_cluster: + type: string + collector_endpoint: + type: string + collector_endpoint_version: + enum: + - HTTP_JSON_V1 + - HTTP_JSON + - HTTP_PROTO + type: string + collector_hostname: + type: string + service_name: + type: string + shared_span_context: + type: boolean + trace_id_128bit: + type: boolean + v3PropagationModes: + items: + enum: + - ENVOY + - LIGHTSTEP + - B3 + - TRACE_CONTEXT + type: string + type: array + type: object + driver: + enum: + - lightstep + - zipkin + - datadog + - opentelemetry + type: string + sampling: + properties: + client: + type: integer + overall: + type: integer + random: + type: integer + type: object + service: + type: string + tag_headers: + items: + type: string + type: array + v3CustomTags: + items: + description: TracingCustomTag provides a data structure for capturing + envoy's `type.tracing.v3.CustomTag` + properties: + environment: + description: Environment explicitly specifies the protocol stack + to set up. Exactly one of Literal, Environment or Header must + be supplied. + properties: + default_value: + type: string + name: + type: string + required: + - name + type: object + literal: + description: Literal explicitly specifies the protocol stack + to set up. Exactly one of Literal, Environment or Header must + be supplied. + properties: + value: + type: string + required: + - value + type: object + request_header: + description: Header explicitly specifies the protocol stack + to set up. Exactly one of Literal, Environment or Header must + be supplied. + properties: + default_value: + type: string + name: + type: string + required: + - name + type: object + tag: + type: string + required: + - tag + type: object + type: array + v3StatsName: + type: string + required: + - driver + - service + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + served: true + storage: true + - name: v3alpha1 + schema: + openAPIV3Schema: + description: TracingService is the Schema for the tracingservices API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TracingServiceSpec defines the desired state of TracingService + properties: + ambassador_id: + description: "AmbassadorID declares which Ambassador instances should + pay attention to this resource. If no value is provided, the default + is: \n ambassador_id: - \"default\"" + items: + type: string + type: array + config: + properties: + access_token_file: + type: string + collector_cluster: + type: string + collector_endpoint: + type: string + collector_endpoint_version: + enum: + - HTTP_JSON_V1 + - HTTP_JSON + - HTTP_PROTO + type: string + collector_hostname: + type: string + propagation_modes: + items: + enum: + - ENVOY + - LIGHTSTEP + - B3 + - TRACE_CONTEXT + type: string + type: array + service_name: + type: string + shared_span_context: + type: boolean + trace_id_128bit: + type: boolean + type: object + custom_tags: + items: + description: TracingCustomTag provides a data structure for capturing + envoy's `type.tracing.v3.CustomTag` + properties: + environment: + description: Environment explicitly specifies the protocol stack + to set up. Exactly one of Literal, Environment or Header must + be supplied. + properties: + default_value: + type: string + name: + type: string + required: + - name + type: object + literal: + description: Literal explicitly specifies the protocol stack + to set up. Exactly one of Literal, Environment or Header must + be supplied. + properties: + value: + type: string + required: + - value + type: object + request_header: + description: Header explicitly specifies the protocol stack + to set up. Exactly one of Literal, Environment or Header must + be supplied. + properties: + default_value: + type: string + name: + type: string + required: + - name + type: object + tag: + type: string + required: + - tag + type: object + type: array + driver: + enum: + - lightstep + - zipkin + - datadog + - opentelemetry + type: string + sampling: + properties: + client: + type: integer + overall: + type: integer + random: + type: integer + type: object + service: + type: string + stats_name: + type: string + tag_headers: + description: 'Deprecated: tag_headers is deprecated. Use custom_tags + instead. `tag_headers: ["header"]` can be defined as `custom_tags: + [{"request_header": {"name": "header"}}]`.' + items: + type: string + type: array + required: + - driver + - service + type: object + type: object + served: true + storage: false +--- +################################################################################ +# Namespace # +################################################################################ +--- +apiVersion: v1 +kind: Namespace +metadata: + name: emissary-system +--- +################################################################################ +# ServiceAccount # +################################################################################ +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + name: emissary-apiext + namespace: emissary-system + labels: + app.kubernetes.io/instance: emissary-apiext + app.kubernetes.io/managed-by: kubectl_apply_-f_emissary-apiext.yaml + app.kubernetes.io/name: emissary-apiext + app.kubernetes.io/part-of: emissary-apiext +--- +################################################################################ +# Cluster permissions # +################################################################################ +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + name: emissary-apiext + labels: + app.kubernetes.io/instance: emissary-apiext + app.kubernetes.io/managed-by: kubectl_apply_-f_emissary-apiext.yaml + app.kubernetes.io/name: emissary-apiext + app.kubernetes.io/part-of: emissary-apiext +rules: + - apiGroups: [ "apiextensions.k8s.io" ] + resources: [ "customresourcedefinitions" ] + verbs: [ "list", "watch" ] + - apiGroups: [ "apiextensions.k8s.io" ] + resources: [ "customresourcedefinitions" ] + resourceNames: + - authservices.getambassador.io + - consulresolvers.getambassador.io + - devportals.getambassador.io + - hosts.getambassador.io + - kubernetesendpointresolvers.getambassador.io + - kubernetesserviceresolvers.getambassador.io + - listeners.getambassador.io + - logservices.getambassador.io + - mappings.getambassador.io + - modules.getambassador.io + - ratelimitservices.getambassador.io + - tcpmappings.getambassador.io + - tlscontexts.getambassador.io + - tracingservices.getambassador.io + verbs: [ "update" ] +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: emissary-apiext + labels: + app.kubernetes.io/instance: emissary-apiext + app.kubernetes.io/managed-by: kubectl_apply_-f_emissary-apiext.yaml + app.kubernetes.io/name: emissary-apiext + app.kubernetes.io/part-of: emissary-apiext +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: emissary-apiext +subjects: + - kind: ServiceAccount + namespace: emissary-system + name: emissary-apiext +--- +################################################################################ +# Namespaced permissions # +################################################################################ +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: emissary-apiext + namespace: emissary-system + labels: + app.kubernetes.io/instance: emissary-apiext + app.kubernetes.io/managed-by: kubectl_apply_-f_emissary-apiext.yaml + app.kubernetes.io/name: emissary-apiext + app.kubernetes.io/part-of: emissary-apiext +rules: + - apiGroups: [""] + resources: ["secrets"] + verbs: ["create"] + - apiGroups: [""] + resources: ["secrets"] + resourceNames: ["emissary-ingress-webhook-ca"] + verbs: ["get", "update"] +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: emissary-apiext + namespace: emissary-system + labels: + app.kubernetes.io/instance: emissary-apiext + app.kubernetes.io/managed-by: kubectl_apply_-f_emissary-apiext.yaml + app.kubernetes.io/name: emissary-apiext + app.kubernetes.io/part-of: emissary-apiext +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: emissary-apiext +subjects: +- kind: ServiceAccount + namespace: emissary-system + name: emissary-apiext +--- +################################################################################ +# Main # +################################################################################ +--- +apiVersion: v1 +kind: Service +metadata: + name: emissary-apiext + namespace: emissary-system + labels: + app.kubernetes.io/instance: emissary-apiext + app.kubernetes.io/managed-by: kubectl_apply_-f_emissary-apiext.yaml + app.kubernetes.io/name: emissary-apiext + app.kubernetes.io/part-of: emissary-apiext +spec: + type: ClusterIP + ports: + - name: https + port: 443 + targetPort: https + selector: + app.kubernetes.io/instance: emissary-apiext + app.kubernetes.io/name: emissary-apiext + app.kubernetes.io/part-of: emissary-apiext +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: emissary-apiext + namespace: emissary-system + labels: + app.kubernetes.io/instance: emissary-apiext + app.kubernetes.io/managed-by: kubectl_apply_-f_emissary-apiext.yaml + app.kubernetes.io/name: emissary-apiext + app.kubernetes.io/part-of: emissary-apiext +spec: + selector: + matchLabels: + app.kubernetes.io/instance: emissary-apiext + app.kubernetes.io/name: emissary-apiext + app.kubernetes.io/part-of: emissary-apiext + replicas: 3 + template: + metadata: + labels: + app.kubernetes.io/instance: emissary-apiext + app.kubernetes.io/managed-by: kubectl_apply_-f_emissary-apiext.yaml + app.kubernetes.io/name: emissary-apiext + app.kubernetes.io/part-of: emissary-apiext + spec: + serviceAccountName: emissary-apiext + containers: + - name: emissary-apiext + image: $imageRepo$:$version$ + imagePullPolicy: IfNotPresent + command: [ "apiext", "emissary-apiext" ] + ports: + - name: http + containerPort: 8080 + - name: https + containerPort: 8443 + startupProbe: + httpGet: + path: /probes/live + port: 8080 + failureThreshold: 10 + periodSeconds: 3 + livenessProbe: + httpGet: + scheme: HTTP + path: /probes/live + port: 8080 + periodSeconds: 3 + failureThreshold: 3 + readinessProbe: + httpGet: + scheme: HTTP + path: /probes/ready + port: 8080 + periodSeconds: 3 + failureThreshold: 3 diff --git a/java-generator/it/src/it/default-values-instantiation/src/test/java/io/fabric8/it/certmanager/TestDefaultValues.java b/java-generator/it/src/it/default-values-instantiation/src/test/java/io/fabric8/it/certmanager/TestDefaultValues.java index 8dd79f906c7..e271a32cc7e 100644 --- a/java-generator/it/src/it/default-values-instantiation/src/test/java/io/fabric8/it/certmanager/TestDefaultValues.java +++ b/java-generator/it/src/it/default-values-instantiation/src/test/java/io/fabric8/it/certmanager/TestDefaultValues.java @@ -51,6 +51,7 @@ void testDefaultValues() throws Exception { Ten ten = cr.getSpec().getTen(); Eleven eleven = cr.getSpec().getEleven(); ZonedDateTime twelve = cr.getSpec().getTwelve(); + Thirteen thirteen = cr.getSpec().getThirteen(); // Assert assertEquals("one", one); @@ -68,5 +69,7 @@ void testDefaultValues() throws Exception { assertEquals("tentwo", ten.getTenTwo()); assertEquals(Eleven.BAZ, eleven); assertEquals(ZonedDateTime.parse("2017-07-21T17:32:28Z", formatter), twelve); + assertEquals(Thirteen.V__302, thirteen); + assertEquals(302L, thirteen.getValue()); } } diff --git a/java-generator/it/src/it/default-values-instantiation/src/test/resources/example.yaml b/java-generator/it/src/it/default-values-instantiation/src/test/resources/example.yaml index 493150f7647..7eb5fc4d15d 100644 --- a/java-generator/it/src/it/default-values-instantiation/src/test/resources/example.yaml +++ b/java-generator/it/src/it/default-values-instantiation/src/test/resources/example.yaml @@ -101,5 +101,12 @@ spec: type: string format: date-time default: "2017-07-21T17:32:28Z" + thirteen: + type: integer + enum: + - 301 + - 302 + - 303 + default: 302 served: true storage: true diff --git a/java-generator/it/src/it/ser-deser/src/test/java/io/fabric8/it/certmanager/TestSerialization.java b/java-generator/it/src/it/ser-deser/src/test/java/io/fabric8/it/certmanager/TestSerialization.java index 6e2d1a49908..d96b064f996 100644 --- a/java-generator/it/src/it/ser-deser/src/test/java/io/fabric8/it/certmanager/TestSerialization.java +++ b/java-generator/it/src/it/ser-deser/src/test/java/io/fabric8/it/certmanager/TestSerialization.java @@ -18,6 +18,8 @@ import com.fasterxml.jackson.databind.JsonNode; import io.cert_manager.v1.CertificateRequest; import io.cert_manager.v1.CertificateRequestSpec; +import io.cert_manager.v1.CertificateRequestSpec.IntEnum; +import io.cert_manager.v1.CertificateRequestSpec.LongEnum; import io.fabric8.kubernetes.client.utils.Serialization; import org.junit.jupiter.api.Test; import io.fabric8.java.generator.testing.KubernetesResourceDiff; @@ -79,6 +81,38 @@ void testAlternativeDateDeserialization() { assertEquals(datetimeValue, datetime4); } + @Test + void testNumericEnum() { + // Arrange + CertificateRequest sample8 = + Serialization.unmarshal(getClass().getResourceAsStream("/sample8.yaml"), CertificateRequest.class); + + // Act + LongEnum longValue = sample8.getSpec().getLongEnum(); + IntEnum intValue = sample8.getSpec().getIntEnum(); + + // Assert + assertEquals(LongEnum.V__102, longValue); + assertEquals(IntEnum.V__203, intValue); + assertEquals(102L, longValue.getValue()); + assertEquals(203, intValue.getValue()); + } + + @Test + void testIntEnumSerDeser() throws Exception { + // Arrange + Path resPath = Paths.get(getClass().getResource("/sample8.yaml").toURI()); + String yamlContent = new String(Files.readAllBytes(resPath), "UTF8"); + CertificateRequest sample = Serialization.unmarshal(yamlContent, CertificateRequest.class); + KubernetesResourceDiff diff = new KubernetesResourceDiff(yamlContent, Serialization.asYaml(sample)); + + // Act + List aggregatedDiffs = diff.getListOfDiffs(); + + // Assert + assertEquals(0, aggregatedDiffs.size()); + } + @Test void testInvalidAlternativeDateDeserialization() { assertThrows(IllegalArgumentException.class, () -> Serialization.unmarshal(getClass().getResourceAsStream("/sample5.yaml"), CertificateRequest.class)); diff --git a/java-generator/it/src/it/ser-deser/src/test/resources/cert-manager.crds.1.7.1.yaml b/java-generator/it/src/it/ser-deser/src/test/resources/cert-manager.crds.1.7.1.yaml index 389f16292ce..ae6a215b81a 100644 --- a/java-generator/it/src/it/ser-deser/src/test/resources/cert-manager.crds.1.7.1.yaml +++ b/java-generator/it/src/it/ser-deser/src/test/resources/cert-manager.crds.1.7.1.yaml @@ -136,6 +136,21 @@ spec: uid: description: UID contains the uid of the user that created the CertificateRequest. Populated by the cert-manager webhook on creation and immutable. type: string + longEnum: + type: integer + enum: + - 101 + - 102 + - 103 + - 104 + intEnum: + type: integer + format: int32 + enum: + - 201 + - 202 + - 203 + - 204 usages: description: Usages is the set of x509 usages that are requested for the certificate. If usages are set they SHOULD be encoded inside the CSR spec Defaults to `digital signature` and `key encipherment` if not specified. type: array diff --git a/java-generator/it/src/it/ser-deser/src/test/resources/sample8.yaml b/java-generator/it/src/it/ser-deser/src/test/resources/sample8.yaml new file mode 100644 index 00000000000..82258b392a2 --- /dev/null +++ b/java-generator/it/src/it/ser-deser/src/test/resources/sample8.yaml @@ -0,0 +1,23 @@ +# +# 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. +# + +apiVersion: cert-manager.io/v1 +kind: CertificateRequest +metadata: + name: my-ca-cr +spec: + longEnum: 102 + intEnum: 203 diff --git a/junit/kubernetes-server-mock/src/main/java/io/fabric8/kubernetes/client/server/mock/crud/KubernetesCrudDispatcherHandler.java b/junit/kubernetes-server-mock/src/main/java/io/fabric8/kubernetes/client/server/mock/crud/KubernetesCrudDispatcherHandler.java index bb1c41305b0..6cc79611aa1 100644 --- a/junit/kubernetes-server-mock/src/main/java/io/fabric8/kubernetes/client/server/mock/crud/KubernetesCrudDispatcherHandler.java +++ b/junit/kubernetes-server-mock/src/main/java/io/fabric8/kubernetes/client/server/mock/crud/KubernetesCrudDispatcherHandler.java @@ -52,7 +52,7 @@ default MockResponse handle(RecordedRequest request) throws KubernetesCrudDispat default void validatePath(AttributeSet query, JsonNode updatedResource) throws KubernetesCrudDispatcherException { // metadata.name final String updatedName = updatedResource.path(METADATA).path(NAME).asText(); - final String pathName = query.getAttribute(NAME).getValue().toString(); + final String pathName = query.getAttribute(NAME).getValues().iterator().next().toString(); if (!updatedName.isEmpty() && !pathName.equals(updatedName)) { throw new KubernetesCrudDispatcherException( "the name of the object (" + updatedName + ") does not match the name on the URL (" + pathName + ")", @@ -62,7 +62,7 @@ default void validatePath(AttributeSet query, JsonNode updatedResource) throws K // metadata.namespace if (query.getAttribute(NAMESPACE) != null) { final String updatedNamespace = updatedResource.path(METADATA).path(NAMESPACE).asText(); - final String pathNamespace = query.getAttribute(NAMESPACE).getValue().toString(); + final String pathNamespace = query.getAttribute(NAMESPACE).getValues().iterator().next().toString(); if (!updatedNamespace.isEmpty() && !updatedNamespace.equals(pathNamespace)) { throw new KubernetesCrudDispatcherException( "the namespace of the object (" + updatedNamespace + ") does not match the namespace on the URL (" diff --git a/junit/mockwebserver/pom.xml b/junit/mockwebserver/pom.xml new file mode 100644 index 00000000000..aeb1d584df8 --- /dev/null +++ b/junit/mockwebserver/pom.xml @@ -0,0 +1,72 @@ + + + + 4.0.0 + + io.fabric8 + kubernetes-client-project + 6.9-SNAPSHOT + ../../pom.xml + + + mockwebserver + jar + + Fabric8 :: Mock Web Server + + + + com.squareup.okhttp3 + mockwebserver + + + com.fasterxml.jackson.core + jackson-databind + + + io.fabric8 + zjsonpatch + + + org.spockframework + spock-core + test + + + + + + + org.codehaus.gmavenplus + gmavenplus-plugin + ${gmavenplus-plugin.version} + + + + addSources + addTestSources + compileTests + + + + + + + + diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/Context.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/Context.java new file mode 100644 index 00000000000..1357f13d590 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/Context.java @@ -0,0 +1,36 @@ +/** + * 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 io.fabric8.mockwebserver; + +import com.fasterxml.jackson.databind.ObjectMapper; + +public class Context { + + private final ObjectMapper mapper; + + public Context() { + this(new ObjectMapper()); + } + + public Context(ObjectMapper mapper) { + this.mapper = mapper; + } + + public ObjectMapper getMapper() { + return mapper; + } + +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/DefaultMockServer.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/DefaultMockServer.java new file mode 100644 index 00000000000..ff9c1ad7154 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/DefaultMockServer.java @@ -0,0 +1,210 @@ +/** + * 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 io.fabric8.mockwebserver; + +import io.fabric8.mockwebserver.dsl.MockServerExpectation; +import io.fabric8.mockwebserver.internal.MockDispatcher; +import io.fabric8.mockwebserver.internal.MockSSLContextFactory; +import io.fabric8.mockwebserver.internal.MockServerExpectationImpl; +import okhttp3.mockwebserver.Dispatcher; +import okhttp3.mockwebserver.MockWebServer; +import okhttp3.mockwebserver.RecordedRequest; + +import java.io.IOException; +import java.net.InetAddress; +import java.net.Proxy; +import java.util.HashMap; +import java.util.Map; +import java.util.Queue; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.atomic.AtomicBoolean; +import java.util.concurrent.atomic.AtomicInteger; +import java.util.concurrent.atomic.AtomicReference; + +public class DefaultMockServer implements MockServer { + + private final Context context; + private final boolean useHttps; + private final MockWebServer server; + private final Map> responses; + private final AtomicInteger lastRequestCount; + private final AtomicReference lastRequest; + + private final AtomicBoolean initialized = new AtomicBoolean(); + private final AtomicBoolean shutdown = new AtomicBoolean(); + + public DefaultMockServer() { + this(new Context(), new MockWebServer(), new HashMap<>(), false); + } + + public DefaultMockServer(boolean useHttps) { + this(new Context(), new MockWebServer(), new HashMap<>(), useHttps); + } + + public DefaultMockServer(MockWebServer server, Map> responses, boolean useHttps) { + this(new Context(), server, responses, useHttps); + } + + public DefaultMockServer(Context context, MockWebServer server, Map> responses, + boolean useHttps) { + this(context, server, responses, new MockDispatcher(responses), useHttps); + } + + public DefaultMockServer(Context context, MockWebServer server, Map> responses, + Dispatcher dispatcher, boolean useHttps) { + this.context = context; + this.useHttps = useHttps; + this.server = server; + this.responses = responses; + this.lastRequest = new AtomicReference<>(); + this.lastRequestCount = new AtomicInteger(0); + this.server.setDispatcher(dispatcher); + } + + private void startInternal() { + if (initialized.compareAndSet(false, true)) { + if (useHttps) { + server.useHttps(MockSSLContextFactory.create().getSocketFactory(), false); + } + onStart(); + } + } + + private void shutdownInternal() { + if (shutdown.compareAndSet(false, true)) { + onShutdown(); + } + } + + public final void start() { + try { + startInternal(); + server.start(); + } catch (IOException e) { + throw new MockServerException("Exception when starting DefaultMockServer", e); + } + } + + public final void start(int port) { + try { + startInternal(); + server.start(port); + } catch (IOException e) { + throw new MockServerException("Exception when starting DefaultMockServer with port", e); + } + } + + public final void start(InetAddress inetAddress, int port) { + try { + startInternal(); + server.start(inetAddress, port); + } catch (IOException e) { + throw new MockServerException("Exception when starting DefaultMockServer with InetAddress and port", e); + } + } + + public final void shutdown() { + try { + server.shutdown(); + } catch (IOException e) { + throw new MockServerException("Exception when stopping DefaultMockServer", e); + } finally { + shutdownInternal(); + } + } + + /** + * {@inheritDoc} + */ + @Override + public String url(String path) { + return server.url(path).toString(); + } + + /** + * {@inheritDoc} + */ + @Override + public int getPort() { + return server.getPort(); + } + + /** + * {@inheritDoc} + */ + @Override + public String getHostName() { + return server.getHostName(); + } + + /** + * {@inheritDoc} + */ + @Override + public Proxy toProxyAddress() { + return server.toProxyAddress(); + } + + /** + * {@inheritDoc} + */ + @Override + public MockServerExpectation expect() { + return new MockServerExpectationImpl(responses, context); + } + + /** + * {@inheritDoc} + */ + @Override + public int getRequestCount() { + return server.getRequestCount(); + } + + /** + * {@inheritDoc} + */ + @Override + public RecordedRequest takeRequest() throws InterruptedException { + return server.takeRequest(); + } + + /** + * {@inheritDoc} + */ + @Override + public RecordedRequest takeRequest(long timeout, TimeUnit unit) throws InterruptedException { + return server.takeRequest(timeout, unit); + } + + /** + * {@inheritDoc} + */ + @Override + public synchronized RecordedRequest getLastRequest() throws InterruptedException { + if (lastRequest.get() != null && getRequestCount() == lastRequestCount.get()) { + return lastRequest.get(); + } + int requestCount = getRequestCount() - lastRequestCount.getAndSet(getRequestCount()); + RecordedRequest latestRequest = null; + while (requestCount-- > 0) { + latestRequest = takeRequest(); + } + lastRequest.set(latestRequest); + return latestRequest; + } +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/MockServer.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/MockServer.java new file mode 100644 index 00000000000..ea2d0de4e32 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/MockServer.java @@ -0,0 +1,107 @@ +/** + * 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 io.fabric8.mockwebserver; + +import io.fabric8.mockwebserver.dsl.MockServerExpectation; +import okhttp3.mockwebserver.RecordedRequest; + +import java.net.Proxy; +import java.util.concurrent.TimeUnit; + +public interface MockServer { + + /** + * This method is called right before start. Override it to add extra initialization. + */ + default void onStart() { + } + + /** + * This method is called right after shutdown. Override it to add extra cleanup. + */ + default void onShutdown() { + } + + /** + * The port for the {@link okhttp3.mockwebserver.MockWebServer}. + * + * @return the MockWebServer port. + */ + int getPort(); + + /** + * The host name for the {@link okhttp3.mockwebserver.MockWebServer}. + * + * @return the MockWebServer host name; + */ + String getHostName(); + + /** + * Returns a {@link Proxy} for the {@link okhttp3.mockwebserver.MockWebServer} with the current HostName and Port. + * + * @return a Proxy for the MockWebServer. + */ + Proxy toProxyAddress(); + + /** + * Returns a String URL for connecting to this server. + * + * @param path the request path, such as "/". + */ + String url(String path); + + /** + * Returns a {@link MockServerExpectation} to set the expectations. + * + * @return the MockServerExpectation builder. + */ + MockServerExpectation expect(); + + /** + * Returns the number of HTTP requests received thus far by this server. This may exceed the + * number of HTTP connections when connection reuse is in practice. + */ + int getRequestCount(); + + /** + * Awaits the next HTTP request, removes it, and returns it. Callers should use this to verify the + * request was sent as intended. This method will block until the request is available, possibly + * forever. + * + * @return the head of the request queue + */ + RecordedRequest takeRequest() throws InterruptedException; + + /** + * Awaits the next HTTP request (waiting up to the specified wait time if necessary), removes it, + * and returns it. Callers should use this to verify the request was sent as intended within the + * given time. + * + * @param timeout how long to wait before giving up, in units of {@code unit} + * @param unit a {@code TimeUnit} determining how to interpret the {@code timeout} parameter + * @return the head of the request queue + */ + RecordedRequest takeRequest(long timeout, TimeUnit unit) throws InterruptedException; + + /** + * Returns the last (most recent) HTTP request processed by the {@link okhttp3.mockwebserver.MockWebServer}. + * + * n.b. This method clears the request queue. + * + * @return the most recent RecordedRequest or null if none was processed. + */ + RecordedRequest getLastRequest() throws InterruptedException; +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/MockServerException.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/MockServerException.java new file mode 100644 index 00000000000..3631068cf47 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/MockServerException.java @@ -0,0 +1,63 @@ +/** + * 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 io.fabric8.mockwebserver; + +public class MockServerException extends RuntimeException { + + private static final long serialVersionUID = 2158577731194403856L; + + public MockServerException(String message) { + super(message); + } + + public MockServerException(String message, Throwable cause) { + super(message, cause); + } + + /** + * Wraps the provided {@link Throwable} in a MockServerException in case it's checked exception. + * + *

+ * For RuntimeException instances, the original exception is returned. + * + * @param cause Throwable to wrap. + * @return the original exception in case it's unchecked, or a MockServerException wrapping it. + */ + public static RuntimeException launderThrowable(Throwable cause) { + return launderThrowable("An error has occurred.", cause); + } + + /** + * Wraps the provided {@link Throwable} in a MockServerException in case it's checked exception. + * + *

+ * For RuntimeException instances, the original exception is returned. + * + * @param message Message to use for the exception. + * @param cause Throwable to wrap. + * @return the original exception in case it's unchecked, or a MockServerException wrapping it. + */ + public static RuntimeException launderThrowable(String message, Throwable cause) { + if (cause instanceof RuntimeException) { + return (RuntimeException) cause; + } else if (cause instanceof Error) { + throw (Error) cause; + } else if (cause instanceof InterruptedException) { + Thread.currentThread().interrupt(); + } + throw new MockServerException(message, cause); + } +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/ServerRequest.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/ServerRequest.java new file mode 100644 index 00000000000..ceb7b962c74 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/ServerRequest.java @@ -0,0 +1,19 @@ +/** + * 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 io.fabric8.mockwebserver; + +public interface ServerRequest { +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/ServerResponse.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/ServerResponse.java new file mode 100644 index 00000000000..2b5e9cb34d4 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/ServerResponse.java @@ -0,0 +1,26 @@ +/** + * 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 io.fabric8.mockwebserver; + +import okhttp3.mockwebserver.MockResponse; +import okhttp3.mockwebserver.RecordedRequest; + +public interface ServerResponse { + + boolean isRepeatable(); + + MockResponse toMockResponse(RecordedRequest recordedRequest); +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/crud/Attribute.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/crud/Attribute.java new file mode 100644 index 00000000000..abc5c63a800 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/crud/Attribute.java @@ -0,0 +1,91 @@ +/** + * 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 io.fabric8.mockwebserver.crud; + +import java.util.Collections; +import java.util.List; +import java.util.Objects; +import java.util.stream.Collectors; + +import static io.fabric8.mockwebserver.crud.AttributeType.WITH; + +public class Attribute { + + private final Key key; + private final List values; + private final AttributeType type; + + public Attribute(Key key, List values, AttributeType type) { + this.key = key; + this.values = values; + this.type = type; + } + + public Attribute(Key key, Value value, AttributeType type) { + this(key, Collections.singletonList(value), type); + } + + public Attribute(String key, String value, AttributeType type) { + this(new Key(key), new Value(value), type); + } + + public Attribute(String key, List values, AttributeType type) { + this(new Key(key), values.stream().map(Value::new).collect(Collectors.toList()), type); + } + + public Attribute(Key key, Value value) { + this(key, value, WITH); + } + + public Attribute(String key, String value) { + this(new Key(key), new Value(value)); + } + + public Key getKey() { + return key; + } + + public List getValues() { + return values; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + if (o == null || getClass() != o.getClass()) + return false; + Attribute attribute = (Attribute) o; + return Objects.equals(key, attribute.key) && Objects.equals(values, attribute.values); + } + + @Override + public int hashCode() { + return Objects.hash(key, values); + } + + @Override + public String toString() { + return "{" + + "key:" + key + + ", values:" + values + + '}'; + } + + public AttributeType getType() { + return type; + } +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/crud/AttributeExtractor.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/crud/AttributeExtractor.java new file mode 100644 index 00000000000..d3e3650ac53 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/crud/AttributeExtractor.java @@ -0,0 +1,24 @@ +/** + * 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 io.fabric8.mockwebserver.crud; + +public interface AttributeExtractor { + + AttributeSet fromPath(String path); + + AttributeSet fromResource(String resource); + +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/crud/AttributeSet.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/crud/AttributeSet.java new file mode 100644 index 00000000000..df68305f914 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/crud/AttributeSet.java @@ -0,0 +1,149 @@ +/** + * 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 io.fabric8.mockwebserver.crud; + +import java.util.Arrays; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +public class AttributeSet { + + // Package-private for testing + final Map attributes; + + public static AttributeSet merge(AttributeSet... attributeSets) { + Map all = new HashMap<>(); + if (attributeSets != null) { + for (AttributeSet f : attributeSets) { + if (f != null && f.attributes != null) { + all.putAll(f.attributes); + } + } + } + return new AttributeSet(all); + } + + public static AttributeSet map(Attribute... attributes) { + Map all = new HashMap<>(); + if (attributes != null) { + for (Attribute a : attributes) { + all.put(a.getKey(), a); + } + } + return new AttributeSet(all); + } + + public AttributeSet(Attribute... attributes) { + this(Arrays.asList(attributes)); + } + + public AttributeSet(Collection attributes) { + this(AttributeSet.map(attributes.toArray(new Attribute[0])).attributes); + } + + public AttributeSet(Map attributes) { + this.attributes = attributes; + } + + public AttributeSet add(Attribute... attr) { + Map all = new HashMap<>(attributes); + for (Attribute a : attr) { + all.put(a.getKey(), a); + } + return new AttributeSet(all); + } + + public boolean containsKey(String key) { + return containsKey(new Key(key)); + } + + public boolean containsKey(Key key) { + return attributes.containsKey(key); + } + + /** + * matches if attributes in db has (or doesn't if WITHOUT command) a set of candidate attributes + * Also supports EXISTS and NOT_EXISTS operations + * + * @param candidate - set of candidate attributes + * @return match + */ + public boolean matches(AttributeSet candidate) { + return candidate.attributes.values() + .stream() + .allMatch(this::satisfiesAttribute); + } + + private boolean satisfiesAttribute(Attribute c) { + switch (c.getType()) { + case EXISTS: + return attributes.containsKey(c.getKey()); + case NOT_EXISTS: + return !attributes.containsKey(c.getKey()); + case IN: { + if (attributes.containsKey(c.getKey())) { + if (attributes.get(c.getKey()).getValues().size() > 1) { + throw new IllegalArgumentException("Attribute " + c.getKey() + " has multiple values, can't use IN operation"); + } + return c.getValues().contains(attributes.get(c.getKey()).getValues().iterator().next()); + } + return false; + } + case NOT_IN: { + if (attributes.containsKey(c.getKey())) { + if (attributes.get(c.getKey()).getValues().size() > 1) { + throw new IllegalArgumentException("Attribute " + c.getKey() + " has multiple values, can't use NOT_IN operation"); + } + return !c.getValues().contains(attributes.get(c.getKey()).getValues().iterator().next()); + } + return true; + } + case WITHOUT: + return !attributes.containsValue(c); + case WITH: + default: + return attributes.containsValue(c); + } + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + if (o == null || getClass() != o.getClass()) + return false; + AttributeSet that = (AttributeSet) o; + return Objects.equals(attributes, that.attributes); + } + + @Override + public int hashCode() { + return Objects.hash(attributes); + } + + public Attribute getAttribute(String key) { + return attributes.get(new Key(key)); + } + + @Override + public String toString() { + return "{" + + "attributes: " + attributes + + '}'; + } +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/crud/AttributeType.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/crud/AttributeType.java new file mode 100644 index 00000000000..209a49c749b --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/crud/AttributeType.java @@ -0,0 +1,25 @@ +/** + * 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 io.fabric8.mockwebserver.crud; + +public enum AttributeType { + WITH, + WITHOUT, + EXISTS, + NOT_EXISTS, + IN, + NOT_IN +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/crud/CrudDispatcher.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/crud/CrudDispatcher.java new file mode 100644 index 00000000000..f1d059b6115 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/crud/CrudDispatcher.java @@ -0,0 +1,230 @@ +/** + * 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 io.fabric8.mockwebserver.crud; + +import com.fasterxml.jackson.databind.JsonNode; +import io.fabric8.mockwebserver.Context; +import io.fabric8.mockwebserver.MockServerException; +import io.fabric8.zjsonpatch.JsonPatch; +import okhttp3.mockwebserver.Dispatcher; +import okhttp3.mockwebserver.MockResponse; +import okhttp3.mockwebserver.RecordedRequest; + +import java.net.HttpURLConnection; +import java.util.ArrayList; +import java.util.Collections; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; + +public class CrudDispatcher extends Dispatcher { + + private static final String POST = "POST"; + private static final String PUT = "PUT"; + private static final String PATCH = "PATCH"; + private static final String GET = "GET"; + private static final String DELETE = "DELETE"; + + protected final Map map = Collections.synchronizedMap(new LinkedHashMap<>()); + + protected final Context context; + protected final AttributeExtractor attributeExtractor; + protected final ResponseComposer responseComposer; + + public CrudDispatcher(Context context, AttributeExtractor attributeExtractor, ResponseComposer responseComposer) { + this.context = context; + this.attributeExtractor = attributeExtractor; + this.responseComposer = responseComposer; + } + + @Override + public MockResponse dispatch(RecordedRequest request) { + String path = request.getPath(); + switch (request.getMethod().toUpperCase()) { + case POST: + return handleCreate(request); + case PUT: + return handleUpdate(request); + case PATCH: + return handlePatch(request); + case GET: + return handleGet(path); + case DELETE: + return handleDelete(path); + default: + return null; + } + } + + public MockResponse handleCreate(RecordedRequest request) { + return handleCreate(request.getPath(), request.getBody().readUtf8()); + } + + /** + * Adds the specified object to the in-memory db. + * + * @param path for the request. + * @param body Request body as String (UTF-8). + * @return a MockResponse to be dispatched. + */ + public MockResponse handleCreate(String path, String body) { + MockResponse response = new MockResponse(); + AttributeSet features = AttributeSet.merge(attributeExtractor.fromPath(path), attributeExtractor.fromResource(body)); + synchronized (map) { + map.put(features, body); + } + response.setBody(body); + response.setResponseCode(202); + return response; + } + + public MockResponse handlePatch(RecordedRequest request) { + return handlePatch(request.getPath(), request.getBody().readUtf8()); + } + + /** + * Patches the specified object to the in-memory db. + * + * @param path for the request. + * @param body Request body as String (UTF-8). + * @return a MockResponse to be dispatched. + */ + public MockResponse handlePatch(String path, String body) { + MockResponse response = new MockResponse(); + String existingObjectBody = doGet(path); + if (existingObjectBody == null) { + response.setResponseCode(404); + } else { + try { + JsonNode patch = context.getMapper().readTree(body); + JsonNode source = context.getMapper().readTree(existingObjectBody); + JsonNode updated = JsonPatch.apply(patch, source); + String updatedAsString = context.getMapper().writeValueAsString(updated); + AttributeSet features = AttributeSet.merge(attributeExtractor.fromPath(path), + attributeExtractor.fromResource(updatedAsString)); + synchronized (map) { + map.put(features, updatedAsString); + } + response.setResponseCode(202); + response.setBody(updatedAsString); + } catch (Exception e) { + throw new MockServerException("Exception when handling CRUD patch", e); + } + + } + return response; + } + + public MockResponse handleUpdate(RecordedRequest request) { + return handleUpdate(request.getPath(), request.getBody().readUtf8()); + } + + /** + * Updates the specified object to the in-memory db. + * + * @param path for the request. + * @param body Request body as String (UTF-8). + * @return a MockResponse to be dispatched. + */ + public MockResponse handleUpdate(String path, String body) { + final String currentItem = doGet(path); + final MockResponse response = handleCreate(path, body); + if (currentItem == null) { + response.setResponseCode(HttpURLConnection.HTTP_CREATED); + } + return response; + } + + /** + * Performs a get for the corresponding object from the in-memory db. + * + * @param path for the request. + * @return a MockResponse to be dispatched. + */ + public MockResponse handleGet(String path) { + MockResponse response = new MockResponse(); + + String body = doGet(path); + if (body == null) { + response.setResponseCode(404); + } else { + response.setResponseCode(200); + response.setBody(body); + } + return response; + } + + /** + * Performs a delete for the corresponding object from the in-memory db. + * + * @param path for the request. + * @return a MockResponse to be dispatched. + */ + public MockResponse handleDelete(String path) { + MockResponse response = new MockResponse(); + List items = new ArrayList<>(); + AttributeSet query = attributeExtractor.fromPath(path); + + synchronized (map) { + for (Map.Entry entry : map.entrySet()) { + if (entry.getKey().matches(query)) { + items.add(entry.getKey()); + } + } + if (!items.isEmpty()) { + for (AttributeSet item : items) { + map.remove(item); + } + response.setResponseCode(200); + } else { + response.setResponseCode(404); + } + } + return response; + } + + public Map getMap() { + return map; + } + + public AttributeExtractor getAttributeExtractor() { + return attributeExtractor; + } + + public ResponseComposer getResponseComposer() { + return responseComposer; + } + + private String doGet(String path) { + List items = new ArrayList<>(); + AttributeSet query = attributeExtractor.fromPath(path); + synchronized (map) { + for (Map.Entry entry : map.entrySet()) { + if (entry.getKey().matches(query)) { + items.add(entry.getValue()); + } + } + } + + if (items.isEmpty()) { + return null; + } else if (items.size() == 1) { + return items.get(0); + } else { + return responseComposer.compose(items); + } + } +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/crud/Key.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/crud/Key.java new file mode 100644 index 00000000000..ca41a2803ea --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/crud/Key.java @@ -0,0 +1,47 @@ +/** + * 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 io.fabric8.mockwebserver.crud; + +import java.util.Objects; + +public class Key { + + private final String name; + + public Key(String name) { + this.name = name; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + if (o == null || getClass() != o.getClass()) + return false; + Key key = (Key) o; + return Objects.equals(name, key.name); + } + + @Override + public int hashCode() { + return Objects.hash(name); + } + + @Override + public String toString() { + return name; + } +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/crud/ResponseComposer.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/crud/ResponseComposer.java new file mode 100644 index 00000000000..14d1b8c5700 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/crud/ResponseComposer.java @@ -0,0 +1,23 @@ +/** + * 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 io.fabric8.mockwebserver.crud; + +import java.util.Collection; + +public interface ResponseComposer { + + String compose(Collection items); +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/crud/Value.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/crud/Value.java new file mode 100644 index 00000000000..047ac4b9d31 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/crud/Value.java @@ -0,0 +1,60 @@ +/** + * 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 io.fabric8.mockwebserver.crud; + +public class Value { + + private static final String ANY = "*"; + + private final String val; + + public Value(String value) { + this.val = value; + } + + @Override + // TODO: There's a BUG here, equals({val: "*"} is true but might have different hashCode + public boolean equals(Object o) { + if (this == o) { + return true; + } + + if (o == null || getClass() != o.getClass()) { + return false; + } + + if (ANY.equals(val)) { + return true; + } + + Value key = (Value) o; + + if (ANY.equals(key.val)) { + return true; + } + return val != null ? val.equals(key.val) : key.val == null; + } + + @Override + public int hashCode() { + return val != null ? val.hashCode() : 0; + } + + @Override + public String toString() { + return val; + } +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/DelayPathable.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/DelayPathable.java new file mode 100644 index 00000000000..bf135262b1f --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/DelayPathable.java @@ -0,0 +1,21 @@ +/** + * 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 io.fabric8.mockwebserver.dsl; + +public interface DelayPathable extends Delayable>, + Pathable { + +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/DelayTimesOrOnceable.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/DelayTimesOrOnceable.java new file mode 100644 index 00000000000..afe11633109 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/DelayTimesOrOnceable.java @@ -0,0 +1,20 @@ +/** + * 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 io.fabric8.mockwebserver.dsl; + +public interface DelayTimesOrOnceable extends Delayable, TimesOrOnceable { + +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Delayable.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Delayable.java new file mode 100644 index 00000000000..6627982076d --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Delayable.java @@ -0,0 +1,26 @@ +/** + * 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 io.fabric8.mockwebserver.dsl; + +import java.util.concurrent.TimeUnit; + +public interface Delayable { + + T delay(long delay, TimeUnit delayUnit); + + T delay(long delayInMilliseconds); + +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Doneable.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Doneable.java new file mode 100644 index 00000000000..88f9dcacc34 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Doneable.java @@ -0,0 +1,21 @@ +/** + * 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 io.fabric8.mockwebserver.dsl; + +public interface Doneable { + T done(); +} \ No newline at end of file diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Emitable.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Emitable.java new file mode 100644 index 00000000000..3ab2823018c --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Emitable.java @@ -0,0 +1,29 @@ +/** + * 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 io.fabric8.mockwebserver.dsl; + +public interface Emitable { + + /** + * Emit an event. This will be received by the client's onMessage. + * + * @param event + * @return + */ + T andEmit(Object event); + +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/EventDoneable.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/EventDoneable.java new file mode 100644 index 00000000000..2d744379542 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/EventDoneable.java @@ -0,0 +1,20 @@ +/** + * 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 io.fabric8.mockwebserver.dsl; + +public interface EventDoneable extends Eventable>, Doneable { +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Eventable.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Eventable.java new file mode 100644 index 00000000000..ff6a1a2c647 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Eventable.java @@ -0,0 +1,31 @@ +/** + * 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 io.fabric8.mockwebserver.dsl; + +public interface Eventable { + + Emitable> expect(Object in); + + Emitable> expectHttpRequest(final String path); + + Emitable> expectSentWebSocketMessage(final Object in); + + Emitable waitFor(long millis); + + Emitable immediately(); + +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Failable.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Failable.java new file mode 100644 index 00000000000..dcd3178e3df --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Failable.java @@ -0,0 +1,22 @@ +/** + * 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 io.fabric8.mockwebserver.dsl; + +public interface Failable { + + T failure(Object response, Exception e); +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/HttpHeaderable.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/HttpHeaderable.java new file mode 100644 index 00000000000..f4c7c80636f --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/HttpHeaderable.java @@ -0,0 +1,25 @@ +/** + * 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 io.fabric8.mockwebserver.dsl; + +public interface HttpHeaderable { + + T withHeader(String header); + + T withHeader(String name, String value); + +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/HttpMethod.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/HttpMethod.java new file mode 100644 index 00000000000..817af73b793 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/HttpMethod.java @@ -0,0 +1,30 @@ +/** + * 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 io.fabric8.mockwebserver.dsl; + +public enum HttpMethod { + + GET, + POST, + PUT, + PATCH, + DELETE, + OPTIONS, + CONNECT, + ANY + +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/HttpMethodable.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/HttpMethodable.java new file mode 100644 index 00000000000..7d48218bc24 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/HttpMethodable.java @@ -0,0 +1,33 @@ +/** + * 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 io.fabric8.mockwebserver.dsl; + +public interface HttpMethodable { + + T any(); + + T post(); + + T get(); + + T put(); + + T delete(); + + T patch(); + +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/HttpStatusable.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/HttpStatusable.java new file mode 100644 index 00000000000..c39de4d17bf --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/HttpStatusable.java @@ -0,0 +1,23 @@ +/** + * 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 io.fabric8.mockwebserver.dsl; + +public interface HttpStatusable { + + T withStatus(int statusCode); + +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/MockServerExpectation.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/MockServerExpectation.java new file mode 100644 index 00000000000..c21c65be934 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/MockServerExpectation.java @@ -0,0 +1,24 @@ +/** + * 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 io.fabric8.mockwebserver.dsl; + +public interface MockServerExpectation + extends HttpMethodable>>>, + DelayPathable>>, + ReturnOrWebsocketable>, + TimesOnceableOrHttpHeaderable { + +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Onceable.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Onceable.java new file mode 100644 index 00000000000..b586b042923 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Onceable.java @@ -0,0 +1,21 @@ +/** + * 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 io.fabric8.mockwebserver.dsl; + +public interface Onceable { + + T once(); +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Openable.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Openable.java new file mode 100644 index 00000000000..bb88bd9cf20 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Openable.java @@ -0,0 +1,22 @@ +/** + * 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 io.fabric8.mockwebserver.dsl; + +public interface Openable { + + T open(Object... response); +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Pathable.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Pathable.java new file mode 100644 index 00000000000..c26cb2ba974 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Pathable.java @@ -0,0 +1,23 @@ +/** + * 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 io.fabric8.mockwebserver.dsl; + +public interface Pathable { + + T withPath(String path); + +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Replyable.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Replyable.java new file mode 100644 index 00000000000..4f7669f6350 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Replyable.java @@ -0,0 +1,34 @@ +/** + * 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 io.fabric8.mockwebserver.dsl; + +import io.fabric8.mockwebserver.utils.BodyProvider; +import io.fabric8.mockwebserver.utils.ResponseProvider; + +import java.util.List; + +public interface Replyable { + + T andReply(int statusCode, BodyProvider contentSupplier); + + T andReply(ResponseProvider contentSupplier); + + T andReplyChunked(int statusCode, BodyProvider> content); + + T andReplyChunked(ResponseProvider> content); + +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/ReturnOrWebsocketable.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/ReturnOrWebsocketable.java new file mode 100644 index 00000000000..d1aaa1de3dd --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/ReturnOrWebsocketable.java @@ -0,0 +1,20 @@ +/** + * 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 io.fabric8.mockwebserver.dsl; + +public interface ReturnOrWebsocketable extends Returnable, WebSocketable>, Replyable { +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Returnable.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Returnable.java new file mode 100644 index 00000000000..3a7605d93a3 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Returnable.java @@ -0,0 +1,25 @@ +/** + * 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 io.fabric8.mockwebserver.dsl; + +public interface Returnable { + + T andReturn(int statusCode, Object content); + + T andReturnChunked(int statusCode, Object... content); + +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Schedulable.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Schedulable.java new file mode 100644 index 00000000000..e3f1ae285c7 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Schedulable.java @@ -0,0 +1,25 @@ +/** + * 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 io.fabric8.mockwebserver.dsl; + +import java.util.concurrent.TimeUnit; + +public interface Schedulable { + + T every(long initialDelay, long period, TimeUnit timeUnit); + + T every(long period, TimeUnit timeUnit); +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/TimesOnceableOrHttpHeaderable.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/TimesOnceableOrHttpHeaderable.java new file mode 100644 index 00000000000..a60f4b95931 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/TimesOnceableOrHttpHeaderable.java @@ -0,0 +1,20 @@ +/** + * 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 io.fabric8.mockwebserver.dsl; + +public interface TimesOnceableOrHttpHeaderable extends HttpHeaderable>, TimesOrOnceable { + +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/TimesOrOnceable.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/TimesOrOnceable.java new file mode 100644 index 00000000000..5e91362ee4b --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/TimesOrOnceable.java @@ -0,0 +1,21 @@ +/** + * 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 io.fabric8.mockwebserver.dsl; + +public interface TimesOrOnceable extends Timesable, + Onceable { + +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/TimesSchedulableOrOnceable.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/TimesSchedulableOrOnceable.java new file mode 100644 index 00000000000..e53348d026f --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/TimesSchedulableOrOnceable.java @@ -0,0 +1,22 @@ +/** + * 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 io.fabric8.mockwebserver.dsl; + +public interface TimesSchedulableOrOnceable extends TimesOrOnceable, + Schedulable> { + +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Timesable.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Timesable.java new file mode 100644 index 00000000000..6027c6ad7c3 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/Timesable.java @@ -0,0 +1,23 @@ +/** + * 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 io.fabric8.mockwebserver.dsl; + +public interface Timesable { + + T always(); + + T times(int times); +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/WebSocketSessionBuilder.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/WebSocketSessionBuilder.java new file mode 100644 index 00000000000..20d37852fbe --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/WebSocketSessionBuilder.java @@ -0,0 +1,22 @@ +/** + * 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 io.fabric8.mockwebserver.dsl; + +public interface WebSocketSessionBuilder extends + Openable>, + Failable { +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/WebSocketable.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/WebSocketable.java new file mode 100644 index 00000000000..22f1f1aab41 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/dsl/WebSocketable.java @@ -0,0 +1,32 @@ +/** + * 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 io.fabric8.mockwebserver.dsl; + +import java.util.concurrent.ScheduledExecutorService; + +public interface WebSocketable { + + T andUpgradeToWebSocket(); + + /** + * @deprecated the provided ScheduledExecutorService is not used, use {@link #andUpgradeToWebSocket()} instead. + * The ExecutorService is handled internally by WebSocketSession, external executors are no longer allowed. + */ + @Deprecated + T andUpgradeToWebSocket(ScheduledExecutorService executor); + +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/internal/ChunkedResponse.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/internal/ChunkedResponse.java new file mode 100644 index 00000000000..d5d6df848b8 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/internal/ChunkedResponse.java @@ -0,0 +1,85 @@ +/** + * 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 io.fabric8.mockwebserver.internal; + +import io.fabric8.mockwebserver.ServerResponse; +import io.fabric8.mockwebserver.utils.ResponseProvider; +import io.fabric8.mockwebserver.utils.ResponseProviders; +import okhttp3.mockwebserver.MockResponse; +import okhttp3.mockwebserver.RecordedRequest; + +import java.util.List; +import java.util.concurrent.TimeUnit; + +public class ChunkedResponse implements ServerResponse { + + private static final int DEFAULT_MAX_CHUNK_SIZE = 204800; + private final ResponseProvider> bodyProvider; + private final boolean repeatable; + private final long responseDelay; + private final TimeUnit responseDelayUnit; + + public ChunkedResponse(boolean repeatable, int statusCode, String... body) { + this(repeatable, ResponseProviders.ofAll(statusCode, body)); + } + + public ChunkedResponse(boolean repeatable, ResponseProvider> bodyProvider) { + this(repeatable, 0, TimeUnit.MILLISECONDS, bodyProvider); + } + + public ChunkedResponse(boolean repeatable, int statusCode, long responseDelay, TimeUnit responseDelayUnit, String... body) { + this(repeatable, responseDelay, responseDelayUnit, ResponseProviders.ofAll(statusCode, body)); + } + + public ChunkedResponse(boolean repeatable, long responseDelay, TimeUnit responseDelayUnit, + ResponseProvider> bodyProvider) { + this.bodyProvider = bodyProvider; + this.repeatable = repeatable; + this.responseDelay = responseDelay; + this.responseDelayUnit = responseDelayUnit; + } + + public ResponseProvider> getBodyProvider() { + return bodyProvider; + } + + @Override + public MockResponse toMockResponse(RecordedRequest request) { + MockResponse mockResponse = new MockResponse(); + mockResponse.setHeaders(bodyProvider.getHeaders()); + mockResponse.setChunkedBody(concatBody(request), DEFAULT_MAX_CHUNK_SIZE); + mockResponse.setResponseCode(bodyProvider.getStatusCode(request)); + + if (responseDelay > 0) { + mockResponse.setBodyDelay(responseDelay, responseDelayUnit); + } + + return mockResponse; + } + + private String concatBody(RecordedRequest request) { + StringBuilder sb = new StringBuilder(); + for (String s : bodyProvider.getBody(request)) { + sb.append(s); + } + return sb.toString(); + } + + @Override + public boolean isRepeatable() { + return repeatable; + } +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/internal/InlineWebSocketSessionBuilder.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/internal/InlineWebSocketSessionBuilder.java new file mode 100644 index 00000000000..c018e295464 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/internal/InlineWebSocketSessionBuilder.java @@ -0,0 +1,210 @@ +/** + * 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 io.fabric8.mockwebserver.internal; + +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.ObjectMapper; +import io.fabric8.mockwebserver.MockServerException; +import io.fabric8.mockwebserver.dsl.Emitable; +import io.fabric8.mockwebserver.dsl.EventDoneable; +import io.fabric8.mockwebserver.dsl.TimesOrOnceable; +import io.fabric8.mockwebserver.dsl.WebSocketSessionBuilder; + +import java.util.ArrayDeque; +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; +import java.util.Queue; +import java.util.function.Function; + +public class InlineWebSocketSessionBuilder implements WebSocketSessionBuilder, EventDoneable { + + private static final ObjectMapper MAPPER = new ObjectMapper(); + + private final Function function; + private WebSocketSession session; + + public InlineWebSocketSessionBuilder(Function function) { + this.function = function; + } + + @Override + public EventDoneable open(Object... response) { + this.session = new WebSocketSession(toWebSocketMessages(response), null, null); + return this; + } + + @Override + public T failure(Object response, Exception e) { + return function.apply(new WebSocketSession(Collections.emptyList(), toWebSocketMessage(response), e)); + } + + @Override + public T done() { + return function.apply(session); + } + + @Override + public Emitable>> expect(final Object in) { + return event -> new TimesOrOnceable>() { + @Override + public EventDoneable always() { + enqueue(in, toWebSocketMessage(event, false)); + return InlineWebSocketSessionBuilder.this; + } + + @Override + public EventDoneable once() { + enqueue(in, toWebSocketMessage(event, true)); + return InlineWebSocketSessionBuilder.this; + } + + @Override + public EventDoneable times(int times) { + for (int i = 0; i < times; i++) { + enqueue(in, toWebSocketMessage(event, true)); + } + return InlineWebSocketSessionBuilder.this; + } + }; + } + + @Override + public Emitable>> expectHttpRequest(final String path) { + return event -> new TimesOrOnceable>() { + @Override + public EventDoneable always() { + enqueueSimpleRequest(new SimpleRequest(path), toWebSocketMessage(event, false)); + return InlineWebSocketSessionBuilder.this; + } + + @Override + public EventDoneable once() { + enqueueSimpleRequest(new SimpleRequest(path), toWebSocketMessage(event, true)); + return InlineWebSocketSessionBuilder.this; + } + + @Override + public EventDoneable times(int times) { + for (int i = 0; i < times; i++) { + enqueueSimpleRequest(new SimpleRequest(path), toWebSocketMessage(event, true)); + } + return InlineWebSocketSessionBuilder.this; + } + }; + } + + @Override + public Emitable>> expectSentWebSocketMessage(final Object in) { + return event -> new TimesOrOnceable>() { + @Override + public EventDoneable always() { + enqueueForSentWebSocketMessage(in, toWebSocketMessage(event, false)); + return InlineWebSocketSessionBuilder.this; + } + + @Override + public EventDoneable once() { + enqueueForSentWebSocketMessage(in, toWebSocketMessage(event, true)); + return InlineWebSocketSessionBuilder.this; + } + + @Override + public EventDoneable times(int times) { + for (int i = 0; i < times; i++) { + enqueueForSentWebSocketMessage(in, toWebSocketMessage(event, true)); + } + return InlineWebSocketSessionBuilder.this; + } + }; + } + + @Override + public Emitable> waitFor(final long millis) { + return event -> { + session.getTimedEvents().add(toWebSocketMessage(millis, event)); + return InlineWebSocketSessionBuilder.this; + }; + } + + @Override + public Emitable> immediately() { + return waitFor(0); + } + + private List toWebSocketMessages(Object... messages) { + List response = new ArrayList<>(); + for (Object msg : messages) { + response.add(toWebSocketMessage(msg)); + } + return response; + } + + private WebSocketMessage toWebSocketMessage(Object content) { + return toWebSocketMessage(0L, content, true); + } + + private WebSocketMessage toWebSocketMessage(Long delay, Object content) { + return toWebSocketMessage(delay, content, true); + } + + private WebSocketMessage toWebSocketMessage(Object content, Boolean toBeRemoved) { + return toWebSocketMessage(0L, content, toBeRemoved); + } + + private WebSocketMessage toWebSocketMessage(Long delay, Object content, Boolean toBeRemoved) { + if (content instanceof String) { + return new WebSocketMessage(delay, (String) content, toBeRemoved); + } else if (content instanceof WebSocketMessage) { + return (WebSocketMessage) content; + } else { + try { + return toWebSocketMessage(delay, MAPPER.writeValueAsString(content), toBeRemoved); + } catch (JsonProcessingException e) { + throw new MockServerException("Exception when mapping to WebSocketMessage", e); + } + } + } + + private void enqueue(Object req, WebSocketMessage resp) { + Queue queuedResponses = session.getRequestEvents().get(req); + if (queuedResponses == null) { + queuedResponses = new ArrayDeque<>(); + session.getRequestEvents().put(req, queuedResponses); + } + queuedResponses.add(resp); + } + + private void enqueueForSentWebSocketMessage(Object req, WebSocketMessage resp) { + Queue queuedResponses = session.getSentWebSocketMessagesRequestEvents().get(req); + if (queuedResponses == null) { + queuedResponses = new ArrayDeque<>(); + session.getSentWebSocketMessagesRequestEvents().put(req, queuedResponses); + } + queuedResponses.add(resp); + } + + private void enqueueSimpleRequest(SimpleRequest req, WebSocketMessage resp) { + Queue queuedResponses = session.getHttpRequestEvents().get(req); + if (queuedResponses == null) { + queuedResponses = new ArrayDeque<>(); + session.getHttpRequestEvents().put(req, queuedResponses); + } + queuedResponses.add(resp); + } + +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/internal/MockDispatcher.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/internal/MockDispatcher.java new file mode 100644 index 00000000000..8aa6d41bb64 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/internal/MockDispatcher.java @@ -0,0 +1,80 @@ +/** + * 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 io.fabric8.mockwebserver.internal; + +import io.fabric8.mockwebserver.ServerRequest; +import io.fabric8.mockwebserver.ServerResponse; +import io.fabric8.mockwebserver.dsl.HttpMethod; +import okhttp3.mockwebserver.Dispatcher; +import okhttp3.mockwebserver.MockResponse; +import okhttp3.mockwebserver.RecordedRequest; + +import java.util.Collection; +import java.util.Map; +import java.util.Queue; +import java.util.concurrent.ConcurrentLinkedQueue; + +public class MockDispatcher extends Dispatcher { + + private final Map> responses; + private final Collection webSocketSessions = new ConcurrentLinkedQueue<>(); + + public MockDispatcher(Map> responses) { + this.responses = responses; + } + + @Override + public MockResponse dispatch(RecordedRequest request) { + for (WebSocketSession webSocketSession : webSocketSessions) { + webSocketSession.dispatch(request); + } + + HttpMethod method = HttpMethod.valueOf(request.getMethod()); + String path = request.getPath(); + SimpleRequest key = new SimpleRequest(method, path); + SimpleRequest keyForAnyMethod = new SimpleRequest(path); + if (responses.containsKey(key)) { + Queue queue = responses.get(key); + return handleResponse(queue.peek(), queue, request); + } else if (responses.containsKey(keyForAnyMethod)) { + Queue queue = responses.get(keyForAnyMethod); + return handleResponse(queue.peek(), queue, request); + } + return new MockResponse().setResponseCode(404); + } + + private MockResponse handleResponse(ServerResponse response, Queue queue, RecordedRequest request) { + if (response == null) { + return new MockResponse().setResponseCode(404); + } else if (!response.isRepeatable()) { + queue.remove(); + } + if (response instanceof SimpleResponse) { + SimpleResponse simpleResponse = (SimpleResponse) response; + if (simpleResponse.getWebSocketSession() != null) { + webSocketSessions.add(simpleResponse.getWebSocketSession()); + } + } + return response.toMockResponse(request); + } + + @Override + public void shutdown() { + webSocketSessions.forEach(WebSocketSession::shutdown); + super.shutdown(); + } +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/internal/MockSSLContextFactory.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/internal/MockSSLContextFactory.java new file mode 100644 index 00000000000..3a3a1279ffc --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/internal/MockSSLContextFactory.java @@ -0,0 +1,40 @@ +/** + * 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 io.fabric8.mockwebserver.internal; + +import io.fabric8.mockwebserver.MockServerException; +import io.fabric8.mockwebserver.utils.SSLUtils; + +import javax.net.ssl.KeyManager; +import javax.net.ssl.SSLContext; + +public class MockSSLContextFactory { + + private MockSSLContextFactory() { + } + + public static SSLContext create() { + try { + KeyManager[] keyManagers = SSLUtils.keyManagers(MockSSLContextFactory.class.getResourceAsStream("/ssl/fabric8.crt"), + MockSSLContextFactory.class.getResourceAsStream("/ssl/fabric8-private-key.pem"), + "RSA", ""); + return SSLUtils.sslContext(keyManagers, null, true); + } catch (Exception e) { + throw new MockServerException("Exception creating SSLContext", e); + } + } +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/internal/MockServerExpectationImpl.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/internal/MockServerExpectationImpl.java new file mode 100644 index 00000000000..2e30817cf20 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/internal/MockServerExpectationImpl.java @@ -0,0 +1,357 @@ +/** + * 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 io.fabric8.mockwebserver.internal; + +import com.fasterxml.jackson.core.JsonProcessingException; +import io.fabric8.mockwebserver.Context; +import io.fabric8.mockwebserver.MockServerException; +import io.fabric8.mockwebserver.ServerRequest; +import io.fabric8.mockwebserver.ServerResponse; +import io.fabric8.mockwebserver.dsl.DelayPathable; +import io.fabric8.mockwebserver.dsl.HttpMethod; +import io.fabric8.mockwebserver.dsl.MockServerExpectation; +import io.fabric8.mockwebserver.dsl.Pathable; +import io.fabric8.mockwebserver.dsl.ReturnOrWebsocketable; +import io.fabric8.mockwebserver.dsl.TimesOnceableOrHttpHeaderable; +import io.fabric8.mockwebserver.dsl.WebSocketSessionBuilder; +import io.fabric8.mockwebserver.utils.BodyProvider; +import io.fabric8.mockwebserver.utils.ResponseProvider; +import io.fabric8.mockwebserver.utils.ResponseProviders; +import okhttp3.Headers; +import okhttp3.mockwebserver.RecordedRequest; + +import java.util.ArrayDeque; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Queue; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.TimeUnit; +import java.util.function.Function; +import java.util.stream.Collectors; +import java.util.stream.Stream; + +public class MockServerExpectationImpl implements MockServerExpectation { + + private final Context context; + private final HttpMethod method; + private final String path; + private final ResponseProvider bodyProvider; + private final ResponseProvider> chunksProvider; + private final long delay; + private final TimeUnit delayUnit; + private final int times; + + private final Map> responses; + + public MockServerExpectationImpl(Map> responses, Context context) { + this(context, HttpMethod.ANY, null, 200, null, null, 0, TimeUnit.SECONDS, 1, responses); + } + + public MockServerExpectationImpl(Context context, HttpMethod method, String path, int statusCode, String body, + String[] chunks, long delay, TimeUnit delayUnit, int times, Map> responses) { + this(context, method, path, ResponseProviders.of(statusCode, body), ResponseProviders.ofAll(statusCode, chunks), delay, + delayUnit, times, responses); + } + + public MockServerExpectationImpl(Context context, HttpMethod method, String path, ResponseProvider bodyProvider, + ResponseProvider> chunksProvider, long delay, TimeUnit delayUnit, int times, + Map> responses) { + this.context = context; + this.method = method; + this.path = path; + this.bodyProvider = bodyProvider; + this.chunksProvider = chunksProvider; + this.delay = delay; + this.delayUnit = delayUnit; + this.times = times; + this.responses = responses; + } + + @Override + public DelayPathable>> any() { + return new MockServerExpectationImpl(context, HttpMethod.ANY, path, bodyProvider, chunksProvider, delay, delayUnit, times, + responses); + } + + @Override + public DelayPathable>> post() { + return new MockServerExpectationImpl(context, HttpMethod.POST, path, bodyProvider, chunksProvider, delay, delayUnit, times, + responses); + } + + @Override + public DelayPathable>> get() { + return new MockServerExpectationImpl(context, HttpMethod.GET, path, bodyProvider, chunksProvider, delay, delayUnit, times, + responses); + } + + @Override + public DelayPathable>> put() { + return new MockServerExpectationImpl(context, HttpMethod.PUT, path, bodyProvider, chunksProvider, delay, delayUnit, times, + responses); + } + + @Override + public DelayPathable>> delete() { + return new MockServerExpectationImpl(context, HttpMethod.DELETE, path, bodyProvider, chunksProvider, delay, delayUnit, + times, responses); + } + + @Override + public DelayPathable>> patch() { + return new MockServerExpectationImpl(context, HttpMethod.PATCH, path, bodyProvider, chunksProvider, delay, delayUnit, times, + responses); + } + + @Override + public ReturnOrWebsocketable> withPath(String path) { + return new MockServerExpectationImpl(context, method, path, bodyProvider, chunksProvider, delay, delayUnit, times, + responses); + } + + @Override + public TimesOnceableOrHttpHeaderable andReturn(int statusCode, Object content) { + return new MockServerExpectationImpl(context, method, path, ResponseProviders.of(statusCode, toString(content)), + chunksProvider, delay, delayUnit, times, responses); + } + + @Override + public TimesOnceableOrHttpHeaderable andReply(int statusCode, BodyProvider content) { + return andReply(ResponseProviders.of(statusCode, content)); + } + + @Override + public TimesOnceableOrHttpHeaderable andReply(ResponseProvider content) { + return new MockServerExpectationImpl(context, method, path, toString(content), chunksProvider, delay, delayUnit, times, + responses); + } + + @Override + public TimesOnceableOrHttpHeaderable andReturnChunked(int statusCode, Object... contents) { + return new MockServerExpectationImpl(context, method, path, bodyProvider, + ResponseProviders.of(statusCode, toString(contents)), delay, delayUnit, times, responses); + } + + @Override + public TimesOnceableOrHttpHeaderable andReplyChunked(int statusCode, BodyProvider> contents) { + return andReplyChunked(ResponseProviders.of(statusCode, contents)); + } + + @Override + public TimesOnceableOrHttpHeaderable andReplyChunked(ResponseProvider> contents) { + return new MockServerExpectationImpl(context, method, path, bodyProvider, listToString(contents), delay, delayUnit, times, + responses); + } + + @Override + public Void always() { + enqueue(new SimpleRequest(method, path), createResponse(true, delay, delayUnit)); + return null;//Void + } + + @Override + public Void once() { + enqueue(new SimpleRequest(method, path), createResponse(false, delay, delayUnit)); + return null;//Void + } + + @Override + public Void times(int times) { + for (int i = 0; i < times; i++) { + once(); + } + return null;//Void + } + + @Override + public Pathable>> delay(long delay, TimeUnit delayUnit) { + return new MockServerExpectationImpl(context, method, path, bodyProvider, chunksProvider, delay, delayUnit, times, + responses); + } + + @Override + public Pathable>> delay(long delayInMilliseconds) { + return new MockServerExpectationImpl(context, method, path, bodyProvider, chunksProvider, delayInMilliseconds, + TimeUnit.MILLISECONDS, times, responses); + } + + @Override + public WebSocketSessionBuilder> andUpgradeToWebSocket() { + return new InlineWebSocketSessionBuilder<>(new WebSocketSessionConverter(this)); + } + + /** + * {@inheritDoc} + */ + @Override + public WebSocketSessionBuilder> andUpgradeToWebSocket(ScheduledExecutorService executor) { + return new InlineWebSocketSessionBuilder<>(new WebSocketSessionConverter(this)); + } + + @Override + public TimesOnceableOrHttpHeaderable withHeader(String header) { + bodyProvider.setHeaders(bodyProvider.getHeaders().newBuilder().add(header).build()); + return new MockServerExpectationImpl(context, method, path, bodyProvider, chunksProvider, delay, TimeUnit.MILLISECONDS, + times, responses); + } + + @Override + public TimesOnceableOrHttpHeaderable withHeader(String name, String value) { + bodyProvider.setHeaders(bodyProvider.getHeaders().newBuilder().add(name, value).build()); + return new MockServerExpectationImpl(context, method, path, bodyProvider, chunksProvider, delay, TimeUnit.MILLISECONDS, + times, responses); + } + + private void enqueue(ServerRequest req, ServerResponse resp) { + responses.computeIfAbsent(req, k -> new ArrayDeque<>()).add(resp); + } + + private ServerResponse createResponse(boolean repeatable, long delay, TimeUnit delayUnit) { + if (chunksProvider != null) { + return new ChunkedResponse(repeatable, delay, delayUnit, chunksProvider); + } else { + return new SimpleResponse(repeatable, bodyProvider, null, delay, delayUnit); + } + } + + private ResponseProvider toString(final ResponseProvider provider) { + return new ResponseProvider() { + @Override + public String getBody(RecordedRequest request) { + Object object = provider.getBody(request); + return MockServerExpectationImpl.this.toString(object); + } + + @Override + public int getStatusCode(RecordedRequest request) { + return provider.getStatusCode(request); + } + + @Override + public Headers getHeaders() { + return provider.getHeaders(); + } + + @Override + public void setHeaders(Headers headers) { + provider.setHeaders(headers); + } + }; + } + + private ResponseProvider> listToString(final ResponseProvider> provider) { + return new ResponseProvider>() { + @Override + public List getBody(RecordedRequest request) { + List objects = provider.getBody(request); + List strings = new ArrayList<>(objects.size()); + for (Object o : objects) { + strings.add(MockServerExpectationImpl.this.toString(o)); + } + return strings; + } + + @Override + public int getStatusCode(RecordedRequest request) { + return provider.getStatusCode(request); + } + + @Override + public Headers getHeaders() { + return provider.getHeaders(); + } + + @Override + public void setHeaders(Headers headers) { + provider.setHeaders(headers); + } + }; + } + + private String toString(Object object) { + if (object instanceof String) { + return (String) object; + } else { + try { + return context.getMapper().writeValueAsString(object); + } catch (JsonProcessingException e) { + throw new MockServerException("Exception when mapping Object to String", e); + } + } + } + + private List toString(Object[] object) { + return Stream.of(object) + .map(this::toString) + .collect(Collectors.toList()); + } + + private static final class WebSocketSessionConverter + implements Function> { + + private final MockServerExpectationImpl mse; + + public WebSocketSessionConverter(MockServerExpectationImpl mse) { + this.mse = mse; + } + + @Override + public TimesOnceableOrHttpHeaderable apply(final WebSocketSession webSocketSession) { + final Map headers = new HashMap<>(); + headers.put("Upgrade", "websocket"); + headers.put("Connection", "Upgrade"); + + return new TimesOnceableOrHttpHeaderable() { + @Override + public Void always() { + mse.enqueue(new SimpleRequest(mse.method, mse.path), + new SimpleResponse(true, ResponseProviders.of(101, "", headers), webSocketSession)); + return null;//Void + } + + @Override + public Void once() { + mse.enqueue(new SimpleRequest(mse.method, mse.path), + new SimpleResponse(false, ResponseProviders.of(101, "", headers), webSocketSession)); + return null;//Void + } + + @Override + public Void times(int times) { + for (int i = 0; i < times; i++) { + once(); + } + return null;//Void + } + + @Override + public TimesOnceableOrHttpHeaderable withHeader(String header) { + headers.put(header, ""); + return this;//Void + } + + @Override + public TimesOnceableOrHttpHeaderable withHeader(String name, String value) { + headers.put(name, value); + return this;//Void + } + }; + } + } +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/internal/SimpleRequest.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/internal/SimpleRequest.java new file mode 100644 index 00000000000..cd3bf1adbc7 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/internal/SimpleRequest.java @@ -0,0 +1,71 @@ +/** + * 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 io.fabric8.mockwebserver.internal; + +import io.fabric8.mockwebserver.ServerRequest; +import io.fabric8.mockwebserver.dsl.HttpMethod; + +public class SimpleRequest implements ServerRequest { + + private static final String ROOT = "/"; + + private final HttpMethod method; + private final String path; + + public SimpleRequest() { + this(HttpMethod.ANY, ROOT); + } + + public SimpleRequest(String path) { + this(HttpMethod.ANY, path); + } + + public SimpleRequest(HttpMethod method, String path) { + this.method = method; + this.path = path; + } + + public HttpMethod getMethod() { + return method; + } + + public String getPath() { + return path; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + if (o == null || getClass() != o.getClass()) + return false; + + SimpleRequest that = (SimpleRequest) o; + + if (method != that.method) + return false; + return path != null ? path.equals(that.path) : that.path == null; + + } + + @Override + public int hashCode() { + int result = method != null ? method.hashCode() : 0; + result = 31 * result + (path != null ? path.hashCode() : 0); + return result; + } +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/internal/SimpleResponse.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/internal/SimpleResponse.java new file mode 100644 index 00000000000..9515d398a53 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/internal/SimpleResponse.java @@ -0,0 +1,117 @@ +/** + * 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 io.fabric8.mockwebserver.internal; + +import io.fabric8.mockwebserver.ServerResponse; +import io.fabric8.mockwebserver.utils.ResponseProvider; +import io.fabric8.mockwebserver.utils.ResponseProviders; +import okhttp3.mockwebserver.MockResponse; +import okhttp3.mockwebserver.RecordedRequest; + +import java.util.Objects; +import java.util.concurrent.TimeUnit; + +public class SimpleResponse implements ServerResponse { + + private static final String HTTP_HEADER_SEC_WEBSOCKET_PROTOCOL = "sec-websocket-protocol"; + + private final ResponseProvider bodyProvider; + + private final WebSocketSession webSocketSession; + private final boolean repeatable; + private final long responseDelay; + private final TimeUnit responseDelayUnit; + + public SimpleResponse(boolean repeatable, int statusCode, String body, WebSocketSession webSocketSession) { + this(repeatable, ResponseProviders.of(statusCode, body), webSocketSession); + } + + public SimpleResponse(boolean repeatable, ResponseProvider bodyProvider, WebSocketSession webSocketSession) { + this(repeatable, bodyProvider, webSocketSession, 0, TimeUnit.MILLISECONDS); + } + + public SimpleResponse(boolean repeatable, int statusCode, String body, WebSocketSession webSocketSession, long responseDelay, + TimeUnit responseDelayUnit) { + this(repeatable, ResponseProviders.of(statusCode, body), webSocketSession, responseDelay, responseDelayUnit); + } + + public SimpleResponse(boolean repeatable, ResponseProvider bodyProvider, WebSocketSession webSocketSession, + long responseDelay, TimeUnit responseDelayUnit) { + this.bodyProvider = bodyProvider; + this.webSocketSession = webSocketSession; + this.repeatable = repeatable; + this.responseDelay = responseDelay; + this.responseDelayUnit = responseDelayUnit; + } + + public ResponseProvider getBodyProvider() { + return bodyProvider; + } + + @Override + public MockResponse toMockResponse(RecordedRequest request) { + MockResponse mockResponse = new MockResponse(); + mockResponse.setHeaders(bodyProvider.getHeaders()); + mockResponse.setResponseCode(bodyProvider.getStatusCode(request)); + + if (webSocketSession != null) { + mockResponse.withWebSocketUpgrade(webSocketSession); + // see https://developer.mozilla.org/en-US/docs/Web/HTTP/Protocol_upgrade_mechanism + // see https://github.com/netty/netty/blob/4.1/codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocketClientHandshaker.java#L366 + String requestWebsocketProtocol = request.getHeaders().get(HTTP_HEADER_SEC_WEBSOCKET_PROTOCOL); + if (requestWebsocketProtocol != null + // only add the response header if it's not set, to prevent changing custom response headers + && mockResponse.getHeaders().get(HTTP_HEADER_SEC_WEBSOCKET_PROTOCOL) == null) { + mockResponse.addHeader(HTTP_HEADER_SEC_WEBSOCKET_PROTOCOL, requestWebsocketProtocol); + } + } else { + mockResponse.setBody(bodyProvider.getBody(request)); + } + + if (responseDelay > 0) { + mockResponse.setBodyDelay(responseDelay, responseDelayUnit); + } + + return mockResponse; + } + + public WebSocketSession getWebSocketSession() { + return webSocketSession; + } + + @Override + public boolean isRepeatable() { + return repeatable; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + if (o == null || getClass() != o.getClass()) + return false; + SimpleResponse that = (SimpleResponse) o; + return repeatable == that.repeatable && responseDelay == that.responseDelay + && Objects.equals(bodyProvider, that.bodyProvider) && Objects.equals(webSocketSession, that.webSocketSession) + && responseDelayUnit == that.responseDelayUnit; + } + + @Override + public int hashCode() { + return Objects.hash(bodyProvider, webSocketSession, repeatable, responseDelay, responseDelayUnit); + } +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/internal/WebSocketMessage.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/internal/WebSocketMessage.java new file mode 100644 index 00000000000..2d77852b5cb --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/internal/WebSocketMessage.java @@ -0,0 +1,81 @@ +/** + * 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 io.fabric8.mockwebserver.internal; + +import java.nio.charset.StandardCharsets; + +public class WebSocketMessage { + + private final Long delay; + private final byte[] body; + private final boolean toBeRemoved; + private final boolean binary; + + public WebSocketMessage(String body) { + this(0L, body, true); + } + + public WebSocketMessage(byte[] body) { + this(0L, body, true, true); + } + + public WebSocketMessage(String body, boolean toBeRemoved) { + this(0L, body.getBytes(StandardCharsets.UTF_8), toBeRemoved, false); + } + + public WebSocketMessage(byte[] body, boolean toBeRemoved) { + this(0L, body, toBeRemoved, true); + } + + public WebSocketMessage(Long delay, String body, boolean toBeRemoved) { + this(delay, body.getBytes(StandardCharsets.UTF_8), toBeRemoved, false); + } + + public WebSocketMessage(Long delay, byte[] body, boolean toBeRemoved) { + this(delay, body, toBeRemoved, true); + } + + public WebSocketMessage(Long delay, String body, boolean toBeRemoved, boolean binary) { + this(delay, body.getBytes(StandardCharsets.UTF_8), toBeRemoved, binary); + } + + public WebSocketMessage(Long delay, byte[] body, boolean toBeRemoved, boolean binary) { + this.delay = delay; + this.body = body; + this.toBeRemoved = toBeRemoved; + this.binary = binary; + } + + public Long getDelay() { + return delay; + } + + public String getBody() { + return new String(body); + } + + public boolean isToBeRemoved() { + return toBeRemoved; + } + + public byte[] getBytes() { + return body; + } + + public boolean isBinary() { + return binary; + } +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/internal/WebSocketSession.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/internal/WebSocketSession.java new file mode 100644 index 00000000000..ae399ced89f --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/internal/WebSocketSession.java @@ -0,0 +1,192 @@ +/** + * 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 io.fabric8.mockwebserver.internal; + +import io.fabric8.mockwebserver.MockServerException; +import io.fabric8.mockwebserver.dsl.HttpMethod; +import okhttp3.Response; +import okhttp3.WebSocket; +import okhttp3.WebSocketListener; +import okhttp3.mockwebserver.RecordedRequest; +import okio.ByteString; + +import java.util.ArrayList; +import java.util.Collection; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Queue; +import java.util.UUID; +import java.util.concurrent.ConcurrentHashMap; +import java.util.concurrent.Executors; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.TimeUnit; + +public class WebSocketSession extends WebSocketListener { + + private final List open; + private final WebSocketMessage failure; + private final Exception cause; + + private final Collection activeSockets = ConcurrentHashMap.newKeySet(); + private final Collection pendingMessages = ConcurrentHashMap.newKeySet(); + private final Map> requestEvents = new HashMap<>(); + private final Map> sentWebSocketMessagesRequestEvents = new HashMap<>(); + private final Map> httpRequestEvents = new HashMap<>(); + private final List timedEvents = new ArrayList<>(); + + private final ScheduledExecutorService executor; + + public WebSocketSession(List open, WebSocketMessage failure, Exception cause) { + this.open = open; + this.failure = failure; + this.cause = cause; + this.executor = Executors.newScheduledThreadPool(1); + } + + @Override + public void onClosing(WebSocket webSocket, int code, String reason) { + webSocket.close(code, reason); + } + + @Override + public void onOpen(WebSocket webSocket, Response response) { + activeSockets.add(webSocket); + //Schedule all timed events + for (WebSocketMessage msg : open) { + send(webSocket, msg); + } + + for (WebSocketMessage msg : timedEvents) { + send(webSocket, msg); + } + closeActiveSocketsIfApplicable(); + } + + @Override + public void onMessage(WebSocket webSocket, ByteString bytes) { + onMessage(webSocket, bytes.utf8()); + } + + @Override + public void onMessage(WebSocket webSocket, String in) { + Queue queue = requestEvents.get(in); + send(webSocket, queue, in); + } + + @Override + public void onClosed(WebSocket webSocket, int code, String reason) { + activeSockets.remove(webSocket); + } + + private void send(WebSocket ws, Queue queue, String in) { + if (queue != null && !queue.isEmpty()) { + WebSocketMessage msg = queue.peek(); + send(ws, msg); + if (msg.isToBeRemoved()) { + queue.remove(); + } + checkIfShouldSendAgain(ws, msg); + } else { + ws.close(1002, "Unexpected message:" + in); + } + } + + private void checkIfShouldSendAgain(WebSocket ws, WebSocketMessage msg) { + String text = msg.isBinary() ? ByteString.of(msg.getBytes()).utf8() : msg.getBody(); + if (sentWebSocketMessagesRequestEvents.containsKey(text)) { + Queue queue = sentWebSocketMessagesRequestEvents.get(text); + send(ws, queue, text); + } + } + + public void dispatch(RecordedRequest request) { + HttpMethod method = HttpMethod.valueOf(request.getMethod()); + String path = request.getPath(); + SimpleRequest key = new SimpleRequest(method, path); + SimpleRequest keyForAnyMethod = new SimpleRequest(path); + if (httpRequestEvents.containsKey(key)) { + Queue queue = httpRequestEvents.get(key); + activeSockets.forEach(ws -> send(ws, queue, "from http " + path)); + } else if (httpRequestEvents.containsKey(keyForAnyMethod)) { + Queue queue = httpRequestEvents.get(keyForAnyMethod); + activeSockets.forEach(ws -> send(ws, queue, "from http " + path)); + } + } + + public List getOpen() { + return open; + } + + public WebSocketMessage getFailure() { + return failure; + } + + public Exception getCause() { + return cause; + } + + public Map> getRequestEvents() { + return requestEvents; + } + + public List getTimedEvents() { + return timedEvents; + } + + public Map> getSentWebSocketMessagesRequestEvents() { + return sentWebSocketMessagesRequestEvents; + } + + public Map> getHttpRequestEvents() { + return httpRequestEvents; + } + + private void send(final WebSocket ws, final WebSocketMessage message) { + final UUID id = UUID.randomUUID(); + pendingMessages.add(id); + executor.schedule(() -> { + if (ws != null) { + if (message.isBinary()) { + ws.send(ByteString.of(message.getBytes())); + } else { + ws.send(message.getBody()); + } + pendingMessages.remove(id); + } + closeActiveSocketsIfApplicable(); + }, message.getDelay(), TimeUnit.MILLISECONDS); + } + + public void closeActiveSocketsIfApplicable() { + if (pendingMessages.isEmpty() && requestEvents.isEmpty() && httpRequestEvents.isEmpty() + && sentWebSocketMessagesRequestEvents.isEmpty()) { + activeSockets.forEach(ws -> ws.close(1000, "Closing...")); + } + } + + public void shutdown() { + try { + executor.shutdown(); + if (!executor.awaitTermination(1, TimeUnit.MINUTES)) { + executor.shutdownNow(); + } + } catch (InterruptedException e) { + throw MockServerException.launderThrowable(e); + } + } +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/utils/BodyProvider.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/utils/BodyProvider.java new file mode 100644 index 00000000000..1379f535223 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/utils/BodyProvider.java @@ -0,0 +1,27 @@ +/** + * 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 io.fabric8.mockwebserver.utils; + +import okhttp3.mockwebserver.RecordedRequest; + +/** + * A class that allows returning the body of a response given a certain request. + */ +public interface BodyProvider { + + T getBody(RecordedRequest request); + +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/utils/CertUtils.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/utils/CertUtils.java new file mode 100644 index 00000000000..c8dde0df712 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/utils/CertUtils.java @@ -0,0 +1,113 @@ +/** + * 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 io.fabric8.mockwebserver.utils; + +import okio.ByteString; + +import java.io.BufferedReader; +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.FileInputStream; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.security.KeyFactory; +import java.security.KeyStore; +import java.security.KeyStoreException; +import java.security.NoSuchAlgorithmException; +import java.security.PrivateKey; +import java.security.cert.Certificate; +import java.security.cert.CertificateException; +import java.security.cert.CertificateFactory; +import java.security.cert.X509Certificate; +import java.security.spec.InvalidKeySpecException; +import java.security.spec.PKCS8EncodedKeySpec; +import java.security.spec.RSAPrivateCrtKeySpec; +import java.util.Base64; + +public class CertUtils { + + private CertUtils() { + } + + public static InputStream getInputStreamFromDataOrFile(String data, String file) throws FileNotFoundException { + if (data != null) { + final byte[] bytes; + ByteString decoded = ByteString.decodeBase64(data); + if (decoded != null) { + bytes = decoded.toByteArray(); + } else { + bytes = data.getBytes(); + } + + return new ByteArrayInputStream(bytes); + } + if (file != null) { + return new FileInputStream(file); + } + return null; + } + + public static KeyStore createKeyStore(InputStream certInputStream, InputStream keyInputStream, String clientKeyAlgo, + char[] clientKeyPassphrase) + throws IOException, CertificateException, NoSuchAlgorithmException, InvalidKeySpecException, KeyStoreException { + CertificateFactory certFactory = CertificateFactory.getInstance("X509"); + X509Certificate cert = (X509Certificate) certFactory.generateCertificate(certInputStream); + + byte[] keyBytes = decodeKey(keyInputStream); + + PrivateKey privateKey; + + KeyFactory keyFactory = KeyFactory.getInstance(clientKeyAlgo); + try { + // First let's try PKCS8 + privateKey = keyFactory.generatePrivate(new PKCS8EncodedKeySpec(keyBytes)); + } catch (InvalidKeySpecException e) { + // Otherwise try PKCS8 + RSAPrivateCrtKeySpec keySpec = PKCS1Util.decodePKCS1(keyBytes); + privateKey = keyFactory.generatePrivate(keySpec); + } + + KeyStore keyStore = KeyStore.getInstance("JKS"); + keyStore.load(null, clientKeyPassphrase); + + String alias = cert.getSubjectX500Principal().getName(); + keyStore.setKeyEntry(alias, privateKey, clientKeyPassphrase, new Certificate[] { cert }); + + return keyStore; + } + + public static KeyStore createKeyStore(String clientCertData, String clientCertFile, String clientKeyData, + String clientKeyFile, String clientKeyAlgo, char[] clientKeyPassphrase) + throws IOException, CertificateException, NoSuchAlgorithmException, InvalidKeySpecException, KeyStoreException { + try (InputStream certInputStream = getInputStreamFromDataOrFile(clientCertData, clientCertFile); + InputStream keyInputStream = getInputStreamFromDataOrFile(clientKeyData, clientKeyFile)) { + return createKeyStore(certInputStream, keyInputStream, clientKeyAlgo, clientKeyPassphrase); + } + } + + private static byte[] decodeKey(InputStream keyInputStream) throws IOException { + try (BufferedReader keyReader = new BufferedReader(new InputStreamReader(keyInputStream)); + ByteArrayOutputStream baos = new ByteArrayOutputStream()) { + String line; + while ((line = keyReader.readLine()) != null) { + baos.write(line.trim().getBytes()); + } + return Base64.getDecoder().decode(baos.toByteArray()); + } + } +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/utils/PKCS1Util.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/utils/PKCS1Util.java new file mode 100644 index 00000000000..31c1c82bcfa --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/utils/PKCS1Util.java @@ -0,0 +1,141 @@ +/** + * 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 io.fabric8.mockwebserver.utils; + +import java.io.ByteArrayInputStream; +import java.io.IOException; +import java.io.InputStream; +import java.math.BigInteger; +import java.security.spec.RSAPrivateCrtKeySpec; + +/** + * This code is inspired and taken over from net.auth.core:oauth + * (albeit in a highly stripped variation): + *

+ * Source is from http://oauth.googlecode.com/svn/code/java/ which is licensed + * under the APL (http://oauth.googlecode.com/svn/code/java/LICENSE.txt) + *

+ * All credits go to the original author (zhang) + * + * @author roland + * @since 30/09/15 + */ +class PKCS1Util { + + private PKCS1Util() { + } + + public static RSAPrivateCrtKeySpec decodePKCS1(byte[] keyBytes) throws IOException { + DerParser parser = new DerParser(keyBytes); + Asn1Object sequence = parser.read(); + sequence.validateSequence(); + parser = new DerParser(sequence.getValue()); + parser.read(); + + return new RSAPrivateCrtKeySpec(next(parser), next(parser), + next(parser), next(parser), + next(parser), next(parser), + next(parser), next(parser)); + } + + // ========================================================================================== + + private static BigInteger next(DerParser parser) throws IOException { + return parser.read().getInteger(); + } + + static class DerParser { + + private final InputStream in; + + DerParser(byte[] bytes) { + this.in = new ByteArrayInputStream(bytes); + } + + Asn1Object read() throws IOException { + int tag = in.read(); + + if (tag == -1) { + throw new IOException("Invalid DER: stream too short, missing tag"); + } + + int length = getLength(); + byte[] value = new byte[length]; + if (in.read(value) < length) { + throw new IOException("Invalid DER: stream too short, missing value"); + } + + return new Asn1Object(tag, value); + } + + private int getLength() throws IOException { + int i = in.read(); + if (i == -1) { + throw new IOException("Invalid DER: length missing"); + } + + if ((i & ~0x7F) == 0) { + return i; + } + + int num = i & 0x7F; + if (i >= 0xFF || num > 4) { + throw new IOException("Invalid DER: length field too big (" + + i + ")"); + } + + byte[] bytes = new byte[num]; + if (in.read(bytes) < num) { + throw new IOException("Invalid DER: length too short"); + } + + return new BigInteger(1, bytes).intValue(); + } + } + + static class Asn1Object { + + private final int type; + private final byte[] value; + private final int tag; + + public Asn1Object(int tag, byte[] value) { + this.tag = tag; + this.type = tag & 0x1F; + this.value = value; + } + + public byte[] getValue() { + return value; + } + + BigInteger getInteger() throws IOException { + if (type != 0x02) { + throw new IOException("Invalid DER: object is not integer"); //$NON-NLS-1$ + } + return new BigInteger(value); + } + + void validateSequence() throws IOException { + if (type != 0x10) { + throw new IOException("Invalid DER: not a sequence"); + } + if ((tag & 0x20) != 0x20) { + throw new IOException("Invalid DER: can't parse primitive entity"); + } + } + } +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/utils/ResponseProvider.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/utils/ResponseProvider.java new file mode 100644 index 00000000000..9e5ef4fa300 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/utils/ResponseProvider.java @@ -0,0 +1,32 @@ +/** + * 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 io.fabric8.mockwebserver.utils; + +import okhttp3.Headers; +import okhttp3.mockwebserver.RecordedRequest; + +/** + * A class that allows returning a response given a certain request. + */ +public interface ResponseProvider extends BodyProvider { + + int getStatusCode(RecordedRequest request); + + Headers getHeaders(); + + void setHeaders(Headers headers); + +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/utils/ResponseProviders.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/utils/ResponseProviders.java new file mode 100644 index 00000000000..784176f6ba5 --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/utils/ResponseProviders.java @@ -0,0 +1,151 @@ +/** + * 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 io.fabric8.mockwebserver.utils; + +import okhttp3.Headers; +import okhttp3.mockwebserver.RecordedRequest; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; +import java.util.Map; + +/** + * Useful methods for creating basic response providers. + */ +public class ResponseProviders { + + private ResponseProviders() { + } + + public static ResponseProvider of(int statusCode, R element) { + if (element != null) { + return new FixedResponseProvider<>(statusCode, element); + } + return null; + } + + public static ResponseProvider of(int statusCode, R element, Map map) { + if (element != null) { + return new FixedResponseProvider<>(statusCode, element, map); + } + return null; + } + + public static ResponseProvider> ofAll(int statusCode, R... elements) { + if (elements != null) { + return new FixedResponseProvider<>(statusCode, Arrays.asList(elements)); + } + return null; + } + + public static ResponseProvider of(final int statusCode, final BodyProvider bodyProvider) { + if (bodyProvider != null) { + return new ResponseProvider() { + private Headers headers = new Headers.Builder().build(); + + @Override + public int getStatusCode(RecordedRequest request) { + return statusCode; + } + + @Override + public R getBody(RecordedRequest request) { + return bodyProvider.getBody(request); + } + + @Override + public Headers getHeaders() { + return headers; + } + + @Override + public void setHeaders(Headers headers) { + this.headers = headers; + } + }; + } + return null; + } + + private static class FixedResponseProvider implements ResponseProvider { + + private final int statusCode; + private final T element; + private Headers headers; + + public FixedResponseProvider(int statusCode, T element) { + this(statusCode, element, Collections.emptyMap()); + } + + public FixedResponseProvider(int statusCode, T element, Map headers) { + this(statusCode, element, toHeaders(headers)); + } + + public FixedResponseProvider(int statusCode, T element, Headers headers) { + this.statusCode = statusCode; + this.element = element; + this.headers = headers; + } + + @Override + public T getBody(RecordedRequest request) { + return element; + } + + @Override + public int getStatusCode(RecordedRequest request) { + return statusCode; + } + + @Override + public Headers getHeaders() { + return headers; + } + + @Override + public void setHeaders(Headers headers) { + this.headers = headers; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + if (o == null || getClass() != o.getClass()) + return false; + + FixedResponseProvider that = (FixedResponseProvider) o; + + return element != null ? element.equals(that.element) : that.element == null; + + } + + @Override + public int hashCode() { + return element != null ? element.hashCode() : 0; + } + + private static Headers toHeaders(Map headers) { + final Headers.Builder builder = new Headers.Builder(); + for (Map.Entry entry : headers.entrySet()) { + builder.set(entry.getKey(), entry.getValue()); + } + return builder.build(); + } + } + +} diff --git a/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/utils/SSLUtils.java b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/utils/SSLUtils.java new file mode 100644 index 00000000000..e63e016d8fc --- /dev/null +++ b/junit/mockwebserver/src/main/java/io/fabric8/mockwebserver/utils/SSLUtils.java @@ -0,0 +1,72 @@ +/** + * 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 io.fabric8.mockwebserver.utils; + +import java.io.IOException; +import java.io.InputStream; +import java.security.KeyManagementException; +import java.security.KeyStore; +import java.security.KeyStoreException; +import java.security.NoSuchAlgorithmException; +import java.security.SecureRandom; +import java.security.UnrecoverableKeyException; +import java.security.cert.CertificateException; +import java.security.cert.X509Certificate; +import java.security.spec.InvalidKeySpecException; + +import javax.net.ssl.KeyManager; +import javax.net.ssl.KeyManagerFactory; +import javax.net.ssl.SSLContext; +import javax.net.ssl.TrustManager; +import javax.net.ssl.X509TrustManager; + +import static io.fabric8.mockwebserver.utils.CertUtils.createKeyStore; + +public final class SSLUtils { + + private SSLUtils() { + //Utility + } + + public static SSLContext sslContext(KeyManager[] keyManagers, TrustManager[] trustManagers, boolean trustCerts) + throws KeyManagementException, NoSuchAlgorithmException { + if (trustManagers == null && trustCerts) { + trustManagers = new TrustManager[] { new X509TrustManager() { + public void checkClientTrusted(X509Certificate[] chain, String s) { + } + + public void checkServerTrusted(X509Certificate[] chain, String s) { + } + + public X509Certificate[] getAcceptedIssuers() { + return new X509Certificate[0]; + } + } }; + } + SSLContext sslContext = SSLContext.getInstance("TLS"); + sslContext.init(keyManagers, trustManagers, new SecureRandom()); + return sslContext; + } + + public static KeyManager[] keyManagers(InputStream certInputStream, InputStream keyInputStream, String algo, + String passphrase) throws UnrecoverableKeyException, NoSuchAlgorithmException, KeyStoreException, CertificateException, + InvalidKeySpecException, IOException { + KeyStore keyStore = createKeyStore(certInputStream, keyInputStream, algo, passphrase.toCharArray()); + KeyManagerFactory kmf = KeyManagerFactory.getInstance(KeyManagerFactory.getDefaultAlgorithm()); + kmf.init(keyStore, passphrase.toCharArray()); + return kmf.getKeyManagers(); + } +} diff --git a/junit/mockwebserver/src/main/resources/ssl/fabric8-private-key.pem b/junit/mockwebserver/src/main/resources/ssl/fabric8-private-key.pem new file mode 100644 index 00000000000..b6bb69d0c55 --- /dev/null +++ b/junit/mockwebserver/src/main/resources/ssl/fabric8-private-key.pem @@ -0,0 +1,50 @@ +MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQDeWNPC4SJE8DKX +GU5JISsrY1nnI249vmO6x+pEflcGBqaReQehRUNeMFGje92jZk+0xh8NbNFf4Ofs +wJnSXHAupOI6CFERS2aym4IuGX24c7WvoMeH0I8/w8TJTEKNmWCcduaZx5z041gd +kQHQKetYJkzVhh5p2tbIsYlBLe/XGH3IzAVbeFd6GUDK32EyFNrSSOtMEOwbejmH +2wJysLFxGsJFySbnvyEdjDvTdGpNdqPRCU93K/BfRo1ycqSZiSObAh605Ddo3DMQ +lE0rk0im4BQXxwvaVuhbzszR8XIln8/QT5HysiDY5R2hgQq1yJtXtbL7yFGQSeNe +1CG9Gb1JNnHCdAkf+n9RFVoisjsn8MGcSCxpTs0G16Oia41nQaKLByqh4++aithh +Ucd96ujYnIceljMycpkL0VMXzZ7xwHHU+aHPRkRQsDzbf0x0b7MwQD5XkE1rYPzw +/TwJ6qhpPoxzlQ/H5hqEl9zdPpZyQLcfr5YluaRDSTAaR1QruqlWM2Zzy5iBthvx +7hrYNQ/Re5pbp+b4M7h1I6zvohrMiCbtvMQrWYZWGtOHPsW+tUXTQyb2vIYIGIZM +sLZzOijXn78/0IA07xuivqlQ/jmC6jNZAZCC5PRss9KQLWJWu9V3jEcK5dCstJv5 +eocZ6RWy8ShoL2fupp2jYCRota88mQIDAQABAoICAGCtnuYNnij7iAPLLQ7/LRYg +jObDsRuHvTVp16MQjCZCngqC5Z5pz3EU8Wp0YVq7Ec04mCfuONvHnxCCbl/Zca3W +Y8d39kfe0Ti4BVKmItQg+87xydB0DtVa+iXM0uNe3XMq//m9obGZaKbydiddEsex +X5c4SeEdFmcNSvDcWHzeWVMF4w5ytRaSBGox1sE/8CWfLzBT61XHP1yjDd1wlrbn +O7G8VP5PTMbcQucep1onS/OIaNUYddv3gWlSD9/ykVjFAzUERlOB63I6CZP45o4o +wJPWKIE3aLECqmxe35Mcee/JqVwtt7qXZNrkkROZtnHcv4ZbA5wJhKOm+USP/I0Z +K3iHDTOE++LTWNUIOaUXjiowJ6V4rXf8x3hftLz95RnN1rZWXV7T+OCCW+VduGaC +139UM9mEJn0W5DAmFCjpPHLHqfNupbnoi+nuTIuu9+0aqtMchbTSFmnIiEJOeyJ/ +JvONLhB39XT08QkAf7IKFiqLeWIy6E9IR4TdOO3KBMbjtJTaMkj6q8C8C4evFF04 +tuPPgT6UAA5TxihBAipHd1mIs/yTTGSZMMPb4vLFlw8cEJllC0qIbJpVc45YauDI +kXnhoXcrjEdTy/aMiXlnxAu/l/PkHVcuOCP5kCGIyHX0g/Ig3y8nseVgRZc8i9Kf +vKH8tOFfaUPq0s6WffABAoIBAQD7fDX+RsU7Mi9iFXqPSbbuCRz8yBG54DJDh3Vt ++Y4BzGqboUDxCvpTbpw7vy4R67upFZ0G6p3PLTEimOfSFp7/KH0Gije3b7yexRwM +GVxf+d+Im1cgPhzfqAF92CIjIWGUXGqOvVX7hMBkhDdqgsaINB2jpzJTv47HgXfp +7Lf3op94thJP+tbMDvRuM+a1l5VJgrytVIdUBI0FaPWULdm5z2Sndua65oUBsVP5 +eMRQqIT+9qwMAkONoxCjADyD/yAdA55e2lAH8DM3FDhXpf048XLun5c49PppvcbW +3vpm262oiBXdxuCadsAb2RZogvJ30fKOqZnt4yrt8PR0+HP5AoIBAQDiVrOI0ziE +hGazvQkB5Rqcx7fMmOZ0s3jsqJAbNrwwuZjY6vC2659XiqVcyNp4RanbvofsQSBs +zN4DF0Rx72S+8ELIbk+cZ0Jwkix03cRNNkKbiUrUKr+zrvQbVEi+NRbz11Leoqw4 +cEcykuF3bjQvdE4R72ckQPdXEv1z/bRrCNyZq2qxdD38scHHFjM8PC9t2dghMUpN +9pS3BTLEYZBCCZ6kxq4z45dDxqosX2OImtHnVecHAPf3xy48cjDau9E1hkgClEdk +MSjPIpYz3zg0qH9Ef3qVkDv+6VuBdE/j6B65HC8z3fTcwluPc+AfhYkHykxKcCdn +tR9Kd+7sOfWhAoIBAQCaQXNA+BnsmHjV+gTGNVn+ohpktzegQvOx1jnibit70O4n +bf7Om4Q2fudYAol4tpbSPQ6nemu386lq5k1z4So/qo8d3tQUMXaKEK+GgFvYBwXk +3hvQDClbysq3bUZrNAONpC48Rcii0afNQAhZzcOHMihoBJtrIVmr6C8sjmW9gMO+ +oDeVVXBBlH67xhwikMsiXw3qZ6nmkDAL/Hh+Hq2pOpwr2FPompNFGYc/w6LvMp75 +YUbgytay3y3KPc/gyzHgeiK/XbuvUtenVkDFCmzLa9aqpbt1VVbwW1bG39jKFL9t +W6PF+EI2nNZzfnIvQvsFIgNdHIztjOT9NEpOIUPJAoIBAHEOnd9aooCPIj3lzvoD +Vqe5mzW3qmXgwCZ2jIULcjVkf9TahiLYz18LAk62hWpOYepB4eNBJNE0BDHHDYlb +6xb1LGaxs1KMwcM5QLufis6Gq/7FNXuFXvyCB60fDLb2DeD/TYWn/B609ttsQvNF +OQv7LIQI8ZxKV0JHWhL2R4ivhIG9/i1lwxDWOdUYYb9U0NwuVKc/173Zza8eCZ3O +niBebcAg/iMtLAHO2nIPs8gojXDgl+YHtdUuyQmogH7CEl6KFK41IvQJGjldLWn7 +tjeXcvrkMndC9LUAG5UuZDmTWMVeLrXZyNX8v3+Iggs8yJX7luAX5ZcIAflQryeQ +TAECggEAIMqnk2FFxbbCR034TARA/n9XPY5XYufTpq9WtIaRuMvA3I5/oLKg65B9 +5XDCzwr0RiJR8pzlJ6Pmtm01rzNpNvzVOwIe3QS8F10nVLsrhDXB9bq55UtAUYZX +pNCO4qLC004YemEHKKp4NrRXquGcPvzJ67Ezl4f/E9rMvTdUjzhhZ80m+80adP4o +8MXBA/5BYBKLZRkEtyin3etVAvJM6/oUv4zREbod/sWyhFq3O2ka3rFhV0ymDEr6 +dphptKrzseopjAVi05DFIR7k1D3YN4NB7nt4N8JC5ucCYhCFq6juBO6bGHFGZ3t9 +Sqju3/8JhKlPzgcIeEtTEncKaJh9UA== diff --git a/junit/mockwebserver/src/main/resources/ssl/fabric8.crt b/junit/mockwebserver/src/main/resources/ssl/fabric8.crt new file mode 100644 index 00000000000..5b01aa30127 --- /dev/null +++ b/junit/mockwebserver/src/main/resources/ssl/fabric8.crt @@ -0,0 +1,31 @@ +-----BEGIN CERTIFICATE----- +MIIFPzCCAycCFFa1f+dP0SR0nMoPfO+MrMRNfjHaMA0GCSqGSIb3DQEBCwUAMFwx +CzAJBgNVBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMRUwEwYDVQQHDAxEZWZh +dWx0IENpdHkxITAfBgNVBAoMGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDAeFw0y +MTExMDMwODU0NTRaFw0zMTExMDEwODU0NTRaMFwxCzAJBgNVBAYTAkFVMRMwEQYD +VQQIDApTb21lLVN0YXRlMRUwEwYDVQQHDAxEZWZhdWx0IENpdHkxITAfBgNVBAoM +GEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDCCAiIwDQYJKoZIhvcNAQEBBQADggIP +ADCCAgoCggIBAN5Y08LhIkTwMpcZTkkhKytjWecjbj2+Y7rH6kR+VwYGppF5B6FF +Q14wUaN73aNmT7TGHw1s0V/g5+zAmdJccC6k4joIURFLZrKbgi4Zfbhzta+gx4fQ +jz/DxMlMQo2ZYJx25pnHnPTjWB2RAdAp61gmTNWGHmna1sixiUEt79cYfcjMBVt4 +V3oZQMrfYTIU2tJI60wQ7Bt6OYfbAnKwsXEawkXJJue/IR2MO9N0ak12o9EJT3cr +8F9GjXJypJmJI5sCHrTkN2jcMxCUTSuTSKbgFBfHC9pW6FvOzNHxciWfz9BPkfKy +INjlHaGBCrXIm1e1svvIUZBJ417UIb0ZvUk2ccJ0CR/6f1EVWiKyOyfwwZxILGlO +zQbXo6JrjWdBoosHKqHj75qK2GFRx33q6Nichx6WMzJymQvRUxfNnvHAcdT5oc9G +RFCwPNt/THRvszBAPleQTWtg/PD9PAnqqGk+jHOVD8fmGoSX3N0+lnJAtx+vliW5 +pENJMBpHVCu6qVYzZnPLmIG2G/HuGtg1D9F7mlun5vgzuHUjrO+iGsyIJu28xCtZ +hlYa04c+xb61RdNDJva8hggYhkywtnM6KNefvz/QgDTvG6K+qVD+OYLqM1kBkILk +9Gyz0pAtYla71XeMRwrl0Ky0m/l6hxnpFbLxKGgvZ+6mnaNgJGi1rzyZAgMBAAEw +DQYJKoZIhvcNAQELBQADggIBAJ1tNTAnPgAbfhXVxtVnnNPFGsrmUgtBj0f8NsY3 +F0ODX50TIjbVLYp7j3u+dgZu9/ruTOHcGLywNi5mJWB+s27KJJn3nBFPmd9d/QIV +zmjn5IVvikXezEjECQOscwDhwpSbzHqLoieDTJntVUyaNctAZM1YOxVKO97pCDdw +tV74xDzdnI/4JQFQPfshD699r3dtU5ax/jiVCvqM5hTAJ2M/UVyQtxm3lKzMYLNu +77chlVf8/hTop9B6Q4tD6Ajj2KPxaHB7y+5lhci5Rvb2YLVDs0HLq8UJmoJW3FLw +slrjs0NerSWoz5JfhmOQ0N9E3NBdV/kGr27WUeSlNOYh5bqneDCX+hPrO/4NtvpG +WnnJX9W6S6e5GBFsNwQIB9SQCjj9zKWqgszS937HRd9gLmnOCPm7jbCO5uOjDo5q +0t+E20r9xv+4il1QV7tkGg13texGDR43aGzsSNQ66PXOwzeeCPkFzrSu1QFBh7LL +69VMJIbgm3ywYJjO0vIi0mW+kAiqcniIxbDTcCuEI0yuVLyRNaAe6kWWLMVaJLUw +V4TNAOT7x8ZYGQGjhz2DAImvXMwZTK2wRwyv8S11G+ebIIUb4EXGbMksjU6tTquq +ViHO3TGAKPTHIjCYdNT/ZGYQ/PHXLmaDGSOcoW8FPT9ROPxXRSNicNfzLJk/o4Im +AZC5 +-----END CERTIFICATE----- diff --git a/junit/mockwebserver/src/main/resources/ssl/fabric8.csr b/junit/mockwebserver/src/main/resources/ssl/fabric8.csr new file mode 100644 index 00000000000..ef0eea5121d --- /dev/null +++ b/junit/mockwebserver/src/main/resources/ssl/fabric8.csr @@ -0,0 +1,27 @@ +-----BEGIN CERTIFICATE REQUEST----- +MIIEoTCCAokCAQAwXDELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUx +FTATBgNVBAcMDERlZmF1bHQgQ2l0eTEhMB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0 +cyBQdHkgTHRkMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA3ljTwuEi +RPAylxlOSSErK2NZ5yNuPb5jusfqRH5XBgamkXkHoUVDXjBRo3vdo2ZPtMYfDWzR +X+Dn7MCZ0lxwLqTiOghREUtmspuCLhl9uHO1r6DHh9CPP8PEyUxCjZlgnHbmmcec +9ONYHZEB0CnrWCZM1YYeadrWyLGJQS3v1xh9yMwFW3hXehlAyt9hMhTa0kjrTBDs +G3o5h9sCcrCxcRrCRckm578hHYw703RqTXaj0QlPdyvwX0aNcnKkmYkjmwIetOQ3 +aNwzEJRNK5NIpuAUF8cL2lboW87M0fFyJZ/P0E+R8rIg2OUdoYEKtcibV7Wy+8hR +kEnjXtQhvRm9STZxwnQJH/p/URVaIrI7J/DBnEgsaU7NBtejomuNZ0GiiwcqoePv +morYYVHHfero2JyHHpYzMnKZC9FTF82e8cBx1Pmhz0ZEULA8239MdG+zMEA+V5BN +a2D88P08CeqoaT6Mc5UPx+YahJfc3T6WckC3H6+WJbmkQ0kwGkdUK7qpVjNmc8uY +gbYb8e4a2DUP0XuaW6fm+DO4dSOs76IazIgm7bzEK1mGVhrThz7FvrVF00Mm9ryG +CBiGTLC2czoo15+/P9CANO8bor6pUP45guozWQGQguT0bLPSkC1iVrvVd4xHCuXQ +rLSb+XqHGekVsvEoaC9n7qado2AkaLWvPJkCAwEAAaAAMA0GCSqGSIb3DQEBCwUA +A4ICAQCExP0WiJbGkhbpIRVN30seLat5upU3WauQy4fGeDKZAq37LguhzeHkWXtu +Rifb5fz8e7PTOz1fwjHJ8pBQsy5mRoMDXYdtyn6S6A2xGTPUYT82mN6BSJbwJDQm +Y4l4Lhg+7cEvqls+Mx9Dq0eSlM7hH7ezOl5c25U+lG74dHLT2gq5ornjdBk2JKnx +2c95646UomKJKVZtzfPLFRJhmVOr2ndkzooF1GlWXZsU57hflH0Y6argAqC+Y/Hu +AFqsm48Uwixex1FfX53aEFnZG1vkDYm48idGUDEa1QNqqC7Wt0qDM8iZtYaHoc9D +wOSD4KGOUOvzooqKmRzHRRRXfL/K3xzFOFAbxJf5YbVHmRGHEWbEXwnjhz1PHgmS +sXNtmVSt7/ycGKRUHyK4s2xIol45EaD7B+80st0fj0n5WGnpX0Wx/XxIepoD7/dG +H3HNjJD9UyGW3l2q6TojQrYLdTo+k9/CS6yMbbI++QyPlv/cnI1JpS/9+wvF8RrX +1AfWplKt+T8gOs64Ns7triUGD96IAqZfj46olQBN90BwCZ1BasneZyDYhClRCrfN +0znZT0cwgCs0q+UU+WmMcfBWO7ctKj3cz3+SmX+R16nTFi5Uuj3J9ED0V1o687jZ +YgtA3vz5F9lf9DaKJ/23GuA2X7HYWCUDiLtB2junYNJ0toJNJw== +-----END CERTIFICATE REQUEST----- diff --git a/junit/mockwebserver/src/main/resources/ssl/fabric8.pub b/junit/mockwebserver/src/main/resources/ssl/fabric8.pub new file mode 100644 index 00000000000..ba5c2260a5e --- /dev/null +++ b/junit/mockwebserver/src/main/resources/ssl/fabric8.pub @@ -0,0 +1 @@ +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDeWNPC4SJE8DKXGU5JISsrY1nnI249vmO6x+pEflcGBqaReQehRUNeMFGje92jZk+0xh8NbNFf4OfswJnSXHAupOI6CFERS2aym4IuGX24c7WvoMeH0I8/w8TJTEKNmWCcduaZx5z041gdkQHQKetYJkzVhh5p2tbIsYlBLe/XGH3IzAVbeFd6GUDK32EyFNrSSOtMEOwbejmH2wJysLFxGsJFySbnvyEdjDvTdGpNdqPRCU93K/BfRo1ycqSZiSObAh605Ddo3DMQlE0rk0im4BQXxwvaVuhbzszR8XIln8/QT5HysiDY5R2hgQq1yJtXtbL7yFGQSeNe1CG9Gb1JNnHCdAkf+n9RFVoisjsn8MGcSCxpTs0G16Oia41nQaKLByqh4++aithhUcd96ujYnIceljMycpkL0VMXzZ7xwHHU+aHPRkRQsDzbf0x0b7MwQD5XkE1rYPzw/TwJ6qhpPoxzlQ/H5hqEl9zdPpZyQLcfr5YluaRDSTAaR1QruqlWM2Zzy5iBthvx7hrYNQ/Re5pbp+b4M7h1I6zvohrMiCbtvMQrWYZWGtOHPsW+tUXTQyb2vIYIGIZMsLZzOijXn78/0IA07xuivqlQ/jmC6jNZAZCC5PRss9KQLWJWu9V3jEcK5dCstJv5eocZ6RWy8ShoL2fupp2jYCRota88mQ== diff --git a/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/DefaultMockServerCrudTest.groovy b/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/DefaultMockServerCrudTest.groovy new file mode 100644 index 00000000000..6e0840dec3b --- /dev/null +++ b/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/DefaultMockServerCrudTest.groovy @@ -0,0 +1,142 @@ +/** + * 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 io.fabric8.mockwebserver + +import com.fasterxml.jackson.databind.ObjectMapper +import io.fabric8.mockwebserver.crud.CrudDispatcher +import okhttp3.MediaType +import okhttp3.OkHttpClient +import okhttp3.Request +import okhttp3.RequestBody +import okhttp3.mockwebserver.MockWebServer +import spock.lang.Shared +import spock.lang.Specification + +class DefaultMockServerCrudTest extends Specification { + + DefaultMockServer server + + @Shared + def client = new OkHttpClient() + + @Shared + def mapper = new ObjectMapper() + + def setup() { + server = new DefaultMockServer(new Context(), new MockWebServer(), new HashMap<>(), + new CrudDispatcher(new Context(), new UserAttributeExtractor(), new JsonResponseComposer()), false) + server.start() + } + + def cleanup() { + server.shutdown() + } + + def "get /, with empty store, should return 404"() { + when: + def result = client.newCall(new Request.Builder().url(server.url("/")).build()).execute() + + then: + assert result.code() == 404 + assert result.body().string() == "" + } + + def "get /, with one item, should return item"() { + given: + client.newCall(new Request.Builder().url(server.url("/")).post( + RequestBody.create(MediaType.parse("application/json"), + mapper.writeValueAsString(new User(1L, "user", true)))).build()). + execute() + + when: + def result = client.newCall(new Request.Builder().url(server.url("/")).build()).execute() + + then: + assert result.code() == 200 + assert result.body().string() == "{\"id\":1,\"username\":\"user\",\"enabled\":true}" + } + + def "get /, with multiple items, should return array"() { + given: + client.newCall(new Request.Builder().url(server.url("/")).post( + RequestBody.create(MediaType.parse("application/json"), + mapper.writeValueAsString(new User(1L, "user", true)))).build()). + execute() + client.newCall(new Request.Builder().url(server.url("/")).post( + RequestBody.create(MediaType.parse("application/json"), + mapper.writeValueAsString(new User(2L, "user-2", true)))).build()). + execute() + + when: + def result = client.newCall(new Request.Builder().url(server.url("/")).build()).execute() + + then: + assert result.code() == 200 + assert result.body().string() == + "[{\"id\":1,\"username\":\"user\",\"enabled\":true},{\"id\":2,\"username\":\"user-2\",\"enabled\":true}]" + } + + def "get /1, with existent item, should return item"() { + given: + client.newCall(new Request.Builder().url(server.url("/")).post( + RequestBody.create(MediaType.parse("application/json"), + mapper.writeValueAsString(new User(1L, "user", true)))).build()). + execute() + client.newCall(new Request.Builder().url(server.url("/")).post( + RequestBody.create(MediaType.parse("application/json"), + mapper.writeValueAsString(new User(2L, "user-2", true)))).build()). + execute() + + when: + def result = client.newCall(new Request.Builder().url(server.url("/1")).build()).execute() + + then: + assert result.code() == 200 + assert result.body().string() == "{\"id\":1,\"username\":\"user\",\"enabled\":true}" + } + + def "put /1, with missing item, should create item"() { + when: + def result = client.newCall(new Request.Builder().url(server.url("/1")).put( + RequestBody.create(MediaType.parse("application/json"), + mapper.writeValueAsString(new User(1L, "user-replaced", true)))).build()). + execute() + + then: + assert result.code() == 201 + assert result.body().string() == "{\"id\":1,\"username\":\"user-replaced\",\"enabled\":true}" + } + + def "put /1, with existent item, should replace item"() { + given: + client.newCall(new Request.Builder().url(server.url("/")).post( + RequestBody.create(MediaType.parse("application/json"), + mapper.writeValueAsString(new User(1L, "user", true)))).build()). + execute() + + when: + def result = client.newCall(new Request.Builder().url(server.url("/1")).put( + RequestBody.create(MediaType.parse("application/json"), + mapper.writeValueAsString(new User(1L, "user-replaced", true)))).build()). + execute() + + then: + assert result.code() == 202 + assert result.body().string() == "{\"id\":1,\"username\":\"user-replaced\",\"enabled\":true}" + def item = client.newCall(new Request.Builder().url(server.url("/1")).build()).execute() + assert item.body().string() == "{\"id\":1,\"username\":\"user-replaced\",\"enabled\":true}" + } +} diff --git a/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/DefaultMockServerHttpsTest.groovy b/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/DefaultMockServerHttpsTest.groovy new file mode 100644 index 00000000000..35cb5ff0a4e --- /dev/null +++ b/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/DefaultMockServerHttpsTest.groovy @@ -0,0 +1,45 @@ +/** + * 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 io.fabric8.mockwebserver + +import okhttp3.OkHttpClient +import spock.lang.Shared +import spock.lang.Specification + +class DefaultMockServerHttpsTest extends Specification { + + DefaultMockServer server + + @Shared + OkHttpClient client = new OkHttpClient() + + def setup() { + server = new DefaultMockServer(true) + server.start() + } + + def cleanup() { + server.shutdown() + } + + def "url, with path, returns URL with HTTPS protocol"() { + when: + def result = server.url("/") + + then: + assert result.startsWith("https://") + } +} diff --git a/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/DefaultMockServerTest.groovy b/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/DefaultMockServerTest.groovy new file mode 100644 index 00000000000..93adec35972 --- /dev/null +++ b/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/DefaultMockServerTest.groovy @@ -0,0 +1,668 @@ +/** + * 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 io.fabric8.mockwebserver + +import io.fabric8.mockwebserver.utils.ResponseProvider +import okhttp3.* +import okhttp3.mockwebserver.RecordedRequest +import okio.ByteString +import spock.lang.Shared +import spock.lang.Specification + +import java.util.concurrent.ArrayBlockingQueue +import java.util.concurrent.CountDownLatch +import java.util.concurrent.TimeUnit +import java.util.concurrent.atomic.AtomicReference + +class DefaultMockServerTest extends Specification { + + DefaultMockServer server + + @Shared + OkHttpClient client = new OkHttpClient() + + def setup() { + server = new DefaultMockServer() + server.start() + } + + def cleanup() { + server.shutdown() + } + + def "getPort, should return a valid port"() { + when: + def result = server.getPort() + + then: + assert result > 0 + assert result <= 65535 + } + + def "getHostName, should return a valid host name"() { + when: + def result = server.getHostName() + + then: + assert !result.isBlank() + } + + def "toProxy, should return Proxy with the current HostName and Port"() { + when: + def result = server.toProxyAddress() + + then: + assert result.address() instanceof InetSocketAddress + assert ((InetSocketAddress)result.address()).getPort() == server.getPort() + assert ((InetSocketAddress)result.address()).getHostName() == server.getHostName() + } + + def "getRequestCount, with no requests, should return 0"() { + when: + def result = server.getRequestCount() + + then: + assert result == 0 + } + + def "getRequestCount, with multiple, should return valid request count"() { + given: + client.newCall(new Request.Builder().url(server.url("/")).get().build()).execute() + client.newCall(new Request.Builder().url(server.url("/one")).get().build()).execute() + client.newCall(new Request.Builder().url(server.url("/two")).get().build()).execute() + + when: + def result = server.getRequestCount() + + then: + assert result == 3 + } + + def "getLastRequest, with no requests, should return null"() { + when: + def result = server.getLastRequest() + + then: + assert result == null + } + + def "getLastRequest, with one request, should return the request"() { + given: + client.newCall(new Request.Builder().url(server.url("/")).get().build()).execute() + + when: + def result = server.getLastRequest() + + then: + assert result.getPath() == "/" + } + + def "getLastRequest, with one request, can be invoked multiple times"() { + given: + client.newCall(new Request.Builder().url(server.url("/")).get().build()).execute() + server.getLastRequest() + + when: + def result = server.getLastRequest() + + then: + assert result.getPath() == "/" + } + + def "getLastRequest, with multiple requests, should return the latest request"() { + given: + client.newCall(new Request.Builder().url(server.url("/")).get().build()).execute() + client.newCall(new Request.Builder().url(server.url("/one")).get().build()).execute() + client.newCall(new Request.Builder().url(server.url("/two")).get().build()).execute() + + when: + def result = server.getLastRequest() + + then: + assert result.getPath() == "/two" + } + + def "getLastRequest, with multiple requests, can be invoked multiple times"() { + given: + client.newCall(new Request.Builder().url(server.url("/")).get().build()).execute() + client.newCall(new Request.Builder().url(server.url("/one")).get().build()).execute() + server.getLastRequest() + client.newCall(new Request.Builder().url(server.url("/two")).get().build()).execute() + server.getLastRequest() + + when: + def result = server.getLastRequest() + + then: + assert result.getPath() == "/two" + } + + def "takeRequest, with timeout and no requests, should return null and don't block (after timeout)"() { + when: + def result = server.takeRequest(1, TimeUnit.MICROSECONDS) + + then: + assert result == null + } + + def "when setting an expectation with once it should be met only the first time"() { + given: + server.expect().get().withPath("/api/v1/users").andReturn(200, "admin").once() + + when: + Request request = new Request.Builder().url(server.url("/api/v1/users")).get().build() + Response response1 = client.newCall(request).execute() + Response response2 = client.newCall(request).execute() + + then: + assert response1.code() == 200 + assert response1.body().string() == "admin" + assert response2.code() == 404 + + cleanup: + response1.close() + response2.close() + } + + def "when setting an expectation with n-th times it should be met only the for the first n-th times"() { + given: + server.expect().get().withPath("/api/v1/users").andReturn(200, "admin").times(3) + + when: + Request request = new Request.Builder().url(server.url("/api/v1/users")).get().build() + Response response1 = client.newCall(request).execute() + Response response2 = client.newCall(request).execute() + Response response3 = client.newCall(request).execute() + Response response4 = client.newCall(request).execute() + + then: + assert response1.code() == 200 + assert response1.body().string() == "admin" + assert response2.code() == 200 + assert response2.body().string() == "admin" + assert response3.code() == 200 + assert response3.body().string() == "admin" + assert response4.code() == 404 + + cleanup: + response1.close() + response2.close() + response3.close() + response4.close() + } + + def "when setting an expectation with always it should be met only always"() { + given: + server.expect().get().withPath("/api/v1/users").andReturn(200, "admin").always() + + when: + Request request = new Request.Builder().url(server.url("/api/v1/users")).get().build() + Response response1 = client.newCall(request).execute() + Response response2 = client.newCall(request).execute() + Response response3 = client.newCall(request).execute() + Response response4 = client.newCall(request).execute() + + then: + assert response1.code() == 200 + assert response1.body().string() == "admin" + assert response2.code() == 200 + assert response2.body().string() == "admin" + assert response3.code() == 200 + assert response3.body().string() == "admin" + assert response4.code() == 200 + assert response4.body().string() == "admin" + + cleanup: + response1.close() + response2.close() + response3.close() + response4.close() + } + + def "when setting an expectation as an object it should be serialized to json"() { + given: + User root = new User(0, "root", true) + + server.expect().get().withPath("/api/v1/users").andReturn(200, root).always() + + when: + Request request = new Request.Builder().url(server.url("/api/v1/users")).get().build() + Response response1 = client.newCall(request).execute() + + then: + assert response1.code() == 200 + assert response1.body().string() == "{\"id\":0,\"username\":\"root\",\"enabled\":true}" + + cleanup: + response1.close() + } + + def "when setting a timed websocket message it should be fire at the specified time"() { + given: + CountDownLatch closed = new CountDownLatch(1) + Queue messages = new ArrayBlockingQueue(1) + AtomicReference webSocketRef = new AtomicReference<>() + WebSocketListener listener = new WebSocketListener() { + @Override + void onMessage(WebSocket webSocket, String text) { + messages.add(text) + } + + @Override + void onMessage(WebSocket webSocket, ByteString bytes) { + onMessage(webSocket, bytes.utf8()) + } + + @Override + void onClosing(WebSocket webSocket, int code, String reason) { + webSocket.close(code, reason) + } + + @Override + void onClosed(WebSocket webSocket, int code, String reason) { + closed.countDown() + } + } + + server.expect().get().withPath("/api/v1/users/watch") + .andUpgradeToWebSocket() + .open() + .waitFor(1000).andEmit("DELETED") + .done() + .once() + + when: + Request request = new Request.Builder().url(server.url("/api/v1/users/watch")).get().build() + webSocketRef.set(client.newWebSocket(request, listener)) + + then: + messages.poll(10, TimeUnit.SECONDS) == "DELETED" + + when: + webSocketRef.get().close(1000, "just close") + + then: + closed.await(10, TimeUnit.SECONDS) + } + + def "when setting a request/response websocket message it should be fired when the event is triggered"() { + given: + CountDownLatch opened = new CountDownLatch(1) + CountDownLatch closed = new CountDownLatch(1) + CountDownLatch queued = new CountDownLatch(2) + Queue messages = new ArrayBlockingQueue(2) + AtomicReference webSocketRef = new AtomicReference<>() + + WebSocketListener listener = new WebSocketListener() { + @Override + void onOpen(WebSocket webSocket, Response response) { + webSocketRef.set(webSocket) + opened.countDown() + } + + @Override + void onMessage(WebSocket webSocket, String text) { + messages.add(text) + queued.countDown() + } + + @Override + void onMessage(WebSocket webSocket, ByteString bytes) { + onMessage(webSocket, bytes.utf8()) + } + + @Override + void onClosing(WebSocket webSocket, int code, String reason) { + webSocket.close(code, reason) + } + + @Override + void onClosed(WebSocket webSocket, int code, String reason) { + closed.countDown() + } + } + + server.expect().get().withPath("/api/v1/users/watch") + .andUpgradeToWebSocket() + .open() + .expect("create root").andEmit("CREATED").once() + .expect("delete root").andEmit("DELETED").once() + .done() + .once() + + + when: + Request request = new Request.Builder().url(server.url("/api/v1/users/watch")).get().build() + webSocketRef.set(client.newWebSocket(request, listener)) + + then: + opened.await(10, TimeUnit.SECONDS) + WebSocket ws = webSocketRef.get() + ws.send("create root") + ws.send("delete root") + queued.await(10, TimeUnit.SECONDS) + messages.poll(10, TimeUnit.SECONDS) == "CREATED" + messages.poll(10, TimeUnit.SECONDS) == "DELETED" + + when: + ws.close(1000, "just close") + + then: + closed.await(10, TimeUnit.SECONDS) + } + + def "when receiving an unexpected websocket message it should close the connection with status code 1002"() { + given: + CountDownLatch opened = new CountDownLatch(1) + CountDownLatch closed = new CountDownLatch(1) + int closeCode = -1 + String closeReason = null + AtomicReference webSocketRef = new AtomicReference<>() + + WebSocketListener listener = new WebSocketListener() { + @Override + void onOpen(WebSocket webSocket, Response response) { + webSocketRef.set(webSocket) + opened.countDown() + } + + @Override + void onMessage(WebSocket webSocket, String text) { + System.out.println(text) + } + + @Override + void onMessage(WebSocket webSocket, ByteString bytes) { + onMessage(webSocket, bytes.utf8()) + } + + @Override + void onClosing(WebSocket webSocket, int code, String reason) { + System.out.println("Closing: " + code + " : " + reason) + webSocket.close(code, reason) + } + + @Override + void onClosed(WebSocket webSocket, int code, String reason) { + closeCode = code + closeReason = reason + closed.countDown() + } + } + + server.expect().get().withPath("/api/v1/users/watch") + .andUpgradeToWebSocket() + .open() + .expect("expected message").andEmit("MESSAGE OK").once() + .done() + .once() + + when: + Request request = new Request.Builder().url(server.url("/api/v1/users/watch")).get().build() + webSocketRef.set(client.newWebSocket(request, listener)) + + then: + opened.await(10, TimeUnit.SECONDS) + WebSocket ws = webSocketRef.get() + ws.send("unexpected message") + closed.await(10, TimeUnit.SECONDS) + assert closeCode == 1002 + assert closeReason == "Unexpected message:unexpected message" + + } + + def "when setting a delayed response it should be delayed for the specified duration"() { + given: + server.expect().get().withPath("/api/v1/users").delay(100, TimeUnit.MILLISECONDS).andReturn(200, "admin").once() + + when: + Request request = new Request.Builder().url(server.url("/api/v1/users")).get().build() + long startTime = System.currentTimeMillis() + Response response1 = client.newCall(request).execute() + + then: + assert response1.code() == 200 + assert response1.body().string() == "admin" + assert System.currentTimeMillis() - startTime >= 100 + + cleanup: + response1.close() + } + + def "when using a body provider it should work as for static responses"() { + given: + int[] counter = [0] + server.expect().get().withPath("/api/v1/users").andReply(200, {req -> "admin" + (counter[0]++)}).always() + + when: + Request request = new Request.Builder().url(server.url("/api/v1/users")).get().build() + Response response1 = client.newCall(request).execute() + Response response2 = client.newCall(request).execute() + + then: + assert response1.code() == 200 + assert response1.body().string() == "admin0" + assert response2.code() == 200 + assert response2.body().string() == "admin1" + + cleanup: + response1.close() + response2.close() + } + + def "when using a response provider it should work as for static responses"() { + given: + int[] counter = [0, 0] + server.expect().get().withPath("/api/v1/users").andReply(new ResponseProvider() { + private Headers headers = new Headers.Builder().build() + + int getStatusCode(RecordedRequest request) { + return 200 + (counter[0]++) + } + + Object getBody(RecordedRequest request) { + return "admin" + (counter[1]++) + } + + @Override + Headers getHeaders() { + return headers + } + + @Override + void setHeaders(Headers headers) { + this.headers = headers + } + }).always() + + when: + Request req = new Request.Builder().url(server.url("/api/v1/users")).get().build() + Response response1 = client.newCall(req).execute() + Response response2 = client.newCall(req).execute() + + then: + assert response1.code() == 200 + assert response1.body().string() == "admin0" + assert response2.code() == 201 + assert response2.body().string() == "admin1" + + cleanup: + response1.close() + response2.close() + } + + def "should be able to set headers on responses"() { + given: + server.expect().get().withPath("/api/v1/users").andReturn(200, "admin").withHeader("test: header").withHeader("test2", "header2").once() + + when: + Request request = new Request.Builder().url(server.url("/api/v1/users")).get().build() + Response response = client.newCall(request).execute() + + then: + assert response.code() == 200 + assert response.body().string() == "admin" + assert response.header("test") == "header" + assert response.header("test2") == "header2" + + cleanup: + response.close() + } + + def "when setting an httprequest/response websocket message it should be fired when the event is triggered"() { + given: + CountDownLatch opened = new CountDownLatch(1) + CountDownLatch closed = new CountDownLatch(1) + CountDownLatch queued = new CountDownLatch(2) + Queue messages = new ArrayBlockingQueue(2) + AtomicReference webSocketRef = new AtomicReference<>() + + WebSocketListener listener = new WebSocketListener() { + @Override + void onOpen(WebSocket webSocket, Response response) { + webSocketRef.set(webSocket) + opened.countDown() + } + + @Override + void onMessage(WebSocket webSocket, String text) { + messages.add(text) + queued.countDown() + } + + @Override + void onMessage(WebSocket webSocket, ByteString bytes) { + onMessage(webSocket, bytes.utf8()) + } + + @Override + void onClosing(WebSocket webSocket, int code, String reason) { + webSocket.close(code, reason) + } + + @Override + void onClosed(WebSocket webSocket, int code, String reason) { + closed.countDown() + } + } + + server.expect().get().withPath("/api/v1/users/watch") + .andUpgradeToWebSocket() + .open() + .expectHttpRequest("/api/v1/create").andEmit("CREATED").once() + .expectHttpRequest("/api/v1/delete").andEmit("DELETED").once() + .done() + .once() + + + when: + Request request = new Request.Builder().url(server.url("/api/v1/users/watch")).get().build() + webSocketRef.set(client.newWebSocket(request, listener)) + + then: + opened.await(10, TimeUnit.SECONDS) + WebSocket ws = webSocketRef.get() + + when: + request = new Request.Builder().url(server.url("/api/v1/create")).get().build() + client.newCall(request).execute() + + then: + messages.poll(10, TimeUnit.SECONDS) == "CREATED" + + when: + request = new Request.Builder().url(server.url("/api/v1/delete")).get().build() + client.newCall(request).execute() + + then: + messages.poll(10, TimeUnit.SECONDS) == "DELETED" + + when: + ws.close(1000, "just close") + + then: + closed.await(10, TimeUnit.SECONDS) + } + + def "when setting an sentWebSocketMessage/response websocket message it should be fired when the event is triggered"() { + given: + CountDownLatch opened = new CountDownLatch(1) + CountDownLatch closed = new CountDownLatch(1) + CountDownLatch queued = new CountDownLatch(2) + Queue messages = new ArrayBlockingQueue(2) + AtomicReference webSocketRef = new AtomicReference<>() + + WebSocketListener listener = new WebSocketListener() { + @Override + void onOpen(WebSocket webSocket, Response response) { + webSocketRef.set(webSocket) + opened.countDown() + } + + @Override + void onMessage(WebSocket webSocket, String text) { + messages.add(text) + queued.countDown() + } + + @Override + void onMessage(WebSocket webSocket, ByteString bytes) { + onMessage(webSocket, bytes.utf8()) + } + + @Override + void onClosing(WebSocket webSocket, int code, String reason) { + webSocket.close(code, reason) + } + + @Override + void onClosed(WebSocket webSocket, int code, String reason) { + closed.countDown() + } + } + + server.expect().get().withPath("/api/v1/users/watch") + .andUpgradeToWebSocket() + .open() + .expectHttpRequest("/api/v1/create").andEmit("CREATED").once() + .expectSentWebSocketMessage("CREATED").andEmit("DELETED").once() + .done() + .once() + + + when: + Request request = new Request.Builder().url(server.url("/api/v1/users/watch")).get().build() + webSocketRef.set(client.newWebSocket(request, listener)) + + then: + opened.await(10, TimeUnit.SECONDS) + WebSocket ws = webSocketRef.get() + + when: + request = new Request.Builder().url(server.url("/api/v1/create")).get().build() + client.newCall(request).execute() + + then: + messages.poll(10, TimeUnit.SECONDS) == "CREATED" + messages.poll(10, TimeUnit.SECONDS) == "DELETED" + + when: + ws.close(1000, "just close") + + then: + closed.await(10, TimeUnit.SECONDS) + } +} diff --git a/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/DefaultMockServerWebSocketTest.groovy b/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/DefaultMockServerWebSocketTest.groovy new file mode 100644 index 00000000000..6433be20d2b --- /dev/null +++ b/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/DefaultMockServerWebSocketTest.groovy @@ -0,0 +1,167 @@ +/** + * 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 io.fabric8.mockwebserver + +import okhttp3.OkHttpClient +import okhttp3.Request +import okhttp3.Response +import okhttp3.WebSocket +import okhttp3.WebSocketListener +import spock.lang.Shared +import spock.lang.Specification + +import java.util.concurrent.CompletableFuture +import java.util.concurrent.CountDownLatch +import java.util.concurrent.TimeUnit +import java.util.stream.Collectors +import java.util.stream.IntStream + +class DefaultMockServerWebSocketTest extends Specification { + + DefaultMockServer server + + @Shared + OkHttpClient client = new OkHttpClient() + + def setup() { + server = new DefaultMockServer() + server.start() + } + + def cleanup() { + server.shutdown() + } + + def "andUpgradeToWebSocket, with configured events, should emit events"() { + given: + server.expect() + .withPath("/websocket") + .andUpgradeToWebSocket().open().waitFor(10L).andEmit("A text message").done().always() + def future = new CompletableFuture() + when: + def ws = client.newWebSocket(new Request.Builder().url(server.url("/websocket")).build(), new WebSocketListener() { + @Override + void onMessage(WebSocket webSocket, String text) { + future.complete(text) + } + }) + then: + assert future.get(100L, TimeUnit.MILLISECONDS) == "A text message" + cleanup: + ws.close(1000, "Test finished") + } + + def "andUpgradeToWebSocket, with configured events, should emit onClose when done"() { + given: + server.expect() + .withPath("/websocket") + .andUpgradeToWebSocket().open().immediately().andEmit("event").done().always() + def future = new CompletableFuture() + when: + def ws = client.newWebSocket(new Request.Builder().url(server.url("/websocket")).build(), new WebSocketListener() { + @Override + void onClosing(WebSocket webSocket, int code, String reason) { + future.complete(reason) + } + }) + then: + assert future.get(100L, TimeUnit.MILLISECONDS) == "Closing..." + } + + def "andUpgradeToWebSocket, with no events, should emit onClose"() { + given: + server.expect() + .withPath("/websocket") + .andUpgradeToWebSocket().open().done().always() + def future = new CompletableFuture() + when: + def ws = client.newWebSocket(new Request.Builder().url(server.url("/websocket")).build(), new WebSocketListener() { + @Override + void onClosing(WebSocket webSocket, int code, String reason) { + future.complete(reason) + } + }) + then: + assert future.get(100L, TimeUnit.MILLISECONDS) == "Closing..." + } + + // https://github.com/fabric8io/mockwebserver/pull/66#issuecomment-944289335 + def "andUpgradeToWebSocket, with multiple upgrades, should emit events for all websocket listeners"() { + given: + server.expect() + .withPath("/websocket") + .andUpgradeToWebSocket().open().waitFor(10L).andEmit("A text message").done().always() + def latch = new CountDownLatch(15) + def wsListener = new WebSocketListener() { + @Override + void onMessage(WebSocket webSocket, String text) { + latch.countDown() + } + } + when: + def wss = IntStream.range(0, 15).mapToObj(i -> + client.newWebSocket(new Request.Builder().url(server.url("/websocket")).build(), wsListener) + ).collect(Collectors.toList()) + then: + assert latch.await(10000L, TimeUnit.MILLISECONDS) + cleanup: + wss.forEach(ws -> ws.close(1000, "Test finished")) + } + + // https://github.com/fabric8io/mockwebserver/issues/77 + def "andUpgradeToWebSocket, with request header 'sec-websocket-protocol', should create response with matching header"() { + given: + server.expect() + .withPath("/websocket") + .andUpgradeToWebSocket().open().done().always() + def future = new CompletableFuture() + when: + def ws = client.newWebSocket(new Request.Builder().url(server.url("/websocket")).header("sec-websocket-protocol", "v4.channel.k8s.io").build(), new WebSocketListener() { + @Override + void onOpen(WebSocket webSocket, Response response) { + future.complete(response.header("sec-websocket-protocol")) + } + }) + then: + assert future.get(100L, TimeUnit.MILLISECONDS) == "v4.channel.k8s.io" + cleanup: + ws.close(1000, "Test finished") + } + + // https://github.com/fabric8io/mockwebserver/issues/77 + def "andUpgradeToWebSocket, with request header 'sec-websocket-protocol', should not change existing response header"() { + given: + server.expect() + .withPath("/websocket") + .andUpgradeToWebSocket() + .open() + .done() + .withHeader("sec-websocket-protocol", "v3.channel.k8s.io,v4.channel.k8s.io") + .always() + def future = new CompletableFuture() + when: + def ws = client.newWebSocket(new Request.Builder().url(server.url("/websocket")).header("sec-websocket-protocol", "v4.channel.k8s.io").build(), new WebSocketListener() { + @Override + void onOpen(WebSocket webSocket, Response response) { + future.complete(response.header("sec-websocket-protocol")) + } + }) + then: + assert future.get(100L, TimeUnit.MILLISECONDS) == "v3.channel.k8s.io,v4.channel.k8s.io" + cleanup: + ws.close(1000, "Test finished") + } +} diff --git a/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/JsonResponseComposer.groovy b/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/JsonResponseComposer.groovy new file mode 100644 index 00000000000..9337a913de0 --- /dev/null +++ b/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/JsonResponseComposer.groovy @@ -0,0 +1,27 @@ +/** + * 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 io.fabric8.mockwebserver + +import io.fabric8.mockwebserver.crud.ResponseComposer + +import java.util.stream.Collectors + +class JsonResponseComposer implements ResponseComposer { + @Override + String compose(Collection items) { + return "[" + items.stream().collect(Collectors.joining(",")) + "]" + } +} diff --git a/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/MockServerExceptionTest.groovy b/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/MockServerExceptionTest.groovy new file mode 100644 index 00000000000..8e68b9d6dfe --- /dev/null +++ b/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/MockServerExceptionTest.groovy @@ -0,0 +1,65 @@ +/** + * 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 io.fabric8.mockwebserver + +import spock.lang.Specification + +class MockServerExceptionTest extends Specification { + + def "launderThrowable, with null, should throw MockServerException"() { + when: + MockServerException.launderThrowable(null) + then: + def result = thrown(MockServerException) + assert result.getMessage() == "An error has occurred." + assert result.getCause() == null + } + + def "launderThrowable, with checked exception, should throw MockServerException"() { + when: + MockServerException.launderThrowable(new Exception("I'm checked")) + then: + def result = thrown(MockServerException) + assert result.getMessage() == "An error has occurred." + assert result.getCause().getClass() == Exception + assert result.getCause().getMessage() == "I'm checked" + } + + def "launderThrowable, with unchecked exception, should throw MockServerException"() { + when: + def result = MockServerException.launderThrowable(new RuntimeException("I'm unchecked")) + then: + assert result.getMessage() == "I'm unchecked" + assert result.getClass() != MockServerException + } + + def "launderThrowable, with Error, should not be handled"() { + when: + MockServerException.launderThrowable(new Error("I'm an Error")) + then: + def result = thrown(Error) + assert result.getMessage() == "I'm an Error" + } + + def "launderThrowable, with Interrupted Exception, should re-interrupt"() { + when: + MockServerException.launderThrowable(new InterruptedException("I'm interrupted")) + then: + assert Thread.currentThread().isInterrupted() + def result = thrown(MockServerException) + assert result.getMessage() == "An error has occurred." + } +} diff --git a/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/User.groovy b/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/User.groovy new file mode 100644 index 00000000000..32132df8eb2 --- /dev/null +++ b/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/User.groovy @@ -0,0 +1,86 @@ +/** + * 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 io.fabric8.mockwebserver + +import com.fasterxml.jackson.annotation.JsonInclude +import com.fasterxml.jackson.annotation.JsonProperty + +@JsonInclude(JsonInclude.Include.NON_NULL) +class User { + + @JsonProperty("id") + private Long id + + @JsonProperty("username") + private String username + + @JsonProperty("enabled") + private Boolean enabled + + private User() { + } + + public User(Long id, String username, Boolean enabled) { + this.id = id + this.username = username + this.enabled = enabled + } + + public Long getId() { + return id + } + + public void setId(Long id) { + this.id = id + } + + public String getUsername() { + return username + } + + public void setUsername(String username) { + this.username = username + } + + public Boolean getEnabled() { + return enabled + } + + public void setEnabled(Boolean enabled) { + this.enabled = enabled + } + + @Override + public boolean equals(Object o) { + if (this == o) return true + if (o == null || getClass() != o.getClass()) return false + + User user = (User) o + + if (id != null ? !id.equals(user.id) : user.id != null) return false + if (username != null ? !username.equals(user.username) : user.username != null) return false + return enabled != null ? enabled.equals(user.enabled) : user.enabled == null + + } + + @Override + public int hashCode() { + int result = id != null ? id.hashCode() : 0 + result = 31 * result + (username != null ? username.hashCode() : 0) + result = 31 * result + (enabled != null ? enabled.hashCode() : 0) + return result + } +} diff --git a/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/UserAttributeExtractor.groovy b/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/UserAttributeExtractor.groovy new file mode 100644 index 00000000000..79c0033444f --- /dev/null +++ b/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/UserAttributeExtractor.groovy @@ -0,0 +1,40 @@ +/** + * 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 io.fabric8.mockwebserver + +import com.fasterxml.jackson.databind.ObjectMapper +import io.fabric8.mockwebserver.crud.Attribute +import io.fabric8.mockwebserver.crud.AttributeExtractor +import io.fabric8.mockwebserver.crud.AttributeSet + +class UserAttributeExtractor implements AttributeExtractor { + + static def mapper = new ObjectMapper() + + @Override + AttributeSet fromPath(String path) { + if (path.trim().isBlank() || path.trim() == "/") { + return new AttributeSet(); + } + return new AttributeSet(new Attribute("id", path.substring(1))) + } + + @Override + AttributeSet fromResource(String resource) { + def user = mapper.readValue(resource, User) + return new AttributeSet(new Attribute("id", user.getId().toString())) + } +} diff --git a/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/crud/AttributeSetTest.groovy b/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/crud/AttributeSetTest.groovy new file mode 100644 index 00000000000..a2990859d9a --- /dev/null +++ b/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/crud/AttributeSetTest.groovy @@ -0,0 +1,164 @@ +/** + * 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 io.fabric8.mockwebserver.crud + +import spock.lang.Specification + +class AttributeSetTest extends Specification { + + def "when two feature set are empty the should be equals"() { + given: + when: + AttributeSet f1 = new AttributeSet() + AttributeSet f2 = new AttributeSet() + then: + assert f1.equals(f2) + } + + def "when two feature sets contain the same feature"() { + given: + Attribute f = new Attribute("key1", "value1") + when: + AttributeSet f1 = new AttributeSet(f) + AttributeSet f2 = new AttributeSet(f) + then: + assert f1.equals(f2) + } + + def "when two feature sets contain the same features order should not matter"() { + given: + Attribute f1 = new Attribute("key1", "value1") + Attribute f2 = new Attribute("key2", "value2") + Attribute f3 = new Attribute("key3", "value3") + when: + AttributeSet fs12 = new AttributeSet(f1, f2) + AttributeSet fs21 = new AttributeSet(f2, f1) + AttributeSet fs23 = new AttributeSet(f2, f3) + + then: + assert fs12.equals(fs21) + assert !fs12.equals(fs23) + assert !fs21.equals(fs23) + } + + def "when an EXISTS attribute exists in both sets they should match"() { + given: + Attribute a1 = new Attribute("key1", "", AttributeType.EXISTS) + Attribute a2 = new Attribute("key2", "value2") + when: + AttributeSet selector = new AttributeSet(a1, a2) + AttributeSet attributeSet = new AttributeSet(a1, a2) + then: + assert attributeSet.matches(selector) + } + + def "when an EXISTS attribute exists in one set but not the other sets they should not match"() { + given: + Attribute a1 = new Attribute("key1", "", AttributeType.EXISTS) + Attribute a2 = new Attribute("key2", "value2") + when: + AttributeSet selector = new AttributeSet(a1, a2) + AttributeSet attributeSet = new AttributeSet(a2) + then: + assert !attributeSet.matches(selector) + } + + def "when a NOT_EXISTS attribute exists in both sets they should not match"() { + given: + Attribute a1 = new Attribute("key1", "", AttributeType.NOT_EXISTS) + Attribute a2 = new Attribute("key2", "value2") + when: + AttributeSet selector = new AttributeSet(a1, a2) + AttributeSet attributeSet = new AttributeSet(a1, a2) + then: + assert !attributeSet.matches(selector) + } + + def "when a NOT_EXISTS attribute exists in one set but not the other sets they should match"() { + given: + Attribute a1 = new Attribute("key1", "", AttributeType.NOT_EXISTS) + Attribute a2 = new Attribute("key2", "value2") + when: + AttributeSet selector = new AttributeSet(a1, a2) + AttributeSet attributeSet = new AttributeSet(a2) + then: + assert attributeSet.matches(selector) + } + + def "when multiple attributes are specified it should examine all"() { + given: + // Naming is important here as it controls the hashed order + Attribute a2 = new Attribute("key2", "value2") + Attribute a3 = new Attribute("key3", "", AttributeType.EXISTS) + when: + AttributeSet attributeSet = new AttributeSet(a2) + AttributeSet selectorWithOne = new AttributeSet(a2) + AttributeSet selectorWithTwo = new AttributeSet(a2, a3); + then: + + // Assert that the order is suitable for testing. The failing attribute should + // be in the *second* position to ensure we're examining all the values of the selector + assert new ArrayList<>(selectorWithTwo.attributes.values()).indexOf(a3) == 1; + + assert attributeSet.matches(selectorWithOne) + assert !attributeSet.matches(selectorWithTwo) + } + + def "when IN attribute in selector"() { + given: + Attribute a1 = new Attribute("key1", "value") + Attribute a2 = new Attribute("key2", "value1") + Attribute a3 = new Attribute("key2", "value2") + Attribute a4 = new Attribute("key2", "value3") + Attribute a5 = new Attribute("key2", Arrays.asList("value1", "value2"), AttributeType.IN) + + when: + AttributeSet attributeSetWithoutAttr = new AttributeSet(a1) + AttributeSet attributeSetWithVal1 = new AttributeSet(a2) + AttributeSet attributeSetWithVal2 = new AttributeSet(a3) + AttributeSet attributeSetWithWrongVal = new AttributeSet(a4) + AttributeSet selector = new AttributeSet(a5); + + then: + assert !attributeSetWithoutAttr.matches(selector) + assert attributeSetWithVal1.matches(selector) + assert attributeSetWithVal2.matches(selector) + assert !attributeSetWithWrongVal.matches(selector) + } + + def "when NOT_IN attribute in selector"() { + given: + Attribute a1 = new Attribute("key1", "value") + Attribute a2 = new Attribute("key2", "value1") + Attribute a3 = new Attribute("key2", "value2") + Attribute a4 = new Attribute("key2", "value3") + Attribute a5 = new Attribute("key2", Arrays.asList("value1", "value2"), AttributeType.NOT_IN) + + when: + AttributeSet attributeSetWithoutAttr = new AttributeSet(a1) + AttributeSet attributeSetWithVal1 = new AttributeSet(a2) + AttributeSet attributeSetWithVal2 = new AttributeSet(a3) + AttributeSet attributeSetWithWrongVal = new AttributeSet(a4) + AttributeSet selector = new AttributeSet(a5); + + then: + assert attributeSetWithoutAttr.matches(selector) + assert !attributeSetWithVal1.matches(selector) + assert !attributeSetWithVal2.matches(selector) + assert attributeSetWithWrongVal.matches(selector) + } + +} diff --git a/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/crud/AttributeTest.groovy b/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/crud/AttributeTest.groovy new file mode 100644 index 00000000000..51adfd3468e --- /dev/null +++ b/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/crud/AttributeTest.groovy @@ -0,0 +1,55 @@ +/** + * 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 io.fabric8.mockwebserver.crud + +import spock.lang.Specification + +class AttributeTest extends Specification { + + def "when key and value equals features should equal"() { + given: + when: + Attribute f11 = new Attribute("key1", "value1") + Attribute f11a = new Attribute("key1", "value1") + Attribute f12 = new Attribute("key1", "value2") + Attribute f22 = new Attribute("key2", "value2") + + then: + assert !f11.equals(f22) + assert !f11.equals(f12) + assert f11.equals(f11a) + } + + def "equals, with same attributes but different type, should be true"() { + given: + Attribute a1 = new Attribute("key1", "value1", AttributeType.EXISTS) + Attribute a2 = new Attribute("key1", "value1", AttributeType.NOT_EXISTS) + when: + var result = a1 == a2 + then: + assert result + } + + def "hashCode, with same attributes but different type, should be equal"() { + given: + Attribute a1 = new Attribute("key1", "value1", AttributeType.EXISTS) + Attribute a2 = new Attribute("key1", "value1", AttributeType.NOT_EXISTS) + when: + var result = a1.hashCode() == a2.hashCode() + then: + assert result + } +} diff --git a/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/crud/CrudDispatcherTest.groovy b/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/crud/CrudDispatcherTest.groovy new file mode 100644 index 00000000000..a7f920f1e0b --- /dev/null +++ b/junit/mockwebserver/src/test/groovy/io/fabric8/mockwebserver/crud/CrudDispatcherTest.groovy @@ -0,0 +1,124 @@ +/** + * 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 io.fabric8.mockwebserver.crud + +import io.fabric8.mockwebserver.Context +import io.fabric8.mockwebserver.DefaultMockServer +import io.fabric8.mockwebserver.ServerRequest +import io.fabric8.mockwebserver.ServerResponse +import okhttp3.OkHttpClient +import okhttp3.Request +import okhttp3.Response +import okhttp3.RequestBody +import okhttp3.MediaType +import okhttp3.mockwebserver.MockWebServer +import spock.lang.Specification +import com.fasterxml.jackson.databind.JsonNode + +class CrudDispatcherTest extends Specification { + + AttributeExtractor extractor = new AttributeExtractor() { + + @Override + AttributeSet fromPath(String path) { + AttributeSet set = new AttributeSet() + + String[] parts = path.split("/") + if (parts.length > 2) { + set = set.add(new Attribute("namespace", parts[2])) + } + + if (parts.length > 4) { + set = set.add(new Attribute("name", parts[4])) + } + return set + } + + @Override + AttributeSet fromResource(String resource) { + return null + } + } + + ResponseComposer composer = new ResponseComposer() { + @Override + String compose(Collection items) { + StringBuilder sb = new StringBuilder(); + for (String item : items) { + sb.append(item).append(" ") + } + return sb.toString().trim() + } + } + + def "should be able to get after a patch"() { + given: + Context context = new Context() + DefaultMockServer server = new DefaultMockServer(context, new MockWebServer(), new HashMap>(), new CrudDispatcher(context, extractor, composer), false) + String startingJson = """{"foo":{"bar":"startingValue","baz":"keepThis"} }""" + String patch = """[{"op":"replace","path":"/foo/bar","value":"canary"}]""" + when: + server.start() + then: + OkHttpClient client = new OkHttpClient() + Request post = new Request.Builder().post(RequestBody.create(MediaType.parse("application/json"), startingJson)).url(server.url("/namespace/test/name/one")).build() + client.newCall(post).execute() + + Request patchRequest = new Request.Builder().patch(RequestBody.create(MediaType.parse("application/strategic-merge-patch+json"), patch)).url(server.url("/namespace/test/name/one")).build() + client.newCall(patchRequest).execute() + + Request get = new Request.Builder().get().url(server.url("/namespace/test/name/one")).build() + Response response = client.newCall(get).execute() + JsonNode responseJson = context.getMapper().readValue(response.body().string(), JsonNode.class); + JsonNode expected = context.mapper.readValue("""{"foo": {"bar": "canary", "baz": "keepThis"}}""", JsonNode.class) + expected == responseJson + } + + def "should be able to get after a post"() { + given: + Context context = new Context() + DefaultMockServer server = new DefaultMockServer(context, new MockWebServer(), new HashMap>(), new CrudDispatcher(context, extractor, composer), false) + when: + server.start() + then: + OkHttpClient client = new OkHttpClient() + Request post = new Request.Builder().post(RequestBody.create(MediaType.parse("text/html"), "one")).url(server.url("/namespace/test/name/one")).build() + client.newCall(post).execute() + Request get = new Request.Builder().get().url(server.url("/namespace/test/name/one")).build() + Response response = client.newCall(get).execute() + assert response.body().string().equals("one") + } + + def "should be able to delete after a post"() { + given: + Context context = new Context() + DefaultMockServer server = new DefaultMockServer(context, new MockWebServer(), new HashMap>(), new CrudDispatcher(context, extractor, composer), false) + when: + server.start() + then: + OkHttpClient client = new OkHttpClient() + Request post = new Request.Builder().post(RequestBody.create(MediaType.parse("text/html"), "one")).url(server.url("/namespace/test/name/one")).build() + client.newCall(post).execute() + Request get = new Request.Builder().delete().url(server.url("/namespace/test/name/one")).build() + Response response = client.newCall(get).execute() + assert response.successful + + Request getMissing = new Request.Builder().delete().url(server.url("/namespace/test/name/two")).build() + Response responseMissing = client.newCall(getMissing).execute() + assert !responseMissing.successful + } + +} diff --git a/kubernetes-client-api/src/main/java/io/fabric8/kubernetes/client/Config.java b/kubernetes-client-api/src/main/java/io/fabric8/kubernetes/client/Config.java index 14a8a43482a..89ce3f8b599 100644 --- a/kubernetes-client-api/src/main/java/io/fabric8/kubernetes/client/Config.java +++ b/kubernetes-client-api/src/main/java/io/fabric8/kubernetes/client/Config.java @@ -220,6 +220,8 @@ public class Config { private String userAgent = "fabric8-kubernetes-client/" + Version.clientVersion(); private TlsVersion[] tlsVersions = new TlsVersion[] { TlsVersion.TLS_1_3, TlsVersion.TLS_1_2 }; + private boolean onlyHttpWatches; + /** * @deprecated Use Kubernetes Status directly for extracting error messages. */ @@ -337,7 +339,7 @@ public Config(String masterUrl, String apiVersion, String namespace, boolean tru errorMessages, userAgent, tlsVersions, websocketPingInterval, proxyUsername, proxyPassword, trustStoreFile, trustStorePassphrase, keyStoreFile, keyStorePassphrase, impersonateUsername, impersonateGroups, impersonateExtras, null, null, DEFAULT_REQUEST_RETRY_BACKOFFLIMIT, DEFAULT_REQUEST_RETRY_BACKOFFINTERVAL, - DEFAULT_UPLOAD_REQUEST_TIMEOUT); + DEFAULT_UPLOAD_REQUEST_TIMEOUT, false); } @Buildable(builderPackage = "io.fabric8.kubernetes.api.builder", editableEnabled = false) @@ -352,7 +354,7 @@ public Config(String masterUrl, String apiVersion, String namespace, boolean tru String proxyPassword, String trustStoreFile, String trustStorePassphrase, String keyStoreFile, String keyStorePassphrase, String impersonateUsername, String[] impersonateGroups, Map> impersonateExtras, OAuthTokenProvider oauthTokenProvider, Map customHeaders, int requestRetryBackoffLimit, - int requestRetryBackoffInterval, int uploadRequestTimeout) { + int requestRetryBackoffInterval, int uploadRequestTimeout, boolean onlyHttpWatches) { this.apiVersion = apiVersion; this.namespace = namespace; this.trustCerts = trustCerts; @@ -401,6 +403,7 @@ public Config(String masterUrl, String apiVersion, String namespace, boolean tru this.maxConcurrentRequests = maxConcurrentRequests; this.maxConcurrentRequestsPerHost = maxConcurrentRequestsPerHost; this.autoOAuthToken = autoOAuthToken; + this.onlyHttpWatches = onlyHttpWatches; } public static void configFromSysPropsOrEnvVars(Config config) { @@ -1509,4 +1512,12 @@ public void setAutoOAuthToken(String autoOAuthToken) { this.autoOAuthToken = autoOAuthToken; } + public boolean isOnlyHttpWatches() { + return onlyHttpWatches; + } + + public void setOnlyHttpWatches(boolean onlyHttpWatches) { + this.onlyHttpWatches = onlyHttpWatches; + } + } diff --git a/kubernetes-client-api/src/main/java/io/fabric8/kubernetes/client/V1AuthenticationAPIGroupDSL.java b/kubernetes-client-api/src/main/java/io/fabric8/kubernetes/client/V1AuthenticationAPIGroupDSL.java index 88afab62007..79eea566b34 100644 --- a/kubernetes-client-api/src/main/java/io/fabric8/kubernetes/client/V1AuthenticationAPIGroupDSL.java +++ b/kubernetes-client-api/src/main/java/io/fabric8/kubernetes/client/V1AuthenticationAPIGroupDSL.java @@ -15,6 +15,7 @@ */ package io.fabric8.kubernetes.client; +import io.fabric8.kubernetes.api.model.authentication.SelfSubjectReview; import io.fabric8.kubernetes.api.model.authentication.TokenReview; import io.fabric8.kubernetes.client.dsl.InOutCreateable; @@ -25,4 +26,16 @@ public interface V1AuthenticationAPIGroupDSL extends Client { * @return InOutCreateable instance for creating TokenReview object */ InOutCreateable tokenReviews(); + + /** + * API for creating authentication.k8s.io/v1 SelfSubjectReview + *

+ * SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. + * When using impersonation, users will receive the user info of the user being impersonated. If impersonation or + * request header authentication is used, any extra keys will have their case ignored and returned as lowercase. + *

+ * + * @return InOutCreateable instance for creating SelfSubjectReview object + */ + InOutCreateable selfSubjectReviews(); } diff --git a/kubernetes-client-api/src/main/java/io/fabric8/kubernetes/client/V1beta1AdmissionRegistrationAPIGroupDSL.java b/kubernetes-client-api/src/main/java/io/fabric8/kubernetes/client/V1beta1AdmissionRegistrationAPIGroupDSL.java index e35f5d04534..fd2473ba718 100644 --- a/kubernetes-client-api/src/main/java/io/fabric8/kubernetes/client/V1beta1AdmissionRegistrationAPIGroupDSL.java +++ b/kubernetes-client-api/src/main/java/io/fabric8/kubernetes/client/V1beta1AdmissionRegistrationAPIGroupDSL.java @@ -17,6 +17,10 @@ import io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MutatingWebhookConfiguration; import io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MutatingWebhookConfigurationList; +import io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicy; +import io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBinding; +import io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBindingList; +import io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyList; import io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingWebhookConfiguration; import io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingWebhookConfigurationList; import io.fabric8.kubernetes.client.dsl.MixedOperation; @@ -27,4 +31,26 @@ public interface V1beta1AdmissionRegistrationAPIGroupDSL extends Client { MixedOperation> validatingWebhookConfigurations(); NonNamespaceOperation> mutatingWebhookConfigurations(); + + /** + * API entrypoint for admissionregistration.k8s.io/v1beta1 ValidatingAdmissionPolicy + *

+ * ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or + * rejects an object without changing it. + *

+ * + * @return NonNamespaceOperation for ValidatingAdmissionPolicy + */ + NonNamespaceOperation> validatingAdmissionPolicies(); + + /** + * API entrypoint for admissionregistration.k8s.io/v1beta1 ValidatingAdmissionPolicyBinding + *

+ * ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for + * clusters. + *

+ * + * @return NonNamespaceOperation for ValidatingAdmissionPolicyBinding + */ + NonNamespaceOperation> validatingAdmissionPolicyBindings(); } diff --git a/kubernetes-client-api/src/main/java/io/fabric8/kubernetes/client/extended/leaderelection/LeaderElector.java b/kubernetes-client-api/src/main/java/io/fabric8/kubernetes/client/extended/leaderelection/LeaderElector.java index d3f7e62ed1f..71f1b4fb49d 100644 --- a/kubernetes-client-api/src/main/java/io/fabric8/kubernetes/client/extended/leaderelection/LeaderElector.java +++ b/kubernetes-client-api/src/main/java/io/fabric8/kubernetes/client/extended/leaderelection/LeaderElector.java @@ -23,6 +23,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import java.net.HttpURLConnection; import java.time.Duration; import java.time.LocalDateTime; import java.time.ZoneOffset; @@ -121,36 +122,44 @@ private synchronized void stopLeading() { return; // not leading } if (leaderElectionConfig.isReleaseOnCancel()) { - release(); - } else { - leaderElectionConfig.getLeaderCallbacks().onStopLeading(); + try { + if (release()) { + return; + } + } catch (KubernetesClientException e) { + final String lockDescription = leaderElectionConfig.getLock().describe(); + if (e.getCode() != HttpURLConnection.HTTP_CONFLICT) { + LOGGER.error("Exception occurred while releasing lock '{}' on cancel", lockDescription, e); + } else { + LOGGER.debug("Leadership was likely already lost '{}'", lockDescription, e); + } + } } + leaderElectionConfig.getLeaderCallbacks().onStopLeading(); } /** * Release the leadership if currently held. If not cancelled, the elector will * continue to try and re-acquire the lock. + * + * @return true if the lock was successfully released. false if there is no lock, or this is not the leader */ - public synchronized void release() { + public synchronized boolean release() { LeaderElectionRecord current = leaderElectionConfig.getLock().get(kubernetesClient); if (current == null || !isLeader(current)) { - return; // lost leadership already + return false; // lost leadership already } - try { - ZonedDateTime now = now(); - final LeaderElectionRecord newLeaderElectionRecord = new LeaderElectionRecord( - "", - Duration.ofSeconds(1), - now, - now, - current.getLeaderTransitions()); + ZonedDateTime now = now(); + final LeaderElectionRecord newLeaderElectionRecord = new LeaderElectionRecord( + "", + Duration.ofSeconds(1), + now, + now, + current.getLeaderTransitions()); - leaderElectionConfig.getLock().update(kubernetesClient, newLeaderElectionRecord); - updateObserved(newLeaderElectionRecord); - } catch (KubernetesClientException e) { - final String lockDescription = leaderElectionConfig.getLock().describe(); - LOGGER.error("Exception occurred while releasing lock '{}'", lockDescription, e); - } + leaderElectionConfig.getLock().update(kubernetesClient, newLeaderElectionRecord); + updateObserved(newLeaderElectionRecord); + return true; } private CompletableFuture acquire() { diff --git a/kubernetes-client-api/src/main/java/io/fabric8/kubernetes/client/utils/KubernetesResourceUtil.java b/kubernetes-client-api/src/main/java/io/fabric8/kubernetes/client/utils/KubernetesResourceUtil.java index ff99f69e28a..1dc5e54c4ab 100644 --- a/kubernetes-client-api/src/main/java/io/fabric8/kubernetes/client/utils/KubernetesResourceUtil.java +++ b/kubernetes-client-api/src/main/java/io/fabric8/kubernetes/client/utils/KubernetesResourceUtil.java @@ -60,7 +60,12 @@ public class KubernetesResourceUtil { private KubernetesResourceUtil() { } + public static final Pattern KUBERNETES_SUBDOMAIN_REGEX = Pattern + .compile("[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*"); public static final Pattern KUBERNETES_DNS1123_LABEL_REGEX = Pattern.compile("[a-z0-9]([-a-z0-9]{0,61}[a-z0-9])?"); + public static final Pattern KUBERNETES_KEY_REGEX = Pattern + .compile("(" + KUBERNETES_SUBDOMAIN_REGEX.toString() + "/)?[a-z0-9]([-_.a-z0-9]{0,61}[a-z0-9])?"); + private static final Pattern INVALID_LABEL_CHARS_PATTERN = Pattern.compile("[^-A-Za-z0-9]+"); private static final String DEFAULT_CONTAINER_IMAGE_REGISTRY_SECRET_NAME = "container-image-registry-secret"; @@ -249,7 +254,11 @@ public static Map getOrCreateAnnotations(HasMetadata entity) { } /** - * Returns an identifier from the given string that can be used as resource name. + * Returns an identifier from the given string that can be used as resource, label key/value, or annotation key + * in accordance to RFC 1123 Label Names. + *

+ * Note that this is more restrictive than necessary for most resources and label/annotation keys. It will truncate the name + * if necessary, which may affect uniqueness. * * @param name which needs to be sanitized * @return sanitized name @@ -324,7 +333,15 @@ public static ObjectMeta getOrCreateMetadata(HasMetadata entity) { } /** - * Validates name of Kubernetes Resource name, label or annotation based on Kubernetes regex + * Validates name of a Kubernetes Resource name, label key/value or annotation key based on RFC 1123 Label Names. + *

+ * Note: this is more restrictive than what is allowed for annotation names or most resource names, however some resource + * types have additional restrictions on their names. + *

+ * Refer to Kubernetes Naming + * Conventions + *

+ * See also {@link #isValidKey(String)} and {@link #isValidSubdomainName(String)} * * @param name Name of resource/label/annotation * @return returns a boolean value indicating whether it's valid or not @@ -333,19 +350,62 @@ public static boolean isValidName(String name) { return Utils.isNotNullOrEmpty(name) && KUBERNETES_DNS1123_LABEL_REGEX.matcher(name).matches(); } + /** + * Validates annotation or label key. + * + * @param key the annotation or label key + * @return returns a boolean value indicating whether it's valid or not + */ + public static boolean isValidKey(String key) { + return Utils.isNotNullOrEmpty(key) && key.length() < 254 && KUBERNETES_KEY_REGEX.matcher(key).matches(); + } + + /** + * Validates name of an resource according to DNS Subdomain rules. + *

+ * Refer to Kubernetes Naming + * Conventions + * + * @param name Name of annotation + * @return returns a boolean value indicating whether it's valid or not + */ + public static boolean isValidSubdomainName(String name) { + return Utils.isNotNullOrEmpty(name) && name.length() < 254 && KUBERNETES_SUBDOMAIN_REGEX.matcher(name).matches(); + } + /** * Validates labels/annotations of Kubernetes resources * * @param map Label/Annotation of resource * @return returns a boolean value indicating whether it's valid or not + * + * @see #areLabelsValid(Map) {@link #areAnnotationsValid(Map)} + * + * @deprecated the rules are different for label and annotation values */ + @Deprecated public static boolean isValidLabelOrAnnotation(Map map) { - for (Map.Entry entry : map.entrySet()) { - if (!(isValidName(entry.getKey()) && isValidName(entry.getValue()))) { - return false; - } - } - return true; + return areLabelsValid(map); + } + + /** + * Checks the given map keys and values for validity as labels. + * + * @param map labels + * @return returns a boolean value indicating whether it's valid or not + */ + public static boolean areLabelsValid(Map map) { + return map.entrySet().stream().allMatch(e -> isValidKey(e.getKey()) && isValidName(e.getValue())); + } + + /** + * Checks the given map keys validity as annotations. + * + * @param map annotations + * @return returns a boolean value indicating whether it's valid or not + */ + public static boolean areAnnotationsValid(Map map) { + return map.keySet().stream().allMatch(KubernetesResourceUtil::isValidKey); } /** diff --git a/kubernetes-client-api/src/test/java/io/fabric8/kubernetes/client/extended/leaderelection/LeaderElectorTest.java b/kubernetes-client-api/src/test/java/io/fabric8/kubernetes/client/extended/leaderelection/LeaderElectorTest.java index 0692bcd5619..ff0417b89f0 100644 --- a/kubernetes-client-api/src/test/java/io/fabric8/kubernetes/client/extended/leaderelection/LeaderElectorTest.java +++ b/kubernetes-client-api/src/test/java/io/fabric8/kubernetes/client/extended/leaderelection/LeaderElectorTest.java @@ -15,6 +15,7 @@ */ package io.fabric8.kubernetes.client.extended.leaderelection; +import io.fabric8.kubernetes.api.model.StatusBuilder; import io.fabric8.kubernetes.client.KubernetesClientException; import io.fabric8.kubernetes.client.NamespacedKubernetesClient; import io.fabric8.kubernetes.client.extended.leaderelection.resourcelock.LeaderElectionRecord; @@ -26,6 +27,7 @@ import org.mockito.Answers; import org.mockito.Mockito; +import java.net.HttpURLConnection; import java.time.Duration; import java.time.Instant; import java.time.ZoneOffset; @@ -144,6 +146,36 @@ void shouldReleaseWhenCanceled() throws Exception { assertEquals(1, activeLer.get().getLeaderTransitions()); } + @Test + void shouldStopOnReleaseWhenCanceled() throws Exception { + // Given + AtomicReference activeLer = new AtomicReference<>(); + final LeaderElectionConfig lec = mockLeaderElectionConfiguration(activeLer); + final CountDownLatch signal = new CountDownLatch(1); + final Lock mockedLock = lec.getLock(); + when(lec.isReleaseOnCancel()).thenReturn(true); + AtomicInteger count = new AtomicInteger(); + doAnswer(invocation -> { + if (count.addAndGet(1) == 2) { + // simulate that we've already lost election + throw new KubernetesClientException(new StatusBuilder().withCode(HttpURLConnection.HTTP_CONFLICT).build()); + } + LeaderElectionRecord leaderRecord = invocation.getArgument(1, LeaderElectionRecord.class); + activeLer.set(leaderRecord); + signal.countDown(); + return null; + }).when(mockedLock).update(any(), any()); + + // When + LeaderElector leaderElector = new LeaderElector(mock(NamespacedKubernetesClient.class), lec, CommonThreadPool.get()); + CompletableFuture started = leaderElector.start(); + assertTrue(signal.await(10, TimeUnit.SECONDS)); + started.cancel(true); + + // Then + verify(lec.getLeaderCallbacks(), times(1)).onStopLeading(); + } + @Test void shouldRelease() throws Exception { // Given diff --git a/kubernetes-client-api/src/test/java/io/fabric8/kubernetes/client/utils/KubernetesResourceUtilTest.java b/kubernetes-client-api/src/test/java/io/fabric8/kubernetes/client/utils/KubernetesResourceUtilTest.java index 0199aa7be1c..e2ced0ed10a 100644 --- a/kubernetes-client-api/src/test/java/io/fabric8/kubernetes/client/utils/KubernetesResourceUtilTest.java +++ b/kubernetes-client-api/src/test/java/io/fabric8/kubernetes/client/utils/KubernetesResourceUtilTest.java @@ -122,9 +122,9 @@ void testNullSafeOperationsForAnnotations() { void testNames() { assertTrue(KubernetesResourceUtil.isValidName(KubernetesResourceUtil.getName(configMap1))); assertFalse(KubernetesResourceUtil.isValidName("test.invalid.name")); - assertTrue(KubernetesResourceUtil.isValidLabelOrAnnotation(KubernetesResourceUtil.getOrCreateAnnotations(configMap1))); + assertTrue(KubernetesResourceUtil.areLabelsValid(KubernetesResourceUtil.getOrCreateAnnotations(configMap1))); assertFalse(KubernetesResourceUtil - .isValidLabelOrAnnotation(Collections.singletonMap("NoUppercaseOrSpecialCharsLike=Equals", "bar"))); + .areLabelsValid(Collections.singletonMap("NoUppercaseOrSpecialCharsLike=Equals", "bar"))); assertTrue(KubernetesResourceUtil.isValidName(KubernetesResourceUtil.sanitizeName("test.invalid.name"))); assertTrue(KubernetesResourceUtil.isValidName(KubernetesResourceUtil.sanitizeName("90notcool-n@me"))); @@ -132,6 +132,24 @@ void testNames() { KubernetesResourceUtil.sanitizeName("90notcool-n@me_______waytoooooooooolooooooooongand should be shorten for sure"))); } + @Test + void testSubdomainValidation() { + assertTrue(KubernetesResourceUtil.isValidSubdomainName("a.b")); + assertFalse(KubernetesResourceUtil.isValidSubdomainName("a..b")); + } + + @Test + void testKeyValidation() { + assertTrue(KubernetesResourceUtil.isValidKey("domain.prefix.io/label.key")); + assertFalse(KubernetesResourceUtil.isValidKey("domain.prefix.io?label.key")); + } + + @Test + void testAnnotationValidation() { + assertTrue( + KubernetesResourceUtil.areAnnotationsValid(Collections.singletonMap("simple-key", "Something not valid for a label!"))); + } + @Test void testSortEventListBasedOnTimestamp() { // Given diff --git a/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/BaseOperation.java b/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/BaseOperation.java index b2366550c28..dd351e94392 100755 --- a/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/BaseOperation.java +++ b/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/BaseOperation.java @@ -51,6 +51,7 @@ import io.fabric8.kubernetes.client.dsl.base.PatchType; import io.fabric8.kubernetes.client.extension.ExtensibleResource; import io.fabric8.kubernetes.client.http.HttpRequest; +import io.fabric8.kubernetes.client.impl.BaseClient; import io.fabric8.kubernetes.client.informers.ResourceEventHandler; import io.fabric8.kubernetes.client.informers.SharedIndexInformer; import io.fabric8.kubernetes.client.informers.impl.DefaultSharedIndexInformer; @@ -63,6 +64,8 @@ import io.fabric8.kubernetes.client.utils.Utils; import io.fabric8.kubernetes.client.utils.internal.CreateOrReplaceHelper; import io.fabric8.kubernetes.client.utils.internal.WatcherToggle; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import java.io.File; import java.io.FileInputStream; @@ -99,6 +102,8 @@ public class BaseOperation, ListerWatcher { + static final Logger LOGGER = LoggerFactory.getLogger(BaseOperation.class); + private static final String WATCH = "watch"; private static final String READ_ONLY_UPDATE_EXCEPTION_MESSAGE = "Cannot update read-only resources"; private static final String READ_ONLY_EDIT_EXCEPTION_MESSAGE = "Cannot edit read-only resources"; @@ -639,9 +644,12 @@ public Watch watch(ListOptions options, final Watcher watcher) { @Override public CompletableFuture> submitWatch(ListOptions options, final Watcher watcher) { - WatcherToggle watcherToggle = new WatcherToggle<>(watcher, true); ListOptions optionsToUse = defaultListOptions(options, true); WatchConnectionManager watch; + if (this.getConfig().isOnlyHttpWatches()) { + return CompletableFuture.completedFuture(httpWatch(watcher, optionsToUse)); + } + WatcherToggle watcherToggle = new WatcherToggle<>(watcher, true); try { watch = new WatchConnectionManager<>( httpClient, @@ -660,29 +668,32 @@ public CompletableFuture> submitWatch(ListOptions option if (t instanceof CompletionException) { t = t.getCause(); } + boolean httpWatch = false; if (t instanceof KubernetesClientException) { KubernetesClientException ke = (KubernetesClientException) t; + // 503 will initially trigger re-tries, if it's "expected", we may need to short-circuit that List furtherProcessedCodes = Arrays.asList(200, 503); if (furtherProcessedCodes.contains(ke.getCode())) { - //release the watch after disabling the watcher (to avoid premature call to onClose) - watcherToggle.disable(); - // If the HTTP return code is 200 or 503, we retry the watch again using a persistent hanging // HTTP GET. This is meant to handle cases like kubectl local proxy which does not support // websockets. Issue: https://github.com/kubernetes/kubernetes/issues/25126 - try { - return new WatchHTTPManager<>( - httpClient, - this, - optionsToUse, - watcher, - getRequestConfig().getWatchReconnectInterval(), - getRequestConfig().getWatchReconnectLimit()); - } catch (MalformedURLException e) { - throw KubernetesClientException.launderThrowable(forOperationType(WATCH), e); - } + LOGGER.debug( + "Websocket hanshake failed with code {}, but an httpwatch may be possible. Use Config.onlyHttpWatches to disable websocket watches.", + ke.getCode()); + httpWatch = true; } + } else { + LOGGER.debug( + "Failed to establish a websocket watch, will try regular http instead. Use Config.onlyHttpWatches to disable websocket watches.", + t); + httpWatch = true; + } + if (httpWatch) { + //release the watch after disabling the watcher (to avoid premature call to onClose) + watcherToggle.disable(); + return httpWatch(watcher, optionsToUse); } + throw KubernetesClientException.launderThrowable(t); } finally { watch.close(); @@ -693,6 +704,20 @@ public CompletableFuture> submitWatch(ListOptions option } + private AbstractWatchManager httpWatch(final Watcher watcher, ListOptions optionsToUse) { + try { + return new WatchHTTPManager<>( + httpClient, + this, + optionsToUse, + watcher, + getRequestConfig().getWatchReconnectInterval(), + getRequestConfig().getWatchReconnectLimit()); + } catch (MalformedURLException e) { + throw KubernetesClientException.launderThrowable(forOperationType(WATCH), e); + } + } + @Override public T replace() { throw new KubernetesClientException(READ_ONLY_UPDATE_EXCEPTION_MESSAGE); @@ -965,6 +990,13 @@ public void onNothing() { future.completeExceptionally(t); } }); + informer.stopped().whenComplete((v, t) -> { + if (t != null) { + future.completeExceptionally(t); + } else { + future.completeExceptionally(new KubernetesClientException("Informer was stopped")); + } + }); return future; } @@ -1037,6 +1069,7 @@ private DefaultSharedIndexInformer createInformer(long resync, Executor ex if (indexers != null) { informer.addIndexers(indexers); } + this.context.getClient().adapt(BaseClient.class).getClosed().whenComplete((closed, ignored) -> informer.stop()); return informer; } diff --git a/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicableListImpl.java b/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicableListImpl.java index e0df7f8b2cb..31e4a553c8f 100644 --- a/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicableListImpl.java +++ b/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicableListImpl.java @@ -33,8 +33,6 @@ import io.fabric8.kubernetes.client.dsl.NamespaceableResource; import io.fabric8.kubernetes.client.dsl.Resource; import io.fabric8.kubernetes.client.dsl.Waitable; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; import java.util.ArrayList; import java.util.Arrays; @@ -55,8 +53,6 @@ public class NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicableListImp implements NamespaceListVisitFromServerGetDeleteRecreateWaitApplicable, Waitable, HasMetadata> { - private static final Logger LOGGER = LoggerFactory - .getLogger(NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicableListImpl.class); protected static final String EXPRESSION = "expression"; private OperationContext context; @@ -133,24 +129,26 @@ public List waitUntilCondition(Predicate condition, long finish = System.nanoTime() + timeUnit.toNanos(amount); - for (int i = 0; i < items.size(); i++) { - final HasMetadata meta = items.get(i); - CompletableFuture> future = futures.get(i); - try { - results.add(future.thenApply(l -> l.isEmpty() ? null : l.get(0)).get(Math.max(0, finish - System.nanoTime()), - TimeUnit.NANOSECONDS)); - } catch (TimeoutException e) { - itemsWithConditionNotMatched.add(meta); - logAsNotReady(e, meta); - } catch (ExecutionException e) { - itemsWithConditionNotMatched.add(meta); - logAsNotReady(e.getCause(), meta); - } catch (InterruptedException e) { - Thread.currentThread().interrupt(); - throw KubernetesClientException.launderThrowable(e); - } finally { - future.cancel(true); + try { + for (int i = 0; i < items.size(); i++) { + final HasMetadata meta = items.get(i); + CompletableFuture> future = futures.get(i); + try { + results.add(future.thenApply(l -> l.isEmpty() ? null : l.get(0)).get(Math.max(0, finish - System.nanoTime()), + TimeUnit.NANOSECONDS)); + } catch (TimeoutException e) { + itemsWithConditionNotMatched.add(meta); + } catch (ExecutionException e) { + throw KubernetesClientException.launderThrowable(e.getCause()); + } catch (InterruptedException e) { + Thread.currentThread().interrupt(); + throw KubernetesClientException.launderThrowable(e); + } finally { + future.cancel(true); + } } + } finally { + futures.forEach(f -> f.cancel(true)); } if (!itemsWithConditionNotMatched.isEmpty()) { @@ -160,13 +158,6 @@ public List waitUntilCondition(Predicate condition, return results; } - private static void logAsNotReady(Throwable t, HasMetadata meta) { - LOGGER.warn( - "Error while waiting for: [{}] with name: [{}] in namespace: [{}]: {}. The resource will be considered not ready.", - meta.getKind(), meta.getMetadata().getName(), meta.getMetadata().getNamespace(), t.getMessage()); - LOGGER.debug("The error stack trace:", t); - } - @Override public ListVisitFromServerWritable dryRun(boolean isDryRun) { return newInstance(this.context.withDryRun(isDryRun)); diff --git a/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/OperationSupport.java b/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/OperationSupport.java index 7eeeca60951..16b5f6dbc47 100644 --- a/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/OperationSupport.java +++ b/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/OperationSupport.java @@ -617,8 +617,8 @@ public static Status createStatus(HttpResponse response, KubernetesSerializat return status; } } - } catch (IOException | KubernetesClientException | IllegalArgumentException e) { - // ignored + } catch (IOException | RuntimeException e) { + LOG.debug("Exception convertion response to Status", e); } if (response.message() != null) { statusMessage = response.message(); diff --git a/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/impl/BaseClient.java b/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/impl/BaseClient.java index 86ea7160d4e..9c1f4996b45 100644 --- a/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/impl/BaseClient.java +++ b/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/impl/BaseClient.java @@ -41,11 +41,14 @@ import io.fabric8.kubernetes.client.utils.ApiVersionUtil; import io.fabric8.kubernetes.client.utils.KubernetesSerialization; import io.fabric8.kubernetes.client.utils.Utils; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.util.List; +import java.util.concurrent.CompletableFuture; import java.util.concurrent.Executor; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; @@ -53,6 +56,8 @@ public abstract class BaseClient implements Client { + public static final Logger logger = LoggerFactory.getLogger(BaseClient.class); + /** * An {@link ExecutorSupplier} that provides an unlimited thread pool {@link Executor} per client. */ @@ -84,10 +89,12 @@ public void onClose(Executor executor) { private ExecutorSupplier executorSupplier; private Executor executor; protected KubernetesSerialization kubernetesSerialization; + private CompletableFuture closed; private OperationContext operationContext; BaseClient(BaseClient baseClient) { + this.closed = baseClient.closed; this.config = baseClient.config; this.httpClient = baseClient.httpClient; this.adapters = baseClient.adapters; @@ -104,6 +111,7 @@ public void onClose(Executor executor) { BaseClient(final HttpClient httpClient, Config config, ExecutorSupplier executorSupplier, KubernetesSerialization kubernetesSerialization) { + this.closed = new CompletableFuture<>(); this.config = config; this.httpClient = httpClient; this.handlers = new Handlers(); @@ -136,6 +144,11 @@ protected void setDerivedFields() { @Override public synchronized void close() { + if (closed.complete(null) && logger.isDebugEnabled()) { + logger.debug( + "The client and associated httpclient {} have been closed, the usage of this or any client using the httpclient will not work after this", + httpClient.getClass().getName()); + } httpClient.close(); if (this.executorSupplier != null) { this.executorSupplier.onClose(executor); @@ -143,6 +156,10 @@ public synchronized void close() { } } + public CompletableFuture getClosed() { + return closed; + } + @Override public URL getMasterUrl() { return masterUrl; diff --git a/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/impl/V1AuthenticationAPIGroupClient.java b/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/impl/V1AuthenticationAPIGroupClient.java index 4240dfc0809..170763ece0c 100644 --- a/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/impl/V1AuthenticationAPIGroupClient.java +++ b/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/impl/V1AuthenticationAPIGroupClient.java @@ -15,6 +15,7 @@ */ package io.fabric8.kubernetes.client.impl; +import io.fabric8.kubernetes.api.model.authentication.SelfSubjectReview; import io.fabric8.kubernetes.api.model.authentication.TokenReview; import io.fabric8.kubernetes.client.V1AuthenticationAPIGroupDSL; import io.fabric8.kubernetes.client.dsl.InOutCreateable; @@ -27,6 +28,11 @@ public InOutCreateable tokenReviews() { return getClient().adapt(BaseClient.class).getHandlers().getNonListingOperation(TokenReview.class, this); } + @Override + public InOutCreateable selfSubjectReviews() { + return getClient().adapt(BaseClient.class).getHandlers().getNonListingOperation(SelfSubjectReview.class, this); + } + @Override public V1AuthenticationAPIGroupClient newInstance() { return new V1AuthenticationAPIGroupClient(); diff --git a/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/impl/V1beta1AdmissionRegistrationAPIGroupClient.java b/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/impl/V1beta1AdmissionRegistrationAPIGroupClient.java index 068457d2700..49df58bd7a1 100644 --- a/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/impl/V1beta1AdmissionRegistrationAPIGroupClient.java +++ b/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/impl/V1beta1AdmissionRegistrationAPIGroupClient.java @@ -17,6 +17,10 @@ import io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MutatingWebhookConfiguration; import io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MutatingWebhookConfigurationList; +import io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicy; +import io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBinding; +import io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBindingList; +import io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyList; import io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingWebhookConfiguration; import io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingWebhookConfigurationList; import io.fabric8.kubernetes.client.V1beta1AdmissionRegistrationAPIGroupDSL; @@ -38,6 +42,16 @@ public NonNamespaceOperation> validatingAdmissionPolicies() { + return resources(ValidatingAdmissionPolicy.class, ValidatingAdmissionPolicyList.class); + } + + @Override + public NonNamespaceOperation> validatingAdmissionPolicyBindings() { + return resources(ValidatingAdmissionPolicyBinding.class, ValidatingAdmissionPolicyBindingList.class); + } + @Override public V1beta1AdmissionRegistrationAPIGroupClient newInstance() { return new V1beta1AdmissionRegistrationAPIGroupClient(); diff --git a/kubernetes-examples/src/main/java/io/fabric8/kubernetes/examples/kubectl/equivalents/NamespaceCreateEquivalent.java b/kubernetes-examples/src/main/java/io/fabric8/kubernetes/examples/kubectl/equivalents/NamespaceCreateEquivalent.java new file mode 100644 index 00000000000..f10f509e744 --- /dev/null +++ b/kubernetes-examples/src/main/java/io/fabric8/kubernetes/examples/kubectl/equivalents/NamespaceCreateEquivalent.java @@ -0,0 +1,49 @@ +/** + * 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 io.fabric8.kubernetes.examples.kubectl.equivalents; + +import io.fabric8.kubernetes.api.model.Namespace; +import io.fabric8.kubernetes.api.model.NamespaceBuilder; +import io.fabric8.kubernetes.client.KubernetesClient; +import io.fabric8.kubernetes.client.KubernetesClientBuilder; +import io.fabric8.kubernetes.client.KubernetesClientException; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * This sample code is Java equivalent to `kubectl create namespace test`. + */ +public class NamespaceCreateEquivalent { + private static final Logger logger = LoggerFactory.getLogger(NamespaceCreateEquivalent.class); + + public static void main(String[] args) { + logger.info("Creating Kubernetes client"); + try (final KubernetesClient client = new KubernetesClientBuilder().build()) { + logger.info("Kubernetes client successfully created"); + + // Create a namespace + Namespace namespace = new NamespaceBuilder() + .withNewMetadata() + .withName("test") + .endMetadata() + .build(); + namespace = client.namespaces().resource(namespace).create(); + logger.info("Created namespace: {}", namespace.getMetadata().getName()); + } catch (KubernetesClientException exception) { + logger.error("Problem encountered in Kubernetes Client: {}", exception.getMessage()); + } + } +} diff --git a/kubernetes-model-generator/go.mod b/kubernetes-model-generator/go.mod index bf8bdbfb600..35c4a97f6e2 100644 --- a/kubernetes-model-generator/go.mod +++ b/kubernetes-model-generator/go.mod @@ -17,15 +17,15 @@ require ( github.com/operator-framework/api v0.10.7 github.com/operator-framework/operator-lifecycle-manager v0.19.1 github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.57.0 - k8s.io/api v0.27.3 - k8s.io/apiextensions-apiserver v0.27.3 - k8s.io/apimachinery v0.27.3 + k8s.io/api v0.28.2 + k8s.io/apiextensions-apiserver v0.28.2 + k8s.io/apimachinery v0.28.2 k8s.io/client-go v12.0.0+incompatible - k8s.io/kube-aggregator v0.27.3 - k8s.io/metrics v0.27.3 + k8s.io/kube-aggregator v0.28.2 + k8s.io/metrics v0.28.2 sigs.k8s.io/gateway-api v0.6.1 sigs.k8s.io/kube-storage-version-migrator v0.0.5 - sigs.k8s.io/kustomize/api v0.13.1 + sigs.k8s.io/kustomize/api v0.14.0 ) require ( @@ -45,13 +45,12 @@ require ( github.com/gogo/protobuf v1.3.2 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/protobuf v1.5.3 // indirect - github.com/google/gnostic v0.6.9 // indirect + github.com/google/gnostic-models v0.6.8 // indirect github.com/google/go-cmp v0.5.9 // indirect github.com/google/gofuzz v1.2.0 // indirect github.com/google/uuid v1.3.0 // indirect github.com/h2non/filetype v1.1.1 // indirect github.com/h2non/go-is-svg v0.0.0-20160927212452-35e8c4b0612c // indirect - github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/josharian/intern v1.0.0 // indirect github.com/json-iterator/go v1.1.12 // indirect github.com/kdomanski/iso9660 v0.2.1 // indirect @@ -64,29 +63,28 @@ require ( github.com/operator-framework/operator-registry v1.17.5 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/sirupsen/logrus v1.9.0 // indirect - github.com/spf13/cobra v1.6.1 // indirect - go.uber.org/atomic v1.8.0 // indirect - go.uber.org/multierr v1.6.0 // indirect + go.uber.org/atomic v1.10.0 // indirect + go.uber.org/multierr v1.11.0 // indirect go.uber.org/zap v1.24.0 // indirect - golang.org/x/net v0.10.0 // indirect - golang.org/x/oauth2 v0.5.0 // indirect - golang.org/x/sys v0.8.0 // indirect - golang.org/x/term v0.8.0 // indirect - golang.org/x/text v0.9.0 // indirect + golang.org/x/net v0.13.0 // indirect + golang.org/x/oauth2 v0.8.0 // indirect + golang.org/x/sys v0.10.0 // indirect + golang.org/x/term v0.10.0 // indirect + golang.org/x/text v0.11.0 // indirect golang.org/x/time v0.3.0 // indirect google.golang.org/appengine v1.6.7 // indirect - google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f // indirect - google.golang.org/grpc v1.53.0 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19 // indirect + google.golang.org/grpc v1.54.0 // indirect google.golang.org/protobuf v1.30.0 // indirect gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect - k8s.io/klog/v2 v2.90.1 // indirect - k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f // indirect - k8s.io/utils v0.0.0-20230220204549-a5ecb0141aa5 // indirect + k8s.io/klog/v2 v2.100.1 // indirect + k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 // indirect + k8s.io/utils v0.0.0-20230505201702-9f6742963106 // indirect sigs.k8s.io/controller-runtime v0.15.0 // indirect sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect - sigs.k8s.io/kustomize/kyaml v0.14.0 // indirect + sigs.k8s.io/kustomize/kyaml v0.14.3 // indirect sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect sigs.k8s.io/yaml v1.3.0 // indirect ) @@ -106,11 +104,11 @@ replace ( github.com/openshift/assisted-service/models => github.com/openshift/assisted-service/models v0.0.0-20220928142635-a40422bdea61 github.com/terraform-providers/terraform-provider-aws => github.com/openshift/terraform-provider-aws v1.60.1-0.20211215220004-24df6d73af46 github.com/terraform-providers/terraform-provider-ignition/v2 => github.com/community-terraform-providers/terraform-provider-ignition/v2 v2.1.0 - k8s.io/client-go => k8s.io/client-go v0.27.3 + k8s.io/client-go => k8s.io/client-go v0.28.2 k8s.io/cloud-provider-vsphere => github.com/openshift/cloud-provider-vsphere v1.19.1-0.20211222185833-7829863d0558 - k8s.io/component-helpers => k8s.io/component-helpers v0.27.3 - k8s.io/controller-manager => k8s.io/controller-manager v0.27.3 - k8s.io/mount-utils => k8s.io/mount-utils v0.27.3 + k8s.io/component-helpers => k8s.io/component-helpers v0.28.2 + k8s.io/controller-manager => k8s.io/controller-manager v0.28.2 + k8s.io/mount-utils => k8s.io/mount-utils v0.28.2 sigs.k8s.io/cluster-api => sigs.k8s.io/cluster-api v0.4.5 sigs.k8s.io/cluster-api-provider-aws => github.com/openshift/cluster-api-provider-aws v0.2.1-0.20201125052318-b85a18cbf338 sigs.k8s.io/cluster-api-provider-azure => github.com/openshift/cluster-api-provider-azure v0.0.0-20210209143830-3442c7a36c1e diff --git a/kubernetes-model-generator/go.sum b/kubernetes-model-generator/go.sum index f6ff1cd4d43..adc2a762c34 100644 --- a/kubernetes-model-generator/go.sum +++ b/kubernetes-model-generator/go.sum @@ -192,7 +192,6 @@ github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869/go.mod h1:Ekp36dR github.com/bshuster-repo/logrus-logstash-hook v1.0.0 h1:e+C0SB5R1pu//O4MQ3f9cFuPGoOVeF2fE4Og9otCc70= github.com/bshuster-repo/logrus-logstash-hook v1.0.0/go.mod h1:zsTqEiSzDgAa/8GZR7E1qaXrhYNDKBYy5/dWPTIflbk= github.com/buger/jsonparser v0.0.0-20180808090653-f4dd9f5a6b44/go.mod h1:bbYlZJ7hK1yFx9hf58LP0zeX7UjIGs20ufpu3evjr+s= -github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0= github.com/bugsnag/bugsnag-go v1.5.3 h1:yeRUT3mUE13jL1tGwvoQsKdVbAsQx9AJ+fqahKveP04= github.com/bugsnag/bugsnag-go v1.5.3/go.mod h1:2oa8nejYd4cQ/b0hMIopN0lCRxU0bueqREvZLWFrtK8= github.com/bugsnag/panicwrap v1.2.0 h1:OzrKrRvXis8qEvOkfcxNcYbOd2O7xXS2nnKMEMABFQA= @@ -407,6 +406,7 @@ github.com/elazarl/goproxy v0.0.0-20190911111923-ecfe977594f1/go.mod h1:Ro8st/El github.com/elazarl/goproxy/ext v0.0.0-20190711103511-473e67f1d7d2/go.mod h1:gNh8nYJoAm43RfaxurUnxr+N1PwuFV3ZMl/efxlIlY8= github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= github.com/emicklei/go-restful v2.9.5+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= +github.com/emicklei/go-restful v2.10.0+incompatible h1:l6Soi8WCOOVAeCo4W98iBFC6Og7/X8bpRt51oNLZ2C8= github.com/emicklei/go-restful v2.10.0+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= github.com/emicklei/go-restful/v3 v3.8.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= github.com/emicklei/go-restful/v3 v3.9.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= @@ -442,7 +442,6 @@ github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL github.com/fatih/color v1.12.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM= github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/felixge/httpsnoop v1.0.3/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= -github.com/flowstack/go-jsonschema v0.1.1/go.mod h1:yL7fNggx1o8rm9RlgXv7hTBWxdBM0rVwpMwimd3F3N0= github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/form3tech-oss/jwt-go v3.2.3+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= @@ -664,8 +663,8 @@ github.com/google/cel-go v0.9.0/go.mod h1:U7ayypeSkw23szu4GaQTPJGx66c20mx8JklMSx github.com/google/cel-go v0.12.6/go.mod h1:Jk7ljRzLBhkmiAwBoUxB1sZSCVBAzkqPF25olK/iRDw= github.com/google/cel-spec v0.6.0/go.mod h1:Nwjgxy5CbjlPrtCWjeDjUyKMl8w41YBYGjsyDdqk0xA= github.com/google/gnostic v0.5.7-v3refs/go.mod h1:73MKFl6jIHelAJNaBGFzt3SPtZULs9dYrGFt8OiIsHQ= -github.com/google/gnostic v0.6.9 h1:ZK/5VhkoX835RikCHpSUJV9a+S3e1zLh59YnyWeBW+0= -github.com/google/gnostic v0.6.9/go.mod h1:Nm8234We1lq6iB9OmlgNv3nH91XLLVZHCDayfA3xq+E= +github.com/google/gnostic-models v0.6.8 h1:yo/ABAfM5IMRsS1VnXjTBvUb61tFIHozhlYvRgGre9I= +github.com/google/gnostic-models v0.6.8/go.mod h1:5n7qKqH0f5wFt+aWF8CW6pZLLNOfYuF5OpfBSENuI8U= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= @@ -811,7 +810,6 @@ github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= -github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo= github.com/itchyny/astgen-go v0.0.0-20200519013840-cf3ea398f645/go.mod h1:296z3W7Xsrp2mlIY88ruDKscuvrkL6zXCNRtaYVshzw= github.com/itchyny/go-flags v1.5.0/go.mod h1:lenkYuCobuxLBAd/HGFE4LRoW8D3B6iXRQfWYJ+MNbA= @@ -1057,6 +1055,7 @@ github.com/onsi/ginkgo/v2 v2.8.1/go.mod h1:N1/NbDngAFcSLdyZ+/aYTYGSlq9qMCS/cNKGJ github.com/onsi/ginkgo/v2 v2.9.0/go.mod h1:4xkjoL/tZv4SMWeww56BU5kAt19mVB47gTWxmrTcxyk= github.com/onsi/ginkgo/v2 v2.9.1/go.mod h1:FEcmzVcCHl+4o9bQZVab+4dC9+j+91t2FHSzmGAPfuo= github.com/onsi/ginkgo/v2 v2.9.2/go.mod h1:WHcJJG2dIlcCqVfBAwUCrJxSPFb6v4azBwgxeMeDuts= +github.com/onsi/ginkgo/v2 v2.9.4/go.mod h1:gCQYp2Q+kSoIj7ykSVb9nskRSsR6PUj4AiLywzIhbKM= github.com/onsi/ginkgo/v2 v2.9.5 h1:+6Hr4uxzP4XIUyAkg61dWBw8lb/gc4/X5luuxN/EC+Q= github.com/onsi/ginkgo/v2 v2.9.5/go.mod h1:tvAoo1QUJwNEU2ITftXTpR7R1RbCzoZUOs3RonqW57k= github.com/onsi/gomega v0.0.0-20151007035656-2152b45fa28a/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= @@ -1233,8 +1232,8 @@ github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqr github.com/prometheus/client_golang v1.11.1/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= github.com/prometheus/client_golang v1.14.0/go.mod h1:8vpkKitgIVNcqrRBWh1C4TIUQgYNtG/XQE4E/Zae36Y= -github.com/prometheus/client_golang v1.15.1 h1:8tXpTmJbyH5lydzFPoxSIJ0J46jdh3tylbvM1xCv0LI= github.com/prometheus/client_golang v1.15.1/go.mod h1:e9yaBhRPU2pPNsZwE+JdQl0KEt1N9XgF6zxWmaC0xOk= +github.com/prometheus/client_golang v1.16.0 h1:yk/hx9hDbrGHovbci4BY+pRMfSuuat626eFsHb7tmT8= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= @@ -1256,8 +1255,8 @@ github.com/prometheus/common v0.28.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+ github.com/prometheus/common v0.29.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= github.com/prometheus/common v0.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= github.com/prometheus/common v0.37.0/go.mod h1:phzohg0JFMnBEFGxTDbfu3QyL5GI8gTQJFhYO5B3mfA= -github.com/prometheus/common v0.42.0 h1:EKsfXEYo4JpWMHH5cg+KOUWeuJSov1Id8zGR8eeI1YM= github.com/prometheus/common v0.42.0/go.mod h1:xBwqVerjNdUDjgODMpudtOMwlOwf2SaTr1yjz4b7Zbc= +github.com/prometheus/common v0.44.0 h1:+5BrQJwiBB9xsMygAB3TNvpQKOwlkc25LbISbrdOOfY= github.com/prometheus/procfs v0.0.0-20180125133057-cb4147076ac7/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= @@ -1271,8 +1270,8 @@ github.com/prometheus/procfs v0.2.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4O github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= github.com/prometheus/procfs v0.8.0/go.mod h1:z7EfXMXOkbkqb9IINtpCn86r/to3BnA0uaxHdg830/4= -github.com/prometheus/procfs v0.9.0 h1:wzCHvIvM5SxWqYvwgVL7yJY8Lz3PKn49KQtpgMYJfhI= github.com/prometheus/procfs v0.9.0/go.mod h1:+pB4zwohETzFnmlpe6yd2lSc+0/46IYZRB/chUwxUZY= +github.com/prometheus/procfs v0.10.1 h1:kYK1Va/YMlutzCGazswoHKo//tZVlFpKYh+PymziUAg= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/remyoudompheng/bigfft v0.0.0-20170806203942-52369c62f446/go.mod h1:uYEyJGbgTkfkS4+E/PavXkNJcbFIpEtjt2B0KDQ5+9M= @@ -1336,8 +1335,7 @@ github.com/spf13/cobra v1.1.1/go.mod h1:WnodtKOvamDL/PwE2M4iKs8aMDBZ5Q5klgD3qfVJ github.com/spf13/cobra v1.1.3/go.mod h1:pGADOWyqRD/YMrPZigI/zbliZ2wVD/23d+is3pSWzOo= github.com/spf13/cobra v1.2.1/go.mod h1:ExllRjgxM/piMAM+3tAZvg8fsklGAf3tPfi+i8t68Nk= github.com/spf13/cobra v1.6.0/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY= -github.com/spf13/cobra v1.6.1 h1:o94oiPyS4KD1mPy2fmcYYHHfCxLqYjJOhGsCHFZtEzA= -github.com/spf13/cobra v1.6.1/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY= +github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= @@ -1371,8 +1369,9 @@ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8= +github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= github.com/tchap/go-patricia v2.2.6+incompatible/go.mod h1:bmLyhP68RS6kStMGxByiQ23RP/odRBOTVjwp2cDyi6I= @@ -1440,8 +1439,8 @@ gitlab.com/nyarla/go-crypt v0.0.0-20160106005555-d9a5dc2b789b/go.mod h1:T3BPAOm2 go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= -go.etcd.io/bbolt v1.3.6 h1:/ecaJf0sk1l4l6V4awd65v2C3ILy7MSj+s/x1ADCIMU= go.etcd.io/bbolt v1.3.6/go.mod h1:qXsaaIqmgQH0T+OPdb99Bf+PKfBBQVAdyD6TY9G8XM4= +go.etcd.io/bbolt v1.3.7 h1:j+zJOnnEjF/kyHlDDgGnVL/AIqIJPq8UoB2GSNfkUfQ= go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg= go.etcd.io/etcd v0.5.0-alpha.5.0.20200819165624-17cef6e3e9d5/go.mod h1:skWido08r9w6Lq/w70DO5XYIKMu4QFu1+4VsqLQuJy8= go.etcd.io/etcd v0.5.0-alpha.5.0.20200910180754-dd1b699fc489/go.mod h1:yVHk9ub3CSBatqGNg7GRmsnfLWtoW60w4eDYfh7vHDg= @@ -1510,8 +1509,9 @@ go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= -go.uber.org/atomic v1.8.0 h1:CUhrE4N1rqSE6FM9ecihEjRkLQu8cDfgDyoOs83mEY4= go.uber.org/atomic v1.8.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= +go.uber.org/atomic v1.10.0 h1:9qC72Qh0+3MqyJbAn8YU5xVq1frD8bn3JtD2oXtafVQ= +go.uber.org/atomic v1.10.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0= go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A= go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= go.uber.org/goleak v1.1.12/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= @@ -1520,8 +1520,9 @@ go.uber.org/goleak v1.2.1 h1:NBol2c7O1ZokfZ0LEU9K6Whx/KnwvepVetCUhtKja4A= go.uber.org/goleak v1.2.1/go.mod h1:qlT2yGI9QafXHhZZLxlSuNsMw3FFLxBr+tBRlmO1xH4= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= -go.uber.org/multierr v1.6.0 h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4= go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= +go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= +go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= @@ -1565,6 +1566,7 @@ golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5y golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= +golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190125153040-c74c464bbbf2/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -1697,8 +1699,10 @@ golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= -golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M= +golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= +golang.org/x/net v0.13.0 h1:Nvo8UFsZ8X3BhAC9699Z1j7XQ3rsZnUUm7jfBEk1ueY= +golang.org/x/net v0.13.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20181106182150-f42d05182288/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -1719,8 +1723,9 @@ golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a/go.mod h1:KelEdhl1UZF7XfJ golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= -golang.org/x/oauth2 v0.5.0 h1:HuArIo48skDwlrvM3sEdHXElYslAMsf3KwRkkW4MC4s= golang.org/x/oauth2 v0.5.0/go.mod h1:9/XBHVqLaWO3/BRHs5jbpYCnOZVjj5V0ndyaAM7KB4I= +golang.org/x/oauth2 v0.8.0 h1:6dkIjl3j3LtZ/O3sTgZTMsLKSftL/B8Zgq4huOIIUu8= +golang.org/x/oauth2 v0.8.0/go.mod h1:yr7u4HXZRm1R1kBWqr/xKNqewf0plRYoB7sla+BCIXE= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -1869,8 +1874,10 @@ golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU= +golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.10.0 h1:SqMFp9UcQJZa+pmYuAKjd9xq1f0j5rLcDIk0mj4qAsA= +golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= @@ -1882,8 +1889,10 @@ golang.org/x/term v0.3.0/go.mod h1:q750SLmJuPmVoN1blW3UFBPREJfb1KmY3vwxfr+nFDA= golang.org/x/term v0.4.0/go.mod h1:9P2UbLfCdcvo3p/nzKvsmas4TnlujnuoV9hGgYzW1lQ= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= -golang.org/x/term v0.8.0 h1:n5xxQn2i3PC0yLAbjTpNT85q/Kgzcr2gIoX9OrJUols= +golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY= golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= +golang.org/x/term v0.10.0 h1:3R7pNqamzBraeqj/Tj8qt1aQ2HpmlC+Cx/qL/7hn4/c= +golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o= golang.org/x/text v0.0.0-20160726164857-2910a502d2bf/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -1899,8 +1908,9 @@ golang.org/x/text v0.5.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= -golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.11.0 h1:LAntKIrcmeSKERyiOh0XMV39LXS8IE9UL2yP7+f5ij4= +golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -1998,6 +2008,7 @@ golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA= golang.org/x/tools v0.4.0/go.mod h1:UE5sM2OK9E/d67R0ANs2xJizIymRP5gJU295PvKXxjQ= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= golang.org/x/tools v0.7.0/go.mod h1:4pg6aUX35JBAogB10C9AtvVL+qowtN4pT3CGSQex14s= +golang.org/x/tools v0.8.0/go.mod h1:JxBZ99ISMI5ViVkT1tr6tdNmXeTrcpVSD3vZ1RsRdN4= golang.org/x/tools v0.9.1 h1:8WMNJAz3zrtPmnYC7ISf5dEn3MT0gY7jBJfw27yrrLo= golang.org/x/tools v0.9.1/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -2121,10 +2132,9 @@ google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2/go.mod h1:eFjDcFEc google.golang.org/genproto v0.0.0-20210903162649-d08c68adba83/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20220107163113-42d7afdf6368/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20220502173005-c8bf987b8c21/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= -google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f h1:BWUVssLB0HVOSY78gIdvk1dTVYtT1y8SBWtPYuTJ/6w= -google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19 h1:0nDDozoAU19Qb2HwhXadU8OcsiO/09cnTqhUtq2MEOM= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM= @@ -2162,8 +2172,8 @@ google.golang.org/grpc v1.46.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACu google.golang.org/grpc v1.46.2/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.51.0/go.mod h1:wgNDFcnuBGmxLKI/qn4T+m5BtEBYXJPvibbUPsAIPww= -google.golang.org/grpc v1.53.0 h1:LAv2ds7cmFV/XTS3XG1NneeENYrXGmorPxsBbptIjNc= -google.golang.org/grpc v1.53.0/go.mod h1:OnIrk0ipVdj4N5d9IUoFUx72/VlD7+jUsHwZgwSMQpw= +google.golang.org/grpc v1.54.0 h1:EhTqbhiYeixwWQtAEZAxmV9MGqcjEU2mFx52xCzNyag= +google.golang.org/grpc v1.54.0/go.mod h1:PUSEXI6iWghWaB6lXM4knEgpJNu2qUcKfDtNci3EC2g= google.golang.org/grpc/cmd/protoc-gen-go-grpc v0.0.0-20200709232328-d8193ee9cc3e/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= @@ -2274,8 +2284,8 @@ k8s.io/api v0.23.1/go.mod h1:WfXnOnwSqNtG62Y1CdjoMxh7r7u9QXGCkA1u0na2jgo= k8s.io/api v0.24.2/go.mod h1:AHqbSkTm6YrQ0ObxjO3Pmp/ubFF/KuM7jU+3khoBsOg= k8s.io/api v0.27.1/go.mod h1:z5g/BpAiD+f6AArpqNjkY+cji8ueZDU/WV1jcj5Jk4E= k8s.io/api v0.27.2/go.mod h1:ENmbocXfBT2ADujUXcBhHV55RIT31IIEvkntP6vZKS4= -k8s.io/api v0.27.3 h1:yR6oQXXnUEBWEWcvPWS0jQL575KoAboQPfJAuKNrw5Y= -k8s.io/api v0.27.3/go.mod h1:C4BNvZnQOF7JA/0Xed2S+aUyJSfTGkGFxLXz9MnpIpg= +k8s.io/api v0.28.2 h1:9mpl5mOb6vXZvqbQmankOfPIGiudghwCoLl1EYfUZbw= +k8s.io/api v0.28.2/go.mod h1:RVnJBsjU8tcMq7C3iaRSGMeaKt2TWEUXcpIt/90fjEg= k8s.io/apiextensions-apiserver v0.17.0/go.mod h1:XiIFUakZywkUl54fVXa7QTEHcqQz9HG55nHd1DCoHj8= k8s.io/apiextensions-apiserver v0.18.0-beta.2/go.mod h1:Hnrg5jx8/PbxRbUoqDGxtQkULjwx8FDW4WYJaKNK+fk= k8s.io/apiextensions-apiserver v0.18.2/go.mod h1:q3faSnRGmYimiocj6cHQ1I3WpLqmDgJFlKL37fC4ZvY= @@ -2294,8 +2304,8 @@ k8s.io/apiextensions-apiserver v0.22.0/go.mod h1:+9w/QQC/lwH2qTbpqndXXjwBgidlSmy k8s.io/apiextensions-apiserver v0.22.1/go.mod h1:HeGmorjtRmRLE+Q8dJu6AYRoZccvCMsghwS8XTUYb2c= k8s.io/apiextensions-apiserver v0.23.0/go.mod h1:xIFAEEDlAZgpVBl/1VSjGDmLoXAWRG40+GsWhKhAxY4= k8s.io/apiextensions-apiserver v0.27.2/go.mod h1:Oz9UdvGguL3ULgRdY9QMUzL2RZImotgxvGjdWRq6ZXQ= -k8s.io/apiextensions-apiserver v0.27.3 h1:xAwC1iYabi+TDfpRhxh4Eapl14Hs2OftM2DN5MpgKX4= -k8s.io/apiextensions-apiserver v0.27.3/go.mod h1:BH3wJ5NsB9XE1w+R6SSVpKmYNyIiyIz9xAmBl8Mb+84= +k8s.io/apiextensions-apiserver v0.28.2 h1:J6/QRWIKV2/HwBhHRVITMLYoypCoPY1ftigDM0Kn+QU= +k8s.io/apiextensions-apiserver v0.28.2/go.mod h1:5tnkxLGa9nefefYzWuAlWZ7RZYuN/765Au8cWLA6SRg= k8s.io/apimachinery v0.0.0-20181110190943-2a7c93004028/go.mod h1:ccL7Eh7zubPUSh9A3USN90/OzHNSVN6zxzde07TDCL0= k8s.io/apimachinery v0.17.0/go.mod h1:b9qmWdKlLuU9EBh+06BtLcSf/Mu89rWL33naRxs1uZg= k8s.io/apimachinery v0.18.0-beta.2/go.mod h1:9SnR/e11v5IbyPCGbvJViimtJ0SwHG4nfZFjU77ftcA= @@ -2322,8 +2332,8 @@ k8s.io/apimachinery v0.24.2/go.mod h1:82Bi4sCzVBdpYjyI4jY6aHX+YCUchUIrZrXKedjd2U k8s.io/apimachinery v0.24.3/go.mod h1:82Bi4sCzVBdpYjyI4jY6aHX+YCUchUIrZrXKedjd2UM= k8s.io/apimachinery v0.27.1/go.mod h1:5ikh59fK3AJ287GUvpUsryoMFtH9zj/ARfWCo3AyXTM= k8s.io/apimachinery v0.27.2/go.mod h1:XNfZ6xklnMCOGGFNqXG7bUrQCoR04dh/E7FprV6pb+E= -k8s.io/apimachinery v0.27.3 h1:Ubye8oBufD04l9QnNtW05idcOe9Z3GQN8+7PqmuVcUM= -k8s.io/apimachinery v0.27.3/go.mod h1:XNfZ6xklnMCOGGFNqXG7bUrQCoR04dh/E7FprV6pb+E= +k8s.io/apimachinery v0.28.2 h1:KCOJLrc6gu+wV1BYgwik4AF4vXOlVJPdiqn0yAWWwXQ= +k8s.io/apimachinery v0.28.2/go.mod h1:RdzF87y/ngqk9H4z3EL2Rppv5jj95vGS/HaFXrLDApU= k8s.io/apiserver v0.17.0/go.mod h1:ABM+9x/prjINN6iiffRVNCBR2Wk7uY4z+EtEGZD48cg= k8s.io/apiserver v0.18.0-beta.2/go.mod h1:bnblMkMoCFnIfVnVftd0SXJPzyvrk3RtaqSbblphF/A= k8s.io/apiserver v0.18.2/go.mod h1:Xbh066NqrZO8cbsoenCwyDJ1OSi8Ag8I2lezeHxzwzw= @@ -2349,8 +2359,8 @@ k8s.io/cli-runtime v0.20.6/go.mod h1:JVERW478qcxWrUjJuWQSqyJeiz9QC4T6jmBznHFBC8w k8s.io/cli-runtime v0.21.0/go.mod h1:XoaHP93mGPF37MkLbjGVYqg3S1MnsFdKtiA/RZzzxOo= k8s.io/cli-runtime v0.22.1/go.mod h1:YqwGrlXeEk15Yn3em2xzr435UGwbrCw5x+COQoTYfoo= k8s.io/cli-runtime v0.23.0/go.mod h1:B5N3YH0KP1iKr6gEuJ/RRmGjO0mJQ/f/JrsmEiPQAlU= -k8s.io/client-go v0.27.3 h1:7dnEGHZEJld3lYwxvLl7WoehK6lAq7GvgjxpA3nv1E8= -k8s.io/client-go v0.27.3/go.mod h1:2MBEKuTo6V1lbKy3z1euEGnhPfGZLKTS9tiJ2xodM48= +k8s.io/client-go v0.28.2 h1:DNoYI1vGq0slMBN/SWKMZMw0Rq+0EQW6/AK4v9+3VeY= +k8s.io/client-go v0.28.2/go.mod h1:sMkApowspLuc7omj1FOSUxSoqjr+d5Q0Yc0LOFnYFJY= k8s.io/cluster-bootstrap v0.23.1/go.mod h1:p2732QxwSa13WPemmyIeykk16qVw15W7lgNRB6x7NpY= k8s.io/code-generator v0.0.0-20181114232248-ae218e241252/go.mod h1:IPqxl/YHk05nodzupwjke6ctMjyNRdV2zZ5/j3/F204= k8s.io/code-generator v0.17.0/go.mod h1:DVmfPQgxQENqDIzVR2ddLXMH34qeszkKSdH/N+s+38s= @@ -2392,7 +2402,7 @@ k8s.io/component-base v0.22.0/go.mod h1:SXj6Z+V6P6GsBhHZVbWCw9hFjUdUYnJerlhhPnYC k8s.io/component-base v0.22.1/go.mod h1:0D+Bl8rrnsPN9v0dyYvkqFfBeAd4u7n77ze+p8CMiPo= k8s.io/component-base v0.23.0/go.mod h1:DHH5uiFvLC1edCpvcTDV++NKULdYYU6pR9Tt3HIKMKI= k8s.io/component-base v0.27.2/go.mod h1:5UPk7EjfgrfgRIuDBFtsEFAe4DAvP3U+M8RTzoSJkpo= -k8s.io/component-helpers v0.27.3/go.mod h1:uxhXqoWHh4eBVcPj+LKWjtQq0V/vP5ihn4xmf5xNZso= +k8s.io/component-helpers v0.28.2/go.mod h1:pF1R5YWQ+sgf0i6EbVm+MQCzkYuqutDUibdrkvAa6aI= k8s.io/cri-api v0.20.6/go.mod h1:ew44AjNXwyn1s0U4xCKGodU7J1HzBeZ1MpGrpa5r8Yc= k8s.io/gengo v0.0.0-20181106084056-51747d6e00da/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= @@ -2419,8 +2429,9 @@ k8s.io/klog/v2 v2.10.0/go.mod h1:hy9LJ/NvuK+iVyP4Ehqva4HxZG/oXyIS3n3Jmire4Ec= k8s.io/klog/v2 v2.30.0/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= k8s.io/klog/v2 v2.60.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= k8s.io/klog/v2 v2.80.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= -k8s.io/klog/v2 v2.90.1 h1:m4bYOKall2MmOiRaR1J+We67Do7vm9KiQVlT96lnHUw= k8s.io/klog/v2 v2.90.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= +k8s.io/klog/v2 v2.100.1 h1:7WCHKK6K8fNhTqfBhISHQ97KrnJNFZMcQvKp7gP/tmg= +k8s.io/klog/v2 v2.100.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= k8s.io/kms v0.27.2/go.mod h1:dahSqjI05J55Fo5qipzvHSRbm20d7llrSeQjjl86A7c= k8s.io/kube-aggregator v0.18.0-beta.2/go.mod h1:O3Td9mheraINbLHH4pzoFP2gRzG0Wk1COqzdSL4rBPk= k8s.io/kube-aggregator v0.18.2/go.mod h1:ijq6FnNUoKinA6kKbkN6svdTacSoQVNtKqmQ1+XJEYQ= @@ -2433,8 +2444,8 @@ k8s.io/kube-aggregator v0.22.0-rc.0/go.mod h1:g0xtiBSsbMKvewN7xR/Icib4TrHxtvrJcH k8s.io/kube-aggregator v0.22.0/go.mod h1:zHTepg0Q4tKzru7Pwg1QYHWrU/wrvIXM8hUdDAH66qg= k8s.io/kube-aggregator v0.22.1/go.mod h1:VbmI+8fUeCPkzSvarWTrlIGEgUGEGI/66SFajDQ0Pdc= k8s.io/kube-aggregator v0.23.0/go.mod h1:b1vpoaTWKZjCzvbe1KXFw3vPbISrghJsg7/RI8oZUME= -k8s.io/kube-aggregator v0.27.3 h1:0o/Q30C84hHvhUef7OOTHMhO2eCySOPHKOUUrhBwpfo= -k8s.io/kube-aggregator v0.27.3/go.mod h1:zbx67NbFee9cqjbXjib89/oOyrXdOq3UYStIBGazv08= +k8s.io/kube-aggregator v0.28.2 h1:tCjAfB1p/v18yD2NpegNQRuahzyA/szFfcRARnpjDeo= +k8s.io/kube-aggregator v0.28.2/go.mod h1:g4hZVjC4KhJtZHV2pyiRBiU6AdBA/sAjh9Y9GJC/SbU= k8s.io/kube-openapi v0.0.0-20181114233023-0317810137be/go.mod h1:BXM9ceUBTj2QnfH2MK1odQs778ajze1RxcmP6S8RVVc= k8s.io/kube-openapi v0.0.0-20191107075043-30be4d16710a/go.mod h1:1TqjTSzOxsLGIKfj0lK8EeCP7K1iUG65v09OM0/WG5E= k8s.io/kube-openapi v0.0.0-20200121204235-bf4fb3bd569c/go.mod h1:GRQhZsXIAJ1xR0C9bd8UpWHZ5plfAS9fzPjJuQ6JL3E= @@ -2447,8 +2458,9 @@ k8s.io/kube-openapi v0.0.0-20210527164424-3c818078ee3d/go.mod h1:vHXdDvt9+2spS2R k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65/go.mod h1:sX9MT8g7NVZM5lVL/j8QyCCJe8YSMW30QvGZWaCIDIk= k8s.io/kube-openapi v0.0.0-20220328201542-3ee0da9b0b42/go.mod h1:Z/45zLw8lUo4wdiUkI+v/ImEGAvu3WatcZl3lPMR4Rk= k8s.io/kube-openapi v0.0.0-20230308215209-15aac26d736a/go.mod h1:y5VtZWM9sHHc2ZodIH/6SHzXj+TPU5USoA8lcIeKEKY= -k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f h1:2kWPakN3i/k81b0gvD5C5FJ2kxm1WrQFanWchyKuqGg= k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f/go.mod h1:byini6yhqGC14c3ebc/QwanvYwhuMWF6yz2F8uwW8eg= +k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 h1:LyMgNKD2P8Wn1iAwQU5OhxCKlKJy0sHc+PcDwFB24dQ= +k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9/go.mod h1:wZK2AVp1uHCp4VamDVgBP2COHZjqD1T68Rf0CM3YjSM= k8s.io/kube-proxy v0.22.1/go.mod h1:Rj3/mSZuSKfDY7XVbDgb12UwiQHy265LOwpK/yR2rtc= k8s.io/kubectl v0.18.0-rc.1/go.mod h1:UpG1w7klD633nyMS73/29cNl2tMdEbXU0nWupttyha4= k8s.io/kubectl v0.19.0/go.mod h1:gPCjjsmE6unJzgaUNXIFGZGafiUp5jh0If3F/x7/rRg= @@ -2465,8 +2477,8 @@ k8s.io/metrics v0.20.6/go.mod h1:d+OAIaXutom9kGWcBit/M8OkDpIzBKTsm47+KcUt7VI= k8s.io/metrics v0.21.0/go.mod h1:L3Ji9EGPP1YBbfm9sPfEXSpnj8i24bfQbAFAsW0NueQ= k8s.io/metrics v0.22.1/go.mod h1:i/ZNap89UkV1gLa26dn7fhKAdheJaKy+moOqJbiif7E= k8s.io/metrics v0.23.0/go.mod h1:NDiZTwppEtAuKJ1Rxt3S4dhyRzdp6yUcJf0vo023dPo= -k8s.io/metrics v0.27.3 h1:pBVKgQjfui8xzfTidIxiOmLHwcCk3KbeuWowo/Oh0t0= -k8s.io/metrics v0.27.3/go.mod h1:pXj63OTdOjpYgSc95p+88fB3t4krLybM7MOeqIksI6o= +k8s.io/metrics v0.28.2 h1:Z/oMk5SmiT/Ji1SaWOPfW2l9W831BLO9/XxDq9iS3ak= +k8s.io/metrics v0.28.2/go.mod h1:QTIIdjMrq+KodO+rmp6R9Pr1LZO8kTArNtkWoQXw0sw= k8s.io/utils v0.0.0-20191114184206-e782cd3c129f/go.mod h1:sZAwmy6armz5eXlNoLmJcl4F1QuKu7sr+mFQ0byX7Ew= k8s.io/utils v0.0.0-20200229041039-0a110f9eb7ab/go.mod h1:sZAwmy6armz5eXlNoLmJcl4F1QuKu7sr+mFQ0byX7Ew= k8s.io/utils v0.0.0-20200324210504-a9aa75ae1b89/go.mod h1:sZAwmy6armz5eXlNoLmJcl4F1QuKu7sr+mFQ0byX7Ew= @@ -2481,8 +2493,9 @@ k8s.io/utils v0.0.0-20210930125809-cb0fa318a74b/go.mod h1:jPW/WVKK9YHAvNhRxK0md/ k8s.io/utils v0.0.0-20211208161948-7d6a63dca704/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= k8s.io/utils v0.0.0-20230209194617-a36077c30491/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= -k8s.io/utils v0.0.0-20230220204549-a5ecb0141aa5 h1:kmDqav+P+/5e1i9tFfHq1qcF3sOrDp+YEkVDAHu7Jwk= -k8s.io/utils v0.0.0-20230220204549-a5ecb0141aa5/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= +k8s.io/utils v0.0.0-20230406110748-d93618cff8a2/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= +k8s.io/utils v0.0.0-20230505201702-9f6742963106 h1:EObNQ3TW2D+WptiYXlApGNLVy0zm/JIBVY9i+M4wpAU= +k8s.io/utils v0.0.0-20230505201702-9f6742963106/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= modernc.org/cc v1.0.0/go.mod h1:1Sk4//wdnYJiUIxnW8ddKpaOJCF37yAdqYnkxUpaYxw= modernc.org/golex v1.0.0/go.mod h1:b/QX9oBD/LhixY6NDh+IdGv17hgB+51fET1i2kPSmvk= modernc.org/mathutil v1.0.0/go.mod h1:wU0vUrJsVWBZ4P6e7xtFJEhFSNsfRLJ8H458uRjg03k= @@ -2525,8 +2538,8 @@ sigs.k8s.io/kustomize v2.0.3+incompatible/go.mod h1:MkjgH3RdOWrievjo6c9T245dYlB5 sigs.k8s.io/kustomize/api v0.8.5/go.mod h1:M377apnKT5ZHJS++6H4rQoCHmWtt6qTpp3mbe7p6OLY= sigs.k8s.io/kustomize/api v0.8.11/go.mod h1:a77Ls36JdfCWojpUqR6m60pdGY1AYFix4AH83nJtY1g= sigs.k8s.io/kustomize/api v0.10.1/go.mod h1:2FigT1QN6xKdcnGS2Ppp1uIWrtWN28Ms8A3OZUZhwr8= -sigs.k8s.io/kustomize/api v0.13.1 h1:2jLAM6w5nGznnQgq2V0YUMFGtAixD2SO8Q+f5B9Un9U= -sigs.k8s.io/kustomize/api v0.13.1/go.mod h1:KDhwElNK4jxc2/cEpFQOnYT/72t+ET7yeasogV89ow4= +sigs.k8s.io/kustomize/api v0.14.0 h1:6+QLmXXA8X4eDM7ejeaNUyruA1DDB3PVIjbpVhDOJRA= +sigs.k8s.io/kustomize/api v0.14.0/go.mod h1:vmOXlC8BcmcUJQjiceUbcyQ75JBP6eg8sgoyzc+eLpQ= sigs.k8s.io/kustomize/cmd/config v0.9.7/go.mod h1:MvXCpHs77cfyxRmCNUQjIqCmZyYsbn5PyQpWiq44nW0= sigs.k8s.io/kustomize/cmd/config v0.9.13/go.mod h1:7547FLF8W/lTaDf0BDqFTbZxM9zqwEJqCKN9sSR0xSs= sigs.k8s.io/kustomize/cmd/config v0.10.2/go.mod h1:K2aW7nXJ0AaT+VA/eO0/dzFLxmpFcTzudmAgDwPY1HQ= @@ -2536,8 +2549,8 @@ sigs.k8s.io/kustomize/kustomize/v4 v4.4.1/go.mod h1:qOKJMMz2mBP+vcS7vK+mNz4HBLja sigs.k8s.io/kustomize/kyaml v0.10.15/go.mod h1:mlQFagmkm1P+W4lZJbJ/yaxMd8PqMRSC4cPcfUVt5Hg= sigs.k8s.io/kustomize/kyaml v0.11.0/go.mod h1:GNMwjim4Ypgp/MueD3zXHLRJEjz7RvtPae0AwlvEMFM= sigs.k8s.io/kustomize/kyaml v0.13.0/go.mod h1:FTJxEZ86ScK184NpGSAQcfEqee0nul8oLCK30D47m4E= -sigs.k8s.io/kustomize/kyaml v0.14.0 h1:uzH0MzMtYypHW09LbMDk8k/lT/LSsUuCoZIuEGhIBNE= -sigs.k8s.io/kustomize/kyaml v0.14.0/go.mod h1:AN1/IpawKilWD7V+YvQwRGUvuUOOWpjsHu6uHwonSF4= +sigs.k8s.io/kustomize/kyaml v0.14.3 h1:WpabVAKZe2YEp/irTSHwD6bfjwZnTtSDewd2BVJGMZs= +sigs.k8s.io/kustomize/kyaml v0.14.3/go.mod h1:npvh9epWysfQ689Rtt/U+dpOJDTBn8kUnF1O6VzvmZA= sigs.k8s.io/structured-merge-diff v0.0.0-20190525122527-15d366b2352e/go.mod h1:wWxsB5ozmmv/SG7nM11ayaAW51xMvak/t1r0CSlcokI= sigs.k8s.io/structured-merge-diff v1.0.1-0.20191108220359-b1b620dd3f06/go.mod h1:/ULNhyfzRopfcjskuui0cTITekDduZ7ycKN3oUT9R18= sigs.k8s.io/structured-merge-diff/v3 v3.0.0-20200116222232-67a7b8c61874/go.mod h1:PlARxl6Hbt/+BC80dRLi1qAmnMqwqDg62YvvVkZjemw= diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/cmd/generate/generate.go b/kubernetes-model-generator/kubernetes-model-admissionregistration/cmd/generate/generate.go index a6e0f73c4d1..ab20ed1aaca 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/cmd/generate/generate.go +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/cmd/generate/generate.go @@ -16,142 +16,147 @@ package main import ( - "bytes" - "encoding/json" - "fmt" - // Dependencies - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/api/resource" - apimachineryversion "k8s.io/apimachinery/pkg/version" - authenticationapi "k8s.io/api/authentication/v1" - authenticationv1beta1 "k8s.io/api/authentication/v1beta1" - authenticationv1alpha1 "k8s.io/api/authentication/v1alpha1" + "bytes" + "encoding/json" + "fmt" + // Dependencies + authenticationapi "k8s.io/api/authentication/v1" + authenticationv1alpha1 "k8s.io/api/authentication/v1alpha1" + authenticationv1beta1 "k8s.io/api/authentication/v1beta1" + "k8s.io/apimachinery/pkg/api/resource" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + apimachineryversion "k8s.io/apimachinery/pkg/version" - v1beta1admission "k8s.io/api/admission/v1beta1" - v1admission "k8s.io/api/admission/v1" - admissionregistrationv1alpha1 "k8s.io/api/admissionregistration/v1alpha1" - admissionregistrationv1 "k8s.io/api/admissionregistration/v1" - admissionregistration "k8s.io/api/admissionregistration/v1beta1" - k8sauthapi "k8s.io/api/authorization/v1" - k8sauthapiv1beta1 "k8s.io/api/authorization/v1beta1" + v1admission "k8s.io/api/admission/v1" + v1beta1admission "k8s.io/api/admission/v1beta1" + admissionregistrationv1 "k8s.io/api/admissionregistration/v1" + admissionregistrationv1alpha1 "k8s.io/api/admissionregistration/v1alpha1" + admissionregistration "k8s.io/api/admissionregistration/v1beta1" + k8sauthapi "k8s.io/api/authorization/v1" + k8sauthapiv1beta1 "k8s.io/api/authorization/v1beta1" - "log" - "reflect" - "strings" - "time" + "log" + "reflect" + "strings" + "time" - "os" + "os" - "github.com/fabric8io/kubernetes-client/kubernetes-model-generator/pkg/schemagen" + "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 - ListOptions metav1.ListOptions - DeleteOptions metav1.DeleteOptions - CreateOptions metav1.CreateOptions - UpdateOptions metav1.UpdateOptions - GetOptions metav1.GetOptions - PatchOptions metav1.PatchOptions - Time metav1.Time - RootPaths metav1.RootPaths - Quantity resource.Quantity + Info apimachineryversion.Info + APIGroup metav1.APIGroup + APIGroupList metav1.APIGroupList + BaseKubernetesList metav1.List + ObjectMeta metav1.ObjectMeta + TypeMeta metav1.TypeMeta + Status metav1.Status + Patch metav1.Patch + ListOptions metav1.ListOptions + DeleteOptions metav1.DeleteOptions + CreateOptions metav1.CreateOptions + UpdateOptions metav1.UpdateOptions + GetOptions metav1.GetOptions + PatchOptions metav1.PatchOptions + Time metav1.Time + RootPaths metav1.RootPaths + Quantity resource.Quantity - TokenReview authenticationapi.TokenReview - TokenRequest authenticationapi.TokenRequest - V1Beta1SelfSubjectReview authenticationv1beta1.SelfSubjectReview - SelfSubjectReview authenticationv1alpha1.SelfSubjectReview + TokenReview authenticationapi.TokenReview + TokenRequest authenticationapi.TokenRequest + V1Beta1SelfSubjectReview authenticationv1beta1.SelfSubjectReview + SelfSubjectReview authenticationv1alpha1.SelfSubjectReview + V1SelfSubjectReview authenticationapi.SelfSubjectReview - V1Beta1AdmissionReview v1beta1admission.AdmissionReview - V1Beta1AdmissionRequest v1beta1admission.AdmissionRequest - V1Beta1AdmissionResponse v1beta1admission.AdmissionResponse - V1Beta1PatchType v1beta1admission.PatchType - V1Beta1Operation v1beta1admission.Operation - V1AdmissionReview v1admission.AdmissionReview - V1AdmissionRequest v1admission.AdmissionRequest - V1AdmissionResponse v1admission.AdmissionResponse - V1PatchType v1admission.PatchType - V1Operation v1admission.Operation - ValidatingAdmissionPolicies admissionregistrationv1alpha1.ValidatingAdmissionPolicy - ValidatingAdmissionPoliciesList admissionregistrationv1alpha1.ValidatingAdmissionPolicyList - ValidatingAdmissionPolicyBinding admissionregistrationv1alpha1.ValidatingAdmissionPolicyBinding - ValidatingAdmissionPolicyBindingList admissionregistrationv1alpha1.ValidatingAdmissionPolicyBindingList - Rule admissionregistration.Rule - ValidatingWebhookConfiguration admissionregistration.ValidatingWebhookConfiguration - ValidatingWebhookConfigurationList admissionregistration.ValidatingWebhookConfigurationList - MutatingWebhookConfiguration admissionregistration.MutatingWebhookConfiguration - MutatingWebhookConfigurationList admissionregistration.MutatingWebhookConfigurationList - RuleWithOperations admissionregistration.RuleWithOperations - ServiceReference admissionregistration.ServiceReference - V1Rule admissionregistrationv1.Rule - V1ValidatingWebhookConfiguration admissionregistrationv1.ValidatingWebhookConfiguration - V1ValidatingWebhookConfigurationList admissionregistrationv1.ValidatingWebhookConfigurationList - V1MutatingWebhookConfiguration admissionregistrationv1.MutatingWebhookConfiguration - V1MutatingWebhookConfigurationList admissionregistrationv1.MutatingWebhookConfigurationList - V1RuleWithOperations admissionregistrationv1.RuleWithOperations - V1ServiceReference admissionregistrationv1.ServiceReference - K8sSubjectAccessReview k8sauthapi.SubjectAccessReview - K8sLocalSubjectAccessReview k8sauthapi.LocalSubjectAccessReview - SelfSubjectRulesReview k8sauthapi.SelfSubjectRulesReview - SelfSubjectAccessReview k8sauthapi.SelfSubjectAccessReview - V1beta1K8sSubjectAccessReview k8sauthapiv1beta1.SubjectAccessReview - V1beta1K8sLocalSubjectAccessReview k8sauthapiv1beta1.LocalSubjectAccessReview - V1beta1SelfSubjectRulesReview k8sauthapiv1beta1.SelfSubjectRulesReview - V1beta1SelfSubjectAccessReview k8sauthapiv1beta1.SelfSubjectAccessReview + V1Beta1AdmissionReview v1beta1admission.AdmissionReview + V1Beta1AdmissionRequest v1beta1admission.AdmissionRequest + V1Beta1AdmissionResponse v1beta1admission.AdmissionResponse + V1Beta1PatchType v1beta1admission.PatchType + V1Beta1Operation v1beta1admission.Operation + V1AdmissionReview v1admission.AdmissionReview + V1AdmissionRequest v1admission.AdmissionRequest + V1AdmissionResponse v1admission.AdmissionResponse + V1PatchType v1admission.PatchType + V1Operation v1admission.Operation + ValidatingAdmissionPolicies admissionregistrationv1alpha1.ValidatingAdmissionPolicy + ValidatingAdmissionPoliciesList admissionregistrationv1alpha1.ValidatingAdmissionPolicyList + ValidatingAdmissionPolicyBinding admissionregistrationv1alpha1.ValidatingAdmissionPolicyBinding + ValidatingAdmissionPolicyBindingList admissionregistrationv1alpha1.ValidatingAdmissionPolicyBindingList + V1Beta1ValidatingAdmissionPolicy admissionregistration.ValidatingAdmissionPolicy + V1Beta1ValidatingAdmissionPolicyList admissionregistration.ValidatingAdmissionPolicyList + V1Beta1ValidatingAdmissionPolicyBinding admissionregistration.ValidatingAdmissionPolicyBinding + V1Beta1ValidatingAdmissionPolicyBindingList admissionregistration.ValidatingAdmissionPolicyBindingList + Rule admissionregistration.Rule + ValidatingWebhookConfiguration admissionregistration.ValidatingWebhookConfiguration + ValidatingWebhookConfigurationList admissionregistration.ValidatingWebhookConfigurationList + MutatingWebhookConfiguration admissionregistration.MutatingWebhookConfiguration + MutatingWebhookConfigurationList admissionregistration.MutatingWebhookConfigurationList + RuleWithOperations admissionregistration.RuleWithOperations + ServiceReference admissionregistration.ServiceReference + V1Rule admissionregistrationv1.Rule + V1ValidatingWebhookConfiguration admissionregistrationv1.ValidatingWebhookConfiguration + V1ValidatingWebhookConfigurationList admissionregistrationv1.ValidatingWebhookConfigurationList + V1MutatingWebhookConfiguration admissionregistrationv1.MutatingWebhookConfiguration + V1MutatingWebhookConfigurationList admissionregistrationv1.MutatingWebhookConfigurationList + V1RuleWithOperations admissionregistrationv1.RuleWithOperations + V1ServiceReference admissionregistrationv1.ServiceReference + K8sSubjectAccessReview k8sauthapi.SubjectAccessReview + K8sLocalSubjectAccessReview k8sauthapi.LocalSubjectAccessReview + SelfSubjectRulesReview k8sauthapi.SelfSubjectRulesReview + SelfSubjectAccessReview k8sauthapi.SelfSubjectAccessReview + V1beta1K8sSubjectAccessReview k8sauthapiv1beta1.SubjectAccessReview + V1beta1K8sLocalSubjectAccessReview k8sauthapiv1beta1.LocalSubjectAccessReview + V1beta1SelfSubjectRulesReview k8sauthapiv1beta1.SelfSubjectRulesReview + V1beta1SelfSubjectAccessReview k8sauthapiv1beta1.SelfSubjectAccessReview } func main() { - packages := []schemagen.PackageDescriptor{ - {"k8s.io/api/admission/v1beta1", "admission.k8s.io", "io.fabric8.kubernetes.api.model.admission.v1beta1", "kubernetes_admission_v1beta1_", true}, - {"k8s.io/api/admission/v1", "admission.k8s.io", "io.fabric8.kubernetes.api.model.admission.v1", "kubernetes_admission_v1_", true}, - {"k8s.io/api/admissionregistration/v1alpha1", "admissionregistration.k8s.io", "io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1", "kubernetes_admissionregistration_v1alpha1_", true}, - {"k8s.io/api/admissionregistration/v1beta1", "admissionregistration.k8s.io", "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1", "kubernetes_admissionregistration_v1beta1_", true}, - {"k8s.io/api/admissionregistration/v1", "admissionregistration.k8s.io", "io.fabric8.kubernetes.api.model.admissionregistration.v1", "kubernetes_admissionregistration_v1_", true}, - {"k8s.io/api/authentication/v1", "authentication.k8s.io", "io.fabric8.kubernetes.api.model.authentication", "kubernetes_authentication_", true}, - {"k8s.io/api/authentication/v1alpha1", "authentication.k8s.io", "io.fabric8.kubernetes.api.model.authentication.v1alpha1", "kubernetes_authentication_v1alpha1_", true}, - {"k8s.io/api/authentication/v1beta1", "authentication.k8s.io", "io.fabric8.kubernetes.api.model.authentication.v1beta1", "kubernetes_authentication_v1beta1_", true}, - {"k8s.io/apimachinery/pkg/util/intstr", "", "io.fabric8.kubernetes.api.model", "kubernetes_apimachinery_pkg_util_intstr_", false}, - {"k8s.io/apimachinery/pkg/runtime", "", "io.fabric8.kubernetes.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/apimachinery/pkg/apis/meta/v1", "", "io.fabric8.kubernetes.api.model", "kubernetes_apimachinery_", false}, - {"k8s.io/api/authorization/v1", "authorization.k8s.io", "io.fabric8.kubernetes.api.model.authorization.v1", "kubernetes_authorization_v1_", true}, - {"k8s.io/api/authorization/v1beta1", "authorization.k8s.io", "io.fabric8.kubernetes.api.model.authorization.v1beta1", "kubernetes_authorization_v1beta1_", true}, - } + packages := []schemagen.PackageDescriptor{ + {"k8s.io/api/admission/v1beta1", "admission.k8s.io", "io.fabric8.kubernetes.api.model.admission.v1beta1", "kubernetes_admission_v1beta1_", true}, + {"k8s.io/api/admission/v1", "admission.k8s.io", "io.fabric8.kubernetes.api.model.admission.v1", "kubernetes_admission_v1_", true}, + {"k8s.io/api/admissionregistration/v1alpha1", "admissionregistration.k8s.io", "io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1", "kubernetes_admissionregistration_v1alpha1_", true}, + {"k8s.io/api/admissionregistration/v1beta1", "admissionregistration.k8s.io", "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1", "kubernetes_admissionregistration_v1beta1_", true}, + {"k8s.io/api/admissionregistration/v1", "admissionregistration.k8s.io", "io.fabric8.kubernetes.api.model.admissionregistration.v1", "kubernetes_admissionregistration_v1_", true}, + {"k8s.io/api/authentication/v1", "authentication.k8s.io", "io.fabric8.kubernetes.api.model.authentication", "kubernetes_authentication_", true}, + {"k8s.io/api/authentication/v1alpha1", "authentication.k8s.io", "io.fabric8.kubernetes.api.model.authentication.v1alpha1", "kubernetes_authentication_v1alpha1_", true}, + {"k8s.io/api/authentication/v1beta1", "authentication.k8s.io", "io.fabric8.kubernetes.api.model.authentication.v1beta1", "kubernetes_authentication_v1beta1_", true}, + {"k8s.io/apimachinery/pkg/util/intstr", "", "io.fabric8.kubernetes.api.model", "kubernetes_apimachinery_pkg_util_intstr_", false}, + {"k8s.io/apimachinery/pkg/runtime", "", "io.fabric8.kubernetes.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/apimachinery/pkg/apis/meta/v1", "", "io.fabric8.kubernetes.api.model", "kubernetes_apimachinery_", false}, + {"k8s.io/api/authorization/v1", "authorization.k8s.io", "io.fabric8.kubernetes.api.model.authorization.v1", "kubernetes_authorization_v1_", true}, + {"k8s.io/api/authorization/v1beta1", "authorization.k8s.io", "io.fabric8.kubernetes.api.model.authorization.v1beta1", "kubernetes_authorization_v1beta1_", true}, + } - typeMap := map[reflect.Type]reflect.Type{ - reflect.TypeOf(time.Time{}): reflect.TypeOf(""), - reflect.TypeOf(struct{}{}): reflect.TypeOf(""), - } - schema, err := schemagen.GenerateSchema(reflect.TypeOf(Schema{}), packages, typeMap, map[reflect.Type]string{}, "admissionregistration") - if err != nil { - fmt.Fprintf(os.Stderr, "An error occurred: %v", err) - return - } + typeMap := map[reflect.Type]reflect.Type{ + reflect.TypeOf(time.Time{}): reflect.TypeOf(""), + reflect.TypeOf(struct{}{}): reflect.TypeOf(""), + } + schema, err := schemagen.GenerateSchema(reflect.TypeOf(Schema{}), packages, typeMap, map[reflect.Type]string{}, "admissionregistration") + 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 - } + 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) + 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) - } + var out bytes.Buffer + err = json.Indent(&out, []byte(result), "", " ") + if err != nil { + log.Fatal(err) + } - fmt.Println(out.String()) + fmt.Println(out.String()) } diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index 8d58a4240d4..4983b47eb59 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -21,10 +22,6 @@ import io.fabric8.kubernetes.api.model.ResourceRequirements; import io.fabric8.kubernetes.api.model.admissionregistration.v1.Rule; import io.fabric8.kubernetes.api.model.admissionregistration.v1.RuleWithOperations; -import io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicy; -import io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBinding; -import io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBindingList; -import io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyList; import io.fabric8.kubernetes.api.model.authentication.TokenRequest; import io.fabric8.kubernetes.api.model.authentication.TokenReview; import io.fabric8.kubernetes.api.model.version.Info; @@ -79,12 +76,17 @@ "V1Beta1Operation", "V1Beta1PatchType", "V1Beta1SelfSubjectReview", + "V1Beta1ValidatingAdmissionPolicy", + "V1Beta1ValidatingAdmissionPolicyBinding", + "V1Beta1ValidatingAdmissionPolicyBindingList", + "V1Beta1ValidatingAdmissionPolicyList", "V1MutatingWebhookConfiguration", "V1MutatingWebhookConfigurationList", "V1Operation", "V1PatchType", "V1Rule", "V1RuleWithOperations", + "V1SelfSubjectReview", "V1ServiceReference", "V1ValidatingWebhookConfiguration", "V1ValidatingWebhookConfigurationList", @@ -118,7 +120,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -196,6 +199,14 @@ public class KubeSchema { private java.lang.String v1Beta1PatchType; @JsonProperty("V1Beta1SelfSubjectReview") private io.fabric8.kubernetes.api.model.authentication.v1beta1.SelfSubjectReview v1Beta1SelfSubjectReview; + @JsonProperty("V1Beta1ValidatingAdmissionPolicy") + private io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicy v1Beta1ValidatingAdmissionPolicy; + @JsonProperty("V1Beta1ValidatingAdmissionPolicyBinding") + private io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBinding v1Beta1ValidatingAdmissionPolicyBinding; + @JsonProperty("V1Beta1ValidatingAdmissionPolicyBindingList") + private io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBindingList v1Beta1ValidatingAdmissionPolicyBindingList; + @JsonProperty("V1Beta1ValidatingAdmissionPolicyList") + private io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyList v1Beta1ValidatingAdmissionPolicyList; @JsonProperty("V1MutatingWebhookConfiguration") private io.fabric8.kubernetes.api.model.admissionregistration.v1.MutatingWebhookConfiguration v1MutatingWebhookConfiguration; @JsonProperty("V1MutatingWebhookConfigurationList") @@ -208,6 +219,8 @@ public class KubeSchema { private Rule v1Rule; @JsonProperty("V1RuleWithOperations") private RuleWithOperations v1RuleWithOperations; + @JsonProperty("V1SelfSubjectReview") + private io.fabric8.kubernetes.api.model.authentication.SelfSubjectReview v1SelfSubjectReview; @JsonProperty("V1ServiceReference") private io.fabric8.kubernetes.api.model.admissionregistration.v1.ServiceReference v1ServiceReference; @JsonProperty("V1ValidatingWebhookConfiguration") @@ -223,13 +236,13 @@ public class KubeSchema { @JsonProperty("V1beta1SelfSubjectRulesReview") private io.fabric8.kubernetes.api.model.authorization.v1beta1.SelfSubjectRulesReview v1beta1SelfSubjectRulesReview; @JsonProperty("ValidatingAdmissionPolicies") - private ValidatingAdmissionPolicy validatingAdmissionPolicies; + private io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicy validatingAdmissionPolicies; @JsonProperty("ValidatingAdmissionPoliciesList") - private ValidatingAdmissionPolicyList validatingAdmissionPoliciesList; + private io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyList validatingAdmissionPoliciesList; @JsonProperty("ValidatingAdmissionPolicyBinding") - private ValidatingAdmissionPolicyBinding validatingAdmissionPolicyBinding; + private io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBinding validatingAdmissionPolicyBinding; @JsonProperty("ValidatingAdmissionPolicyBindingList") - private ValidatingAdmissionPolicyBindingList validatingAdmissionPolicyBindingList; + private io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBindingList validatingAdmissionPolicyBindingList; @JsonProperty("ValidatingWebhookConfiguration") private io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingWebhookConfiguration validatingWebhookConfiguration; @JsonProperty("ValidatingWebhookConfigurationList") @@ -244,7 +257,7 @@ public class KubeSchema { public KubeSchema() { } - public KubeSchema(APIGroup aPIGroup, APIGroupList aPIGroupList, KubernetesList baseKubernetesList, CreateOptions createOptions, DeleteOptions deleteOptions, GetOptions getOptions, Info info, io.fabric8.kubernetes.api.model.authorization.v1.LocalSubjectAccessReview k8sLocalSubjectAccessReview, io.fabric8.kubernetes.api.model.authorization.v1.SubjectAccessReview k8sSubjectAccessReview, ListOptions listOptions, io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MutatingWebhookConfiguration mutatingWebhookConfiguration, io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MutatingWebhookConfigurationList mutatingWebhookConfigurationList, io.fabric8.kubernetes.api.model.ObjectMeta objectMeta, Patch patch, PatchOptions patchOptions, Quantity quantity, RootPaths rootPaths, Rule rule, RuleWithOperations ruleWithOperations, io.fabric8.kubernetes.api.model.authorization.v1.SelfSubjectAccessReview selfSubjectAccessReview, io.fabric8.kubernetes.api.model.authentication.v1alpha1.SelfSubjectReview selfSubjectReview, io.fabric8.kubernetes.api.model.authorization.v1.SelfSubjectRulesReview selfSubjectRulesReview, io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ServiceReference serviceReference, Status status, String time, TokenRequest tokenRequest, TokenReview tokenReview, TypeMeta typeMeta, UpdateOptions updateOptions, io.fabric8.kubernetes.api.model.admission.v1.AdmissionRequest v1AdmissionRequest, io.fabric8.kubernetes.api.model.admission.v1.AdmissionResponse v1AdmissionResponse, io.fabric8.kubernetes.api.model.admission.v1.AdmissionReview v1AdmissionReview, io.fabric8.kubernetes.api.model.admission.v1beta1.AdmissionRequest v1Beta1AdmissionRequest, io.fabric8.kubernetes.api.model.admission.v1beta1.AdmissionResponse v1Beta1AdmissionResponse, io.fabric8.kubernetes.api.model.admission.v1beta1.AdmissionReview v1Beta1AdmissionReview, java.lang.String v1Beta1Operation, java.lang.String v1Beta1PatchType, io.fabric8.kubernetes.api.model.authentication.v1beta1.SelfSubjectReview v1Beta1SelfSubjectReview, io.fabric8.kubernetes.api.model.admissionregistration.v1.MutatingWebhookConfiguration v1MutatingWebhookConfiguration, io.fabric8.kubernetes.api.model.admissionregistration.v1.MutatingWebhookConfigurationList v1MutatingWebhookConfigurationList, java.lang.String v1Operation, java.lang.String v1PatchType, Rule v1Rule, RuleWithOperations v1RuleWithOperations, io.fabric8.kubernetes.api.model.admissionregistration.v1.ServiceReference v1ServiceReference, io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration v1ValidatingWebhookConfiguration, io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfigurationList v1ValidatingWebhookConfigurationList, io.fabric8.kubernetes.api.model.authorization.v1beta1.LocalSubjectAccessReview v1beta1K8sLocalSubjectAccessReview, io.fabric8.kubernetes.api.model.authorization.v1beta1.SubjectAccessReview v1beta1K8sSubjectAccessReview, io.fabric8.kubernetes.api.model.authorization.v1beta1.SelfSubjectAccessReview v1beta1SelfSubjectAccessReview, io.fabric8.kubernetes.api.model.authorization.v1beta1.SelfSubjectRulesReview v1beta1SelfSubjectRulesReview, ValidatingAdmissionPolicy validatingAdmissionPolicies, ValidatingAdmissionPolicyList validatingAdmissionPoliciesList, ValidatingAdmissionPolicyBinding validatingAdmissionPolicyBinding, ValidatingAdmissionPolicyBindingList validatingAdmissionPolicyBindingList, io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingWebhookConfiguration validatingWebhookConfiguration, io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingWebhookConfigurationList validatingWebhookConfigurationList) { + public KubeSchema(APIGroup aPIGroup, APIGroupList aPIGroupList, KubernetesList baseKubernetesList, CreateOptions createOptions, DeleteOptions deleteOptions, GetOptions getOptions, Info info, io.fabric8.kubernetes.api.model.authorization.v1.LocalSubjectAccessReview k8sLocalSubjectAccessReview, io.fabric8.kubernetes.api.model.authorization.v1.SubjectAccessReview k8sSubjectAccessReview, ListOptions listOptions, io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MutatingWebhookConfiguration mutatingWebhookConfiguration, io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MutatingWebhookConfigurationList mutatingWebhookConfigurationList, io.fabric8.kubernetes.api.model.ObjectMeta objectMeta, Patch patch, PatchOptions patchOptions, Quantity quantity, RootPaths rootPaths, Rule rule, RuleWithOperations ruleWithOperations, io.fabric8.kubernetes.api.model.authorization.v1.SelfSubjectAccessReview selfSubjectAccessReview, io.fabric8.kubernetes.api.model.authentication.v1alpha1.SelfSubjectReview selfSubjectReview, io.fabric8.kubernetes.api.model.authorization.v1.SelfSubjectRulesReview selfSubjectRulesReview, io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ServiceReference serviceReference, Status status, String time, TokenRequest tokenRequest, TokenReview tokenReview, TypeMeta typeMeta, UpdateOptions updateOptions, io.fabric8.kubernetes.api.model.admission.v1.AdmissionRequest v1AdmissionRequest, io.fabric8.kubernetes.api.model.admission.v1.AdmissionResponse v1AdmissionResponse, io.fabric8.kubernetes.api.model.admission.v1.AdmissionReview v1AdmissionReview, io.fabric8.kubernetes.api.model.admission.v1beta1.AdmissionRequest v1Beta1AdmissionRequest, io.fabric8.kubernetes.api.model.admission.v1beta1.AdmissionResponse v1Beta1AdmissionResponse, io.fabric8.kubernetes.api.model.admission.v1beta1.AdmissionReview v1Beta1AdmissionReview, java.lang.String v1Beta1Operation, java.lang.String v1Beta1PatchType, io.fabric8.kubernetes.api.model.authentication.v1beta1.SelfSubjectReview v1Beta1SelfSubjectReview, io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicy v1Beta1ValidatingAdmissionPolicy, io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBinding v1Beta1ValidatingAdmissionPolicyBinding, io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBindingList v1Beta1ValidatingAdmissionPolicyBindingList, io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyList v1Beta1ValidatingAdmissionPolicyList, io.fabric8.kubernetes.api.model.admissionregistration.v1.MutatingWebhookConfiguration v1MutatingWebhookConfiguration, io.fabric8.kubernetes.api.model.admissionregistration.v1.MutatingWebhookConfigurationList v1MutatingWebhookConfigurationList, java.lang.String v1Operation, java.lang.String v1PatchType, Rule v1Rule, RuleWithOperations v1RuleWithOperations, io.fabric8.kubernetes.api.model.authentication.SelfSubjectReview v1SelfSubjectReview, io.fabric8.kubernetes.api.model.admissionregistration.v1.ServiceReference v1ServiceReference, io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration v1ValidatingWebhookConfiguration, io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfigurationList v1ValidatingWebhookConfigurationList, io.fabric8.kubernetes.api.model.authorization.v1beta1.LocalSubjectAccessReview v1beta1K8sLocalSubjectAccessReview, io.fabric8.kubernetes.api.model.authorization.v1beta1.SubjectAccessReview v1beta1K8sSubjectAccessReview, io.fabric8.kubernetes.api.model.authorization.v1beta1.SelfSubjectAccessReview v1beta1SelfSubjectAccessReview, io.fabric8.kubernetes.api.model.authorization.v1beta1.SelfSubjectRulesReview v1beta1SelfSubjectRulesReview, io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicy validatingAdmissionPolicies, io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyList validatingAdmissionPoliciesList, io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBinding validatingAdmissionPolicyBinding, io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBindingList validatingAdmissionPolicyBindingList, io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingWebhookConfiguration validatingWebhookConfiguration, io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingWebhookConfigurationList validatingWebhookConfigurationList) { super(); this.aPIGroup = aPIGroup; this.aPIGroupList = aPIGroupList; @@ -284,12 +297,17 @@ public KubeSchema(APIGroup aPIGroup, APIGroupList aPIGroupList, KubernetesList b this.v1Beta1Operation = v1Beta1Operation; this.v1Beta1PatchType = v1Beta1PatchType; this.v1Beta1SelfSubjectReview = v1Beta1SelfSubjectReview; + this.v1Beta1ValidatingAdmissionPolicy = v1Beta1ValidatingAdmissionPolicy; + this.v1Beta1ValidatingAdmissionPolicyBinding = v1Beta1ValidatingAdmissionPolicyBinding; + this.v1Beta1ValidatingAdmissionPolicyBindingList = v1Beta1ValidatingAdmissionPolicyBindingList; + this.v1Beta1ValidatingAdmissionPolicyList = v1Beta1ValidatingAdmissionPolicyList; this.v1MutatingWebhookConfiguration = v1MutatingWebhookConfiguration; this.v1MutatingWebhookConfigurationList = v1MutatingWebhookConfigurationList; this.v1Operation = v1Operation; this.v1PatchType = v1PatchType; this.v1Rule = v1Rule; this.v1RuleWithOperations = v1RuleWithOperations; + this.v1SelfSubjectReview = v1SelfSubjectReview; this.v1ServiceReference = v1ServiceReference; this.v1ValidatingWebhookConfiguration = v1ValidatingWebhookConfiguration; this.v1ValidatingWebhookConfigurationList = v1ValidatingWebhookConfigurationList; @@ -685,6 +703,46 @@ public void setV1Beta1SelfSubjectReview(io.fabric8.kubernetes.api.model.authenti this.v1Beta1SelfSubjectReview = v1Beta1SelfSubjectReview; } + @JsonProperty("V1Beta1ValidatingAdmissionPolicy") + public io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicy getV1Beta1ValidatingAdmissionPolicy() { + return v1Beta1ValidatingAdmissionPolicy; + } + + @JsonProperty("V1Beta1ValidatingAdmissionPolicy") + public void setV1Beta1ValidatingAdmissionPolicy(io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicy v1Beta1ValidatingAdmissionPolicy) { + this.v1Beta1ValidatingAdmissionPolicy = v1Beta1ValidatingAdmissionPolicy; + } + + @JsonProperty("V1Beta1ValidatingAdmissionPolicyBinding") + public io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBinding getV1Beta1ValidatingAdmissionPolicyBinding() { + return v1Beta1ValidatingAdmissionPolicyBinding; + } + + @JsonProperty("V1Beta1ValidatingAdmissionPolicyBinding") + public void setV1Beta1ValidatingAdmissionPolicyBinding(io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBinding v1Beta1ValidatingAdmissionPolicyBinding) { + this.v1Beta1ValidatingAdmissionPolicyBinding = v1Beta1ValidatingAdmissionPolicyBinding; + } + + @JsonProperty("V1Beta1ValidatingAdmissionPolicyBindingList") + public io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBindingList getV1Beta1ValidatingAdmissionPolicyBindingList() { + return v1Beta1ValidatingAdmissionPolicyBindingList; + } + + @JsonProperty("V1Beta1ValidatingAdmissionPolicyBindingList") + public void setV1Beta1ValidatingAdmissionPolicyBindingList(io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBindingList v1Beta1ValidatingAdmissionPolicyBindingList) { + this.v1Beta1ValidatingAdmissionPolicyBindingList = v1Beta1ValidatingAdmissionPolicyBindingList; + } + + @JsonProperty("V1Beta1ValidatingAdmissionPolicyList") + public io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyList getV1Beta1ValidatingAdmissionPolicyList() { + return v1Beta1ValidatingAdmissionPolicyList; + } + + @JsonProperty("V1Beta1ValidatingAdmissionPolicyList") + public void setV1Beta1ValidatingAdmissionPolicyList(io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyList v1Beta1ValidatingAdmissionPolicyList) { + this.v1Beta1ValidatingAdmissionPolicyList = v1Beta1ValidatingAdmissionPolicyList; + } + @JsonProperty("V1MutatingWebhookConfiguration") public io.fabric8.kubernetes.api.model.admissionregistration.v1.MutatingWebhookConfiguration getV1MutatingWebhookConfiguration() { return v1MutatingWebhookConfiguration; @@ -745,6 +803,16 @@ public void setV1RuleWithOperations(RuleWithOperations v1RuleWithOperations) { this.v1RuleWithOperations = v1RuleWithOperations; } + @JsonProperty("V1SelfSubjectReview") + public io.fabric8.kubernetes.api.model.authentication.SelfSubjectReview getV1SelfSubjectReview() { + return v1SelfSubjectReview; + } + + @JsonProperty("V1SelfSubjectReview") + public void setV1SelfSubjectReview(io.fabric8.kubernetes.api.model.authentication.SelfSubjectReview v1SelfSubjectReview) { + this.v1SelfSubjectReview = v1SelfSubjectReview; + } + @JsonProperty("V1ServiceReference") public io.fabric8.kubernetes.api.model.admissionregistration.v1.ServiceReference getV1ServiceReference() { return v1ServiceReference; @@ -816,42 +884,42 @@ public void setV1beta1SelfSubjectRulesReview(io.fabric8.kubernetes.api.model.aut } @JsonProperty("ValidatingAdmissionPolicies") - public ValidatingAdmissionPolicy getValidatingAdmissionPolicies() { + public io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicy getValidatingAdmissionPolicies() { return validatingAdmissionPolicies; } @JsonProperty("ValidatingAdmissionPolicies") - public void setValidatingAdmissionPolicies(ValidatingAdmissionPolicy validatingAdmissionPolicies) { + public void setValidatingAdmissionPolicies(io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicy validatingAdmissionPolicies) { this.validatingAdmissionPolicies = validatingAdmissionPolicies; } @JsonProperty("ValidatingAdmissionPoliciesList") - public ValidatingAdmissionPolicyList getValidatingAdmissionPoliciesList() { + public io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyList getValidatingAdmissionPoliciesList() { return validatingAdmissionPoliciesList; } @JsonProperty("ValidatingAdmissionPoliciesList") - public void setValidatingAdmissionPoliciesList(ValidatingAdmissionPolicyList validatingAdmissionPoliciesList) { + public void setValidatingAdmissionPoliciesList(io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyList validatingAdmissionPoliciesList) { this.validatingAdmissionPoliciesList = validatingAdmissionPoliciesList; } @JsonProperty("ValidatingAdmissionPolicyBinding") - public ValidatingAdmissionPolicyBinding getValidatingAdmissionPolicyBinding() { + public io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBinding getValidatingAdmissionPolicyBinding() { return validatingAdmissionPolicyBinding; } @JsonProperty("ValidatingAdmissionPolicyBinding") - public void setValidatingAdmissionPolicyBinding(ValidatingAdmissionPolicyBinding validatingAdmissionPolicyBinding) { + public void setValidatingAdmissionPolicyBinding(io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBinding validatingAdmissionPolicyBinding) { this.validatingAdmissionPolicyBinding = validatingAdmissionPolicyBinding; } @JsonProperty("ValidatingAdmissionPolicyBindingList") - public ValidatingAdmissionPolicyBindingList getValidatingAdmissionPolicyBindingList() { + public io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBindingList getValidatingAdmissionPolicyBindingList() { return validatingAdmissionPolicyBindingList; } @JsonProperty("ValidatingAdmissionPolicyBindingList") - public void setValidatingAdmissionPolicyBindingList(ValidatingAdmissionPolicyBindingList validatingAdmissionPolicyBindingList) { + public void setValidatingAdmissionPolicyBindingList(io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBindingList validatingAdmissionPolicyBindingList) { this.validatingAdmissionPolicyBindingList = validatingAdmissionPolicyBindingList; } @@ -875,6 +943,16 @@ public void setValidatingWebhookConfigurationList(io.fabric8.kubernetes.api.mode this.validatingWebhookConfigurationList = validatingWebhookConfigurationList; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index 1a289118492..240f287fd15 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -21,10 +22,6 @@ import io.fabric8.kubernetes.api.model.ResourceRequirements; import io.fabric8.kubernetes.api.model.admissionregistration.v1.Rule; import io.fabric8.kubernetes.api.model.admissionregistration.v1.RuleWithOperations; -import io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicy; -import io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBinding; -import io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBindingList; -import io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyList; import io.fabric8.kubernetes.api.model.authentication.TokenRequest; import io.fabric8.kubernetes.api.model.authentication.TokenReview; import io.fabric8.kubernetes.api.model.version.Info; @@ -79,12 +76,17 @@ "V1Beta1Operation", "V1Beta1PatchType", "V1Beta1SelfSubjectReview", + "V1Beta1ValidatingAdmissionPolicy", + "V1Beta1ValidatingAdmissionPolicyBinding", + "V1Beta1ValidatingAdmissionPolicyBindingList", + "V1Beta1ValidatingAdmissionPolicyList", "V1MutatingWebhookConfiguration", "V1MutatingWebhookConfigurationList", "V1Operation", "V1PatchType", "V1Rule", "V1RuleWithOperations", + "V1SelfSubjectReview", "V1ServiceReference", "V1ValidatingWebhookConfiguration", "V1ValidatingWebhookConfigurationList", @@ -118,7 +120,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -196,6 +199,14 @@ public class ValidationSchema { private java.lang.String v1Beta1PatchType; @JsonProperty("V1Beta1SelfSubjectReview") private io.fabric8.kubernetes.api.model.authentication.v1beta1.SelfSubjectReview v1Beta1SelfSubjectReview; + @JsonProperty("V1Beta1ValidatingAdmissionPolicy") + private io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicy v1Beta1ValidatingAdmissionPolicy; + @JsonProperty("V1Beta1ValidatingAdmissionPolicyBinding") + private io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBinding v1Beta1ValidatingAdmissionPolicyBinding; + @JsonProperty("V1Beta1ValidatingAdmissionPolicyBindingList") + private io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBindingList v1Beta1ValidatingAdmissionPolicyBindingList; + @JsonProperty("V1Beta1ValidatingAdmissionPolicyList") + private io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyList v1Beta1ValidatingAdmissionPolicyList; @JsonProperty("V1MutatingWebhookConfiguration") private io.fabric8.kubernetes.api.model.admissionregistration.v1.MutatingWebhookConfiguration v1MutatingWebhookConfiguration; @JsonProperty("V1MutatingWebhookConfigurationList") @@ -208,6 +219,8 @@ public class ValidationSchema { private Rule v1Rule; @JsonProperty("V1RuleWithOperations") private RuleWithOperations v1RuleWithOperations; + @JsonProperty("V1SelfSubjectReview") + private io.fabric8.kubernetes.api.model.authentication.SelfSubjectReview v1SelfSubjectReview; @JsonProperty("V1ServiceReference") private io.fabric8.kubernetes.api.model.admissionregistration.v1.ServiceReference v1ServiceReference; @JsonProperty("V1ValidatingWebhookConfiguration") @@ -223,13 +236,13 @@ public class ValidationSchema { @JsonProperty("V1beta1SelfSubjectRulesReview") private io.fabric8.kubernetes.api.model.authorization.v1beta1.SelfSubjectRulesReview v1beta1SelfSubjectRulesReview; @JsonProperty("ValidatingAdmissionPolicies") - private ValidatingAdmissionPolicy validatingAdmissionPolicies; + private io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicy validatingAdmissionPolicies; @JsonProperty("ValidatingAdmissionPoliciesList") - private ValidatingAdmissionPolicyList validatingAdmissionPoliciesList; + private io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyList validatingAdmissionPoliciesList; @JsonProperty("ValidatingAdmissionPolicyBinding") - private ValidatingAdmissionPolicyBinding validatingAdmissionPolicyBinding; + private io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBinding validatingAdmissionPolicyBinding; @JsonProperty("ValidatingAdmissionPolicyBindingList") - private ValidatingAdmissionPolicyBindingList validatingAdmissionPolicyBindingList; + private io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBindingList validatingAdmissionPolicyBindingList; @JsonProperty("ValidatingWebhookConfiguration") private io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingWebhookConfiguration validatingWebhookConfiguration; @JsonProperty("ValidatingWebhookConfigurationList") @@ -244,7 +257,7 @@ public class ValidationSchema { public ValidationSchema() { } - public ValidationSchema(APIGroup aPIGroup, APIGroupList aPIGroupList, KubernetesList baseKubernetesList, CreateOptions createOptions, DeleteOptions deleteOptions, GetOptions getOptions, Info info, io.fabric8.kubernetes.api.model.authorization.v1.LocalSubjectAccessReview k8sLocalSubjectAccessReview, io.fabric8.kubernetes.api.model.authorization.v1.SubjectAccessReview k8sSubjectAccessReview, ListOptions listOptions, io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MutatingWebhookConfiguration mutatingWebhookConfiguration, io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MutatingWebhookConfigurationList mutatingWebhookConfigurationList, io.fabric8.kubernetes.api.model.ObjectMeta objectMeta, Patch patch, PatchOptions patchOptions, Quantity quantity, RootPaths rootPaths, Rule rule, RuleWithOperations ruleWithOperations, io.fabric8.kubernetes.api.model.authorization.v1.SelfSubjectAccessReview selfSubjectAccessReview, io.fabric8.kubernetes.api.model.authentication.v1alpha1.SelfSubjectReview selfSubjectReview, io.fabric8.kubernetes.api.model.authorization.v1.SelfSubjectRulesReview selfSubjectRulesReview, io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ServiceReference serviceReference, Status status, String time, TokenRequest tokenRequest, TokenReview tokenReview, TypeMeta typeMeta, UpdateOptions updateOptions, io.fabric8.kubernetes.api.model.admission.v1.AdmissionRequest v1AdmissionRequest, io.fabric8.kubernetes.api.model.admission.v1.AdmissionResponse v1AdmissionResponse, io.fabric8.kubernetes.api.model.admission.v1.AdmissionReview v1AdmissionReview, io.fabric8.kubernetes.api.model.admission.v1beta1.AdmissionRequest v1Beta1AdmissionRequest, io.fabric8.kubernetes.api.model.admission.v1beta1.AdmissionResponse v1Beta1AdmissionResponse, io.fabric8.kubernetes.api.model.admission.v1beta1.AdmissionReview v1Beta1AdmissionReview, java.lang.String v1Beta1Operation, java.lang.String v1Beta1PatchType, io.fabric8.kubernetes.api.model.authentication.v1beta1.SelfSubjectReview v1Beta1SelfSubjectReview, io.fabric8.kubernetes.api.model.admissionregistration.v1.MutatingWebhookConfiguration v1MutatingWebhookConfiguration, io.fabric8.kubernetes.api.model.admissionregistration.v1.MutatingWebhookConfigurationList v1MutatingWebhookConfigurationList, java.lang.String v1Operation, java.lang.String v1PatchType, Rule v1Rule, RuleWithOperations v1RuleWithOperations, io.fabric8.kubernetes.api.model.admissionregistration.v1.ServiceReference v1ServiceReference, io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration v1ValidatingWebhookConfiguration, io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfigurationList v1ValidatingWebhookConfigurationList, io.fabric8.kubernetes.api.model.authorization.v1beta1.LocalSubjectAccessReview v1beta1K8sLocalSubjectAccessReview, io.fabric8.kubernetes.api.model.authorization.v1beta1.SubjectAccessReview v1beta1K8sSubjectAccessReview, io.fabric8.kubernetes.api.model.authorization.v1beta1.SelfSubjectAccessReview v1beta1SelfSubjectAccessReview, io.fabric8.kubernetes.api.model.authorization.v1beta1.SelfSubjectRulesReview v1beta1SelfSubjectRulesReview, ValidatingAdmissionPolicy validatingAdmissionPolicies, ValidatingAdmissionPolicyList validatingAdmissionPoliciesList, ValidatingAdmissionPolicyBinding validatingAdmissionPolicyBinding, ValidatingAdmissionPolicyBindingList validatingAdmissionPolicyBindingList, io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingWebhookConfiguration validatingWebhookConfiguration, io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingWebhookConfigurationList validatingWebhookConfigurationList) { + public ValidationSchema(APIGroup aPIGroup, APIGroupList aPIGroupList, KubernetesList baseKubernetesList, CreateOptions createOptions, DeleteOptions deleteOptions, GetOptions getOptions, Info info, io.fabric8.kubernetes.api.model.authorization.v1.LocalSubjectAccessReview k8sLocalSubjectAccessReview, io.fabric8.kubernetes.api.model.authorization.v1.SubjectAccessReview k8sSubjectAccessReview, ListOptions listOptions, io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MutatingWebhookConfiguration mutatingWebhookConfiguration, io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MutatingWebhookConfigurationList mutatingWebhookConfigurationList, io.fabric8.kubernetes.api.model.ObjectMeta objectMeta, Patch patch, PatchOptions patchOptions, Quantity quantity, RootPaths rootPaths, Rule rule, RuleWithOperations ruleWithOperations, io.fabric8.kubernetes.api.model.authorization.v1.SelfSubjectAccessReview selfSubjectAccessReview, io.fabric8.kubernetes.api.model.authentication.v1alpha1.SelfSubjectReview selfSubjectReview, io.fabric8.kubernetes.api.model.authorization.v1.SelfSubjectRulesReview selfSubjectRulesReview, io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ServiceReference serviceReference, Status status, String time, TokenRequest tokenRequest, TokenReview tokenReview, TypeMeta typeMeta, UpdateOptions updateOptions, io.fabric8.kubernetes.api.model.admission.v1.AdmissionRequest v1AdmissionRequest, io.fabric8.kubernetes.api.model.admission.v1.AdmissionResponse v1AdmissionResponse, io.fabric8.kubernetes.api.model.admission.v1.AdmissionReview v1AdmissionReview, io.fabric8.kubernetes.api.model.admission.v1beta1.AdmissionRequest v1Beta1AdmissionRequest, io.fabric8.kubernetes.api.model.admission.v1beta1.AdmissionResponse v1Beta1AdmissionResponse, io.fabric8.kubernetes.api.model.admission.v1beta1.AdmissionReview v1Beta1AdmissionReview, java.lang.String v1Beta1Operation, java.lang.String v1Beta1PatchType, io.fabric8.kubernetes.api.model.authentication.v1beta1.SelfSubjectReview v1Beta1SelfSubjectReview, io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicy v1Beta1ValidatingAdmissionPolicy, io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBinding v1Beta1ValidatingAdmissionPolicyBinding, io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBindingList v1Beta1ValidatingAdmissionPolicyBindingList, io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyList v1Beta1ValidatingAdmissionPolicyList, io.fabric8.kubernetes.api.model.admissionregistration.v1.MutatingWebhookConfiguration v1MutatingWebhookConfiguration, io.fabric8.kubernetes.api.model.admissionregistration.v1.MutatingWebhookConfigurationList v1MutatingWebhookConfigurationList, java.lang.String v1Operation, java.lang.String v1PatchType, Rule v1Rule, RuleWithOperations v1RuleWithOperations, io.fabric8.kubernetes.api.model.authentication.SelfSubjectReview v1SelfSubjectReview, io.fabric8.kubernetes.api.model.admissionregistration.v1.ServiceReference v1ServiceReference, io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration v1ValidatingWebhookConfiguration, io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfigurationList v1ValidatingWebhookConfigurationList, io.fabric8.kubernetes.api.model.authorization.v1beta1.LocalSubjectAccessReview v1beta1K8sLocalSubjectAccessReview, io.fabric8.kubernetes.api.model.authorization.v1beta1.SubjectAccessReview v1beta1K8sSubjectAccessReview, io.fabric8.kubernetes.api.model.authorization.v1beta1.SelfSubjectAccessReview v1beta1SelfSubjectAccessReview, io.fabric8.kubernetes.api.model.authorization.v1beta1.SelfSubjectRulesReview v1beta1SelfSubjectRulesReview, io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicy validatingAdmissionPolicies, io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyList validatingAdmissionPoliciesList, io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBinding validatingAdmissionPolicyBinding, io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBindingList validatingAdmissionPolicyBindingList, io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingWebhookConfiguration validatingWebhookConfiguration, io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingWebhookConfigurationList validatingWebhookConfigurationList) { super(); this.aPIGroup = aPIGroup; this.aPIGroupList = aPIGroupList; @@ -284,12 +297,17 @@ public ValidationSchema(APIGroup aPIGroup, APIGroupList aPIGroupList, Kubernetes this.v1Beta1Operation = v1Beta1Operation; this.v1Beta1PatchType = v1Beta1PatchType; this.v1Beta1SelfSubjectReview = v1Beta1SelfSubjectReview; + this.v1Beta1ValidatingAdmissionPolicy = v1Beta1ValidatingAdmissionPolicy; + this.v1Beta1ValidatingAdmissionPolicyBinding = v1Beta1ValidatingAdmissionPolicyBinding; + this.v1Beta1ValidatingAdmissionPolicyBindingList = v1Beta1ValidatingAdmissionPolicyBindingList; + this.v1Beta1ValidatingAdmissionPolicyList = v1Beta1ValidatingAdmissionPolicyList; this.v1MutatingWebhookConfiguration = v1MutatingWebhookConfiguration; this.v1MutatingWebhookConfigurationList = v1MutatingWebhookConfigurationList; this.v1Operation = v1Operation; this.v1PatchType = v1PatchType; this.v1Rule = v1Rule; this.v1RuleWithOperations = v1RuleWithOperations; + this.v1SelfSubjectReview = v1SelfSubjectReview; this.v1ServiceReference = v1ServiceReference; this.v1ValidatingWebhookConfiguration = v1ValidatingWebhookConfiguration; this.v1ValidatingWebhookConfigurationList = v1ValidatingWebhookConfigurationList; @@ -685,6 +703,46 @@ public void setV1Beta1SelfSubjectReview(io.fabric8.kubernetes.api.model.authenti this.v1Beta1SelfSubjectReview = v1Beta1SelfSubjectReview; } + @JsonProperty("V1Beta1ValidatingAdmissionPolicy") + public io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicy getV1Beta1ValidatingAdmissionPolicy() { + return v1Beta1ValidatingAdmissionPolicy; + } + + @JsonProperty("V1Beta1ValidatingAdmissionPolicy") + public void setV1Beta1ValidatingAdmissionPolicy(io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicy v1Beta1ValidatingAdmissionPolicy) { + this.v1Beta1ValidatingAdmissionPolicy = v1Beta1ValidatingAdmissionPolicy; + } + + @JsonProperty("V1Beta1ValidatingAdmissionPolicyBinding") + public io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBinding getV1Beta1ValidatingAdmissionPolicyBinding() { + return v1Beta1ValidatingAdmissionPolicyBinding; + } + + @JsonProperty("V1Beta1ValidatingAdmissionPolicyBinding") + public void setV1Beta1ValidatingAdmissionPolicyBinding(io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBinding v1Beta1ValidatingAdmissionPolicyBinding) { + this.v1Beta1ValidatingAdmissionPolicyBinding = v1Beta1ValidatingAdmissionPolicyBinding; + } + + @JsonProperty("V1Beta1ValidatingAdmissionPolicyBindingList") + public io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBindingList getV1Beta1ValidatingAdmissionPolicyBindingList() { + return v1Beta1ValidatingAdmissionPolicyBindingList; + } + + @JsonProperty("V1Beta1ValidatingAdmissionPolicyBindingList") + public void setV1Beta1ValidatingAdmissionPolicyBindingList(io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBindingList v1Beta1ValidatingAdmissionPolicyBindingList) { + this.v1Beta1ValidatingAdmissionPolicyBindingList = v1Beta1ValidatingAdmissionPolicyBindingList; + } + + @JsonProperty("V1Beta1ValidatingAdmissionPolicyList") + public io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyList getV1Beta1ValidatingAdmissionPolicyList() { + return v1Beta1ValidatingAdmissionPolicyList; + } + + @JsonProperty("V1Beta1ValidatingAdmissionPolicyList") + public void setV1Beta1ValidatingAdmissionPolicyList(io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyList v1Beta1ValidatingAdmissionPolicyList) { + this.v1Beta1ValidatingAdmissionPolicyList = v1Beta1ValidatingAdmissionPolicyList; + } + @JsonProperty("V1MutatingWebhookConfiguration") public io.fabric8.kubernetes.api.model.admissionregistration.v1.MutatingWebhookConfiguration getV1MutatingWebhookConfiguration() { return v1MutatingWebhookConfiguration; @@ -745,6 +803,16 @@ public void setV1RuleWithOperations(RuleWithOperations v1RuleWithOperations) { this.v1RuleWithOperations = v1RuleWithOperations; } + @JsonProperty("V1SelfSubjectReview") + public io.fabric8.kubernetes.api.model.authentication.SelfSubjectReview getV1SelfSubjectReview() { + return v1SelfSubjectReview; + } + + @JsonProperty("V1SelfSubjectReview") + public void setV1SelfSubjectReview(io.fabric8.kubernetes.api.model.authentication.SelfSubjectReview v1SelfSubjectReview) { + this.v1SelfSubjectReview = v1SelfSubjectReview; + } + @JsonProperty("V1ServiceReference") public io.fabric8.kubernetes.api.model.admissionregistration.v1.ServiceReference getV1ServiceReference() { return v1ServiceReference; @@ -816,42 +884,42 @@ public void setV1beta1SelfSubjectRulesReview(io.fabric8.kubernetes.api.model.aut } @JsonProperty("ValidatingAdmissionPolicies") - public ValidatingAdmissionPolicy getValidatingAdmissionPolicies() { + public io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicy getValidatingAdmissionPolicies() { return validatingAdmissionPolicies; } @JsonProperty("ValidatingAdmissionPolicies") - public void setValidatingAdmissionPolicies(ValidatingAdmissionPolicy validatingAdmissionPolicies) { + public void setValidatingAdmissionPolicies(io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicy validatingAdmissionPolicies) { this.validatingAdmissionPolicies = validatingAdmissionPolicies; } @JsonProperty("ValidatingAdmissionPoliciesList") - public ValidatingAdmissionPolicyList getValidatingAdmissionPoliciesList() { + public io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyList getValidatingAdmissionPoliciesList() { return validatingAdmissionPoliciesList; } @JsonProperty("ValidatingAdmissionPoliciesList") - public void setValidatingAdmissionPoliciesList(ValidatingAdmissionPolicyList validatingAdmissionPoliciesList) { + public void setValidatingAdmissionPoliciesList(io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyList validatingAdmissionPoliciesList) { this.validatingAdmissionPoliciesList = validatingAdmissionPoliciesList; } @JsonProperty("ValidatingAdmissionPolicyBinding") - public ValidatingAdmissionPolicyBinding getValidatingAdmissionPolicyBinding() { + public io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBinding getValidatingAdmissionPolicyBinding() { return validatingAdmissionPolicyBinding; } @JsonProperty("ValidatingAdmissionPolicyBinding") - public void setValidatingAdmissionPolicyBinding(ValidatingAdmissionPolicyBinding validatingAdmissionPolicyBinding) { + public void setValidatingAdmissionPolicyBinding(io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBinding validatingAdmissionPolicyBinding) { this.validatingAdmissionPolicyBinding = validatingAdmissionPolicyBinding; } @JsonProperty("ValidatingAdmissionPolicyBindingList") - public ValidatingAdmissionPolicyBindingList getValidatingAdmissionPolicyBindingList() { + public io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBindingList getValidatingAdmissionPolicyBindingList() { return validatingAdmissionPolicyBindingList; } @JsonProperty("ValidatingAdmissionPolicyBindingList") - public void setValidatingAdmissionPolicyBindingList(ValidatingAdmissionPolicyBindingList validatingAdmissionPolicyBindingList) { + public void setValidatingAdmissionPolicyBindingList(io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBindingList validatingAdmissionPolicyBindingList) { this.validatingAdmissionPolicyBindingList = validatingAdmissionPolicyBindingList; } @@ -875,6 +943,16 @@ public void setValidatingWebhookConfigurationList(io.fabric8.kubernetes.api.mode this.validatingWebhookConfigurationList = validatingWebhookConfigurationList; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admission/v1/AdmissionResponse.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admission/v1/AdmissionResponse.java index 1e7acd1fd89..1f44d230dcc 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admission/v1/AdmissionResponse.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admission/v1/AdmissionResponse.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AdmissionResponse implements KubernetesResource +public class AdmissionResponse implements Editable , KubernetesResource { @JsonProperty("allowed") @@ -174,6 +175,16 @@ public void setWarnings(List warnings) { this.warnings = warnings; } + @JsonIgnore + public AdmissionResponseBuilder edit() { + return new AdmissionResponseBuilder(this); + } + + @JsonIgnore + public AdmissionResponseBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admission/v1/AdmissionReview.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admission/v1/AdmissionReview.java index 843d6916a58..2042a486ebc 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admission/v1/AdmissionReview.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admission/v1/AdmissionReview.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -65,7 +66,7 @@ @Version("v1") @Group("admission.k8s.io") @Generated("jsonschema2pojo") -public class AdmissionReview implements KubernetesResource +public class AdmissionReview implements Editable , KubernetesResource { /** @@ -164,6 +165,16 @@ public void setResponse(AdmissionResponse response) { this.response = response; } + @JsonIgnore + public AdmissionReviewBuilder edit() { + return new AdmissionReviewBuilder(this); + } + + @JsonIgnore + public AdmissionReviewBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admission/v1beta1/AdmissionResponse.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admission/v1beta1/AdmissionResponse.java index fa8aac9486d..0a1110569eb 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admission/v1beta1/AdmissionResponse.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admission/v1beta1/AdmissionResponse.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AdmissionResponse implements KubernetesResource +public class AdmissionResponse implements Editable , KubernetesResource { @JsonProperty("allowed") @@ -174,6 +175,16 @@ public void setWarnings(List warnings) { this.warnings = warnings; } + @JsonIgnore + public AdmissionResponseBuilder edit() { + return new AdmissionResponseBuilder(this); + } + + @JsonIgnore + public AdmissionResponseBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admission/v1beta1/AdmissionReview.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admission/v1beta1/AdmissionReview.java index 9890fda0a4c..789881b1d13 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admission/v1beta1/AdmissionReview.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admission/v1beta1/AdmissionReview.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -65,7 +66,7 @@ @Version("v1beta1") @Group("admission.k8s.io") @Generated("jsonschema2pojo") -public class AdmissionReview implements KubernetesResource +public class AdmissionReview implements Editable , KubernetesResource { /** @@ -164,6 +165,16 @@ public void setResponse(AdmissionResponse response) { this.response = response; } + @JsonIgnore + public AdmissionReviewBuilder edit() { + return new AdmissionReviewBuilder(this); + } + + @JsonIgnore + public AdmissionReviewBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/MatchCondition.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/MatchCondition.java index 3e05ea280ae..9b17be12ad1 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/MatchCondition.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/MatchCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MatchCondition implements KubernetesResource +public class MatchCondition implements Editable , KubernetesResource { @JsonProperty("expression") @@ -99,6 +100,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public MatchConditionBuilder edit() { + return new MatchConditionBuilder(this); + } + + @JsonIgnore + public MatchConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/MutatingWebhook.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/MutatingWebhook.java index ac20b288169..8c6f0a1afe2 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/MutatingWebhook.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/MutatingWebhook.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -67,7 +68,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MutatingWebhook implements KubernetesResource +public class MutatingWebhook implements Editable , KubernetesResource { @JsonProperty("admissionReviewVersions") @@ -243,6 +244,16 @@ public void setTimeoutSeconds(Integer timeoutSeconds) { this.timeoutSeconds = timeoutSeconds; } + @JsonIgnore + public MutatingWebhookBuilder edit() { + return new MutatingWebhookBuilder(this); + } + + @JsonIgnore + public MutatingWebhookBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/MutatingWebhookConfiguration.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/MutatingWebhookConfiguration.java index 535ef988b44..f617fc7f5b3 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/MutatingWebhookConfiguration.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/MutatingWebhookConfiguration.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("admissionregistration.k8s.io") @Generated("jsonschema2pojo") -public class MutatingWebhookConfiguration implements HasMetadata +public class MutatingWebhookConfiguration implements Editable , HasMetadata { /** @@ -165,6 +166,16 @@ public void setWebhooks(List webhooks) { this.webhooks = webhooks; } + @JsonIgnore + public MutatingWebhookConfigurationBuilder edit() { + return new MutatingWebhookConfigurationBuilder(this); + } + + @JsonIgnore + public MutatingWebhookConfigurationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/MutatingWebhookConfigurationList.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/MutatingWebhookConfigurationList.java index 53514d30e54..ec476d0b51d 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/MutatingWebhookConfigurationList.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/MutatingWebhookConfigurationList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("admissionregistration.k8s.io") @Generated("jsonschema2pojo") -public class MutatingWebhookConfigurationList implements KubernetesResource, KubernetesResourceList +public class MutatingWebhookConfigurationList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public MutatingWebhookConfigurationListBuilder edit() { + return new MutatingWebhookConfigurationListBuilder(this); + } + + @JsonIgnore + public MutatingWebhookConfigurationListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/Rule.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/Rule.java index 0f94b1e7d44..7d909edcba4 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/Rule.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/Rule.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Rule implements KubernetesResource +public class Rule implements Editable , KubernetesResource { @JsonProperty("apiGroups") @@ -132,6 +133,16 @@ public void setScope(String scope) { this.scope = scope; } + @JsonIgnore + public RuleBuilder edit() { + return new RuleBuilder(this); + } + + @JsonIgnore + public RuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/RuleWithOperations.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/RuleWithOperations.java index 3a90bbb69e6..f016a447dfd 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/RuleWithOperations.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/RuleWithOperations.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RuleWithOperations implements KubernetesResource +public class RuleWithOperations implements Editable , KubernetesResource { @JsonProperty("apiGroups") @@ -147,6 +148,16 @@ public void setScope(String scope) { this.scope = scope; } + @JsonIgnore + public RuleWithOperationsBuilder edit() { + return new RuleWithOperationsBuilder(this); + } + + @JsonIgnore + public RuleWithOperationsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/ServiceReference.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/ServiceReference.java index 593cb03e465..02bf63f42cd 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/ServiceReference.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/ServiceReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ServiceReference implements KubernetesResource +public class ServiceReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -127,6 +128,16 @@ public void setPort(Integer port) { this.port = port; } + @JsonIgnore + public ServiceReferenceBuilder edit() { + return new ServiceReferenceBuilder(this); + } + + @JsonIgnore + public ServiceReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/ValidatingWebhook.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/ValidatingWebhook.java index 6de699ef396..d3eeb077cd0 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/ValidatingWebhook.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/ValidatingWebhook.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -66,7 +67,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidatingWebhook implements KubernetesResource +public class ValidatingWebhook implements Editable , KubernetesResource { @JsonProperty("admissionReviewVersions") @@ -229,6 +230,16 @@ public void setTimeoutSeconds(Integer timeoutSeconds) { this.timeoutSeconds = timeoutSeconds; } + @JsonIgnore + public ValidatingWebhookBuilder edit() { + return new ValidatingWebhookBuilder(this); + } + + @JsonIgnore + public ValidatingWebhookBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/ValidatingWebhookConfiguration.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/ValidatingWebhookConfiguration.java index 25983c40a75..ad0b7630027 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/ValidatingWebhookConfiguration.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/ValidatingWebhookConfiguration.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("admissionregistration.k8s.io") @Generated("jsonschema2pojo") -public class ValidatingWebhookConfiguration implements HasMetadata +public class ValidatingWebhookConfiguration implements Editable , HasMetadata { /** @@ -165,6 +166,16 @@ public void setWebhooks(List webhooks) { this.webhooks = webhooks; } + @JsonIgnore + public ValidatingWebhookConfigurationBuilder edit() { + return new ValidatingWebhookConfigurationBuilder(this); + } + + @JsonIgnore + public ValidatingWebhookConfigurationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/ValidatingWebhookConfigurationList.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/ValidatingWebhookConfigurationList.java index ea13d2b3aca..96c9be3efcd 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/ValidatingWebhookConfigurationList.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/ValidatingWebhookConfigurationList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("admissionregistration.k8s.io") @Generated("jsonschema2pojo") -public class ValidatingWebhookConfigurationList implements KubernetesResource, KubernetesResourceList +public class ValidatingWebhookConfigurationList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ValidatingWebhookConfigurationListBuilder edit() { + return new ValidatingWebhookConfigurationListBuilder(this); + } + + @JsonIgnore + public ValidatingWebhookConfigurationListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/WebhookClientConfig.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/WebhookClientConfig.java index 62a8a50b8c7..dd39794392d 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/WebhookClientConfig.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/WebhookClientConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class WebhookClientConfig implements KubernetesResource +public class WebhookClientConfig implements Editable , KubernetesResource { @JsonProperty("caBundle") @@ -113,6 +114,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public WebhookClientConfigBuilder edit() { + return new WebhookClientConfigBuilder(this); + } + + @JsonIgnore + public WebhookClientConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/AuditAnnotation.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/AuditAnnotation.java index b46948e202e..8b3c8ff9551 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/AuditAnnotation.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/AuditAnnotation.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AuditAnnotation implements KubernetesResource +public class AuditAnnotation implements Editable , KubernetesResource { @JsonProperty("key") @@ -99,6 +100,16 @@ public void setValueExpression(String valueExpression) { this.valueExpression = valueExpression; } + @JsonIgnore + public AuditAnnotationBuilder edit() { + return new AuditAnnotationBuilder(this); + } + + @JsonIgnore + public AuditAnnotationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ExpressionWarning.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ExpressionWarning.java index 0dee46d79f5..ee600297da0 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ExpressionWarning.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ExpressionWarning.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ExpressionWarning implements KubernetesResource +public class ExpressionWarning implements Editable , KubernetesResource { @JsonProperty("fieldRef") @@ -99,6 +100,16 @@ public void setWarning(String warning) { this.warning = warning; } + @JsonIgnore + public ExpressionWarningBuilder edit() { + return new ExpressionWarningBuilder(this); + } + + @JsonIgnore + public ExpressionWarningBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/MatchCondition.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/MatchCondition.java index 12b5fcc9d18..8500b72f5b1 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/MatchCondition.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/MatchCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MatchCondition implements KubernetesResource +public class MatchCondition implements Editable , KubernetesResource { @JsonProperty("expression") @@ -99,6 +100,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public MatchConditionBuilder edit() { + return new MatchConditionBuilder(this); + } + + @JsonIgnore + public MatchConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/MatchResources.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/MatchResources.java index 61ef76b7a10..22a1f3b2c59 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/MatchResources.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/MatchResources.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MatchResources implements KubernetesResource +public class MatchResources implements Editable , KubernetesResource { @JsonProperty("excludeResourceRules") @@ -144,6 +145,16 @@ public void setResourceRules(List resourceRules) { this.resourceRules = resourceRules; } + @JsonIgnore + public MatchResourcesBuilder edit() { + return new MatchResourcesBuilder(this); + } + + @JsonIgnore + public MatchResourcesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/NamedRuleWithOperations.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/NamedRuleWithOperations.java index 614e4d33c77..efe1b9a4ae0 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/NamedRuleWithOperations.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/NamedRuleWithOperations.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NamedRuleWithOperations implements KubernetesResource +public class NamedRuleWithOperations implements Editable , KubernetesResource { @JsonProperty("apiGroups") @@ -162,6 +163,16 @@ public void setScope(String scope) { this.scope = scope; } + @JsonIgnore + public NamedRuleWithOperationsBuilder edit() { + return new NamedRuleWithOperationsBuilder(this); + } + + @JsonIgnore + public NamedRuleWithOperationsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ParamKind.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ParamKind.java index 18822e0087b..2d6df52de32 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ParamKind.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ParamKind.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -54,7 +55,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ParamKind implements KubernetesResource +public class ParamKind implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -97,6 +98,16 @@ public void setKind(String kind) { this.kind = kind; } + @JsonIgnore + public ParamKindBuilder edit() { + return new ParamKindBuilder(this); + } + + @JsonIgnore + public ParamKindBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ParamRef.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ParamRef.java index 6d798107d3d..ce82c7b2989 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ParamRef.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ParamRef.java @@ -11,10 +11,10 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; -import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; @@ -35,7 +35,9 @@ "kind", "metadata", "name", - "namespace" + "namespace", + "parameterNotFoundAction", + "selector" }) @ToString @EqualsAndHashCode @@ -46,7 +48,7 @@ }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { @BuildableReference(ObjectMeta.class), - @BuildableReference(LabelSelector.class), + @BuildableReference(io.fabric8.kubernetes.api.model.LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @BuildableReference(ResourceRequirements.class), @@ -56,13 +58,17 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ParamRef implements KubernetesResource +public class ParamRef implements Editable , KubernetesResource { @JsonProperty("name") private String name; @JsonProperty("namespace") private String namespace; + @JsonProperty("parameterNotFoundAction") + private String parameterNotFoundAction; + @JsonProperty("selector") + private io.fabric8.kubernetes.api.model.LabelSelector selector; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -73,10 +79,12 @@ public class ParamRef implements KubernetesResource public ParamRef() { } - public ParamRef(String name, String namespace) { + public ParamRef(String name, String namespace, String parameterNotFoundAction, io.fabric8.kubernetes.api.model.LabelSelector selector) { super(); this.name = name; this.namespace = namespace; + this.parameterNotFoundAction = parameterNotFoundAction; + this.selector = selector; } @JsonProperty("name") @@ -99,6 +107,36 @@ public void setNamespace(String namespace) { this.namespace = namespace; } + @JsonProperty("parameterNotFoundAction") + public String getParameterNotFoundAction() { + return parameterNotFoundAction; + } + + @JsonProperty("parameterNotFoundAction") + public void setParameterNotFoundAction(String parameterNotFoundAction) { + this.parameterNotFoundAction = parameterNotFoundAction; + } + + @JsonProperty("selector") + public io.fabric8.kubernetes.api.model.LabelSelector getSelector() { + return selector; + } + + @JsonProperty("selector") + public void setSelector(io.fabric8.kubernetes.api.model.LabelSelector selector) { + this.selector = selector; + } + + @JsonIgnore + public ParamRefBuilder edit() { + return new ParamRefBuilder(this); + } + + @JsonIgnore + public ParamRefBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/TypeChecking.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/TypeChecking.java index 108db16f743..ba9d3adedef 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/TypeChecking.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/TypeChecking.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TypeChecking implements KubernetesResource +public class TypeChecking implements Editable , KubernetesResource { @JsonProperty("expressionWarnings") @@ -88,6 +89,16 @@ public void setExpressionWarnings(List expressionWarnings) { this.expressionWarnings = expressionWarnings; } + @JsonIgnore + public TypeCheckingBuilder edit() { + return new TypeCheckingBuilder(this); + } + + @JsonIgnore + public TypeCheckingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.java index e946f2b711d..d1afa91f3a4 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1alpha1") @Group("admissionregistration.k8s.io") @Generated("jsonschema2pojo") -public class ValidatingAdmissionPolicy implements HasMetadata +public class ValidatingAdmissionPolicy implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(ValidatingAdmissionPolicyStatus status) { this.status = status; } + @JsonIgnore + public ValidatingAdmissionPolicyBuilder edit() { + return new ValidatingAdmissionPolicyBuilder(this); + } + + @JsonIgnore + public ValidatingAdmissionPolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.java index 15032dfa624..c4a2e5c08d2 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -63,7 +64,7 @@ @Version("v1alpha1") @Group("admissionregistration.k8s.io") @Generated("jsonschema2pojo") -public class ValidatingAdmissionPolicyBinding implements HasMetadata +public class ValidatingAdmissionPolicyBinding implements Editable , HasMetadata { /** @@ -162,6 +163,16 @@ public void setSpec(ValidatingAdmissionPolicyBindingSpec spec) { this.spec = spec; } + @JsonIgnore + public ValidatingAdmissionPolicyBindingBuilder edit() { + return new ValidatingAdmissionPolicyBindingBuilder(this); + } + + @JsonIgnore + public ValidatingAdmissionPolicyBindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.java index 11bd98aa183..0f2db66bd07 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha1") @Group("admissionregistration.k8s.io") @Generated("jsonschema2pojo") -public class ValidatingAdmissionPolicyBindingList implements KubernetesResource, KubernetesResourceList +public class ValidatingAdmissionPolicyBindingList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ValidatingAdmissionPolicyBindingListBuilder edit() { + return new ValidatingAdmissionPolicyBindingListBuilder(this); + } + + @JsonIgnore + public ValidatingAdmissionPolicyBindingListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingSpec.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingSpec.java index b43de50140f..5984fbe00d5 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingSpec.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidatingAdmissionPolicyBindingSpec implements KubernetesResource +public class ValidatingAdmissionPolicyBindingSpec implements Editable , KubernetesResource { @JsonProperty("matchResources") @@ -130,6 +131,16 @@ public void setValidationActions(List validationActions) { this.validationActions = validationActions; } + @JsonIgnore + public ValidatingAdmissionPolicyBindingSpecBuilder edit() { + return new ValidatingAdmissionPolicyBindingSpecBuilder(this); + } + + @JsonIgnore + public ValidatingAdmissionPolicyBindingSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.java index 3a974f47318..79c36e34759 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha1") @Group("admissionregistration.k8s.io") @Generated("jsonschema2pojo") -public class ValidatingAdmissionPolicyList implements KubernetesResource, KubernetesResourceList +public class ValidatingAdmissionPolicyList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ValidatingAdmissionPolicyListBuilder edit() { + return new ValidatingAdmissionPolicyListBuilder(this); + } + + @JsonIgnore + public ValidatingAdmissionPolicyListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ValidatingAdmissionPolicySpec.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ValidatingAdmissionPolicySpec.java index 4b261b61a68..fa5d31a30aa 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ValidatingAdmissionPolicySpec.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ValidatingAdmissionPolicySpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -41,7 +42,8 @@ "matchConditions", "matchConstraints", "paramKind", - "validations" + "validations", + "variables" }) @ToString @EqualsAndHashCode @@ -62,7 +64,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidatingAdmissionPolicySpec implements KubernetesResource +public class ValidatingAdmissionPolicySpec implements Editable , KubernetesResource { @JsonProperty("auditAnnotations") @@ -80,6 +82,9 @@ public class ValidatingAdmissionPolicySpec implements KubernetesResource @JsonProperty("validations") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List validations = new ArrayList(); + @JsonProperty("variables") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List variables = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -90,7 +95,7 @@ public class ValidatingAdmissionPolicySpec implements KubernetesResource public ValidatingAdmissionPolicySpec() { } - public ValidatingAdmissionPolicySpec(List auditAnnotations, String failurePolicy, List matchConditions, MatchResources matchConstraints, ParamKind paramKind, List validations) { + public ValidatingAdmissionPolicySpec(List auditAnnotations, String failurePolicy, List matchConditions, MatchResources matchConstraints, ParamKind paramKind, List validations, List variables) { super(); this.auditAnnotations = auditAnnotations; this.failurePolicy = failurePolicy; @@ -98,6 +103,7 @@ public ValidatingAdmissionPolicySpec(List auditAnnotations, Str this.matchConstraints = matchConstraints; this.paramKind = paramKind; this.validations = validations; + this.variables = variables; } @JsonProperty("auditAnnotations") @@ -160,6 +166,26 @@ public void setValidations(List validations) { this.validations = validations; } + @JsonProperty("variables") + public List getVariables() { + return variables; + } + + @JsonProperty("variables") + public void setVariables(List variables) { + this.variables = variables; + } + + @JsonIgnore + public ValidatingAdmissionPolicySpecBuilder edit() { + return new ValidatingAdmissionPolicySpecBuilder(this); + } + + @JsonIgnore + public ValidatingAdmissionPolicySpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ValidatingAdmissionPolicyStatus.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ValidatingAdmissionPolicyStatus.java index 726fafb2c0a..b1aab254134 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ValidatingAdmissionPolicyStatus.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/ValidatingAdmissionPolicyStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidatingAdmissionPolicyStatus implements KubernetesResource +public class ValidatingAdmissionPolicyStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -117,6 +118,16 @@ public void setTypeChecking(TypeChecking typeChecking) { this.typeChecking = typeChecking; } + @JsonIgnore + public ValidatingAdmissionPolicyStatusBuilder edit() { + return new ValidatingAdmissionPolicyStatusBuilder(this); + } + + @JsonIgnore + public ValidatingAdmissionPolicyStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/Validation.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/Validation.java index 77ff9bb519c..3ef734e7482 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/Validation.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/Validation.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Validation implements KubernetesResource +public class Validation implements Editable , KubernetesResource { @JsonProperty("expression") @@ -127,6 +128,16 @@ public void setReason(String reason) { this.reason = reason; } + @JsonIgnore + public ValidationBuilder edit() { + return new ValidationBuilder(this); + } + + @JsonIgnore + public ValidationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/Variable.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/Variable.java new file mode 100644 index 00000000000..c4b4a7f5644 --- /dev/null +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1alpha1/Variable.java @@ -0,0 +1,123 @@ + +package io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.Setter; +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", + "expression", + "name" +}) +@ToString +@EqualsAndHashCode +@Setter +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class Variable implements Editable , KubernetesResource +{ + + @JsonProperty("expression") + private String expression; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public Variable() { + } + + public Variable(String expression, String name) { + super(); + this.expression = expression; + this.name = name; + } + + @JsonProperty("expression") + public String getExpression() { + return expression; + } + + @JsonProperty("expression") + public void setExpression(String expression) { + this.expression = expression; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public VariableBuilder edit() { + return new VariableBuilder(this); + } + + @JsonIgnore + public VariableBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + +} diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/AuditAnnotation.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/AuditAnnotation.java new file mode 100644 index 00000000000..14919e4e283 --- /dev/null +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/AuditAnnotation.java @@ -0,0 +1,123 @@ + +package io.fabric8.kubernetes.api.model.admissionregistration.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.Setter; +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", + "key", + "valueExpression" +}) +@ToString +@EqualsAndHashCode +@Setter +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AuditAnnotation implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("valueExpression") + private String valueExpression; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AuditAnnotation() { + } + + public AuditAnnotation(String key, String valueExpression) { + super(); + this.key = key; + this.valueExpression = valueExpression; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("valueExpression") + public String getValueExpression() { + return valueExpression; + } + + @JsonProperty("valueExpression") + public void setValueExpression(String valueExpression) { + this.valueExpression = valueExpression; + } + + @JsonIgnore + public AuditAnnotationBuilder edit() { + return new AuditAnnotationBuilder(this); + } + + @JsonIgnore + public AuditAnnotationBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + +} diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ExpressionWarning.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ExpressionWarning.java new file mode 100644 index 00000000000..4bfb6cc8561 --- /dev/null +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ExpressionWarning.java @@ -0,0 +1,123 @@ + +package io.fabric8.kubernetes.api.model.admissionregistration.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.Setter; +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", + "fieldRef", + "warning" +}) +@ToString +@EqualsAndHashCode +@Setter +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ExpressionWarning implements Editable , KubernetesResource +{ + + @JsonProperty("fieldRef") + private String fieldRef; + @JsonProperty("warning") + private String warning; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ExpressionWarning() { + } + + public ExpressionWarning(String fieldRef, String warning) { + super(); + this.fieldRef = fieldRef; + this.warning = warning; + } + + @JsonProperty("fieldRef") + public String getFieldRef() { + return fieldRef; + } + + @JsonProperty("fieldRef") + public void setFieldRef(String fieldRef) { + this.fieldRef = fieldRef; + } + + @JsonProperty("warning") + public String getWarning() { + return warning; + } + + @JsonProperty("warning") + public void setWarning(String warning) { + this.warning = warning; + } + + @JsonIgnore + public ExpressionWarningBuilder edit() { + return new ExpressionWarningBuilder(this); + } + + @JsonIgnore + public ExpressionWarningBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + +} diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/MatchCondition.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/MatchCondition.java index ce5a1de155d..4cd8cf86797 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/MatchCondition.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/MatchCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MatchCondition implements KubernetesResource +public class MatchCondition implements Editable , KubernetesResource { @JsonProperty("expression") @@ -99,6 +100,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public MatchConditionBuilder edit() { + return new MatchConditionBuilder(this); + } + + @JsonIgnore + public MatchConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/MatchResources.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/MatchResources.java new file mode 100644 index 00000000000..a220cc055b4 --- /dev/null +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/MatchResources.java @@ -0,0 +1,168 @@ + +package io.fabric8.kubernetes.api.model.admissionregistration.v1beta1; + +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.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.Setter; +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", + "excludeResourceRules", + "matchPolicy", + "namespaceSelector", + "objectSelector", + "resourceRules" +}) +@ToString +@EqualsAndHashCode +@Setter +@Accessors(prefix = { + "_", + "" +}) +@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(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class MatchResources implements Editable , KubernetesResource +{ + + @JsonProperty("excludeResourceRules") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List excludeResourceRules = new ArrayList(); + @JsonProperty("matchPolicy") + private String matchPolicy; + @JsonProperty("namespaceSelector") + private io.fabric8.kubernetes.api.model.LabelSelector namespaceSelector; + @JsonProperty("objectSelector") + private io.fabric8.kubernetes.api.model.LabelSelector objectSelector; + @JsonProperty("resourceRules") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List resourceRules = new ArrayList(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public MatchResources() { + } + + public MatchResources(List excludeResourceRules, String matchPolicy, io.fabric8.kubernetes.api.model.LabelSelector namespaceSelector, io.fabric8.kubernetes.api.model.LabelSelector objectSelector, List resourceRules) { + super(); + this.excludeResourceRules = excludeResourceRules; + this.matchPolicy = matchPolicy; + this.namespaceSelector = namespaceSelector; + this.objectSelector = objectSelector; + this.resourceRules = resourceRules; + } + + @JsonProperty("excludeResourceRules") + public List getExcludeResourceRules() { + return excludeResourceRules; + } + + @JsonProperty("excludeResourceRules") + public void setExcludeResourceRules(List excludeResourceRules) { + this.excludeResourceRules = excludeResourceRules; + } + + @JsonProperty("matchPolicy") + public String getMatchPolicy() { + return matchPolicy; + } + + @JsonProperty("matchPolicy") + public void setMatchPolicy(String matchPolicy) { + this.matchPolicy = matchPolicy; + } + + @JsonProperty("namespaceSelector") + public io.fabric8.kubernetes.api.model.LabelSelector getNamespaceSelector() { + return namespaceSelector; + } + + @JsonProperty("namespaceSelector") + public void setNamespaceSelector(io.fabric8.kubernetes.api.model.LabelSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @JsonProperty("objectSelector") + public io.fabric8.kubernetes.api.model.LabelSelector getObjectSelector() { + return objectSelector; + } + + @JsonProperty("objectSelector") + public void setObjectSelector(io.fabric8.kubernetes.api.model.LabelSelector objectSelector) { + this.objectSelector = objectSelector; + } + + @JsonProperty("resourceRules") + public List getResourceRules() { + return resourceRules; + } + + @JsonProperty("resourceRules") + public void setResourceRules(List resourceRules) { + this.resourceRules = resourceRules; + } + + @JsonIgnore + public MatchResourcesBuilder edit() { + return new MatchResourcesBuilder(this); + } + + @JsonIgnore + public MatchResourcesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + +} diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/MutatingWebhook.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/MutatingWebhook.java index d749730cc15..15f62675309 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/MutatingWebhook.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/MutatingWebhook.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MutatingWebhook implements KubernetesResource +public class MutatingWebhook implements Editable , KubernetesResource { @JsonProperty("admissionReviewVersions") @@ -244,6 +245,16 @@ public void setTimeoutSeconds(Integer timeoutSeconds) { this.timeoutSeconds = timeoutSeconds; } + @JsonIgnore + public MutatingWebhookBuilder edit() { + return new MutatingWebhookBuilder(this); + } + + @JsonIgnore + public MutatingWebhookBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/MutatingWebhookConfiguration.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/MutatingWebhookConfiguration.java index 53e92eabf8e..6510823e5bd 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/MutatingWebhookConfiguration.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/MutatingWebhookConfiguration.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1beta1") @Group("admissionregistration.k8s.io") @Generated("jsonschema2pojo") -public class MutatingWebhookConfiguration implements HasMetadata +public class MutatingWebhookConfiguration implements Editable , HasMetadata { /** @@ -165,6 +166,16 @@ public void setWebhooks(List webhooks) { this.webhooks = webhooks; } + @JsonIgnore + public MutatingWebhookConfigurationBuilder edit() { + return new MutatingWebhookConfigurationBuilder(this); + } + + @JsonIgnore + public MutatingWebhookConfigurationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/MutatingWebhookConfigurationList.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/MutatingWebhookConfigurationList.java index bec8f5103fe..092b6015e91 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/MutatingWebhookConfigurationList.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/MutatingWebhookConfigurationList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("admissionregistration.k8s.io") @Generated("jsonschema2pojo") -public class MutatingWebhookConfigurationList implements KubernetesResource, KubernetesResourceList +public class MutatingWebhookConfigurationList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public MutatingWebhookConfigurationListBuilder edit() { + return new MutatingWebhookConfigurationListBuilder(this); + } + + @JsonIgnore + public MutatingWebhookConfigurationListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/NamedRuleWithOperations.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/NamedRuleWithOperations.java new file mode 100644 index 00000000000..672e102f8f8 --- /dev/null +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/NamedRuleWithOperations.java @@ -0,0 +1,186 @@ + +package io.fabric8.kubernetes.api.model.admissionregistration.v1beta1; + +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.Setter; +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", + "apiGroups", + "apiVersions", + "operations", + "resourceNames", + "resources", + "scope" +}) +@ToString +@EqualsAndHashCode +@Setter +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class NamedRuleWithOperations 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("resourceNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List resourceNames = 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 NamedRuleWithOperations() { + } + + public NamedRuleWithOperations(List apiGroups, List apiVersions, List operations, List resourceNames, List resources, String scope) { + super(); + this.apiGroups = apiGroups; + this.apiVersions = apiVersions; + this.operations = operations; + this.resourceNames = resourceNames; + this.resources = resources; + this.scope = scope; + } + + @JsonProperty("apiGroups") + public List getApiGroups() { + return apiGroups; + } + + @JsonProperty("apiGroups") + public void setApiGroups(List apiGroups) { + this.apiGroups = apiGroups; + } + + @JsonProperty("apiVersions") + public List getApiVersions() { + return apiVersions; + } + + @JsonProperty("apiVersions") + public void setApiVersions(List apiVersions) { + this.apiVersions = apiVersions; + } + + @JsonProperty("operations") + public List getOperations() { + return operations; + } + + @JsonProperty("operations") + public void setOperations(List operations) { + this.operations = operations; + } + + @JsonProperty("resourceNames") + public List getResourceNames() { + return resourceNames; + } + + @JsonProperty("resourceNames") + public void setResourceNames(List resourceNames) { + this.resourceNames = resourceNames; + } + + @JsonProperty("resources") + 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 NamedRuleWithOperationsBuilder edit() { + return new NamedRuleWithOperationsBuilder(this); + } + + @JsonIgnore + public NamedRuleWithOperationsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + +} diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ParamKind.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ParamKind.java new file mode 100644 index 00000000000..72eb5a944d5 --- /dev/null +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ParamKind.java @@ -0,0 +1,121 @@ + +package io.fabric8.kubernetes.api.model.admissionregistration.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.Setter; +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" +}) +@ToString +@EqualsAndHashCode +@Setter +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ParamKind implements Editable , KubernetesResource +{ + + @JsonProperty("apiVersion") + private String apiVersion; + @JsonProperty("kind") + private String kind; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ParamKind() { + } + + public ParamKind(String apiVersion, String kind) { + super(); + this.apiVersion = apiVersion; + this.kind = kind; + } + + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("kind") + public String getKind() { + return kind; + } + + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonIgnore + public ParamKindBuilder edit() { + return new ParamKindBuilder(this); + } + + @JsonIgnore + public ParamKindBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + +} diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ParamRef.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ParamRef.java new file mode 100644 index 00000000000..0c47418d74f --- /dev/null +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ParamRef.java @@ -0,0 +1,150 @@ + +package io.fabric8.kubernetes.api.model.admissionregistration.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.Setter; +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", + "name", + "namespace", + "parameterNotFoundAction", + "selector" +}) +@ToString +@EqualsAndHashCode +@Setter +@Accessors(prefix = { + "_", + "" +}) +@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(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ParamRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("namespace") + private String namespace; + @JsonProperty("parameterNotFoundAction") + private String parameterNotFoundAction; + @JsonProperty("selector") + private io.fabric8.kubernetes.api.model.LabelSelector selector; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ParamRef() { + } + + public ParamRef(String name, String namespace, String parameterNotFoundAction, io.fabric8.kubernetes.api.model.LabelSelector selector) { + super(); + this.name = name; + this.namespace = namespace; + this.parameterNotFoundAction = parameterNotFoundAction; + this.selector = selector; + } + + @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("parameterNotFoundAction") + public String getParameterNotFoundAction() { + return parameterNotFoundAction; + } + + @JsonProperty("parameterNotFoundAction") + public void setParameterNotFoundAction(String parameterNotFoundAction) { + this.parameterNotFoundAction = parameterNotFoundAction; + } + + @JsonProperty("selector") + public io.fabric8.kubernetes.api.model.LabelSelector getSelector() { + return selector; + } + + @JsonProperty("selector") + public void setSelector(io.fabric8.kubernetes.api.model.LabelSelector selector) { + this.selector = selector; + } + + @JsonIgnore + public ParamRefBuilder edit() { + return new ParamRefBuilder(this); + } + + @JsonIgnore + public ParamRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + +} diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ServiceReference.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ServiceReference.java index 543a6f1241d..3f1ecc83b63 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ServiceReference.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ServiceReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ServiceReference implements KubernetesResource +public class ServiceReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -127,6 +128,16 @@ public void setPort(Integer port) { this.port = port; } + @JsonIgnore + public ServiceReferenceBuilder edit() { + return new ServiceReferenceBuilder(this); + } + + @JsonIgnore + public ServiceReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicyStatus.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/TypeChecking.java similarity index 73% rename from kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicyStatus.java rename to kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/TypeChecking.java index 667789dd7dd..d9ee5a37def 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicyStatus.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/TypeChecking.java @@ -1,5 +1,5 @@ -package io.fabric8.kubernetes.api.model.networking.v1; +package io.fabric8.kubernetes.api.model.admissionregistration.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -13,7 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.kubernetes.api.model.Condition; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -37,7 +37,7 @@ "apiVersion", "kind", "metadata", - "conditions" + "expressionWarnings" }) @ToString @EqualsAndHashCode @@ -58,12 +58,12 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NetworkPolicyStatus implements KubernetesResource +public class TypeChecking implements Editable , KubernetesResource { - @JsonProperty("conditions") + @JsonProperty("expressionWarnings") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List conditions = new ArrayList(); + private List expressionWarnings = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -71,22 +71,32 @@ public class NetworkPolicyStatus implements KubernetesResource * No args constructor for use in serialization * */ - public NetworkPolicyStatus() { + public TypeChecking() { } - public NetworkPolicyStatus(List conditions) { + public TypeChecking(List expressionWarnings) { super(); - this.conditions = conditions; + this.expressionWarnings = expressionWarnings; } - @JsonProperty("conditions") - public List getConditions() { - return conditions; + @JsonProperty("expressionWarnings") + public List getExpressionWarnings() { + return expressionWarnings; } - @JsonProperty("conditions") - public void setConditions(List conditions) { - this.conditions = conditions; + @JsonProperty("expressionWarnings") + public void setExpressionWarnings(List expressionWarnings) { + this.expressionWarnings = expressionWarnings; + } + + @JsonIgnore + public TypeCheckingBuilder edit() { + return new TypeCheckingBuilder(this); + } + + @JsonIgnore + public TypeCheckingBuilder toBuilder() { + return edit(); } @JsonAnyGetter diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingAdmissionPolicy.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingAdmissionPolicy.java new file mode 100644 index 00000000000..6c1e82ff56f --- /dev/null +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingAdmissionPolicy.java @@ -0,0 +1,200 @@ + +package io.fabric8.kubernetes.api.model.admissionregistration.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.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.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.Setter; +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 +@Setter +@Accessors(prefix = { + "_", + "" +}) +@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(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("v1beta1") +@Group("admissionregistration.k8s.io") +@Generated("jsonschema2pojo") +public class ValidatingAdmissionPolicy implements Editable , HasMetadata +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "admissionregistration.k8s.io/v1beta1"; + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "ValidatingAdmissionPolicy"; + @JsonProperty("metadata") + private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + @JsonProperty("spec") + private ValidatingAdmissionPolicySpec spec; + @JsonProperty("status") + private ValidatingAdmissionPolicyStatus status; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ValidatingAdmissionPolicy() { + } + + public ValidatingAdmissionPolicy(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, ValidatingAdmissionPolicySpec spec, ValidatingAdmissionPolicyStatus 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 io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public ValidatingAdmissionPolicySpec getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(ValidatingAdmissionPolicySpec spec) { + this.spec = spec; + } + + @JsonProperty("status") + public ValidatingAdmissionPolicyStatus getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(ValidatingAdmissionPolicyStatus status) { + this.status = status; + } + + @JsonIgnore + public ValidatingAdmissionPolicyBuilder edit() { + return new ValidatingAdmissionPolicyBuilder(this); + } + + @JsonIgnore + public ValidatingAdmissionPolicyBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + +} diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.java new file mode 100644 index 00000000000..94a67bde719 --- /dev/null +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.java @@ -0,0 +1,186 @@ + +package io.fabric8.kubernetes.api.model.admissionregistration.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.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.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.Setter; +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" +}) +@ToString +@EqualsAndHashCode +@Setter +@Accessors(prefix = { + "_", + "" +}) +@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(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("v1beta1") +@Group("admissionregistration.k8s.io") +@Generated("jsonschema2pojo") +public class ValidatingAdmissionPolicyBinding implements Editable , HasMetadata +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "admissionregistration.k8s.io/v1beta1"; + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "ValidatingAdmissionPolicyBinding"; + @JsonProperty("metadata") + private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + @JsonProperty("spec") + private ValidatingAdmissionPolicyBindingSpec spec; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ValidatingAdmissionPolicyBinding() { + } + + public ValidatingAdmissionPolicyBinding(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, ValidatingAdmissionPolicyBindingSpec spec) { + super(); + this.apiVersion = apiVersion; + this.kind = kind; + this.metadata = metadata; + this.spec = spec; + } + + /** + * + * (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 io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public ValidatingAdmissionPolicyBindingSpec getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(ValidatingAdmissionPolicyBindingSpec spec) { + this.spec = spec; + } + + @JsonIgnore + public ValidatingAdmissionPolicyBindingBuilder edit() { + return new ValidatingAdmissionPolicyBindingBuilder(this); + } + + @JsonIgnore + public ValidatingAdmissionPolicyBindingBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + +} diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.java new file mode 100644 index 00000000000..2f57ec3684d --- /dev/null +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.java @@ -0,0 +1,192 @@ + +package io.fabric8.kubernetes.api.model.admissionregistration.v1beta1; + +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.Setter; +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 +@Setter +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @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("v1beta1") +@Group("admissionregistration.k8s.io") +@Generated("jsonschema2pojo") +public class ValidatingAdmissionPolicyBindingList implements Editable , KubernetesResource, KubernetesResourceList +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "admissionregistration.k8s.io/v1beta1"; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList(); + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "ValidatingAdmissionPolicyBindingList"; + @JsonProperty("metadata") + private ListMeta metadata; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ValidatingAdmissionPolicyBindingList() { + } + + public ValidatingAdmissionPolicyBindingList(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") + 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 ValidatingAdmissionPolicyBindingListBuilder edit() { + return new ValidatingAdmissionPolicyBindingListBuilder(this); + } + + @JsonIgnore + public ValidatingAdmissionPolicyBindingListBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + +} diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingSpec.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingSpec.java new file mode 100644 index 00000000000..28e222e6c82 --- /dev/null +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingSpec.java @@ -0,0 +1,154 @@ + +package io.fabric8.kubernetes.api.model.admissionregistration.v1beta1; + +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.Setter; +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", + "matchResources", + "paramRef", + "policyName", + "validationActions" +}) +@ToString +@EqualsAndHashCode +@Setter +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ValidatingAdmissionPolicyBindingSpec implements Editable , KubernetesResource +{ + + @JsonProperty("matchResources") + private MatchResources matchResources; + @JsonProperty("paramRef") + private ParamRef paramRef; + @JsonProperty("policyName") + private String policyName; + @JsonProperty("validationActions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List validationActions = new ArrayList(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ValidatingAdmissionPolicyBindingSpec() { + } + + public ValidatingAdmissionPolicyBindingSpec(MatchResources matchResources, ParamRef paramRef, String policyName, List validationActions) { + super(); + this.matchResources = matchResources; + this.paramRef = paramRef; + this.policyName = policyName; + this.validationActions = validationActions; + } + + @JsonProperty("matchResources") + public MatchResources getMatchResources() { + return matchResources; + } + + @JsonProperty("matchResources") + public void setMatchResources(MatchResources matchResources) { + this.matchResources = matchResources; + } + + @JsonProperty("paramRef") + public ParamRef getParamRef() { + return paramRef; + } + + @JsonProperty("paramRef") + public void setParamRef(ParamRef paramRef) { + this.paramRef = paramRef; + } + + @JsonProperty("policyName") + public String getPolicyName() { + return policyName; + } + + @JsonProperty("policyName") + public void setPolicyName(String policyName) { + this.policyName = policyName; + } + + @JsonProperty("validationActions") + public List getValidationActions() { + return validationActions; + } + + @JsonProperty("validationActions") + public void setValidationActions(List validationActions) { + this.validationActions = validationActions; + } + + @JsonIgnore + public ValidatingAdmissionPolicyBindingSpecBuilder edit() { + return new ValidatingAdmissionPolicyBindingSpecBuilder(this); + } + + @JsonIgnore + public ValidatingAdmissionPolicyBindingSpecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + +} diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.java new file mode 100644 index 00000000000..c093c47f26c --- /dev/null +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.java @@ -0,0 +1,192 @@ + +package io.fabric8.kubernetes.api.model.admissionregistration.v1beta1; + +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.Setter; +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 +@Setter +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @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("v1beta1") +@Group("admissionregistration.k8s.io") +@Generated("jsonschema2pojo") +public class ValidatingAdmissionPolicyList implements Editable , KubernetesResource, KubernetesResourceList +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "admissionregistration.k8s.io/v1beta1"; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList(); + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "ValidatingAdmissionPolicyList"; + @JsonProperty("metadata") + private ListMeta metadata; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ValidatingAdmissionPolicyList() { + } + + public ValidatingAdmissionPolicyList(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") + 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 ValidatingAdmissionPolicyListBuilder edit() { + return new ValidatingAdmissionPolicyListBuilder(this); + } + + @JsonIgnore + public ValidatingAdmissionPolicyListBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + +} diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingAdmissionPolicySpec.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingAdmissionPolicySpec.java new file mode 100644 index 00000000000..7a8f26ff5ad --- /dev/null +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingAdmissionPolicySpec.java @@ -0,0 +1,199 @@ + +package io.fabric8.kubernetes.api.model.admissionregistration.v1beta1; + +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.Setter; +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", + "auditAnnotations", + "failurePolicy", + "matchConditions", + "matchConstraints", + "paramKind", + "validations", + "variables" +}) +@ToString +@EqualsAndHashCode +@Setter +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ValidatingAdmissionPolicySpec implements Editable , KubernetesResource +{ + + @JsonProperty("auditAnnotations") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List auditAnnotations = new ArrayList(); + @JsonProperty("failurePolicy") + private String failurePolicy; + @JsonProperty("matchConditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchConditions = new ArrayList(); + @JsonProperty("matchConstraints") + private MatchResources matchConstraints; + @JsonProperty("paramKind") + private ParamKind paramKind; + @JsonProperty("validations") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List validations = new ArrayList(); + @JsonProperty("variables") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List variables = new ArrayList(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ValidatingAdmissionPolicySpec() { + } + + public ValidatingAdmissionPolicySpec(List auditAnnotations, String failurePolicy, List matchConditions, MatchResources matchConstraints, ParamKind paramKind, List validations, List variables) { + super(); + this.auditAnnotations = auditAnnotations; + this.failurePolicy = failurePolicy; + this.matchConditions = matchConditions; + this.matchConstraints = matchConstraints; + this.paramKind = paramKind; + this.validations = validations; + this.variables = variables; + } + + @JsonProperty("auditAnnotations") + public List getAuditAnnotations() { + return auditAnnotations; + } + + @JsonProperty("auditAnnotations") + public void setAuditAnnotations(List auditAnnotations) { + this.auditAnnotations = auditAnnotations; + } + + @JsonProperty("failurePolicy") + public String getFailurePolicy() { + return failurePolicy; + } + + @JsonProperty("failurePolicy") + public void setFailurePolicy(String failurePolicy) { + this.failurePolicy = failurePolicy; + } + + @JsonProperty("matchConditions") + public List getMatchConditions() { + return matchConditions; + } + + @JsonProperty("matchConditions") + public void setMatchConditions(List matchConditions) { + this.matchConditions = matchConditions; + } + + @JsonProperty("matchConstraints") + public MatchResources getMatchConstraints() { + return matchConstraints; + } + + @JsonProperty("matchConstraints") + public void setMatchConstraints(MatchResources matchConstraints) { + this.matchConstraints = matchConstraints; + } + + @JsonProperty("paramKind") + public ParamKind getParamKind() { + return paramKind; + } + + @JsonProperty("paramKind") + public void setParamKind(ParamKind paramKind) { + this.paramKind = paramKind; + } + + @JsonProperty("validations") + public List getValidations() { + return validations; + } + + @JsonProperty("validations") + public void setValidations(List validations) { + this.validations = validations; + } + + @JsonProperty("variables") + public List getVariables() { + return variables; + } + + @JsonProperty("variables") + public void setVariables(List variables) { + this.variables = variables; + } + + @JsonIgnore + public ValidatingAdmissionPolicySpecBuilder edit() { + return new ValidatingAdmissionPolicySpecBuilder(this); + } + + @JsonIgnore + public ValidatingAdmissionPolicySpecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + +} diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingAdmissionPolicyStatus.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingAdmissionPolicyStatus.java new file mode 100644 index 00000000000..3d262f19acd --- /dev/null +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingAdmissionPolicyStatus.java @@ -0,0 +1,141 @@ + +package io.fabric8.kubernetes.api.model.admissionregistration.v1beta1; + +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.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; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.Setter; +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", + "conditions", + "observedGeneration", + "typeChecking" +}) +@ToString +@EqualsAndHashCode +@Setter +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ValidatingAdmissionPolicyStatus implements Editable , KubernetesResource +{ + + @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List conditions = new ArrayList(); + @JsonProperty("observedGeneration") + private Long observedGeneration; + @JsonProperty("typeChecking") + private TypeChecking typeChecking; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ValidatingAdmissionPolicyStatus() { + } + + public ValidatingAdmissionPolicyStatus(List conditions, Long observedGeneration, TypeChecking typeChecking) { + super(); + this.conditions = conditions; + this.observedGeneration = observedGeneration; + this.typeChecking = typeChecking; + } + + @JsonProperty("conditions") + public List getConditions() { + return conditions; + } + + @JsonProperty("conditions") + public void setConditions(List conditions) { + this.conditions = conditions; + } + + @JsonProperty("observedGeneration") + public Long getObservedGeneration() { + return observedGeneration; + } + + @JsonProperty("observedGeneration") + public void setObservedGeneration(Long observedGeneration) { + this.observedGeneration = observedGeneration; + } + + @JsonProperty("typeChecking") + public TypeChecking getTypeChecking() { + return typeChecking; + } + + @JsonProperty("typeChecking") + public void setTypeChecking(TypeChecking typeChecking) { + this.typeChecking = typeChecking; + } + + @JsonIgnore + public ValidatingAdmissionPolicyStatusBuilder edit() { + return new ValidatingAdmissionPolicyStatusBuilder(this); + } + + @JsonIgnore + public ValidatingAdmissionPolicyStatusBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + +} diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingWebhook.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingWebhook.java index 8a38aaac7fe..f9a4372747b 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingWebhook.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingWebhook.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -67,7 +68,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidatingWebhook implements KubernetesResource +public class ValidatingWebhook implements Editable , KubernetesResource { @JsonProperty("admissionReviewVersions") @@ -230,6 +231,16 @@ public void setTimeoutSeconds(Integer timeoutSeconds) { this.timeoutSeconds = timeoutSeconds; } + @JsonIgnore + public ValidatingWebhookBuilder edit() { + return new ValidatingWebhookBuilder(this); + } + + @JsonIgnore + public ValidatingWebhookBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingWebhookConfiguration.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingWebhookConfiguration.java index d56d4c6d06b..befbd7e7342 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingWebhookConfiguration.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingWebhookConfiguration.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1beta1") @Group("admissionregistration.k8s.io") @Generated("jsonschema2pojo") -public class ValidatingWebhookConfiguration implements HasMetadata +public class ValidatingWebhookConfiguration implements Editable , HasMetadata { /** @@ -165,6 +166,16 @@ public void setWebhooks(List webhooks) { this.webhooks = webhooks; } + @JsonIgnore + public ValidatingWebhookConfigurationBuilder edit() { + return new ValidatingWebhookConfigurationBuilder(this); + } + + @JsonIgnore + public ValidatingWebhookConfigurationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.java index 26660bdee1c..8b79fbbec26 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("admissionregistration.k8s.io") @Generated("jsonschema2pojo") -public class ValidatingWebhookConfigurationList implements KubernetesResource, KubernetesResourceList +public class ValidatingWebhookConfigurationList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ValidatingWebhookConfigurationListBuilder edit() { + return new ValidatingWebhookConfigurationListBuilder(this); + } + + @JsonIgnore + public ValidatingWebhookConfigurationListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/Validation.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/Validation.java new file mode 100644 index 00000000000..0d66131a2cd --- /dev/null +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/Validation.java @@ -0,0 +1,151 @@ + +package io.fabric8.kubernetes.api.model.admissionregistration.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.Setter; +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", + "expression", + "message", + "messageExpression", + "reason" +}) +@ToString +@EqualsAndHashCode +@Setter +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class Validation implements Editable , KubernetesResource +{ + + @JsonProperty("expression") + private String expression; + @JsonProperty("message") + private String message; + @JsonProperty("messageExpression") + private String messageExpression; + @JsonProperty("reason") + private String reason; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public Validation() { + } + + public Validation(String expression, String message, String messageExpression, String reason) { + super(); + this.expression = expression; + this.message = message; + this.messageExpression = messageExpression; + this.reason = reason; + } + + @JsonProperty("expression") + public String getExpression() { + return expression; + } + + @JsonProperty("expression") + public void setExpression(String expression) { + this.expression = expression; + } + + @JsonProperty("message") + public String getMessage() { + return message; + } + + @JsonProperty("message") + public void setMessage(String message) { + this.message = message; + } + + @JsonProperty("messageExpression") + public String getMessageExpression() { + return messageExpression; + } + + @JsonProperty("messageExpression") + public void setMessageExpression(String messageExpression) { + this.messageExpression = messageExpression; + } + + @JsonProperty("reason") + public String getReason() { + return reason; + } + + @JsonProperty("reason") + public void setReason(String reason) { + this.reason = reason; + } + + @JsonIgnore + public ValidationBuilder edit() { + return new ValidationBuilder(this); + } + + @JsonIgnore + public ValidationBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + +} diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/Variable.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/Variable.java new file mode 100644 index 00000000000..d5ee47c14f7 --- /dev/null +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/Variable.java @@ -0,0 +1,123 @@ + +package io.fabric8.kubernetes.api.model.admissionregistration.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.Setter; +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", + "expression", + "name" +}) +@ToString +@EqualsAndHashCode +@Setter +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class Variable implements Editable , KubernetesResource +{ + + @JsonProperty("expression") + private String expression; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public Variable() { + } + + public Variable(String expression, String name) { + super(); + this.expression = expression; + this.name = name; + } + + @JsonProperty("expression") + public String getExpression() { + return expression; + } + + @JsonProperty("expression") + public void setExpression(String expression) { + this.expression = expression; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public VariableBuilder edit() { + return new VariableBuilder(this); + } + + @JsonIgnore + public VariableBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + +} diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/WebhookClientConfig.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/WebhookClientConfig.java index 792d9cc5d20..e5b04610ea4 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/WebhookClientConfig.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/WebhookClientConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class WebhookClientConfig implements KubernetesResource +public class WebhookClientConfig implements Editable , KubernetesResource { @JsonProperty("caBundle") @@ -113,6 +114,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public WebhookClientConfigBuilder edit() { + return new WebhookClientConfigBuilder(this); + } + + @JsonIgnore + public WebhookClientConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/BoundObjectReference.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/BoundObjectReference.java index 4b53d095528..1ae2bddaf3a 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/BoundObjectReference.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/BoundObjectReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BoundObjectReference implements KubernetesResource +public class BoundObjectReference implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -125,6 +126,16 @@ public void setUid(String uid) { this.uid = uid; } + @JsonIgnore + public BoundObjectReferenceBuilder edit() { + return new BoundObjectReferenceBuilder(this); + } + + @JsonIgnore + public BoundObjectReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/SelfSubjectReview.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/SelfSubjectReview.java new file mode 100644 index 00000000000..9aff3608861 --- /dev/null +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/SelfSubjectReview.java @@ -0,0 +1,186 @@ + +package io.fabric8.kubernetes.api.model.authentication; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.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.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.Setter; +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", + "status" +}) +@ToString +@EqualsAndHashCode +@Setter +@Accessors(prefix = { + "_", + "" +}) +@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(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("v1") +@Group("authentication.k8s.io") +@Generated("jsonschema2pojo") +public class SelfSubjectReview implements Editable , HasMetadata +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "authentication.k8s.io/v1"; + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "SelfSubjectReview"; + @JsonProperty("metadata") + private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + @JsonProperty("status") + private SelfSubjectReviewStatus status; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SelfSubjectReview() { + } + + public SelfSubjectReview(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, SelfSubjectReviewStatus status) { + super(); + this.apiVersion = apiVersion; + this.kind = kind; + this.metadata = metadata; + 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 io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + this.metadata = metadata; + } + + @JsonProperty("status") + public SelfSubjectReviewStatus getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(SelfSubjectReviewStatus status) { + this.status = status; + } + + @JsonIgnore + public SelfSubjectReviewBuilder edit() { + return new SelfSubjectReviewBuilder(this); + } + + @JsonIgnore + public SelfSubjectReviewBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + +} diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicyStatus.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/SelfSubjectReviewStatus.java similarity index 75% rename from kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicyStatus.java rename to kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/SelfSubjectReviewStatus.java index 2e7c553010b..e881906d38f 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicyStatus.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/SelfSubjectReviewStatus.java @@ -1,9 +1,7 @@ -package io.fabric8.kubernetes.api.model.extensions; +package io.fabric8.kubernetes.api.model.authentication; -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; @@ -13,7 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.kubernetes.api.model.Condition; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -37,7 +35,7 @@ "apiVersion", "kind", "metadata", - "conditions" + "userInfo" }) @ToString @EqualsAndHashCode @@ -58,12 +56,11 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NetworkPolicyStatus implements KubernetesResource +public class SelfSubjectReviewStatus implements Editable , KubernetesResource { - @JsonProperty("conditions") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List conditions = new ArrayList(); + @JsonProperty("userInfo") + private UserInfo userInfo; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -71,22 +68,32 @@ public class NetworkPolicyStatus implements KubernetesResource * No args constructor for use in serialization * */ - public NetworkPolicyStatus() { + public SelfSubjectReviewStatus() { } - public NetworkPolicyStatus(List conditions) { + public SelfSubjectReviewStatus(UserInfo userInfo) { super(); - this.conditions = conditions; + this.userInfo = userInfo; } - @JsonProperty("conditions") - public List getConditions() { - return conditions; + @JsonProperty("userInfo") + public UserInfo getUserInfo() { + return userInfo; } - @JsonProperty("conditions") - public void setConditions(List conditions) { - this.conditions = conditions; + @JsonProperty("userInfo") + public void setUserInfo(UserInfo userInfo) { + this.userInfo = userInfo; + } + + @JsonIgnore + public SelfSubjectReviewStatusBuilder edit() { + return new SelfSubjectReviewStatusBuilder(this); + } + + @JsonIgnore + public SelfSubjectReviewStatusBuilder toBuilder() { + return edit(); } @JsonAnyGetter diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/TokenRequest.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/TokenRequest.java index 57103a83c7c..08eb0cd3262 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/TokenRequest.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/TokenRequest.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("authentication.k8s.io") @Generated("jsonschema2pojo") -public class TokenRequest implements HasMetadata, Namespaced +public class TokenRequest implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(TokenRequestStatus status) { this.status = status; } + @JsonIgnore + public TokenRequestBuilder edit() { + return new TokenRequestBuilder(this); + } + + @JsonIgnore + public TokenRequestBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/TokenRequestSpec.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/TokenRequestSpec.java index f1ffb28f161..2a6849f7dce 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/TokenRequestSpec.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/TokenRequestSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TokenRequestSpec implements KubernetesResource +public class TokenRequestSpec implements Editable , KubernetesResource { @JsonProperty("audiences") @@ -116,6 +117,16 @@ public void setExpirationSeconds(Long expirationSeconds) { this.expirationSeconds = expirationSeconds; } + @JsonIgnore + public TokenRequestSpecBuilder edit() { + return new TokenRequestSpecBuilder(this); + } + + @JsonIgnore + public TokenRequestSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/TokenRequestStatus.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/TokenRequestStatus.java index a514c5479b9..9fa46029426 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/TokenRequestStatus.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/TokenRequestStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TokenRequestStatus implements KubernetesResource +public class TokenRequestStatus implements Editable , KubernetesResource { @JsonProperty("expirationTimestamp") @@ -99,6 +100,16 @@ public void setToken(java.lang.String token) { this.token = token; } + @JsonIgnore + public TokenRequestStatusBuilder edit() { + return new TokenRequestStatusBuilder(this); + } + + @JsonIgnore + public TokenRequestStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/TokenReview.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/TokenReview.java index 965bb714386..18375a74191 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/TokenReview.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/TokenReview.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("authentication.k8s.io") @Generated("jsonschema2pojo") -public class TokenReview implements HasMetadata +public class TokenReview implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(TokenReviewStatus status) { this.status = status; } + @JsonIgnore + public TokenReviewBuilder edit() { + return new TokenReviewBuilder(this); + } + + @JsonIgnore + public TokenReviewBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/TokenReviewSpec.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/TokenReviewSpec.java index 6277dad7394..9edf62ce140 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/TokenReviewSpec.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/TokenReviewSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TokenReviewSpec implements KubernetesResource +public class TokenReviewSpec implements Editable , KubernetesResource { @JsonProperty("audiences") @@ -102,6 +103,16 @@ public void setToken(String token) { this.token = token; } + @JsonIgnore + public TokenReviewSpecBuilder edit() { + return new TokenReviewSpecBuilder(this); + } + + @JsonIgnore + public TokenReviewSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/TokenReviewStatus.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/TokenReviewStatus.java index 0987f1981a5..e8083f5c198 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/TokenReviewStatus.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/TokenReviewStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TokenReviewStatus implements KubernetesResource +public class TokenReviewStatus implements Editable , KubernetesResource { @JsonProperty("audiences") @@ -130,6 +131,16 @@ public void setUser(UserInfo user) { this.user = user; } + @JsonIgnore + public TokenReviewStatusBuilder edit() { + return new TokenReviewStatusBuilder(this); + } + + @JsonIgnore + public TokenReviewStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/UserInfo.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/UserInfo.java index 20370ad26d7..d209f784470 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/UserInfo.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/UserInfo.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class UserInfo implements KubernetesResource +public class UserInfo implements Editable , KubernetesResource { @JsonProperty("extra") @@ -131,6 +132,16 @@ public void setUsername(java.lang.String username) { this.username = username; } + @JsonIgnore + public UserInfoBuilder edit() { + return new UserInfoBuilder(this); + } + + @JsonIgnore + public UserInfoBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/v1alpha1/SelfSubjectReview.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/v1alpha1/SelfSubjectReview.java index 9c154614cc5..c47d2ec0e06 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/v1alpha1/SelfSubjectReview.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/v1alpha1/SelfSubjectReview.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -63,7 +64,7 @@ @Version("v1alpha1") @Group("authentication.k8s.io") @Generated("jsonschema2pojo") -public class SelfSubjectReview implements HasMetadata +public class SelfSubjectReview implements Editable , HasMetadata { /** @@ -162,6 +163,16 @@ public void setStatus(SelfSubjectReviewStatus status) { this.status = status; } + @JsonIgnore + public SelfSubjectReviewBuilder edit() { + return new SelfSubjectReviewBuilder(this); + } + + @JsonIgnore + public SelfSubjectReviewBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/v1alpha1/SelfSubjectReviewStatus.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/v1alpha1/SelfSubjectReviewStatus.java index bbcdcd9b036..c2d1ba5ee81 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/v1alpha1/SelfSubjectReviewStatus.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/v1alpha1/SelfSubjectReviewStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SelfSubjectReviewStatus implements KubernetesResource +public class SelfSubjectReviewStatus implements Editable , KubernetesResource { @JsonProperty("userInfo") @@ -86,6 +87,16 @@ public void setUserInfo(UserInfo userInfo) { this.userInfo = userInfo; } + @JsonIgnore + public SelfSubjectReviewStatusBuilder edit() { + return new SelfSubjectReviewStatusBuilder(this); + } + + @JsonIgnore + public SelfSubjectReviewStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/v1beta1/SelfSubjectReview.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/v1beta1/SelfSubjectReview.java index 25cfa167cb7..a0caede03e3 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/v1beta1/SelfSubjectReview.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/v1beta1/SelfSubjectReview.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -63,7 +64,7 @@ @Version("v1beta1") @Group("authentication.k8s.io") @Generated("jsonschema2pojo") -public class SelfSubjectReview implements HasMetadata +public class SelfSubjectReview implements Editable , HasMetadata { /** @@ -162,6 +163,16 @@ public void setStatus(SelfSubjectReviewStatus status) { this.status = status; } + @JsonIgnore + public SelfSubjectReviewBuilder edit() { + return new SelfSubjectReviewBuilder(this); + } + + @JsonIgnore + public SelfSubjectReviewBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/v1beta1/SelfSubjectReviewStatus.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/v1beta1/SelfSubjectReviewStatus.java index 4282df7e480..501ef570c4e 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/v1beta1/SelfSubjectReviewStatus.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/v1beta1/SelfSubjectReviewStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SelfSubjectReviewStatus implements KubernetesResource +public class SelfSubjectReviewStatus implements Editable , KubernetesResource { @JsonProperty("userInfo") @@ -86,6 +87,16 @@ public void setUserInfo(UserInfo userInfo) { this.userInfo = userInfo; } + @JsonIgnore + public SelfSubjectReviewStatusBuilder edit() { + return new SelfSubjectReviewStatusBuilder(this); + } + + @JsonIgnore + public SelfSubjectReviewStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/LocalSubjectAccessReview.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/LocalSubjectAccessReview.java index c2f8145c5cc..c0eec4c7ba4 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/LocalSubjectAccessReview.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/LocalSubjectAccessReview.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("authorization.k8s.io") @Generated("jsonschema2pojo") -public class LocalSubjectAccessReview implements HasMetadata, Namespaced +public class LocalSubjectAccessReview implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(SubjectAccessReviewStatus status) { this.status = status; } + @JsonIgnore + public LocalSubjectAccessReviewBuilder edit() { + return new LocalSubjectAccessReviewBuilder(this); + } + + @JsonIgnore + public LocalSubjectAccessReviewBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/NonResourceAttributes.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/NonResourceAttributes.java index dc31fd7716f..bcb81e7b2ab 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/NonResourceAttributes.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/NonResourceAttributes.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NonResourceAttributes implements KubernetesResource +public class NonResourceAttributes implements Editable , KubernetesResource { @JsonProperty("path") @@ -99,6 +100,16 @@ public void setVerb(String verb) { this.verb = verb; } + @JsonIgnore + public NonResourceAttributesBuilder edit() { + return new NonResourceAttributesBuilder(this); + } + + @JsonIgnore + public NonResourceAttributesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/NonResourceRule.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/NonResourceRule.java index fe7f8c6448f..32823dc63f5 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/NonResourceRule.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/NonResourceRule.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NonResourceRule implements KubernetesResource +public class NonResourceRule implements Editable , KubernetesResource { @JsonProperty("nonResourceURLs") @@ -103,6 +104,16 @@ public void setVerbs(List verbs) { this.verbs = verbs; } + @JsonIgnore + public NonResourceRuleBuilder edit() { + return new NonResourceRuleBuilder(this); + } + + @JsonIgnore + public NonResourceRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/ResourceAttributes.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/ResourceAttributes.java index d7711743cc3..ee755a2ac1a 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/ResourceAttributes.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/ResourceAttributes.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ResourceAttributes implements KubernetesResource +public class ResourceAttributes implements Editable , KubernetesResource { @JsonProperty("group") @@ -169,6 +170,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public ResourceAttributesBuilder edit() { + return new ResourceAttributesBuilder(this); + } + + @JsonIgnore + public ResourceAttributesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/ResourceRule.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/ResourceRule.java index e9e5b15bcea..290d8c5475b 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/ResourceRule.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/ResourceRule.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ResourceRule implements KubernetesResource +public class ResourceRule implements Editable , KubernetesResource { @JsonProperty("apiGroups") @@ -133,6 +134,16 @@ public void setVerbs(List verbs) { this.verbs = verbs; } + @JsonIgnore + public ResourceRuleBuilder edit() { + return new ResourceRuleBuilder(this); + } + + @JsonIgnore + public ResourceRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SelfSubjectAccessReview.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SelfSubjectAccessReview.java index d651a262ab0..9247ac28bcf 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SelfSubjectAccessReview.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SelfSubjectAccessReview.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("authorization.k8s.io") @Generated("jsonschema2pojo") -public class SelfSubjectAccessReview implements HasMetadata +public class SelfSubjectAccessReview implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(SubjectAccessReviewStatus status) { this.status = status; } + @JsonIgnore + public SelfSubjectAccessReviewBuilder edit() { + return new SelfSubjectAccessReviewBuilder(this); + } + + @JsonIgnore + public SelfSubjectAccessReviewBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SelfSubjectAccessReviewSpec.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SelfSubjectAccessReviewSpec.java index fe79dcc9bcc..41de2fef937 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SelfSubjectAccessReviewSpec.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SelfSubjectAccessReviewSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SelfSubjectAccessReviewSpec implements KubernetesResource +public class SelfSubjectAccessReviewSpec implements Editable , KubernetesResource { @JsonProperty("nonResourceAttributes") @@ -99,6 +100,16 @@ public void setResourceAttributes(ResourceAttributes resourceAttributes) { this.resourceAttributes = resourceAttributes; } + @JsonIgnore + public SelfSubjectAccessReviewSpecBuilder edit() { + return new SelfSubjectAccessReviewSpecBuilder(this); + } + + @JsonIgnore + public SelfSubjectAccessReviewSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SelfSubjectRulesReview.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SelfSubjectRulesReview.java index 8fed7d98a68..b4fb9d3e22a 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SelfSubjectRulesReview.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SelfSubjectRulesReview.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("authorization.k8s.io") @Generated("jsonschema2pojo") -public class SelfSubjectRulesReview implements HasMetadata +public class SelfSubjectRulesReview implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(SubjectRulesReviewStatus status) { this.status = status; } + @JsonIgnore + public SelfSubjectRulesReviewBuilder edit() { + return new SelfSubjectRulesReviewBuilder(this); + } + + @JsonIgnore + public SelfSubjectRulesReviewBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SelfSubjectRulesReviewSpec.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SelfSubjectRulesReviewSpec.java index 0f7d754554a..d787013e2d0 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SelfSubjectRulesReviewSpec.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SelfSubjectRulesReviewSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SelfSubjectRulesReviewSpec implements KubernetesResource +public class SelfSubjectRulesReviewSpec implements Editable , KubernetesResource { @JsonProperty("namespace") @@ -85,6 +86,16 @@ public void setNamespace(String namespace) { this.namespace = namespace; } + @JsonIgnore + public SelfSubjectRulesReviewSpecBuilder edit() { + return new SelfSubjectRulesReviewSpecBuilder(this); + } + + @JsonIgnore + public SelfSubjectRulesReviewSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SubjectAccessReview.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SubjectAccessReview.java index b8a0c49e0e8..dd60f135d57 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SubjectAccessReview.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SubjectAccessReview.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("authorization.k8s.io") @Generated("jsonschema2pojo") -public class SubjectAccessReview implements HasMetadata +public class SubjectAccessReview implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(SubjectAccessReviewStatus status) { this.status = status; } + @JsonIgnore + public SubjectAccessReviewBuilder edit() { + return new SubjectAccessReviewBuilder(this); + } + + @JsonIgnore + public SubjectAccessReviewBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SubjectAccessReviewSpec.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SubjectAccessReviewSpec.java index 8466d1f3e26..34e2a8e43d5 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SubjectAccessReviewSpec.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SubjectAccessReviewSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SubjectAccessReviewSpec implements KubernetesResource +public class SubjectAccessReviewSpec implements Editable , KubernetesResource { @JsonProperty("extra") @@ -159,6 +160,16 @@ public void setUser(java.lang.String user) { this.user = user; } + @JsonIgnore + public SubjectAccessReviewSpecBuilder edit() { + return new SubjectAccessReviewSpecBuilder(this); + } + + @JsonIgnore + public SubjectAccessReviewSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SubjectAccessReviewStatus.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SubjectAccessReviewStatus.java index 2e1dab4e3dc..c3d7e6353c2 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SubjectAccessReviewStatus.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SubjectAccessReviewStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SubjectAccessReviewStatus implements KubernetesResource +public class SubjectAccessReviewStatus implements Editable , KubernetesResource { @JsonProperty("allowed") @@ -127,6 +128,16 @@ public void setReason(String reason) { this.reason = reason; } + @JsonIgnore + public SubjectAccessReviewStatusBuilder edit() { + return new SubjectAccessReviewStatusBuilder(this); + } + + @JsonIgnore + public SubjectAccessReviewStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SubjectRulesReviewStatus.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SubjectRulesReviewStatus.java index 2bf7ca0982f..d7e2793bc20 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SubjectRulesReviewStatus.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SubjectRulesReviewStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SubjectRulesReviewStatus implements KubernetesResource +public class SubjectRulesReviewStatus implements Editable , KubernetesResource { @JsonProperty("evaluationError") @@ -131,6 +132,16 @@ public void setResourceRules(List resourceRules) { this.resourceRules = resourceRules; } + @JsonIgnore + public SubjectRulesReviewStatusBuilder edit() { + return new SubjectRulesReviewStatusBuilder(this); + } + + @JsonIgnore + public SubjectRulesReviewStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/LocalSubjectAccessReview.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/LocalSubjectAccessReview.java index 8572af750d6..1a48491fd7a 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/LocalSubjectAccessReview.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/LocalSubjectAccessReview.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1beta1") @Group("authorization.k8s.io") @Generated("jsonschema2pojo") -public class LocalSubjectAccessReview implements HasMetadata, Namespaced +public class LocalSubjectAccessReview implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(SubjectAccessReviewStatus status) { this.status = status; } + @JsonIgnore + public LocalSubjectAccessReviewBuilder edit() { + return new LocalSubjectAccessReviewBuilder(this); + } + + @JsonIgnore + public LocalSubjectAccessReviewBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/NonResourceAttributes.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/NonResourceAttributes.java index 381677ee26d..0b3c2153f48 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/NonResourceAttributes.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/NonResourceAttributes.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NonResourceAttributes implements KubernetesResource +public class NonResourceAttributes implements Editable , KubernetesResource { @JsonProperty("path") @@ -99,6 +100,16 @@ public void setVerb(String verb) { this.verb = verb; } + @JsonIgnore + public NonResourceAttributesBuilder edit() { + return new NonResourceAttributesBuilder(this); + } + + @JsonIgnore + public NonResourceAttributesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/NonResourceRule.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/NonResourceRule.java index 2dd7a31caa9..747c9bfa06b 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/NonResourceRule.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/NonResourceRule.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NonResourceRule implements KubernetesResource +public class NonResourceRule implements Editable , KubernetesResource { @JsonProperty("nonResourceURLs") @@ -103,6 +104,16 @@ public void setVerbs(List verbs) { this.verbs = verbs; } + @JsonIgnore + public NonResourceRuleBuilder edit() { + return new NonResourceRuleBuilder(this); + } + + @JsonIgnore + public NonResourceRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/ResourceAttributes.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/ResourceAttributes.java index b7c78a80035..c3efc44df34 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/ResourceAttributes.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/ResourceAttributes.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ResourceAttributes implements KubernetesResource +public class ResourceAttributes implements Editable , KubernetesResource { @JsonProperty("group") @@ -169,6 +170,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public ResourceAttributesBuilder edit() { + return new ResourceAttributesBuilder(this); + } + + @JsonIgnore + public ResourceAttributesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/ResourceRule.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/ResourceRule.java index fbb1f868ff2..cb8b980263a 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/ResourceRule.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/ResourceRule.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ResourceRule implements KubernetesResource +public class ResourceRule implements Editable , KubernetesResource { @JsonProperty("apiGroups") @@ -133,6 +134,16 @@ public void setVerbs(List verbs) { this.verbs = verbs; } + @JsonIgnore + public ResourceRuleBuilder edit() { + return new ResourceRuleBuilder(this); + } + + @JsonIgnore + public ResourceRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SelfSubjectAccessReview.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SelfSubjectAccessReview.java index da65dbb6be3..b8b2860a271 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SelfSubjectAccessReview.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SelfSubjectAccessReview.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1beta1") @Group("authorization.k8s.io") @Generated("jsonschema2pojo") -public class SelfSubjectAccessReview implements HasMetadata +public class SelfSubjectAccessReview implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(SubjectAccessReviewStatus status) { this.status = status; } + @JsonIgnore + public SelfSubjectAccessReviewBuilder edit() { + return new SelfSubjectAccessReviewBuilder(this); + } + + @JsonIgnore + public SelfSubjectAccessReviewBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SelfSubjectAccessReviewSpec.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SelfSubjectAccessReviewSpec.java index 221fb979e9d..78afc6597b4 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SelfSubjectAccessReviewSpec.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SelfSubjectAccessReviewSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SelfSubjectAccessReviewSpec implements KubernetesResource +public class SelfSubjectAccessReviewSpec implements Editable , KubernetesResource { @JsonProperty("nonResourceAttributes") @@ -99,6 +100,16 @@ public void setResourceAttributes(ResourceAttributes resourceAttributes) { this.resourceAttributes = resourceAttributes; } + @JsonIgnore + public SelfSubjectAccessReviewSpecBuilder edit() { + return new SelfSubjectAccessReviewSpecBuilder(this); + } + + @JsonIgnore + public SelfSubjectAccessReviewSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SelfSubjectRulesReview.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SelfSubjectRulesReview.java index 6e2f9317f4c..6dd0631bc89 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SelfSubjectRulesReview.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SelfSubjectRulesReview.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1beta1") @Group("authorization.k8s.io") @Generated("jsonschema2pojo") -public class SelfSubjectRulesReview implements HasMetadata +public class SelfSubjectRulesReview implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(SubjectRulesReviewStatus status) { this.status = status; } + @JsonIgnore + public SelfSubjectRulesReviewBuilder edit() { + return new SelfSubjectRulesReviewBuilder(this); + } + + @JsonIgnore + public SelfSubjectRulesReviewBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SelfSubjectRulesReviewSpec.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SelfSubjectRulesReviewSpec.java index 62ac3812393..0ab2e29a590 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SelfSubjectRulesReviewSpec.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SelfSubjectRulesReviewSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SelfSubjectRulesReviewSpec implements KubernetesResource +public class SelfSubjectRulesReviewSpec implements Editable , KubernetesResource { @JsonProperty("namespace") @@ -85,6 +86,16 @@ public void setNamespace(String namespace) { this.namespace = namespace; } + @JsonIgnore + public SelfSubjectRulesReviewSpecBuilder edit() { + return new SelfSubjectRulesReviewSpecBuilder(this); + } + + @JsonIgnore + public SelfSubjectRulesReviewSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SubjectAccessReview.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SubjectAccessReview.java index 19a91301d24..ae46f6a6d24 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SubjectAccessReview.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SubjectAccessReview.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1beta1") @Group("authorization.k8s.io") @Generated("jsonschema2pojo") -public class SubjectAccessReview implements HasMetadata +public class SubjectAccessReview implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(SubjectAccessReviewStatus status) { this.status = status; } + @JsonIgnore + public SubjectAccessReviewBuilder edit() { + return new SubjectAccessReviewBuilder(this); + } + + @JsonIgnore + public SubjectAccessReviewBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SubjectAccessReviewSpec.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SubjectAccessReviewSpec.java index f33c1cd8b93..316de32bba0 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SubjectAccessReviewSpec.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SubjectAccessReviewSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SubjectAccessReviewSpec implements KubernetesResource +public class SubjectAccessReviewSpec implements Editable , KubernetesResource { @JsonProperty("extra") @@ -159,6 +160,16 @@ public void setUser(java.lang.String user) { this.user = user; } + @JsonIgnore + public SubjectAccessReviewSpecBuilder edit() { + return new SubjectAccessReviewSpecBuilder(this); + } + + @JsonIgnore + public SubjectAccessReviewSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SubjectAccessReviewStatus.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SubjectAccessReviewStatus.java index 50a562c0039..8cdeace9089 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SubjectAccessReviewStatus.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SubjectAccessReviewStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SubjectAccessReviewStatus implements KubernetesResource +public class SubjectAccessReviewStatus implements Editable , KubernetesResource { @JsonProperty("allowed") @@ -127,6 +128,16 @@ public void setReason(String reason) { this.reason = reason; } + @JsonIgnore + public SubjectAccessReviewStatusBuilder edit() { + return new SubjectAccessReviewStatusBuilder(this); + } + + @JsonIgnore + public SubjectAccessReviewStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SubjectRulesReviewStatus.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SubjectRulesReviewStatus.java index 04acc48ae13..9219db1fee5 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SubjectRulesReviewStatus.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SubjectRulesReviewStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SubjectRulesReviewStatus implements KubernetesResource +public class SubjectRulesReviewStatus implements Editable , KubernetesResource { @JsonProperty("evaluationError") @@ -131,6 +132,16 @@ public void setResourceRules(List resourceRules) { this.resourceRules = resourceRules; } + @JsonIgnore + public SubjectRulesReviewStatusBuilder edit() { + return new SubjectRulesReviewStatusBuilder(this); + } + + @JsonIgnore + public SubjectRulesReviewStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/main/resources/schema/kube-schema.json b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/main/resources/schema/kube-schema.json index 2f18a670d7f..76c9dc48d63 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/main/resources/schema/kube-schema.json +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/main/resources/schema/kube-schema.json @@ -817,6 +817,13 @@ }, "namespace": { "type": "string" + }, + "parameterNotFoundAction": { + "type": "string" + }, + "selector": { + "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", + "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" } }, "additionalProperties": true, @@ -1034,6 +1041,13 @@ "$ref": "#/definitions/kubernetes_admissionregistration_v1alpha1_Validation", "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.Validation" } + }, + "variables": { + "type": "array", + "items": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1alpha1_Variable", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.Variable" + } } }, "additionalProperties": true, @@ -1090,6 +1104,54 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, + "kubernetes_admissionregistration_v1alpha1_Variable": { + "type": "object", + "properties": { + "expression": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.Variable", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "kubernetes_admissionregistration_v1beta1_AuditAnnotation": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "valueExpression": { + "type": "string" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.AuditAnnotation", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "kubernetes_admissionregistration_v1beta1_ExpressionWarning": { + "type": "object", + "properties": { + "fieldRef": { + "type": "string" + }, + "warning": { + "type": "string" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ExpressionWarning", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, "kubernetes_admissionregistration_v1beta1_MatchCondition": { "type": "object", "properties": { @@ -1106,6 +1168,43 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, + "kubernetes_admissionregistration_v1beta1_MatchResources": { + "type": "object", + "properties": { + "excludeResourceRules": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_NamedRuleWithOperations", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.NamedRuleWithOperations" + } + }, + "matchPolicy": { + "type": "string" + }, + "namespaceSelector": { + "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", + "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" + }, + "objectSelector": { + "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", + "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" + }, + "resourceRules": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_NamedRuleWithOperations", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.NamedRuleWithOperations" + } + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MatchResources", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, "kubernetes_admissionregistration_v1beta1_MutatingWebhook": { "type": "object", "properties": { @@ -1233,6 +1332,93 @@ "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MutatingWebhookConfiguration\u003e" ] }, + "kubernetes_admissionregistration_v1beta1_NamedRuleWithOperations": { + "type": "object", + "properties": { + "apiGroups": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "type": "string" + } + }, + "apiVersions": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "type": "string" + } + }, + "operations": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "type": "string" + } + }, + "resourceNames": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "type": "string" + } + }, + "resources": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "type": "string" + } + }, + "scope": { + "type": "string" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.NamedRuleWithOperations", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "kubernetes_admissionregistration_v1beta1_ParamKind": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ParamKind", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "kubernetes_admissionregistration_v1beta1_ParamRef": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameterNotFoundAction": { + "type": "string" + }, + "selector": { + "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", + "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ParamRef", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, "kubernetes_admissionregistration_v1beta1_ServiceReference": { "type": "object", "properties": { @@ -1255,6 +1441,256 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, + "kubernetes_admissionregistration_v1beta1_TypeChecking": { + "type": "object", + "properties": { + "expressionWarnings": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_ExpressionWarning", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ExpressionWarning" + } + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.TypeChecking", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicy": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "default": "admissionregistration.k8s.io/v1beta1", + "required": true + }, + "kind": { + "type": "string", + "default": "ValidatingAdmissionPolicy", + "required": true + }, + "metadata": { + "$ref": "#/definitions/kubernetes_apimachinery_ObjectMeta", + "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicySpec", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicySpec" + }, + "status": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicyStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyStatus" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicy", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.HasMetadata" + ] + }, + "kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicyBinding": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "default": "admissionregistration.k8s.io/v1beta1", + "required": true + }, + "kind": { + "type": "string", + "default": "ValidatingAdmissionPolicyBinding", + "required": true + }, + "metadata": { + "$ref": "#/definitions/kubernetes_apimachinery_ObjectMeta", + "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicyBindingSpec", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBindingSpec" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBinding", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.HasMetadata" + ] + }, + "kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicyBindingList": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "default": "admissionregistration.k8s.io/v1beta1", + "required": true + }, + "items": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicyBinding", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBinding" + } + }, + "kind": { + "type": "string", + "default": "ValidatingAdmissionPolicyBindingList", + "required": true + }, + "metadata": { + "$ref": "#/definitions/kubernetes_apimachinery_ListMeta", + "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBindingList", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource", + "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBinding\u003e" + ] + }, + "kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicyBindingSpec": { + "type": "object", + "properties": { + "matchResources": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_MatchResources", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MatchResources" + }, + "paramRef": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_ParamRef", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ParamRef" + }, + "policyName": { + "type": "string" + }, + "validationActions": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "type": "string" + } + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBindingSpec", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicyList": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "default": "admissionregistration.k8s.io/v1beta1", + "required": true + }, + "items": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicy", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicy" + } + }, + "kind": { + "type": "string", + "default": "ValidatingAdmissionPolicyList", + "required": true + }, + "metadata": { + "$ref": "#/definitions/kubernetes_apimachinery_ListMeta", + "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyList", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource", + "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicy\u003e" + ] + }, + "kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicySpec": { + "type": "object", + "properties": { + "auditAnnotations": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_AuditAnnotation", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.AuditAnnotation" + } + }, + "failurePolicy": { + "type": "string" + }, + "matchConditions": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_MatchCondition", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MatchCondition" + } + }, + "matchConstraints": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_MatchResources", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MatchResources" + }, + "paramKind": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_ParamKind", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ParamKind" + }, + "validations": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_Validation", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.Validation" + } + }, + "variables": { + "type": "array", + "items": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_Variable", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.Variable" + } + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicySpec", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicyStatus": { + "type": "object", + "properties": { + "conditions": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/kubernetes_apimachinery_Condition", + "existingJavaType": "io.fabric8.kubernetes.api.model.Condition" + } + }, + "observedGeneration": { + "type": "integer", + "existingJavaType": "Long" + }, + "typeChecking": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_TypeChecking", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.TypeChecking" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyStatus", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, "kubernetes_admissionregistration_v1beta1_ValidatingWebhook": { "type": "object", "properties": { @@ -1379,6 +1815,44 @@ "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingWebhookConfiguration\u003e" ] }, + "kubernetes_admissionregistration_v1beta1_Validation": { + "type": "object", + "properties": { + "expression": { + "type": "string" + }, + "message": { + "type": "string" + }, + "messageExpression": { + "type": "string" + }, + "reason": { + "type": "string" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.Validation", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "kubernetes_admissionregistration_v1beta1_Variable": { + "type": "object", + "properties": { + "expression": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.Variable", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, "kubernetes_admissionregistration_v1beta1_WebhookClientConfig": { "type": "object", "properties": { @@ -2269,6 +2743,48 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, + "kubernetes_authentication_SelfSubjectReview": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "default": "authentication.k8s.io/v1", + "required": true + }, + "kind": { + "type": "string", + "default": "SelfSubjectReview", + "required": true + }, + "metadata": { + "$ref": "#/definitions/kubernetes_apimachinery_ObjectMeta", + "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" + }, + "status": { + "$ref": "#/definitions/kubernetes_authentication_SelfSubjectReviewStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.authentication.SelfSubjectReviewStatus" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.authentication.SelfSubjectReview", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.HasMetadata" + ] + }, + "kubernetes_authentication_SelfSubjectReviewStatus": { + "type": "object", + "properties": { + "userInfo": { + "$ref": "#/definitions/kubernetes_authentication_UserInfo", + "existingJavaType": "io.fabric8.kubernetes.api.model.authentication.UserInfo" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.authentication.SelfSubjectReviewStatus", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, "kubernetes_authentication_TokenRequest": { "type": "object", "properties": { @@ -3412,6 +3928,22 @@ "$ref": "#/definitions/kubernetes_authentication_v1beta1_SelfSubjectReview", "existingJavaType": "io.fabric8.kubernetes.api.model.authentication.v1beta1.SelfSubjectReview" }, + "V1Beta1ValidatingAdmissionPolicy": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicy", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicy" + }, + "V1Beta1ValidatingAdmissionPolicyBinding": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicyBinding", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBinding" + }, + "V1Beta1ValidatingAdmissionPolicyBindingList": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicyBindingList", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBindingList" + }, + "V1Beta1ValidatingAdmissionPolicyList": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicyList", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyList" + }, "V1MutatingWebhookConfiguration": { "$ref": "#/definitions/kubernetes_admissionregistration_v1_MutatingWebhookConfiguration", "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1.MutatingWebhookConfiguration" @@ -3434,6 +3966,10 @@ "$ref": "#/definitions/kubernetes_admissionregistration_v1_RuleWithOperations", "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1.RuleWithOperations" }, + "V1SelfSubjectReview": { + "$ref": "#/definitions/kubernetes_authentication_SelfSubjectReview", + "existingJavaType": "io.fabric8.kubernetes.api.model.authentication.SelfSubjectReview" + }, "V1ServiceReference": { "$ref": "#/definitions/kubernetes_admissionregistration_v1_ServiceReference", "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1.ServiceReference" diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/main/resources/schema/validation-schema.json index 0e1ada3d605..83ad4fd0e9e 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/main/resources/schema/validation-schema.json @@ -817,6 +817,13 @@ }, "namespace": { "type": "string" + }, + "parameterNotFoundAction": { + "type": "string" + }, + "selector": { + "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", + "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" } }, "additionalProperties": true, @@ -1034,6 +1041,13 @@ "$ref": "#/definitions/kubernetes_admissionregistration_v1alpha1_Validation", "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.Validation" } + }, + "variables": { + "type": "array", + "items": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1alpha1_Variable", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.Variable" + } } }, "additionalProperties": true, @@ -1090,6 +1104,54 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, + "kubernetes_admissionregistration_v1alpha1_Variable": { + "type": "object", + "properties": { + "expression": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.Variable", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "kubernetes_admissionregistration_v1beta1_AuditAnnotation": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "valueExpression": { + "type": "string" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.AuditAnnotation", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "kubernetes_admissionregistration_v1beta1_ExpressionWarning": { + "type": "object", + "properties": { + "fieldRef": { + "type": "string" + }, + "warning": { + "type": "string" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ExpressionWarning", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, "kubernetes_admissionregistration_v1beta1_MatchCondition": { "type": "object", "properties": { @@ -1106,6 +1168,43 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, + "kubernetes_admissionregistration_v1beta1_MatchResources": { + "type": "object", + "properties": { + "excludeResourceRules": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_NamedRuleWithOperations", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.NamedRuleWithOperations" + } + }, + "matchPolicy": { + "type": "string" + }, + "namespaceSelector": { + "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", + "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" + }, + "objectSelector": { + "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", + "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" + }, + "resourceRules": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_NamedRuleWithOperations", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.NamedRuleWithOperations" + } + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MatchResources", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, "kubernetes_admissionregistration_v1beta1_MutatingWebhook": { "type": "object", "properties": { @@ -1190,67 +1289,404 @@ "type": "array", "javaOmitEmpty": true, "items": { - "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_MutatingWebhook", - "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MutatingWebhook" + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_MutatingWebhook", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MutatingWebhook" + } + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MutatingWebhookConfiguration", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.HasMetadata" + ] + }, + "kubernetes_admissionregistration_v1beta1_MutatingWebhookConfigurationList": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "default": "admissionregistration.k8s.io/v1beta1", + "required": true + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_MutatingWebhookConfiguration", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MutatingWebhookConfiguration" + } + }, + "kind": { + "type": "string", + "default": "MutatingWebhookConfigurationList", + "required": true + }, + "metadata": { + "$ref": "#/definitions/kubernetes_apimachinery_ListMeta", + "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MutatingWebhookConfigurationList", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource", + "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MutatingWebhookConfiguration\u003e" + ] + }, + "kubernetes_admissionregistration_v1beta1_NamedRuleWithOperations": { + "type": "object", + "properties": { + "apiGroups": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "type": "string" + } + }, + "apiVersions": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "type": "string" + } + }, + "operations": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "type": "string" + } + }, + "resourceNames": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "type": "string" + } + }, + "resources": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "type": "string" + } + }, + "scope": { + "type": "string" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.NamedRuleWithOperations", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "kubernetes_admissionregistration_v1beta1_ParamKind": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ParamKind", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "kubernetes_admissionregistration_v1beta1_ParamRef": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameterNotFoundAction": { + "type": "string" + }, + "selector": { + "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", + "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ParamRef", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "kubernetes_admissionregistration_v1beta1_ServiceReference": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "path": { + "type": "string" + }, + "port": { + "type": "integer" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ServiceReference", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "kubernetes_admissionregistration_v1beta1_TypeChecking": { + "type": "object", + "properties": { + "expressionWarnings": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_ExpressionWarning", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ExpressionWarning" + } + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.TypeChecking", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicy": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "default": "admissionregistration.k8s.io/v1beta1", + "required": true + }, + "kind": { + "type": "string", + "default": "ValidatingAdmissionPolicy", + "required": true + }, + "metadata": { + "$ref": "#/definitions/kubernetes_apimachinery_ObjectMeta", + "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicySpec", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicySpec" + }, + "status": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicyStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyStatus" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicy", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.HasMetadata" + ] + }, + "kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicyBinding": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "default": "admissionregistration.k8s.io/v1beta1", + "required": true + }, + "kind": { + "type": "string", + "default": "ValidatingAdmissionPolicyBinding", + "required": true + }, + "metadata": { + "$ref": "#/definitions/kubernetes_apimachinery_ObjectMeta", + "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicyBindingSpec", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBindingSpec" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBinding", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.HasMetadata" + ] + }, + "kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicyBindingList": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "default": "admissionregistration.k8s.io/v1beta1", + "required": true + }, + "items": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicyBinding", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBinding" + } + }, + "kind": { + "type": "string", + "default": "ValidatingAdmissionPolicyBindingList", + "required": true + }, + "metadata": { + "$ref": "#/definitions/kubernetes_apimachinery_ListMeta", + "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBindingList", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource", + "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBinding\u003e" + ] + }, + "kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicyBindingSpec": { + "type": "object", + "properties": { + "matchResources": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_MatchResources", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MatchResources" + }, + "paramRef": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_ParamRef", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ParamRef" + }, + "policyName": { + "type": "string" + }, + "validationActions": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "type": "string" + } + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBindingSpec", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicyList": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "default": "admissionregistration.k8s.io/v1beta1", + "required": true + }, + "items": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicy", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicy" + } + }, + "kind": { + "type": "string", + "default": "ValidatingAdmissionPolicyList", + "required": true + }, + "metadata": { + "$ref": "#/definitions/kubernetes_apimachinery_ListMeta", + "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyList", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource", + "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicy\u003e" + ] + }, + "kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicySpec": { + "type": "object", + "properties": { + "auditAnnotations": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_AuditAnnotation", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.AuditAnnotation" + } + }, + "failurePolicy": { + "type": "string" + }, + "matchConditions": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_MatchCondition", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MatchCondition" + } + }, + "matchConstraints": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_MatchResources", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MatchResources" + }, + "paramKind": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_ParamKind", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ParamKind" + }, + "validations": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_Validation", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.Validation" } - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MutatingWebhookConfiguration", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata" - ] - }, - "kubernetes_admissionregistration_v1beta1_MutatingWebhookConfigurationList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "admissionregistration.k8s.io/v1beta1", - "required": true }, - "items": { + "variables": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_MutatingWebhookConfiguration", - "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MutatingWebhookConfiguration" + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_Variable", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.Variable" } - }, - "kind": { - "type": "string", - "default": "MutatingWebhookConfigurationList", - "required": true - }, - "metadata": { - "$ref": "#/definitions/kubernetes_apimachinery_ListMeta", - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" } }, "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MutatingWebhookConfigurationList", + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicySpec", "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MutatingWebhookConfiguration\u003e" + "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "kubernetes_admissionregistration_v1beta1_ServiceReference": { + "kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicyStatus": { "type": "object", "properties": { - "name": { - "type": "string" - }, - "namespace": { - "type": "string" + "conditions": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/kubernetes_apimachinery_Condition", + "existingJavaType": "io.fabric8.kubernetes.api.model.Condition" + } }, - "path": { - "type": "string" + "observedGeneration": { + "type": "integer", + "existingJavaType": "Long" }, - "port": { - "type": "integer" + "typeChecking": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_TypeChecking", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.TypeChecking" } }, "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ServiceReference", + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyStatus", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] @@ -1379,6 +1815,44 @@ "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingWebhookConfiguration\u003e" ] }, + "kubernetes_admissionregistration_v1beta1_Validation": { + "type": "object", + "properties": { + "expression": { + "type": "string" + }, + "message": { + "type": "string" + }, + "messageExpression": { + "type": "string" + }, + "reason": { + "type": "string" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.Validation", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "kubernetes_admissionregistration_v1beta1_Variable": { + "type": "object", + "properties": { + "expression": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.Variable", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, "kubernetes_admissionregistration_v1beta1_WebhookClientConfig": { "type": "object", "properties": { @@ -2269,6 +2743,48 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, + "kubernetes_authentication_SelfSubjectReview": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "default": "authentication.k8s.io/v1", + "required": true + }, + "kind": { + "type": "string", + "default": "SelfSubjectReview", + "required": true + }, + "metadata": { + "$ref": "#/definitions/kubernetes_apimachinery_ObjectMeta", + "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" + }, + "status": { + "$ref": "#/definitions/kubernetes_authentication_SelfSubjectReviewStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.authentication.SelfSubjectReviewStatus" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.authentication.SelfSubjectReview", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.HasMetadata" + ] + }, + "kubernetes_authentication_SelfSubjectReviewStatus": { + "type": "object", + "properties": { + "userInfo": { + "$ref": "#/definitions/kubernetes_authentication_UserInfo", + "existingJavaType": "io.fabric8.kubernetes.api.model.authentication.UserInfo" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.authentication.SelfSubjectReviewStatus", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, "kubernetes_authentication_TokenRequest": { "type": "object", "properties": { @@ -3412,6 +3928,22 @@ "$ref": "#/definitions/kubernetes_authentication_v1beta1_SelfSubjectReview", "existingJavaType": "io.fabric8.kubernetes.api.model.authentication.v1beta1.SelfSubjectReview" }, + "V1Beta1ValidatingAdmissionPolicy": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicy", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicy" + }, + "V1Beta1ValidatingAdmissionPolicyBinding": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicyBinding", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBinding" + }, + "V1Beta1ValidatingAdmissionPolicyBindingList": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicyBindingList", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBindingList" + }, + "V1Beta1ValidatingAdmissionPolicyList": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicyList", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyList" + }, "V1MutatingWebhookConfiguration": { "$ref": "#/definitions/kubernetes_admissionregistration_v1_MutatingWebhookConfiguration", "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1.MutatingWebhookConfiguration" @@ -3434,6 +3966,10 @@ "$ref": "#/definitions/kubernetes_admissionregistration_v1_RuleWithOperations", "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1.RuleWithOperations" }, + "V1SelfSubjectReview": { + "$ref": "#/definitions/kubernetes_authentication_SelfSubjectReview", + "existingJavaType": "io.fabric8.kubernetes.api.model.authentication.SelfSubjectReview" + }, "V1ServiceReference": { "$ref": "#/definitions/kubernetes_admissionregistration_v1_ServiceReference", "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1.ServiceReference" @@ -3586,7 +4122,7 @@ "properties": { "apiVersion": { "type": "string", - "default": "admission.k8s.io/v1beta1", + "default": "admission.k8s.io/v1", "required": true }, "kind": { @@ -3595,12 +4131,12 @@ "required": true }, "request": { - "$ref": "#/definitions/kubernetes_admission_v1beta1_AdmissionRequest", - "existingJavaType": "io.fabric8.kubernetes.api.model.admission.v1beta1.AdmissionRequest" + "$ref": "#/definitions/kubernetes_admission_v1_AdmissionRequest", + "existingJavaType": "io.fabric8.kubernetes.api.model.admission.v1.AdmissionRequest" }, "response": { - "$ref": "#/definitions/kubernetes_admission_v1beta1_AdmissionResponse", - "existingJavaType": "io.fabric8.kubernetes.api.model.admission.v1beta1.AdmissionResponse" + "$ref": "#/definitions/kubernetes_admission_v1_AdmissionResponse", + "existingJavaType": "io.fabric8.kubernetes.api.model.admission.v1.AdmissionResponse" } }, "additionalProperties": true @@ -4085,8 +4621,8 @@ "type": "array", "javaOmitEmpty": true, "items": { - "$ref": "#/definitions/kubernetes_admissionregistration_v1alpha1_NamedRuleWithOperations", - "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.NamedRuleWithOperations" + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_NamedRuleWithOperations", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.NamedRuleWithOperations" } }, "matchPolicy": { @@ -4104,8 +4640,8 @@ "type": "array", "javaOmitEmpty": true, "items": { - "$ref": "#/definitions/kubernetes_admissionregistration_v1alpha1_NamedRuleWithOperations", - "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.NamedRuleWithOperations" + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_NamedRuleWithOperations", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.NamedRuleWithOperations" } } }, @@ -4115,13 +4651,14 @@ "properties": { "admissionReviewVersions": { "type": "array", + "javaOmitEmpty": true, "items": { "type": "string" } }, "clientConfig": { - "$ref": "#/definitions/kubernetes_admissionregistration_v1_WebhookClientConfig", - "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1.WebhookClientConfig" + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_WebhookClientConfig", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.WebhookClientConfig" }, "failurePolicy": { "type": "string" @@ -4130,8 +4667,8 @@ "type": "array", "javaOmitEmpty": true, "items": { - "$ref": "#/definitions/kubernetes_admissionregistration_v1_MatchCondition", - "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1.MatchCondition" + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_MatchCondition", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MatchCondition" } }, "matchPolicy": { @@ -4172,7 +4709,7 @@ "properties": { "apiVersion": { "type": "string", - "default": "admissionregistration.k8s.io/v1", + "default": "admissionregistration.k8s.io/v1beta1", "required": true }, "kind": { @@ -4188,8 +4725,8 @@ "type": "array", "javaOmitEmpty": true, "items": { - "$ref": "#/definitions/kubernetes_admissionregistration_v1_MutatingWebhook", - "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1.MutatingWebhook" + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_MutatingWebhook", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MutatingWebhook" } } }, @@ -4412,6 +4949,13 @@ }, "namespace": { "type": "string" + }, + "parameterNotFoundAction": { + "type": "string" + }, + "selector": { + "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", + "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" } }, "additionalProperties": true @@ -4610,7 +5154,7 @@ "properties": { "apiVersion": { "type": "string", - "default": "authorization.k8s.io/v1", + "default": "authorization.k8s.io/v1beta1", "required": true }, "kind": { @@ -4623,12 +5167,12 @@ "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" }, "spec": { - "$ref": "#/definitions/kubernetes_authorization_v1_SelfSubjectAccessReviewSpec", - "existingJavaType": "io.fabric8.kubernetes.api.model.authorization.v1.SelfSubjectAccessReviewSpec" + "$ref": "#/definitions/kubernetes_authorization_v1beta1_SelfSubjectAccessReviewSpec", + "existingJavaType": "io.fabric8.kubernetes.api.model.authorization.v1beta1.SelfSubjectAccessReviewSpec" }, "status": { - "$ref": "#/definitions/kubernetes_authorization_v1_SubjectAccessReviewStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.authorization.v1.SubjectAccessReviewStatus" + "$ref": "#/definitions/kubernetes_authorization_v1beta1_SubjectAccessReviewStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.authorization.v1beta1.SubjectAccessReviewStatus" } }, "additionalProperties": true @@ -4682,7 +5226,7 @@ "properties": { "apiVersion": { "type": "string", - "default": "authorization.k8s.io/v1beta1", + "default": "authorization.k8s.io/v1", "required": true }, "kind": { @@ -4695,12 +5239,12 @@ "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" }, "spec": { - "$ref": "#/definitions/kubernetes_authorization_v1beta1_SelfSubjectRulesReviewSpec", - "existingJavaType": "io.fabric8.kubernetes.api.model.authorization.v1beta1.SelfSubjectRulesReviewSpec" + "$ref": "#/definitions/kubernetes_authorization_v1_SelfSubjectRulesReviewSpec", + "existingJavaType": "io.fabric8.kubernetes.api.model.authorization.v1.SelfSubjectRulesReviewSpec" }, "status": { - "$ref": "#/definitions/kubernetes_authorization_v1beta1_SubjectRulesReviewStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.authorization.v1beta1.SubjectRulesReviewStatus" + "$ref": "#/definitions/kubernetes_authorization_v1_SubjectRulesReviewStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.authorization.v1.SubjectRulesReviewStatus" } }, "additionalProperties": true @@ -4822,7 +5366,7 @@ "properties": { "apiVersion": { "type": "string", - "default": "authorization.k8s.io/v1", + "default": "authorization.k8s.io/v1beta1", "required": true }, "kind": { @@ -4835,12 +5379,12 @@ "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" }, "spec": { - "$ref": "#/definitions/kubernetes_authorization_v1_SubjectAccessReviewSpec", - "existingJavaType": "io.fabric8.kubernetes.api.model.authorization.v1.SubjectAccessReviewSpec" + "$ref": "#/definitions/kubernetes_authorization_v1beta1_SubjectAccessReviewSpec", + "existingJavaType": "io.fabric8.kubernetes.api.model.authorization.v1beta1.SubjectAccessReviewSpec" }, "status": { - "$ref": "#/definitions/kubernetes_authorization_v1_SubjectAccessReviewStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.authorization.v1.SubjectAccessReviewStatus" + "$ref": "#/definitions/kubernetes_authorization_v1beta1_SubjectAccessReviewStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.authorization.v1beta1.SubjectAccessReviewStatus" } }, "additionalProperties": true @@ -4909,15 +5453,15 @@ "nonResourceRules": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_authorization_v1beta1_NonResourceRule", - "existingJavaType": "io.fabric8.kubernetes.api.model.authorization.v1beta1.NonResourceRule" + "$ref": "#/definitions/kubernetes_authorization_v1_NonResourceRule", + "existingJavaType": "io.fabric8.kubernetes.api.model.authorization.v1.NonResourceRule" } }, "resourceRules": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_authorization_v1beta1_ResourceRule", - "existingJavaType": "io.fabric8.kubernetes.api.model.authorization.v1beta1.ResourceRule" + "$ref": "#/definitions/kubernetes_authorization_v1_ResourceRule", + "existingJavaType": "io.fabric8.kubernetes.api.model.authorization.v1.ResourceRule" } } }, @@ -5137,7 +5681,7 @@ "properties": { "apiVersion": { "type": "string", - "default": "admissionregistration.k8s.io/v1alpha1", + "default": "admissionregistration.k8s.io/v1beta1", "required": true }, "kind": { @@ -5150,12 +5694,12 @@ "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" }, "spec": { - "$ref": "#/definitions/kubernetes_admissionregistration_v1alpha1_ValidatingAdmissionPolicySpec", - "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicySpec" + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicySpec", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicySpec" }, "status": { - "$ref": "#/definitions/kubernetes_admissionregistration_v1alpha1_ValidatingAdmissionPolicyStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyStatus" + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicyStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyStatus" } }, "additionalProperties": true @@ -5164,7 +5708,7 @@ "properties": { "apiVersion": { "type": "string", - "default": "admissionregistration.k8s.io/v1alpha1", + "default": "admissionregistration.k8s.io/v1beta1", "required": true }, "kind": { @@ -5177,8 +5721,8 @@ "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" }, "spec": { - "$ref": "#/definitions/kubernetes_admissionregistration_v1alpha1_ValidatingAdmissionPolicyBindingSpec", - "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBindingSpec" + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicyBindingSpec", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBindingSpec" } }, "additionalProperties": true @@ -5187,15 +5731,15 @@ "properties": { "apiVersion": { "type": "string", - "default": "admissionregistration.k8s.io/v1alpha1", + "default": "admissionregistration.k8s.io/v1beta1", "required": true }, "items": { "type": "array", "javaOmitEmpty": true, "items": { - "$ref": "#/definitions/kubernetes_admissionregistration_v1alpha1_ValidatingAdmissionPolicyBinding", - "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBinding" + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicyBinding", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBinding" } }, "kind": { @@ -5213,12 +5757,12 @@ "validatingadmissionpolicybindingspec": { "properties": { "matchResources": { - "$ref": "#/definitions/kubernetes_admissionregistration_v1alpha1_MatchResources", - "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.MatchResources" + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_MatchResources", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MatchResources" }, "paramRef": { - "$ref": "#/definitions/kubernetes_admissionregistration_v1alpha1_ParamRef", - "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ParamRef" + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_ParamRef", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ParamRef" }, "policyName": { "type": "string" @@ -5296,6 +5840,13 @@ "$ref": "#/definitions/kubernetes_admissionregistration_v1alpha1_Validation", "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.Validation" } + }, + "variables": { + "type": "array", + "items": { + "$ref": "#/definitions/kubernetes_admissionregistration_v1alpha1_Variable", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.Variable" + } } }, "additionalProperties": true @@ -5315,8 +5866,8 @@ "existingJavaType": "Long" }, "typeChecking": { - "$ref": "#/definitions/kubernetes_admissionregistration_v1alpha1_TypeChecking", - "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.TypeChecking" + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_TypeChecking", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.TypeChecking" } }, "additionalProperties": true @@ -5325,14 +5876,13 @@ "properties": { "admissionReviewVersions": { "type": "array", - "javaOmitEmpty": true, "items": { "type": "string" } }, "clientConfig": { - "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_WebhookClientConfig", - "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.WebhookClientConfig" + "$ref": "#/definitions/kubernetes_admissionregistration_v1_WebhookClientConfig", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1.WebhookClientConfig" }, "failurePolicy": { "type": "string" @@ -5341,8 +5891,8 @@ "type": "array", "javaOmitEmpty": true, "items": { - "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_MatchCondition", - "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.MatchCondition" + "$ref": "#/definitions/kubernetes_admissionregistration_v1_MatchCondition", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1.MatchCondition" } }, "matchPolicy": { @@ -5407,14 +5957,14 @@ "properties": { "apiVersion": { "type": "string", - "default": "admissionregistration.k8s.io/v1beta1", + "default": "admissionregistration.k8s.io/v1", "required": true }, "items": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_ValidatingWebhookConfiguration", - "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingWebhookConfiguration" + "$ref": "#/definitions/kubernetes_admissionregistration_v1_ValidatingWebhookConfiguration", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration" } }, "kind": { @@ -5446,14 +5996,25 @@ }, "additionalProperties": true }, + "variable": { + "properties": { + "expression": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": true + }, "webhookclientconfig": { "properties": { "caBundle": { "type": "string" }, "service": { - "$ref": "#/definitions/kubernetes_admissionregistration_v1_ServiceReference", - "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1.ServiceReference" + "$ref": "#/definitions/kubernetes_admissionregistration_v1beta1_ServiceReference", + "existingJavaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ServiceReference" }, "url": { "type": "string" diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/test/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingTest.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/test/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingTest.java new file mode 100644 index 00000000000..a9d8988ebeb --- /dev/null +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/test/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingTest.java @@ -0,0 +1,90 @@ +/** + * 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 io.fabric8.kubernetes.api.model.admissionregistration.v1beta1; + +import com.fasterxml.jackson.databind.ObjectMapper; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirementBuilder; +import org.junit.jupiter.api.Test; + +import java.io.IOException; +import java.util.Collections; +import java.util.Scanner; + +import static org.assertj.core.api.Assertions.assertThat; + +class ValidatingAdmissionPolicyBindingBindingTest { + private final ObjectMapper mapper = new ObjectMapper(); + + @Test + void deserializationAndSerializationShouldWorkAsExpected() throws IOException { + // Given + String originalJson = new Scanner(getClass().getResourceAsStream("/test-validatingadmissionpolicybinding-v1beta1.json")) + .useDelimiter("\\A") + .next(); + + // When + final ValidatingAdmissionPolicyBinding validatingAdmissionPolicyBinding = mapper.readValue(originalJson, + ValidatingAdmissionPolicyBinding.class); + final String serializedJson = mapper.writeValueAsString(validatingAdmissionPolicyBinding); + + // Then + assertThat(serializedJson).isNotNull(); + assertThat(validatingAdmissionPolicyBinding) + .isNotNull() + .hasFieldOrPropertyWithValue("metadata.name", "nameValue") + .hasFieldOrPropertyWithValue("spec.matchResources.namespaceSelector.matchExpressions", + Collections.singletonList(new LabelSelectorRequirementBuilder() + .withKey("keyValue") + .withOperator("operatorValue") + .withValues("valuesValue") + .build())) + .hasFieldOrPropertyWithValue("spec.policyName", "policyNameValue"); + } + + @Test + void builderShouldCreateObject() { + // Given + ValidatingAdmissionPolicyBindingBuilder validatingAdmissionPolicyBindingBuilder = new ValidatingAdmissionPolicyBindingBuilder() + .withNewMetadata().withName("demo-binding-test.example.com").endMetadata() + .withNewSpec() + .withPolicyName("demo-policy.example.com") + .withNewMatchResources() + .withNewNamespaceSelector() + .addNewMatchExpression() + .withKey("environment") + .withOperator("In") + .withValues("test") + .endMatchExpression() + .endNamespaceSelector() + .endMatchResources() + .endSpec(); + + // When + ValidatingAdmissionPolicyBinding validatingAdmissionPolicyBinding = validatingAdmissionPolicyBindingBuilder.build(); + + // Then + assertThat(validatingAdmissionPolicyBinding) + .isNotNull() + .hasFieldOrPropertyWithValue("metadata.name", "demo-binding-test.example.com") + .hasFieldOrPropertyWithValue("spec.matchResources.namespaceSelector.matchExpressions", + Collections.singletonList(new LabelSelectorRequirementBuilder() + .withKey("environment") + .withOperator("In") + .withValues("test") + .build())) + .hasFieldOrPropertyWithValue("spec.policyName", "demo-policy.example.com"); + } +} diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/test/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingAdmissionPolicyTest.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/test/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingAdmissionPolicyTest.java new file mode 100644 index 00000000000..d8e1d3bd022 --- /dev/null +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/test/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingAdmissionPolicyTest.java @@ -0,0 +1,98 @@ +/** + * 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 io.fabric8.kubernetes.api.model.admissionregistration.v1beta1; + +import com.fasterxml.jackson.databind.ObjectMapper; +import org.junit.jupiter.api.Test; + +import java.io.IOException; +import java.util.Collections; +import java.util.Scanner; + +import static org.assertj.core.api.Assertions.assertThat; + +class ValidatingAdmissionPolicyTest { + private final ObjectMapper mapper = new ObjectMapper(); + + @Test + void deserializationAndSerializationShouldWorkAsExpected() throws IOException { + // Given + String originalJson = new Scanner(getClass().getResourceAsStream("/test-validatingadmissionpolicy-v1beta1.json")) + .useDelimiter("\\A") + .next(); + + // When + final ValidatingAdmissionPolicy validatingAdmissionPolicy = mapper.readValue(originalJson, ValidatingAdmissionPolicy.class); + final String serializedJson = mapper.writeValueAsString(validatingAdmissionPolicy); + + // Then + assertThat(serializedJson).isNotNull(); + assertThat(validatingAdmissionPolicy) + .isNotNull() + .hasFieldOrPropertyWithValue("metadata.name", "nameValue") + .hasFieldOrPropertyWithValue("spec.matchConstraints.resourceRules", + Collections.singletonList(new NamedRuleWithOperationsBuilder() + .addToApiGroups("apiGroupsValue") + .addToApiVersions("apiVersionsValue") + .addToOperations("operationsValue") + .addToResources("resourcesValue") + .addToResourceNames("resourceNamesValue") + .withScope("scopeValue") + .build())) + .hasFieldOrPropertyWithValue("spec.validations", Collections.singletonList(new ValidationBuilder() + .withExpression("expressionValue") + .withMessage("messageValue") + .withReason("reasonValue") + .withMessageExpression("messageExpressionValue") + .build())); + } + + @Test + void builderShouldCreateObject() { + // Given + ValidatingAdmissionPolicyBuilder validatingAdmissionPolicyBuilder = new ValidatingAdmissionPolicyBuilder() + .withNewMetadata().withName("demo-policy.example.com").endMetadata() + .withNewSpec() + .addNewValidation().withExpression("object.spec.replicas <= 5").endValidation() + .withNewMatchConstraints() + .addNewResourceRule() + .addToApiGroups("apps") + .addToApiVersions("v1") + .addToOperations("CREATE", "UPDATE") + .addToResources("deployments") + .endResourceRule() + .endMatchConstraints() + .endSpec(); + + // When + ValidatingAdmissionPolicy validatingAdmissionPolicy = validatingAdmissionPolicyBuilder.build(); + + // Then + assertThat(validatingAdmissionPolicy) + .isNotNull() + .hasFieldOrPropertyWithValue("metadata.name", "demo-policy.example.com") + .hasFieldOrPropertyWithValue("spec.matchConstraints.resourceRules", + Collections.singletonList(new NamedRuleWithOperationsBuilder() + .addToApiGroups("apps") + .addToApiVersions("v1") + .addToOperations("CREATE", "UPDATE") + .addToResources("deployments") + .build())) + .hasFieldOrPropertyWithValue("spec.validations", Collections.singletonList(new ValidationBuilder() + .withExpression("object.spec.replicas <= 5") + .build())); + } +} diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/test/java/io/fabric8/kubernetes/api/model/authentication/SelfSubjectReviewTest.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/test/java/io/fabric8/kubernetes/api/model/authentication/SelfSubjectReviewTest.java new file mode 100644 index 00000000000..3044893f861 --- /dev/null +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/test/java/io/fabric8/kubernetes/api/model/authentication/SelfSubjectReviewTest.java @@ -0,0 +1,82 @@ +/** + * 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 io.fabric8.kubernetes.api.model.authentication; + +import com.fasterxml.jackson.databind.ObjectMapper; +import io.fabric8.kubernetes.api.model.Namespaced; +import org.junit.jupiter.api.Test; + +import java.io.IOException; +import java.util.Arrays; +import java.util.Scanner; + +import static org.assertj.core.api.Assertions.assertThat; + +class SelfSubjectReviewTest { + private final ObjectMapper mapper = new ObjectMapper(); + + @Test + void isClusterScoped() { + assertThat(SelfSubjectReview.class).isNotInstanceOf(Namespaced.class); + } + + @Test + void deserializationAndSerializationShouldWorkAsExpected() throws IOException { + // Given + String originalJson = new Scanner(getClass().getResourceAsStream("/valid-selfsubjectreview-v1.json")) + .useDelimiter("\\A") + .next(); + + // When + final SelfSubjectReview selfSubjectReview = mapper.readValue(originalJson, SelfSubjectReview.class); + final String serializedJson = mapper.writeValueAsString(selfSubjectReview); + + // Then + assertThat(serializedJson).isNotNull(); + assertThat(selfSubjectReview) + .isNotNull() + .hasFieldOrPropertyWithValue("metadata.name", "nameValue") + .hasFieldOrPropertyWithValue("status.userInfo.username", "usernameValue") + .hasFieldOrPropertyWithValue("status.userInfo.uid", "uidValue") + .hasFieldOrPropertyWithValue("status.userInfo.groups", Arrays.asList("groupsValue")); + } + + @Test + void builderShouldCreateObject() { + // Given + SelfSubjectReviewBuilder selfSubjectReviewBuilder = new SelfSubjectReviewBuilder() + .withNewMetadata() + .withName("test-selfsubjectreview") + .endMetadata() + .withNewStatus() + .withNewUserInfo() + .withUsername("kubernetes-admin") + .withUid("some-user-id") + .addToGroups("system:masters", "system:authenticated") + .endUserInfo() + .endStatus(); + // When + SelfSubjectReview selfSubjectReview = selfSubjectReviewBuilder.build(); + + // Then + assertThat(selfSubjectReview) + .isNotNull() + .hasFieldOrPropertyWithValue("metadata.name", "test-selfsubjectreview") + .hasFieldOrPropertyWithValue("status.userInfo.username", "kubernetes-admin") + .hasFieldOrPropertyWithValue("status.userInfo.uid", "some-user-id") + .hasFieldOrPropertyWithValue("status.userInfo.groups", Arrays.asList("system:masters", "system:authenticated")); + } +} diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/test/resources/test-validatingadmissionpolicy-v1beta1.json b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/test/resources/test-validatingadmissionpolicy-v1beta1.json new file mode 100644 index 00000000000..0106a1a27f6 --- /dev/null +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/test/resources/test-validatingadmissionpolicy-v1beta1.json @@ -0,0 +1,171 @@ +{ + "kind": "ValidatingAdmissionPolicy", + "apiVersion": "admissionregistration.k8s.io/v1beta1", + "metadata": { + "name": "nameValue", + "generateName": "generateNameValue", + "namespace": "namespaceValue", + "selfLink": "selfLinkValue", + "uid": "uidValue", + "resourceVersion": "resourceVersionValue", + "generation": 7, + "creationTimestamp": "2008-01-01T01:01:01Z", + "deletionTimestamp": "2009-01-01T01:01:01Z", + "deletionGracePeriodSeconds": 10, + "labels": { + "labelsKey": "labelsValue" + }, + "annotations": { + "annotationsKey": "annotationsValue" + }, + "ownerReferences": [ + { + "apiVersion": "apiVersionValue", + "kind": "kindValue", + "name": "nameValue", + "uid": "uidValue", + "controller": true, + "blockOwnerDeletion": true + } + ], + "finalizers": [ + "finalizersValue" + ], + "managedFields": [ + { + "manager": "managerValue", + "operation": "operationValue", + "apiVersion": "apiVersionValue", + "time": "2004-01-01T01:01:01Z", + "fieldsType": "fieldsTypeValue", + "fieldsV1": {}, + "subresource": "subresourceValue" + } + ] + }, + "spec": { + "paramKind": { + "apiVersion": "apiVersionValue", + "kind": "kindValue" + }, + "matchConstraints": { + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "objectSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "resourceRules": [ + { + "resourceNames": [ + "resourceNamesValue" + ], + "operations": [ + "operationsValue" + ], + "apiGroups": [ + "apiGroupsValue" + ], + "apiVersions": [ + "apiVersionsValue" + ], + "resources": [ + "resourcesValue" + ], + "scope": "scopeValue" + } + ], + "excludeResourceRules": [ + { + "resourceNames": [ + "resourceNamesValue" + ], + "operations": [ + "operationsValue" + ], + "apiGroups": [ + "apiGroupsValue" + ], + "apiVersions": [ + "apiVersionsValue" + ], + "resources": [ + "resourcesValue" + ], + "scope": "scopeValue" + } + ], + "matchPolicy": "matchPolicyValue" + }, + "validations": [ + { + "expression": "expressionValue", + "message": "messageValue", + "reason": "reasonValue", + "messageExpression": "messageExpressionValue" + } + ], + "failurePolicy": "failurePolicyValue", + "auditAnnotations": [ + { + "key": "keyValue", + "valueExpression": "valueExpressionValue" + } + ], + "matchConditions": [ + { + "name": "nameValue", + "expression": "expressionValue" + } + ], + "variables": [ + { + "name": "nameValue", + "expression": "expressionValue" + } + ] + }, + "status": { + "observedGeneration": 1, + "typeChecking": { + "expressionWarnings": [ + { + "fieldRef": "fieldRefValue", + "warning": "warningValue" + } + ] + }, + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "observedGeneration": 3, + "lastTransitionTime": "2004-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ] + } +} \ No newline at end of file diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/test/resources/test-validatingadmissionpolicybinding-v1beta1.json b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/test/resources/test-validatingadmissionpolicybinding-v1beta1.json new file mode 100644 index 00000000000..c63234bfc3d --- /dev/null +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/test/resources/test-validatingadmissionpolicybinding-v1beta1.json @@ -0,0 +1,142 @@ +{ + "kind": "ValidatingAdmissionPolicyBinding", + "apiVersion": "admissionregistration.k8s.io/v1beta1", + "metadata": { + "name": "nameValue", + "generateName": "generateNameValue", + "namespace": "namespaceValue", + "selfLink": "selfLinkValue", + "uid": "uidValue", + "resourceVersion": "resourceVersionValue", + "generation": 7, + "creationTimestamp": "2008-01-01T01:01:01Z", + "deletionTimestamp": "2009-01-01T01:01:01Z", + "deletionGracePeriodSeconds": 10, + "labels": { + "labelsKey": "labelsValue" + }, + "annotations": { + "annotationsKey": "annotationsValue" + }, + "ownerReferences": [ + { + "apiVersion": "apiVersionValue", + "kind": "kindValue", + "name": "nameValue", + "uid": "uidValue", + "controller": true, + "blockOwnerDeletion": true + } + ], + "finalizers": [ + "finalizersValue" + ], + "managedFields": [ + { + "manager": "managerValue", + "operation": "operationValue", + "apiVersion": "apiVersionValue", + "time": "2004-01-01T01:01:01Z", + "fieldsType": "fieldsTypeValue", + "fieldsV1": {}, + "subresource": "subresourceValue" + } + ] + }, + "spec": { + "policyName": "policyNameValue", + "paramRef": { + "name": "nameValue", + "namespace": "namespaceValue", + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "parameterNotFoundAction": "parameterNotFoundActionValue" + }, + "matchResources": { + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "objectSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "resourceRules": [ + { + "resourceNames": [ + "resourceNamesValue" + ], + "operations": [ + "operationsValue" + ], + "apiGroups": [ + "apiGroupsValue" + ], + "apiVersions": [ + "apiVersionsValue" + ], + "resources": [ + "resourcesValue" + ], + "scope": "scopeValue" + } + ], + "excludeResourceRules": [ + { + "resourceNames": [ + "resourceNamesValue" + ], + "operations": [ + "operationsValue" + ], + "apiGroups": [ + "apiGroupsValue" + ], + "apiVersions": [ + "apiVersionsValue" + ], + "resources": [ + "resourcesValue" + ], + "scope": "scopeValue" + } + ], + "matchPolicy": "matchPolicyValue" + }, + "validationActions": [ + "validationActionsValue" + ] + } +} diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/test/resources/valid-selfsubjectreview-v1.json b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/test/resources/valid-selfsubjectreview-v1.json new file mode 100644 index 00000000000..47162943843 --- /dev/null +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/test/resources/valid-selfsubjectreview-v1.json @@ -0,0 +1,60 @@ +{ + "kind": "SelfSubjectReview", + "apiVersion": "authentication.k8s.io/v1", + "metadata": { + "name": "nameValue", + "generateName": "generateNameValue", + "namespace": "namespaceValue", + "selfLink": "selfLinkValue", + "uid": "uidValue", + "resourceVersion": "resourceVersionValue", + "generation": 7, + "creationTimestamp": "2008-01-01T01:01:01Z", + "deletionTimestamp": "2009-01-01T01:01:01Z", + "deletionGracePeriodSeconds": 10, + "labels": { + "labelsKey": "labelsValue" + }, + "annotations": { + "annotationsKey": "annotationsValue" + }, + "ownerReferences": [ + { + "apiVersion": "apiVersionValue", + "kind": "kindValue", + "name": "nameValue", + "uid": "uidValue", + "controller": true, + "blockOwnerDeletion": true + } + ], + "finalizers": [ + "finalizersValue" + ], + "managedFields": [ + { + "manager": "managerValue", + "operation": "operationValue", + "apiVersion": "apiVersionValue", + "time": "2004-01-01T01:01:01Z", + "fieldsType": "fieldsTypeValue", + "fieldsV1": {}, + "subresource": "subresourceValue" + } + ] + }, + "status": { + "userInfo": { + "username": "usernameValue", + "uid": "uidValue", + "groups": [ + "groupsValue" + ], + "extra": { + "extraKey": [ + "extraValue" + ] + } + } + } +} \ No newline at end of file diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index f8b4d709495..08533748e5c 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -86,7 +87,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -531,6 +533,16 @@ public void setV1JSONSchemaPropsOrStringArray(io.fabric8.kubernetes.api.model.ap this.v1JSONSchemaPropsOrStringArray = v1JSONSchemaPropsOrStringArray; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index 44123fb2e59..a15a9d56ba7 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -86,7 +87,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -531,6 +533,16 @@ public void setV1JSONSchemaPropsOrStringArray(io.fabric8.kubernetes.api.model.ap this.v1JSONSchemaPropsOrStringArray = v1JSONSchemaPropsOrStringArray; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ConversionRequest.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ConversionRequest.java index 35057ebe0a1..4f8ffba9e5b 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ConversionRequest.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ConversionRequest.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.GenericKubernetesResource; import io.fabric8.kubernetes.api.model.IntOrString; @@ -63,7 +64,7 @@ @BuildableReference(RawExtension.class) }) @Generated("jsonschema2pojo") -public class ConversionRequest implements KubernetesResource +public class ConversionRequest implements Editable , KubernetesResource { @JsonProperty("desiredAPIVersion") @@ -120,6 +121,16 @@ public void setUid(String uid) { this.uid = uid; } + @JsonIgnore + public ConversionRequestBuilder edit() { + return new ConversionRequestBuilder(this); + } + + @JsonIgnore + public ConversionRequestBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ConversionResponse.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ConversionResponse.java index 0f98463505b..78cd39ce4c0 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ConversionResponse.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ConversionResponse.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.GenericKubernetesResource; import io.fabric8.kubernetes.api.model.IntOrString; @@ -64,7 +65,7 @@ @BuildableReference(RawExtension.class) }) @Generated("jsonschema2pojo") -public class ConversionResponse implements KubernetesResource +public class ConversionResponse implements Editable , KubernetesResource { @JsonProperty("convertedObjects") @@ -121,6 +122,16 @@ public void setUid(String uid) { this.uid = uid; } + @JsonIgnore + public ConversionResponseBuilder edit() { + return new ConversionResponseBuilder(this); + } + + @JsonIgnore + public ConversionResponseBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ConversionReview.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ConversionReview.java index 01aab4465bc..ec93711550f 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ConversionReview.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ConversionReview.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -65,7 +66,7 @@ @Version("v1") @Group("apiextensions.k8s.io") @Generated("jsonschema2pojo") -public class ConversionReview implements KubernetesResource +public class ConversionReview implements Editable , KubernetesResource { /** @@ -164,6 +165,16 @@ public void setResponse(ConversionResponse response) { this.response = response; } + @JsonIgnore + public ConversionReviewBuilder edit() { + return new ConversionReviewBuilder(this); + } + + @JsonIgnore + public ConversionReviewBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceColumnDefinition.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceColumnDefinition.java index 09105c98eb6..4883ca6e81d 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceColumnDefinition.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceColumnDefinition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CustomResourceColumnDefinition implements KubernetesResource +public class CustomResourceColumnDefinition implements Editable , KubernetesResource { @JsonProperty("description") @@ -155,6 +156,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public CustomResourceColumnDefinitionBuilder edit() { + return new CustomResourceColumnDefinitionBuilder(this); + } + + @JsonIgnore + public CustomResourceColumnDefinitionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceConversion.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceConversion.java index 1fe5ede570b..2b8390a1068 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceConversion.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceConversion.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CustomResourceConversion implements KubernetesResource +public class CustomResourceConversion implements Editable , KubernetesResource { @JsonProperty("strategy") @@ -99,6 +100,16 @@ public void setWebhook(WebhookConversion webhook) { this.webhook = webhook; } + @JsonIgnore + public CustomResourceConversionBuilder edit() { + return new CustomResourceConversionBuilder(this); + } + + @JsonIgnore + public CustomResourceConversionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinition.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinition.java index 53a551cb146..d717241fbfc 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinition.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("apiextensions.k8s.io") @Generated("jsonschema2pojo") -public class CustomResourceDefinition implements HasMetadata +public class CustomResourceDefinition implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(CustomResourceDefinitionStatus status) { this.status = status; } + @JsonIgnore + public CustomResourceDefinitionBuilder edit() { + return new CustomResourceDefinitionBuilder(this); + } + + @JsonIgnore + public CustomResourceDefinitionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionCondition.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionCondition.java index d6db6321d9b..afdbb7b1221 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionCondition.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CustomResourceDefinitionCondition implements KubernetesResource +public class CustomResourceDefinitionCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public CustomResourceDefinitionConditionBuilder edit() { + return new CustomResourceDefinitionConditionBuilder(this); + } + + @JsonIgnore + public CustomResourceDefinitionConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionList.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionList.java index fa21c96775d..d9a5c5fa649 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionList.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("apiextensions.k8s.io") @Generated("jsonschema2pojo") -public class CustomResourceDefinitionList implements KubernetesResource, KubernetesResourceList +public class CustomResourceDefinitionList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public CustomResourceDefinitionListBuilder edit() { + return new CustomResourceDefinitionListBuilder(this); + } + + @JsonIgnore + public CustomResourceDefinitionListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionNames.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionNames.java index 82ac6d1f506..6a6307d77bf 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionNames.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionNames.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CustomResourceDefinitionNames implements KubernetesResource +public class CustomResourceDefinitionNames implements Editable , KubernetesResource { @JsonProperty("categories") @@ -158,6 +159,16 @@ public void setSingular(String singular) { this.singular = singular; } + @JsonIgnore + public CustomResourceDefinitionNamesBuilder edit() { + return new CustomResourceDefinitionNamesBuilder(this); + } + + @JsonIgnore + public CustomResourceDefinitionNamesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionSpec.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionSpec.java index 83f76ead9b5..2c92fca96aa 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionSpec.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CustomResourceDefinitionSpec implements KubernetesResource +public class CustomResourceDefinitionSpec implements Editable , KubernetesResource { @JsonProperty("conversion") @@ -158,6 +159,16 @@ public void setVersions(List versions) { this.versions = versions; } + @JsonIgnore + public CustomResourceDefinitionSpecBuilder edit() { + return new CustomResourceDefinitionSpecBuilder(this); + } + + @JsonIgnore + public CustomResourceDefinitionSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionStatus.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionStatus.java index 8e515f12c2b..15f4b123abc 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionStatus.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CustomResourceDefinitionStatus implements KubernetesResource +public class CustomResourceDefinitionStatus implements Editable , KubernetesResource { @JsonProperty("acceptedNames") @@ -117,6 +118,16 @@ public void setStoredVersions(List storedVersions) { this.storedVersions = storedVersions; } + @JsonIgnore + public CustomResourceDefinitionStatusBuilder edit() { + return new CustomResourceDefinitionStatusBuilder(this); + } + + @JsonIgnore + public CustomResourceDefinitionStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionVersion.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionVersion.java index f95e1c0b3bb..8ab2e621ad5 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionVersion.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionVersion.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CustomResourceDefinitionVersion implements KubernetesResource +public class CustomResourceDefinitionVersion implements Editable , KubernetesResource { @JsonProperty("additionalPrinterColumns") @@ -186,6 +187,16 @@ public void setSubresources(CustomResourceSubresources subresources) { this.subresources = subresources; } + @JsonIgnore + public CustomResourceDefinitionVersionBuilder edit() { + return new CustomResourceDefinitionVersionBuilder(this); + } + + @JsonIgnore + public CustomResourceDefinitionVersionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceSubresourceScale.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceSubresourceScale.java index 1f5f7060f43..99dfd610336 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceSubresourceScale.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceSubresourceScale.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CustomResourceSubresourceScale implements KubernetesResource +public class CustomResourceSubresourceScale implements Editable , KubernetesResource { @JsonProperty("labelSelectorPath") @@ -113,6 +114,16 @@ public void setStatusReplicasPath(String statusReplicasPath) { this.statusReplicasPath = statusReplicasPath; } + @JsonIgnore + public CustomResourceSubresourceScaleBuilder edit() { + return new CustomResourceSubresourceScaleBuilder(this); + } + + @JsonIgnore + public CustomResourceSubresourceScaleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceSubresourceStatus.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceSubresourceStatus.java index df1f051c5a7..f8011fc7edb 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceSubresourceStatus.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceSubresourceStatus.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CustomResourceSubresourceStatus implements KubernetesResource +public class CustomResourceSubresourceStatus implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public CustomResourceSubresourceStatusBuilder edit() { + return new CustomResourceSubresourceStatusBuilder(this); + } + + @JsonIgnore + public CustomResourceSubresourceStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceSubresources.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceSubresources.java index 330986a60c8..6643b45af0e 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceSubresources.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceSubresources.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CustomResourceSubresources implements KubernetesResource +public class CustomResourceSubresources implements Editable , KubernetesResource { @JsonProperty("scale") @@ -99,6 +100,16 @@ public void setStatus(CustomResourceSubresourceStatus status) { this.status = status; } + @JsonIgnore + public CustomResourceSubresourcesBuilder edit() { + return new CustomResourceSubresourcesBuilder(this); + } + + @JsonIgnore + public CustomResourceSubresourcesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceValidation.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceValidation.java index 346fca72ec1..3944d062073 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceValidation.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceValidation.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CustomResourceValidation implements KubernetesResource +public class CustomResourceValidation implements Editable , KubernetesResource { @JsonProperty("openAPIV3Schema") @@ -85,6 +86,16 @@ public void setOpenAPIV3Schema(JSONSchemaProps openAPIV3Schema) { this.openAPIV3Schema = openAPIV3Schema; } + @JsonIgnore + public CustomResourceValidationBuilder edit() { + return new CustomResourceValidationBuilder(this); + } + + @JsonIgnore + public CustomResourceValidationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ExternalDocumentation.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ExternalDocumentation.java index 9329c1e7da2..889fcb0e5cf 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ExternalDocumentation.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ExternalDocumentation.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ExternalDocumentation implements KubernetesResource +public class ExternalDocumentation implements Editable , KubernetesResource { @JsonProperty("description") @@ -99,6 +100,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public ExternalDocumentationBuilder edit() { + return new ExternalDocumentationBuilder(this); + } + + @JsonIgnore + public ExternalDocumentationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/JSONSchemaProps.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/JSONSchemaProps.java index 82a2e577683..dcf8a6ad258 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/JSONSchemaProps.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/JSONSchemaProps.java @@ -6,11 +6,13 @@ import java.util.List; import java.util.Map; import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonIgnore; 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; @@ -98,7 +100,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class JSONSchemaProps implements KubernetesResource +public class JSONSchemaProps implements Editable , KubernetesResource { @JsonProperty("$ref") @@ -696,4 +698,14 @@ public void setXKubernetesValidations(List xKubernetesValidation this.xKubernetesValidations = xKubernetesValidations; } + @JsonIgnore + public JSONSchemaPropsBuilder edit() { + return new JSONSchemaPropsBuilder(this); + } + + @JsonIgnore + public JSONSchemaPropsBuilder toBuilder() { + return edit(); + } + } diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/JSONSchemaPropsOrArray.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/JSONSchemaPropsOrArray.java index 7ebd559269b..ad3adf349ce 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/JSONSchemaPropsOrArray.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/JSONSchemaPropsOrArray.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class JSONSchemaPropsOrArray implements KubernetesResource +public class JSONSchemaPropsOrArray implements Editable , KubernetesResource { @JsonProperty("JSONSchemas") @@ -104,6 +105,16 @@ public void setSchema(JSONSchemaProps schema) { this.schema = schema; } + @JsonIgnore + public JSONSchemaPropsOrArrayBuilder edit() { + return new JSONSchemaPropsOrArrayBuilder(this); + } + + @JsonIgnore + public JSONSchemaPropsOrArrayBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/JSONSchemaPropsOrBool.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/JSONSchemaPropsOrBool.java index 019899e9379..2e55286c970 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/JSONSchemaPropsOrBool.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/JSONSchemaPropsOrBool.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class JSONSchemaPropsOrBool implements KubernetesResource +public class JSONSchemaPropsOrBool implements Editable , KubernetesResource { @JsonProperty("Allows") @@ -101,6 +102,16 @@ public void setSchema(JSONSchemaProps schema) { this.schema = schema; } + @JsonIgnore + public JSONSchemaPropsOrBoolBuilder edit() { + return new JSONSchemaPropsOrBoolBuilder(this); + } + + @JsonIgnore + public JSONSchemaPropsOrBoolBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/JSONSchemaPropsOrStringArray.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/JSONSchemaPropsOrStringArray.java index 83fa6599bfe..6c66b042ba0 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/JSONSchemaPropsOrStringArray.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/JSONSchemaPropsOrStringArray.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class JSONSchemaPropsOrStringArray implements KubernetesResource +public class JSONSchemaPropsOrStringArray implements Editable , KubernetesResource { @JsonProperty("Property") @@ -104,6 +105,16 @@ public void setSchema(JSONSchemaProps schema) { this.schema = schema; } + @JsonIgnore + public JSONSchemaPropsOrStringArrayBuilder edit() { + return new JSONSchemaPropsOrStringArrayBuilder(this); + } + + @JsonIgnore + public JSONSchemaPropsOrStringArrayBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ServiceReference.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ServiceReference.java index 945bd53cdfb..4f49c7d5b81 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ServiceReference.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ServiceReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ServiceReference implements KubernetesResource +public class ServiceReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -127,6 +128,16 @@ public void setPort(Integer port) { this.port = port; } + @JsonIgnore + public ServiceReferenceBuilder edit() { + return new ServiceReferenceBuilder(this); + } + + @JsonIgnore + public ServiceReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ValidationRule.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ValidationRule.java index b4af53a37c4..0221217c14c 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ValidationRule.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ValidationRule.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -34,8 +35,10 @@ "apiVersion", "kind", "metadata", + "fieldPath", "message", "messageExpression", + "reason", "rule" }) @ToString @@ -57,13 +60,17 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationRule implements KubernetesResource +public class ValidationRule implements Editable , KubernetesResource { + @JsonProperty("fieldPath") + private String fieldPath; @JsonProperty("message") private String message; @JsonProperty("messageExpression") private String messageExpression; + @JsonProperty("reason") + private String reason; @JsonProperty("rule") private String rule; @JsonIgnore @@ -76,13 +83,25 @@ public class ValidationRule implements KubernetesResource public ValidationRule() { } - public ValidationRule(String message, String messageExpression, String rule) { + public ValidationRule(String fieldPath, String message, String messageExpression, String reason, String rule) { super(); + this.fieldPath = fieldPath; this.message = message; this.messageExpression = messageExpression; + this.reason = reason; this.rule = rule; } + @JsonProperty("fieldPath") + public String getFieldPath() { + return fieldPath; + } + + @JsonProperty("fieldPath") + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } + @JsonProperty("message") public String getMessage() { return message; @@ -103,6 +122,16 @@ public void setMessageExpression(String messageExpression) { this.messageExpression = messageExpression; } + @JsonProperty("reason") + public String getReason() { + return reason; + } + + @JsonProperty("reason") + public void setReason(String reason) { + this.reason = reason; + } + @JsonProperty("rule") public String getRule() { return rule; @@ -113,6 +142,16 @@ public void setRule(String rule) { this.rule = rule; } + @JsonIgnore + public ValidationRuleBuilder edit() { + return new ValidationRuleBuilder(this); + } + + @JsonIgnore + public ValidationRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/WebhookClientConfig.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/WebhookClientConfig.java index 66d1c05923e..34f5c31515e 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/WebhookClientConfig.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/WebhookClientConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class WebhookClientConfig implements KubernetesResource +public class WebhookClientConfig implements Editable , KubernetesResource { @JsonProperty("caBundle") @@ -113,6 +114,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public WebhookClientConfigBuilder edit() { + return new WebhookClientConfigBuilder(this); + } + + @JsonIgnore + public WebhookClientConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/WebhookConversion.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/WebhookConversion.java index 6426f3225a2..d7fe08c4504 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/WebhookConversion.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/WebhookConversion.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class WebhookConversion implements KubernetesResource +public class WebhookConversion implements Editable , KubernetesResource { @JsonProperty("clientConfig") @@ -102,6 +103,16 @@ public void setConversionReviewVersions(List conversionReviewVersions) { this.conversionReviewVersions = conversionReviewVersions; } + @JsonIgnore + public WebhookConversionBuilder edit() { + return new WebhookConversionBuilder(this); + } + + @JsonIgnore + public WebhookConversionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceColumnDefinition.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceColumnDefinition.java index 2e7b088c7cc..75ea8c014a9 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceColumnDefinition.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceColumnDefinition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CustomResourceColumnDefinition implements KubernetesResource +public class CustomResourceColumnDefinition implements Editable , KubernetesResource { @JsonProperty("JSONPath") @@ -155,6 +156,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public CustomResourceColumnDefinitionBuilder edit() { + return new CustomResourceColumnDefinitionBuilder(this); + } + + @JsonIgnore + public CustomResourceColumnDefinitionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceConversion.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceConversion.java index c1a257b583d..ac2f92ae5c0 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceConversion.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceConversion.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CustomResourceConversion implements KubernetesResource +public class CustomResourceConversion implements Editable , KubernetesResource { @JsonProperty("conversionReviewVersions") @@ -116,6 +117,16 @@ public void setWebhookClientConfig(WebhookClientConfig webhookClientConfig) { this.webhookClientConfig = webhookClientConfig; } + @JsonIgnore + public CustomResourceConversionBuilder edit() { + return new CustomResourceConversionBuilder(this); + } + + @JsonIgnore + public CustomResourceConversionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinition.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinition.java index 1deb8f823e6..fe955fd4bfc 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinition.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1beta1") @Group("apiextensions.k8s.io") @Generated("jsonschema2pojo") -public class CustomResourceDefinition implements HasMetadata +public class CustomResourceDefinition implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(CustomResourceDefinitionStatus status) { this.status = status; } + @JsonIgnore + public CustomResourceDefinitionBuilder edit() { + return new CustomResourceDefinitionBuilder(this); + } + + @JsonIgnore + public CustomResourceDefinitionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionCondition.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionCondition.java index 65ae8291f7c..a467c23c8bb 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionCondition.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CustomResourceDefinitionCondition implements KubernetesResource +public class CustomResourceDefinitionCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public CustomResourceDefinitionConditionBuilder edit() { + return new CustomResourceDefinitionConditionBuilder(this); + } + + @JsonIgnore + public CustomResourceDefinitionConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionList.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionList.java index 5735d3462cf..f0062196366 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionList.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("apiextensions.k8s.io") @Generated("jsonschema2pojo") -public class CustomResourceDefinitionList implements KubernetesResource, KubernetesResourceList +public class CustomResourceDefinitionList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public CustomResourceDefinitionListBuilder edit() { + return new CustomResourceDefinitionListBuilder(this); + } + + @JsonIgnore + public CustomResourceDefinitionListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionNames.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionNames.java index 7af92965b65..b40d8d0e6ec 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionNames.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionNames.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CustomResourceDefinitionNames implements KubernetesResource +public class CustomResourceDefinitionNames implements Editable , KubernetesResource { @JsonProperty("categories") @@ -158,6 +159,16 @@ public void setSingular(String singular) { this.singular = singular; } + @JsonIgnore + public CustomResourceDefinitionNamesBuilder edit() { + return new CustomResourceDefinitionNamesBuilder(this); + } + + @JsonIgnore + public CustomResourceDefinitionNamesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionSpec.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionSpec.java index efde440756a..55a2392bc53 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionSpec.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -66,7 +67,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CustomResourceDefinitionSpec implements KubernetesResource +public class CustomResourceDefinitionSpec implements Editable , KubernetesResource { @JsonProperty("additionalPrinterColumns") @@ -215,6 +216,16 @@ public void setVersions(List versions) { this.versions = versions; } + @JsonIgnore + public CustomResourceDefinitionSpecBuilder edit() { + return new CustomResourceDefinitionSpecBuilder(this); + } + + @JsonIgnore + public CustomResourceDefinitionSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionStatus.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionStatus.java index 30c12f8897f..396813cf721 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionStatus.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CustomResourceDefinitionStatus implements KubernetesResource +public class CustomResourceDefinitionStatus implements Editable , KubernetesResource { @JsonProperty("acceptedNames") @@ -117,6 +118,16 @@ public void setStoredVersions(List storedVersions) { this.storedVersions = storedVersions; } + @JsonIgnore + public CustomResourceDefinitionStatusBuilder edit() { + return new CustomResourceDefinitionStatusBuilder(this); + } + + @JsonIgnore + public CustomResourceDefinitionStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionVersion.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionVersion.java index 6ac7853d0c9..86e9a816672 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionVersion.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionVersion.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CustomResourceDefinitionVersion implements KubernetesResource +public class CustomResourceDefinitionVersion implements Editable , KubernetesResource { @JsonProperty("additionalPrinterColumns") @@ -186,6 +187,16 @@ public void setSubresources(CustomResourceSubresources subresources) { this.subresources = subresources; } + @JsonIgnore + public CustomResourceDefinitionVersionBuilder edit() { + return new CustomResourceDefinitionVersionBuilder(this); + } + + @JsonIgnore + public CustomResourceDefinitionVersionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceSubresourceScale.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceSubresourceScale.java index 14583b5f3b5..8f4f73610c4 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceSubresourceScale.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceSubresourceScale.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CustomResourceSubresourceScale implements KubernetesResource +public class CustomResourceSubresourceScale implements Editable , KubernetesResource { @JsonProperty("labelSelectorPath") @@ -113,6 +114,16 @@ public void setStatusReplicasPath(String statusReplicasPath) { this.statusReplicasPath = statusReplicasPath; } + @JsonIgnore + public CustomResourceSubresourceScaleBuilder edit() { + return new CustomResourceSubresourceScaleBuilder(this); + } + + @JsonIgnore + public CustomResourceSubresourceScaleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceSubresourceStatus.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceSubresourceStatus.java index 62bc636758a..39522d5ee91 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceSubresourceStatus.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceSubresourceStatus.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CustomResourceSubresourceStatus implements KubernetesResource +public class CustomResourceSubresourceStatus implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public CustomResourceSubresourceStatusBuilder edit() { + return new CustomResourceSubresourceStatusBuilder(this); + } + + @JsonIgnore + public CustomResourceSubresourceStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceSubresources.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceSubresources.java index 30f5ff019dd..2f6f103ce3f 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceSubresources.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceSubresources.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CustomResourceSubresources implements KubernetesResource +public class CustomResourceSubresources implements Editable , KubernetesResource { @JsonProperty("scale") @@ -99,6 +100,16 @@ public void setStatus(CustomResourceSubresourceStatus status) { this.status = status; } + @JsonIgnore + public CustomResourceSubresourcesBuilder edit() { + return new CustomResourceSubresourcesBuilder(this); + } + + @JsonIgnore + public CustomResourceSubresourcesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceValidation.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceValidation.java index 5052014ab11..07c6b21e28e 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceValidation.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceValidation.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CustomResourceValidation implements KubernetesResource +public class CustomResourceValidation implements Editable , KubernetesResource { @JsonProperty("openAPIV3Schema") @@ -85,6 +86,16 @@ public void setOpenAPIV3Schema(JSONSchemaProps openAPIV3Schema) { this.openAPIV3Schema = openAPIV3Schema; } + @JsonIgnore + public CustomResourceValidationBuilder edit() { + return new CustomResourceValidationBuilder(this); + } + + @JsonIgnore + public CustomResourceValidationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/ExternalDocumentation.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/ExternalDocumentation.java index 11bbe3f8c8a..6b6279d742d 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/ExternalDocumentation.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/ExternalDocumentation.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ExternalDocumentation implements KubernetesResource +public class ExternalDocumentation implements Editable , KubernetesResource { @JsonProperty("description") @@ -99,6 +100,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public ExternalDocumentationBuilder edit() { + return new ExternalDocumentationBuilder(this); + } + + @JsonIgnore + public ExternalDocumentationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/JSONSchemaProps.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/JSONSchemaProps.java index 5d695a0b738..7dbf2bdedf6 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/JSONSchemaProps.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/JSONSchemaProps.java @@ -6,11 +6,13 @@ import java.util.List; import java.util.Map; import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonIgnore; 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; @@ -98,7 +100,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class JSONSchemaProps implements KubernetesResource +public class JSONSchemaProps implements Editable , KubernetesResource { @JsonProperty("$ref") @@ -696,4 +698,14 @@ public void setXKubernetesValidations(List xKubernetesValidation this.xKubernetesValidations = xKubernetesValidations; } + @JsonIgnore + public JSONSchemaPropsBuilder edit() { + return new JSONSchemaPropsBuilder(this); + } + + @JsonIgnore + public JSONSchemaPropsBuilder toBuilder() { + return edit(); + } + } diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/JSONSchemaPropsOrArray.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/JSONSchemaPropsOrArray.java index c057512ef34..03d48e407d4 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/JSONSchemaPropsOrArray.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/JSONSchemaPropsOrArray.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class JSONSchemaPropsOrArray implements KubernetesResource +public class JSONSchemaPropsOrArray implements Editable , KubernetesResource { @JsonProperty("JSONSchemas") @@ -104,6 +105,16 @@ public void setSchema(JSONSchemaProps schema) { this.schema = schema; } + @JsonIgnore + public JSONSchemaPropsOrArrayBuilder edit() { + return new JSONSchemaPropsOrArrayBuilder(this); + } + + @JsonIgnore + public JSONSchemaPropsOrArrayBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/JSONSchemaPropsOrBool.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/JSONSchemaPropsOrBool.java index c615cd76d1e..cf905e992d7 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/JSONSchemaPropsOrBool.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/JSONSchemaPropsOrBool.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class JSONSchemaPropsOrBool implements KubernetesResource +public class JSONSchemaPropsOrBool implements Editable , KubernetesResource { @JsonProperty("Allows") @@ -101,6 +102,16 @@ public void setSchema(JSONSchemaProps schema) { this.schema = schema; } + @JsonIgnore + public JSONSchemaPropsOrBoolBuilder edit() { + return new JSONSchemaPropsOrBoolBuilder(this); + } + + @JsonIgnore + public JSONSchemaPropsOrBoolBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/JSONSchemaPropsOrStringArray.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/JSONSchemaPropsOrStringArray.java index 82f341339bc..4c650d3b4ed 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/JSONSchemaPropsOrStringArray.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/JSONSchemaPropsOrStringArray.java @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class JSONSchemaPropsOrStringArray implements KubernetesResource +public class JSONSchemaPropsOrStringArray implements Editable , KubernetesResource { @JsonProperty("Property") @@ -104,6 +105,16 @@ public void setSchema(JSONSchemaProps schema) { this.schema = schema; } + @JsonIgnore + public JSONSchemaPropsOrStringArrayBuilder edit() { + return new JSONSchemaPropsOrStringArrayBuilder(this); + } + + @JsonIgnore + public JSONSchemaPropsOrStringArrayBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/ServiceReference.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/ServiceReference.java index d2bb53402c5..916e0291127 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/ServiceReference.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/ServiceReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ServiceReference implements KubernetesResource +public class ServiceReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -127,6 +128,16 @@ public void setPort(Integer port) { this.port = port; } + @JsonIgnore + public ServiceReferenceBuilder edit() { + return new ServiceReferenceBuilder(this); + } + + @JsonIgnore + public ServiceReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/ValidationRule.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/ValidationRule.java index 8d7c86dae2a..2a4fb3cbd53 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/ValidationRule.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/ValidationRule.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -34,8 +35,10 @@ "apiVersion", "kind", "metadata", + "fieldPath", "message", "messageExpression", + "reason", "rule" }) @ToString @@ -57,13 +60,17 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationRule implements KubernetesResource +public class ValidationRule implements Editable , KubernetesResource { + @JsonProperty("fieldPath") + private String fieldPath; @JsonProperty("message") private String message; @JsonProperty("messageExpression") private String messageExpression; + @JsonProperty("reason") + private String reason; @JsonProperty("rule") private String rule; @JsonIgnore @@ -76,13 +83,25 @@ public class ValidationRule implements KubernetesResource public ValidationRule() { } - public ValidationRule(String message, String messageExpression, String rule) { + public ValidationRule(String fieldPath, String message, String messageExpression, String reason, String rule) { super(); + this.fieldPath = fieldPath; this.message = message; this.messageExpression = messageExpression; + this.reason = reason; this.rule = rule; } + @JsonProperty("fieldPath") + public String getFieldPath() { + return fieldPath; + } + + @JsonProperty("fieldPath") + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } + @JsonProperty("message") public String getMessage() { return message; @@ -103,6 +122,16 @@ public void setMessageExpression(String messageExpression) { this.messageExpression = messageExpression; } + @JsonProperty("reason") + public String getReason() { + return reason; + } + + @JsonProperty("reason") + public void setReason(String reason) { + this.reason = reason; + } + @JsonProperty("rule") public String getRule() { return rule; @@ -113,6 +142,16 @@ public void setRule(String rule) { this.rule = rule; } + @JsonIgnore + public ValidationRuleBuilder edit() { + return new ValidationRuleBuilder(this); + } + + @JsonIgnore + public ValidationRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/WebhookClientConfig.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/WebhookClientConfig.java index 1d20526c4fb..7f16c592315 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/WebhookClientConfig.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/WebhookClientConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class WebhookClientConfig implements KubernetesResource +public class WebhookClientConfig implements Editable , KubernetesResource { @JsonProperty("caBundle") @@ -113,6 +114,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public WebhookClientConfigBuilder edit() { + return new WebhookClientConfigBuilder(this); + } + + @JsonIgnore + public WebhookClientConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/main/resources/schema/kube-schema.json b/kubernetes-model-generator/kubernetes-model-apiextensions/src/main/resources/schema/kube-schema.json index 1c3e43dfe76..ec0ba51319a 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/main/resources/schema/kube-schema.json +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/main/resources/schema/kube-schema.json @@ -744,12 +744,18 @@ "kubernetes_apiextensions_v1_ValidationRule": { "type": "object", "properties": { + "fieldPath": { + "type": "string" + }, "message": { "type": "string" }, "messageExpression": { "type": "string" }, + "reason": { + "type": "string" + }, "rule": { "type": "string" } @@ -1480,12 +1486,18 @@ "kubernetes_apiextensions_v1beta1_ValidationRule": { "type": "object", "properties": { + "fieldPath": { + "type": "string" + }, "message": { "type": "string" }, "messageExpression": { "type": "string" }, + "reason": { + "type": "string" + }, "rule": { "type": "string" } diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/kubernetes-model-apiextensions/src/main/resources/schema/validation-schema.json index acddcc6cbee..782a05ed548 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/main/resources/schema/validation-schema.json @@ -744,12 +744,18 @@ "kubernetes_apiextensions_v1_ValidationRule": { "type": "object", "properties": { + "fieldPath": { + "type": "string" + }, "message": { "type": "string" }, "messageExpression": { "type": "string" }, + "reason": { + "type": "string" + }, "rule": { "type": "string" } @@ -1480,12 +1486,18 @@ "kubernetes_apiextensions_v1beta1_ValidationRule": { "type": "object", "properties": { + "fieldPath": { + "type": "string" + }, "message": { "type": "string" }, "messageExpression": { "type": "string" }, + "reason": { + "type": "string" + }, "rule": { "type": "string" } @@ -2589,19 +2601,12 @@ }, "customresourceconversion": { "properties": { - "conversionReviewVersions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, "strategy": { "type": "string" }, - "webhookClientConfig": { - "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_WebhookClientConfig", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.WebhookClientConfig" + "webhook": { + "$ref": "#/definitions/kubernetes_apiextensions_v1_WebhookConversion", + "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.WebhookConversion" } }, "additionalProperties": true @@ -2610,7 +2615,7 @@ "properties": { "apiVersion": { "type": "string", - "default": "apiextensions.k8s.io/v1", + "default": "apiextensions.k8s.io/v1beta1", "required": true }, "kind": { @@ -2623,12 +2628,12 @@ "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" }, "spec": { - "$ref": "#/definitions/kubernetes_apiextensions_v1_CustomResourceDefinitionSpec", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.CustomResourceDefinitionSpec" + "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_CustomResourceDefinitionSpec", + "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.CustomResourceDefinitionSpec" }, "status": { - "$ref": "#/definitions/kubernetes_apiextensions_v1_CustomResourceDefinitionStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.CustomResourceDefinitionStatus" + "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_CustomResourceDefinitionStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.CustomResourceDefinitionStatus" } }, "additionalProperties": true @@ -2713,24 +2718,16 @@ }, "customresourcedefinitionspec": { "properties": { - "additionalPrinterColumns": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_CustomResourceColumnDefinition", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.CustomResourceColumnDefinition" - } - }, "conversion": { - "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_CustomResourceConversion", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.CustomResourceConversion" + "$ref": "#/definitions/kubernetes_apiextensions_v1_CustomResourceConversion", + "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.CustomResourceConversion" }, "group": { "type": "string" }, "names": { - "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_CustomResourceDefinitionNames", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.CustomResourceDefinitionNames" + "$ref": "#/definitions/kubernetes_apiextensions_v1_CustomResourceDefinitionNames", + "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.CustomResourceDefinitionNames" }, "preserveUnknownFields": { "type": "boolean" @@ -2738,23 +2735,11 @@ "scope": { "type": "string" }, - "subresources": { - "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_CustomResourceSubresources", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.CustomResourceSubresources" - }, - "validation": { - "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_CustomResourceValidation", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.CustomResourceValidation" - }, - "version": { - "type": "string" - }, "versions": { "type": "array", - "javaOmitEmpty": true, "items": { - "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_CustomResourceDefinitionVersion", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.CustomResourceDefinitionVersion" + "$ref": "#/definitions/kubernetes_apiextensions_v1_CustomResourceDefinitionVersion", + "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.CustomResourceDefinitionVersion" } } }, @@ -2821,12 +2806,12 @@ "customresourcesubresources": { "properties": { "scale": { - "$ref": "#/definitions/kubernetes_apiextensions_v1_CustomResourceSubresourceScale", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.CustomResourceSubresourceScale" + "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_CustomResourceSubresourceScale", + "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.CustomResourceSubresourceScale" }, "status": { - "$ref": "#/definitions/kubernetes_apiextensions_v1_CustomResourceSubresourceStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.CustomResourceSubresourceStatus" + "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_CustomResourceSubresourceStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.CustomResourceSubresourceStatus" } }, "additionalProperties": true @@ -2851,8 +2836,8 @@ "customresourcevalidation": { "properties": { "openAPIV3Schema": { - "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSONSchemaProps", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaProps" + "$ref": "#/definitions/kubernetes_apiextensions_v1_JSONSchemaProps", + "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaProps" } }, "additionalProperties": true @@ -2980,48 +2965,48 @@ "type": "string" }, "additionalItems": { - "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSONSchemaPropsOrBool", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaPropsOrBool" + "$ref": "#/definitions/kubernetes_apiextensions_v1_JSONSchemaPropsOrBool", + "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaPropsOrBool" }, "additionalProperties": { - "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSONSchemaPropsOrBool", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaPropsOrBool" + "$ref": "#/definitions/kubernetes_apiextensions_v1_JSONSchemaPropsOrBool", + "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaPropsOrBool" }, "allOf": { "type": "array", "javaOmitEmpty": true, "items": { - "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSONSchemaProps", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaProps" + "$ref": "#/definitions/kubernetes_apiextensions_v1_JSONSchemaProps", + "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaProps" } }, "anyOf": { "type": "array", "javaOmitEmpty": true, "items": { - "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSONSchemaProps", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaProps" + "$ref": "#/definitions/kubernetes_apiextensions_v1_JSONSchemaProps", + "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaProps" } }, "default": { - "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSON", + "$ref": "#/definitions/kubernetes_apiextensions_v1_JSON", "existingJavaType": "com.fasterxml.jackson.databind.JsonNode" }, "definitions": { "type": "object", "additionalProperties": { - "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSONSchemaProps", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaProps" + "$ref": "#/definitions/kubernetes_apiextensions_v1_JSONSchemaProps", + "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaProps" }, - "existingJavaType": "java.util.Map\u003cString, io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaProps\u003e" + "existingJavaType": "java.util.Map\u003cString, io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaProps\u003e" }, "dependencies": { "type": "object", "additionalProperties": { - "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSONSchemaPropsOrStringArray", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaPropsOrStringArray" + "$ref": "#/definitions/kubernetes_apiextensions_v1_JSONSchemaPropsOrStringArray", + "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaPropsOrStringArray" }, - "existingJavaType": "java.util.Map\u003cString, io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaPropsOrStringArray\u003e" + "existingJavaType": "java.util.Map\u003cString, io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaPropsOrStringArray\u003e" }, "description": { "type": "string" @@ -3030,12 +3015,12 @@ "type": "array", "javaOmitEmpty": true, "items": { - "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSON", + "$ref": "#/definitions/kubernetes_apiextensions_v1_JSON", "existingJavaType": "com.fasterxml.jackson.databind.JsonNode" } }, "example": { - "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSON", + "$ref": "#/definitions/kubernetes_apiextensions_v1_JSON", "existingJavaType": "com.fasterxml.jackson.databind.JsonNode" }, "exclusiveMaximum": { @@ -3045,8 +3030,8 @@ "type": "boolean" }, "externalDocs": { - "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_ExternalDocumentation", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.ExternalDocumentation" + "$ref": "#/definitions/kubernetes_apiextensions_v1_ExternalDocumentation", + "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.ExternalDocumentation" }, "format": { "type": "string" @@ -3055,8 +3040,8 @@ "type": "string" }, "items": { - "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSONSchemaPropsOrArray", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaPropsOrArray" + "$ref": "#/definitions/kubernetes_apiextensions_v1_JSONSchemaPropsOrArray", + "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaPropsOrArray" }, "maxItems": { "type": "integer", @@ -3092,8 +3077,8 @@ "type": "number" }, "not": { - "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSONSchemaProps", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaProps" + "$ref": "#/definitions/kubernetes_apiextensions_v1_JSONSchemaProps", + "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaProps" }, "nullable": { "type": "boolean" @@ -3102,8 +3087,8 @@ "type": "array", "javaOmitEmpty": true, "items": { - "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSONSchemaProps", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaProps" + "$ref": "#/definitions/kubernetes_apiextensions_v1_JSONSchemaProps", + "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaProps" } }, "pattern": { @@ -3112,18 +3097,18 @@ "patternProperties": { "type": "object", "additionalProperties": { - "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSONSchemaProps", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaProps" + "$ref": "#/definitions/kubernetes_apiextensions_v1_JSONSchemaProps", + "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaProps" }, - "existingJavaType": "java.util.Map\u003cString, io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaProps\u003e" + "existingJavaType": "java.util.Map\u003cString, io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaProps\u003e" }, "properties": { "type": "object", "additionalProperties": { - "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSONSchemaProps", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaProps" + "$ref": "#/definitions/kubernetes_apiextensions_v1_JSONSchemaProps", + "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaProps" }, - "existingJavaType": "java.util.Map\u003cString, io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaProps\u003e" + "existingJavaType": "java.util.Map\u003cString, io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaProps\u003e" }, "required": { "type": "array", @@ -3167,8 +3152,8 @@ "type": "array", "javaOmitEmpty": true, "items": { - "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_ValidationRule", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.ValidationRule" + "$ref": "#/definitions/kubernetes_apiextensions_v1_ValidationRule", + "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.ValidationRule" } } }, @@ -3179,13 +3164,13 @@ "JSONSchemas": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_apiextensions_v1_JSONSchemaProps", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaProps" + "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSONSchemaProps", + "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaProps" } }, "Schema": { - "$ref": "#/definitions/kubernetes_apiextensions_v1_JSONSchemaProps", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaProps" + "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSONSchemaProps", + "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaProps" } }, "additionalProperties": true @@ -3196,8 +3181,8 @@ "type": "boolean" }, "Schema": { - "$ref": "#/definitions/kubernetes_apiextensions_v1_JSONSchemaProps", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaProps" + "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSONSchemaProps", + "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaProps" } }, "additionalProperties": true @@ -3684,12 +3669,18 @@ }, "validationrule": { "properties": { + "fieldPath": { + "type": "string" + }, "message": { "type": "string" }, "messageExpression": { "type": "string" }, + "reason": { + "type": "string" + }, "rule": { "type": "string" } diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index 0040c9e95ed..7152996aff1 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -118,7 +119,8 @@ @BuildableReference(io.fabric8.kubernetes.api.model.PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -862,6 +864,16 @@ public void setUpdateOptions(UpdateOptions updateOptions) { this.updateOptions = updateOptions; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index 8497c521ff3..19d9fcfd61a 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -118,7 +119,8 @@ @BuildableReference(io.fabric8.kubernetes.api.model.PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -862,6 +864,16 @@ public void setUpdateOptions(UpdateOptions updateOptions) { this.updateOptions = updateOptions; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ControllerRevision.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ControllerRevision.java index 77b352eb444..6005af9d7cd 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ControllerRevision.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ControllerRevision.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.GenericKubernetesResource; import io.fabric8.kubernetes.api.model.HasMetadata; @@ -70,7 +71,7 @@ @Version("v1") @Group("apps") @Generated("jsonschema2pojo") -public class ControllerRevision implements HasMetadata, Namespaced +public class ControllerRevision implements Editable , HasMetadata, Namespaced { /** @@ -182,6 +183,16 @@ public void setRevision(Long revision) { this.revision = revision; } + @JsonIgnore + public ControllerRevisionBuilder edit() { + return new ControllerRevisionBuilder(this); + } + + @JsonIgnore + public ControllerRevisionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ControllerRevisionList.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ControllerRevisionList.java index 2354aa3b865..4370c6b3505 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ControllerRevisionList.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ControllerRevisionList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("apps") @Generated("jsonschema2pojo") -public class ControllerRevisionList implements KubernetesResource, KubernetesResourceList +public class ControllerRevisionList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ControllerRevisionListBuilder edit() { + return new ControllerRevisionListBuilder(this); + } + + @JsonIgnore + public ControllerRevisionListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DaemonSet.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DaemonSet.java index da43c70c8b6..ae1a3e0a20a 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DaemonSet.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DaemonSet.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("apps") @Generated("jsonschema2pojo") -public class DaemonSet implements HasMetadata, Namespaced +public class DaemonSet implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(DaemonSetStatus status) { this.status = status; } + @JsonIgnore + public DaemonSetBuilder edit() { + return new DaemonSetBuilder(this); + } + + @JsonIgnore + public DaemonSetBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DaemonSetCondition.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DaemonSetCondition.java index 23dd2c1306f..057b6927ebc 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DaemonSetCondition.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DaemonSetCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DaemonSetCondition implements KubernetesResource +public class DaemonSetCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public DaemonSetConditionBuilder edit() { + return new DaemonSetConditionBuilder(this); + } + + @JsonIgnore + public DaemonSetConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DaemonSetList.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DaemonSetList.java index aed89e96de2..047b8a0fd7b 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DaemonSetList.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DaemonSetList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("apps") @Generated("jsonschema2pojo") -public class DaemonSetList implements KubernetesResource, KubernetesResourceList +public class DaemonSetList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public DaemonSetListBuilder edit() { + return new DaemonSetListBuilder(this); + } + + @JsonIgnore + public DaemonSetListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DaemonSetSpec.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DaemonSetSpec.java index ff0fa1eba1f..cadd9d5fcb5 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DaemonSetSpec.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DaemonSetSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DaemonSetSpec implements KubernetesResource +public class DaemonSetSpec implements Editable , KubernetesResource { @JsonProperty("minReadySeconds") @@ -139,6 +140,16 @@ public void setUpdateStrategy(DaemonSetUpdateStrategy updateStrategy) { this.updateStrategy = updateStrategy; } + @JsonIgnore + public DaemonSetSpecBuilder edit() { + return new DaemonSetSpecBuilder(this); + } + + @JsonIgnore + public DaemonSetSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DaemonSetStatus.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DaemonSetStatus.java index 9af8241470c..09ec1212fe5 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DaemonSetStatus.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DaemonSetStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -66,7 +67,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DaemonSetStatus implements KubernetesResource +public class DaemonSetStatus implements Editable , KubernetesResource { @JsonProperty("collisionCount") @@ -214,6 +215,16 @@ public void setUpdatedNumberScheduled(Integer updatedNumberScheduled) { this.updatedNumberScheduled = updatedNumberScheduled; } + @JsonIgnore + public DaemonSetStatusBuilder edit() { + return new DaemonSetStatusBuilder(this); + } + + @JsonIgnore + public DaemonSetStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DaemonSetUpdateStrategy.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DaemonSetUpdateStrategy.java index 4d4a6f883fa..ccf65f97933 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DaemonSetUpdateStrategy.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DaemonSetUpdateStrategy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DaemonSetUpdateStrategy implements KubernetesResource +public class DaemonSetUpdateStrategy implements Editable , KubernetesResource { @JsonProperty("rollingUpdate") @@ -99,6 +100,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public DaemonSetUpdateStrategyBuilder edit() { + return new DaemonSetUpdateStrategyBuilder(this); + } + + @JsonIgnore + public DaemonSetUpdateStrategyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/Deployment.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/Deployment.java index 4c24c45f441..4efb07b6dd5 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/Deployment.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/Deployment.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("apps") @Generated("jsonschema2pojo") -public class Deployment implements HasMetadata, Namespaced +public class Deployment implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(DeploymentStatus status) { this.status = status; } + @JsonIgnore + public DeploymentBuilder edit() { + return new DeploymentBuilder(this); + } + + @JsonIgnore + public DeploymentBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DeploymentCondition.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DeploymentCondition.java index aabea46c4d9..40ad77738cb 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DeploymentCondition.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DeploymentCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DeploymentCondition implements KubernetesResource +public class DeploymentCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -155,6 +156,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public DeploymentConditionBuilder edit() { + return new DeploymentConditionBuilder(this); + } + + @JsonIgnore + public DeploymentConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DeploymentList.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DeploymentList.java index 20e37e0afb7..9475fd1ef9f 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DeploymentList.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DeploymentList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("apps") @Generated("jsonschema2pojo") -public class DeploymentList implements KubernetesResource, KubernetesResourceList +public class DeploymentList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public DeploymentListBuilder edit() { + return new DeploymentListBuilder(this); + } + + @JsonIgnore + public DeploymentListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DeploymentSpec.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DeploymentSpec.java index ca64ebe8b8b..6e05e806db4 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DeploymentSpec.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DeploymentSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DeploymentSpec implements KubernetesResource +public class DeploymentSpec implements Editable , KubernetesResource { @JsonProperty("minReadySeconds") @@ -181,6 +182,16 @@ public void setTemplate(io.fabric8.kubernetes.api.model.PodTemplateSpec template this.template = template; } + @JsonIgnore + public DeploymentSpecBuilder edit() { + return new DeploymentSpecBuilder(this); + } + + @JsonIgnore + public DeploymentSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DeploymentStatus.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DeploymentStatus.java index 026e27717a3..e862d42f302 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DeploymentStatus.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DeploymentStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DeploymentStatus implements KubernetesResource +public class DeploymentStatus implements Editable , KubernetesResource { @JsonProperty("availableReplicas") @@ -186,6 +187,16 @@ public void setUpdatedReplicas(Integer updatedReplicas) { this.updatedReplicas = updatedReplicas; } + @JsonIgnore + public DeploymentStatusBuilder edit() { + return new DeploymentStatusBuilder(this); + } + + @JsonIgnore + public DeploymentStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DeploymentStrategy.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DeploymentStrategy.java index 320fc5406d2..72338bec64a 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DeploymentStrategy.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DeploymentStrategy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DeploymentStrategy implements KubernetesResource +public class DeploymentStrategy implements Editable , KubernetesResource { @JsonProperty("rollingUpdate") @@ -99,6 +100,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public DeploymentStrategyBuilder edit() { + return new DeploymentStrategyBuilder(this); + } + + @JsonIgnore + public DeploymentStrategyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ReplicaSet.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ReplicaSet.java index 33fecab7af1..0ffb31f3abb 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ReplicaSet.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ReplicaSet.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("apps") @Generated("jsonschema2pojo") -public class ReplicaSet implements HasMetadata, Namespaced +public class ReplicaSet implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(ReplicaSetStatus status) { this.status = status; } + @JsonIgnore + public ReplicaSetBuilder edit() { + return new ReplicaSetBuilder(this); + } + + @JsonIgnore + public ReplicaSetBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ReplicaSetCondition.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ReplicaSetCondition.java index 350cfa05774..d1d137c740c 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ReplicaSetCondition.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ReplicaSetCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ReplicaSetCondition implements KubernetesResource +public class ReplicaSetCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public ReplicaSetConditionBuilder edit() { + return new ReplicaSetConditionBuilder(this); + } + + @JsonIgnore + public ReplicaSetConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ReplicaSetList.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ReplicaSetList.java index 9f2dbfa0af8..de4efd34d3e 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ReplicaSetList.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ReplicaSetList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("apps") @Generated("jsonschema2pojo") -public class ReplicaSetList implements KubernetesResource, KubernetesResourceList +public class ReplicaSetList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ReplicaSetListBuilder edit() { + return new ReplicaSetListBuilder(this); + } + + @JsonIgnore + public ReplicaSetListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ReplicaSetSpec.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ReplicaSetSpec.java index cca337500c7..27e8d019524 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ReplicaSetSpec.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ReplicaSetSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ReplicaSetSpec implements KubernetesResource +public class ReplicaSetSpec implements Editable , KubernetesResource { @JsonProperty("minReadySeconds") @@ -125,6 +126,16 @@ public void setTemplate(io.fabric8.kubernetes.api.model.PodTemplateSpec template this.template = template; } + @JsonIgnore + public ReplicaSetSpecBuilder edit() { + return new ReplicaSetSpecBuilder(this); + } + + @JsonIgnore + public ReplicaSetSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ReplicaSetStatus.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ReplicaSetStatus.java index 6d0d5f8cbb5..ba7315ccfdf 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ReplicaSetStatus.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ReplicaSetStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ReplicaSetStatus implements KubernetesResource +public class ReplicaSetStatus implements Editable , KubernetesResource { @JsonProperty("availableReplicas") @@ -158,6 +159,16 @@ public void setReplicas(Integer replicas) { this.replicas = replicas; } + @JsonIgnore + public ReplicaSetStatusBuilder edit() { + return new ReplicaSetStatusBuilder(this); + } + + @JsonIgnore + public ReplicaSetStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/RollingUpdateDaemonSet.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/RollingUpdateDaemonSet.java index 882b5d4ecc0..a0e953bb6c4 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/RollingUpdateDaemonSet.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/RollingUpdateDaemonSet.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RollingUpdateDaemonSet implements KubernetesResource +public class RollingUpdateDaemonSet implements Editable , KubernetesResource { @JsonProperty("maxSurge") @@ -98,6 +99,16 @@ public void setMaxUnavailable(io.fabric8.kubernetes.api.model.IntOrString maxUna this.maxUnavailable = maxUnavailable; } + @JsonIgnore + public RollingUpdateDaemonSetBuilder edit() { + return new RollingUpdateDaemonSetBuilder(this); + } + + @JsonIgnore + public RollingUpdateDaemonSetBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/RollingUpdateDeployment.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/RollingUpdateDeployment.java index c0ad34cf30b..f3f628a25c6 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/RollingUpdateDeployment.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/RollingUpdateDeployment.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RollingUpdateDeployment implements KubernetesResource +public class RollingUpdateDeployment implements Editable , KubernetesResource { @JsonProperty("maxSurge") @@ -98,6 +99,16 @@ public void setMaxUnavailable(io.fabric8.kubernetes.api.model.IntOrString maxUna this.maxUnavailable = maxUnavailable; } + @JsonIgnore + public RollingUpdateDeploymentBuilder edit() { + return new RollingUpdateDeploymentBuilder(this); + } + + @JsonIgnore + public RollingUpdateDeploymentBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/RollingUpdateStatefulSetStrategy.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/RollingUpdateStatefulSetStrategy.java index 90b0162e51f..f3043597532 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/RollingUpdateStatefulSetStrategy.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/RollingUpdateStatefulSetStrategy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RollingUpdateStatefulSetStrategy implements KubernetesResource +public class RollingUpdateStatefulSetStrategy implements Editable , KubernetesResource { @JsonProperty("maxUnavailable") @@ -98,6 +99,16 @@ public void setPartition(Integer partition) { this.partition = partition; } + @JsonIgnore + public RollingUpdateStatefulSetStrategyBuilder edit() { + return new RollingUpdateStatefulSetStrategyBuilder(this); + } + + @JsonIgnore + public RollingUpdateStatefulSetStrategyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSet.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSet.java index 2965bbe6022..35a17538c9a 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSet.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSet.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("apps") @Generated("jsonschema2pojo") -public class StatefulSet implements HasMetadata, Namespaced +public class StatefulSet implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(StatefulSetStatus status) { this.status = status; } + @JsonIgnore + public StatefulSetBuilder edit() { + return new StatefulSetBuilder(this); + } + + @JsonIgnore + public StatefulSetBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetCondition.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetCondition.java index 819a287803b..97426f8b98c 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetCondition.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class StatefulSetCondition implements KubernetesResource +public class StatefulSetCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public StatefulSetConditionBuilder edit() { + return new StatefulSetConditionBuilder(this); + } + + @JsonIgnore + public StatefulSetConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetList.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetList.java index 68aeea69af0..f24d2d56589 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetList.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("apps") @Generated("jsonschema2pojo") -public class StatefulSetList implements KubernetesResource, KubernetesResourceList +public class StatefulSetList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public StatefulSetListBuilder edit() { + return new StatefulSetListBuilder(this); + } + + @JsonIgnore + public StatefulSetListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetOrdinals.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetOrdinals.java index d698181340f..4c66e01c8b4 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetOrdinals.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetOrdinals.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class StatefulSetOrdinals implements KubernetesResource +public class StatefulSetOrdinals implements Editable , KubernetesResource { @JsonProperty("start") @@ -85,6 +86,16 @@ public void setStart(Integer start) { this.start = start; } + @JsonIgnore + public StatefulSetOrdinalsBuilder edit() { + return new StatefulSetOrdinalsBuilder(this); + } + + @JsonIgnore + public StatefulSetOrdinalsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetPersistentVolumeClaimRetentionPolicy.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetPersistentVolumeClaimRetentionPolicy.java index c741383e565..9154bb18bab 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetPersistentVolumeClaimRetentionPolicy.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetPersistentVolumeClaimRetentionPolicy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class StatefulSetPersistentVolumeClaimRetentionPolicy implements KubernetesResource +public class StatefulSetPersistentVolumeClaimRetentionPolicy implements Editable , KubernetesResource { @JsonProperty("whenDeleted") @@ -99,6 +100,16 @@ public void setWhenScaled(String whenScaled) { this.whenScaled = whenScaled; } + @JsonIgnore + public StatefulSetPersistentVolumeClaimRetentionPolicyBuilder edit() { + return new StatefulSetPersistentVolumeClaimRetentionPolicyBuilder(this); + } + + @JsonIgnore + public StatefulSetPersistentVolumeClaimRetentionPolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetSpec.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetSpec.java index 2b237298091..034ffc9c2a1 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetSpec.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -64,7 +65,7 @@ @BuildableReference(io.fabric8.kubernetes.api.model.PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class StatefulSetSpec implements KubernetesResource +public class StatefulSetSpec implements Editable , KubernetesResource { @JsonProperty("minReadySeconds") @@ -225,6 +226,16 @@ public void setVolumeClaimTemplates(List getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetStatus.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetStatus.java index 10addc6daf5..80ad8582bfb 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetStatus.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -66,7 +67,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class StatefulSetStatus implements KubernetesResource +public class StatefulSetStatus implements Editable , KubernetesResource { @JsonProperty("availableReplicas") @@ -214,6 +215,16 @@ public void setUpdatedReplicas(Integer updatedReplicas) { this.updatedReplicas = updatedReplicas; } + @JsonIgnore + public StatefulSetStatusBuilder edit() { + return new StatefulSetStatusBuilder(this); + } + + @JsonIgnore + public StatefulSetStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetUpdateStrategy.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetUpdateStrategy.java index d3658c84f38..e70d4d5f9b1 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetUpdateStrategy.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetUpdateStrategy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class StatefulSetUpdateStrategy implements KubernetesResource +public class StatefulSetUpdateStrategy implements Editable , KubernetesResource { @JsonProperty("rollingUpdate") @@ -99,6 +100,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public StatefulSetUpdateStrategyBuilder edit() { + return new StatefulSetUpdateStrategyBuilder(this); + } + + @JsonIgnore + public StatefulSetUpdateStrategyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/main/resources/schema/kube-schema.json b/kubernetes-model-generator/kubernetes-model-apps/src/main/resources/schema/kube-schema.json index 8dfdc868e62..f526ab0bb08 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/main/resources/schema/kube-schema.json +++ b/kubernetes-model-generator/kubernetes-model-apps/src/main/resources/schema/kube-schema.json @@ -2467,6 +2467,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -3098,6 +3101,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -3224,6 +3230,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -3578,6 +3587,19 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, + "kubernetes_core_HostIP": { + "type": "object", + "properties": { + "ip": { + "type": "string" + } + }, + "additionalProperties": true, + "existingJavaType": "io.fabric8.kubernetes.api.model.HostIP", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, "kubernetes_core_HostPathVolumeSource": { "type": "object", "properties": { @@ -4736,6 +4758,13 @@ "type": "string" } }, + "allocatedResourceStatuses": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "existingJavaType": "java.util.Map\u003cString, String\u003e" + }, "allocatedResources": { "type": "object", "additionalProperties": { @@ -4762,9 +4791,6 @@ }, "phase": { "type": "string" - }, - "resizeStatus": { - "type": "string" } }, "additionalProperties": true, @@ -5077,6 +5103,10 @@ "kubernetes_core_PersistentVolumeStatus": { "type": "object", "properties": { + "lastPhaseTransitionTime": { + "$ref": "#/definitions/kubernetes_apimachinery_Time", + "existingJavaType": "String" + }, "message": { "type": "string" }, @@ -5388,6 +5418,22 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, + "kubernetes_core_PodResourceClaimStatus": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "resourceClaimName": { + "type": "string" + } + }, + "additionalProperties": true, + "existingJavaType": "io.fabric8.kubernetes.api.model.PodResourceClaimStatus", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, "kubernetes_core_PodSchedulingGate": { "type": "object", "properties": { @@ -5683,6 +5729,14 @@ "hostIP": { "type": "string" }, + "hostIPs": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/kubernetes_core_HostIP", + "existingJavaType": "io.fabric8.kubernetes.api.model.HostIP" + } + }, "initContainerStatuses": { "type": "array", "javaOmitEmpty": true, @@ -5720,6 +5774,14 @@ "resize": { "type": "string" }, + "resourceClaimStatuses": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/kubernetes_core_PodResourceClaimStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.PodResourceClaimStatus" + } + }, "startTime": { "$ref": "#/definitions/kubernetes_apimachinery_Time", "existingJavaType": "String" diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/kubernetes-model-apps/src/main/resources/schema/validation-schema.json index 194bd6da5bf..337c5ef51ef 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/kubernetes-model-apps/src/main/resources/schema/validation-schema.json @@ -2467,6 +2467,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -3098,6 +3101,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -3224,6 +3230,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -3578,6 +3587,19 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, + "kubernetes_core_HostIP": { + "type": "object", + "properties": { + "ip": { + "type": "string" + } + }, + "additionalProperties": true, + "existingJavaType": "io.fabric8.kubernetes.api.model.HostIP", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, "kubernetes_core_HostPathVolumeSource": { "type": "object", "properties": { @@ -4736,6 +4758,13 @@ "type": "string" } }, + "allocatedResourceStatuses": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "existingJavaType": "java.util.Map\u003cString, String\u003e" + }, "allocatedResources": { "type": "object", "additionalProperties": { @@ -4762,9 +4791,6 @@ }, "phase": { "type": "string" - }, - "resizeStatus": { - "type": "string" } }, "additionalProperties": true, @@ -5077,6 +5103,10 @@ "kubernetes_core_PersistentVolumeStatus": { "type": "object", "properties": { + "lastPhaseTransitionTime": { + "$ref": "#/definitions/kubernetes_apimachinery_Time", + "existingJavaType": "String" + }, "message": { "type": "string" }, @@ -5388,6 +5418,22 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, + "kubernetes_core_PodResourceClaimStatus": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "resourceClaimName": { + "type": "string" + } + }, + "additionalProperties": true, + "existingJavaType": "io.fabric8.kubernetes.api.model.PodResourceClaimStatus", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, "kubernetes_core_PodSchedulingGate": { "type": "object", "properties": { @@ -5683,6 +5729,14 @@ "hostIP": { "type": "string" }, + "hostIPs": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/kubernetes_core_HostIP", + "existingJavaType": "io.fabric8.kubernetes.api.model.HostIP" + } + }, "initContainerStatuses": { "type": "array", "javaOmitEmpty": true, @@ -5720,6 +5774,14 @@ "resize": { "type": "string" }, + "resourceClaimStatuses": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/kubernetes_core_PodResourceClaimStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.PodResourceClaimStatus" + } + }, "startTime": { "$ref": "#/definitions/kubernetes_apimachinery_Time", "existingJavaType": "String" @@ -8582,6 +8644,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -9594,6 +9659,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -9715,6 +9783,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -9990,6 +10061,14 @@ }, "additionalProperties": true }, + "hostip": { + "properties": { + "ip": { + "type": "string" + } + }, + "additionalProperties": true + }, "hostpathvolumesource": { "properties": { "path": { @@ -11312,6 +11391,13 @@ "type": "string" } }, + "allocatedResourceStatuses": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "existingJavaType": "java.util.Map\u003cString, String\u003e" + }, "allocatedResources": { "type": "object", "additionalProperties": { @@ -11338,9 +11424,6 @@ }, "phase": { "type": "string" - }, - "resizeStatus": { - "type": "string" } }, "additionalProperties": true @@ -11622,6 +11705,10 @@ }, "persistentvolumestatus": { "properties": { + "lastPhaseTransitionTime": { + "$ref": "#/definitions/kubernetes_apimachinery_Time", + "existingJavaType": "String" + }, "message": { "type": "string" }, @@ -11862,6 +11949,17 @@ }, "additionalProperties": true }, + "podresourceclaimstatus": { + "properties": { + "name": { + "type": "string" + }, + "resourceClaimName": { + "type": "string" + } + }, + "additionalProperties": true + }, "podschedulinggate": { "properties": { "name": { @@ -12141,6 +12239,14 @@ "hostIP": { "type": "string" }, + "hostIPs": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/kubernetes_core_HostIP", + "existingJavaType": "io.fabric8.kubernetes.api.model.HostIP" + } + }, "initContainerStatuses": { "type": "array", "javaOmitEmpty": true, @@ -12178,6 +12284,14 @@ "resize": { "type": "string" }, + "resourceClaimStatuses": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/kubernetes_core_PodResourceClaimStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.PodResourceClaimStatus" + } + }, "startTime": { "$ref": "#/definitions/kubernetes_apimachinery_Time", "existingJavaType": "String" diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index d472c78df56..739d91b31ca 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -80,7 +81,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -434,6 +436,16 @@ public void setV2beta2HorizontalPodAutoscalerList(io.fabric8.kubernetes.api.mode this.v2beta2HorizontalPodAutoscalerList = v2beta2HorizontalPodAutoscalerList; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index 82253537c7c..f0462aa3c85 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -80,7 +81,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -434,6 +436,16 @@ public void setV2beta2HorizontalPodAutoscalerList(io.fabric8.kubernetes.api.mode this.v2beta2HorizontalPodAutoscalerList = v2beta2HorizontalPodAutoscalerList; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/CrossVersionObjectReference.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/CrossVersionObjectReference.java index d27072bcb3d..feebdde7ae9 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/CrossVersionObjectReference.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/CrossVersionObjectReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CrossVersionObjectReference implements KubernetesResource +public class CrossVersionObjectReference implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -111,6 +112,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public CrossVersionObjectReferenceBuilder edit() { + return new CrossVersionObjectReferenceBuilder(this); + } + + @JsonIgnore + public CrossVersionObjectReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/HorizontalPodAutoscaler.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/HorizontalPodAutoscaler.java index f748f20f599..444ba16bfc3 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/HorizontalPodAutoscaler.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/HorizontalPodAutoscaler.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("autoscaling") @Generated("jsonschema2pojo") -public class HorizontalPodAutoscaler implements HasMetadata, Namespaced +public class HorizontalPodAutoscaler implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(HorizontalPodAutoscalerStatus status) { this.status = status; } + @JsonIgnore + public HorizontalPodAutoscalerBuilder edit() { + return new HorizontalPodAutoscalerBuilder(this); + } + + @JsonIgnore + public HorizontalPodAutoscalerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/HorizontalPodAutoscalerList.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/HorizontalPodAutoscalerList.java index ae038edbf8e..250b1852f03 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/HorizontalPodAutoscalerList.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/HorizontalPodAutoscalerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("autoscaling") @Generated("jsonschema2pojo") -public class HorizontalPodAutoscalerList implements KubernetesResource, KubernetesResourceList +public class HorizontalPodAutoscalerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public HorizontalPodAutoscalerListBuilder edit() { + return new HorizontalPodAutoscalerListBuilder(this); + } + + @JsonIgnore + public HorizontalPodAutoscalerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/HorizontalPodAutoscalerSpec.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/HorizontalPodAutoscalerSpec.java index 6e9c92f140e..b0979ba4dda 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/HorizontalPodAutoscalerSpec.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/HorizontalPodAutoscalerSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HorizontalPodAutoscalerSpec implements KubernetesResource +public class HorizontalPodAutoscalerSpec implements Editable , KubernetesResource { @JsonProperty("maxReplicas") @@ -127,6 +128,16 @@ public void setTargetCPUUtilizationPercentage(Integer targetCPUUtilizationPercen this.targetCPUUtilizationPercentage = targetCPUUtilizationPercentage; } + @JsonIgnore + public HorizontalPodAutoscalerSpecBuilder edit() { + return new HorizontalPodAutoscalerSpecBuilder(this); + } + + @JsonIgnore + public HorizontalPodAutoscalerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/HorizontalPodAutoscalerStatus.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/HorizontalPodAutoscalerStatus.java index 7fd35e0af66..8ad8acece80 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/HorizontalPodAutoscalerStatus.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/HorizontalPodAutoscalerStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HorizontalPodAutoscalerStatus implements KubernetesResource +public class HorizontalPodAutoscalerStatus implements Editable , KubernetesResource { @JsonProperty("currentCPUUtilizationPercentage") @@ -141,6 +142,16 @@ public void setObservedGeneration(Long observedGeneration) { this.observedGeneration = observedGeneration; } + @JsonIgnore + public HorizontalPodAutoscalerStatusBuilder edit() { + return new HorizontalPodAutoscalerStatusBuilder(this); + } + + @JsonIgnore + public HorizontalPodAutoscalerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/Scale.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/Scale.java index d749a3ed85c..94221e9eec8 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/Scale.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/Scale.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("autoscaling") @Generated("jsonschema2pojo") -public class Scale implements HasMetadata, Namespaced +public class Scale implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(ScaleStatus status) { this.status = status; } + @JsonIgnore + public ScaleBuilder edit() { + return new ScaleBuilder(this); + } + + @JsonIgnore + public ScaleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/ScaleSpec.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/ScaleSpec.java index 9b59eddf237..b0ee2813000 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/ScaleSpec.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/ScaleSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ScaleSpec implements KubernetesResource +public class ScaleSpec implements Editable , KubernetesResource { @JsonProperty("replicas") @@ -85,6 +86,16 @@ public void setReplicas(Integer replicas) { this.replicas = replicas; } + @JsonIgnore + public ScaleSpecBuilder edit() { + return new ScaleSpecBuilder(this); + } + + @JsonIgnore + public ScaleSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/ScaleStatus.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/ScaleStatus.java index 1e392f044de..64e68d4ed0d 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/ScaleStatus.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/ScaleStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ScaleStatus implements KubernetesResource +public class ScaleStatus implements Editable , KubernetesResource { @JsonProperty("replicas") @@ -99,6 +100,16 @@ public void setSelector(String selector) { this.selector = selector; } + @JsonIgnore + public ScaleStatusBuilder edit() { + return new ScaleStatusBuilder(this); + } + + @JsonIgnore + public ScaleStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ContainerResourceMetricSource.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ContainerResourceMetricSource.java index 612bc5a34c3..053bba3b66e 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ContainerResourceMetricSource.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ContainerResourceMetricSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ContainerResourceMetricSource implements KubernetesResource +public class ContainerResourceMetricSource implements Editable , KubernetesResource { @JsonProperty("container") @@ -113,6 +114,16 @@ public void setTarget(MetricTarget target) { this.target = target; } + @JsonIgnore + public ContainerResourceMetricSourceBuilder edit() { + return new ContainerResourceMetricSourceBuilder(this); + } + + @JsonIgnore + public ContainerResourceMetricSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ContainerResourceMetricStatus.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ContainerResourceMetricStatus.java index ae8e7b5880e..77234010fed 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ContainerResourceMetricStatus.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ContainerResourceMetricStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ContainerResourceMetricStatus implements KubernetesResource +public class ContainerResourceMetricStatus implements Editable , KubernetesResource { @JsonProperty("container") @@ -113,6 +114,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public ContainerResourceMetricStatusBuilder edit() { + return new ContainerResourceMetricStatusBuilder(this); + } + + @JsonIgnore + public ContainerResourceMetricStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/CrossVersionObjectReference.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/CrossVersionObjectReference.java index 30b26b24413..2cf533670df 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/CrossVersionObjectReference.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/CrossVersionObjectReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CrossVersionObjectReference implements KubernetesResource +public class CrossVersionObjectReference implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -111,6 +112,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public CrossVersionObjectReferenceBuilder edit() { + return new CrossVersionObjectReferenceBuilder(this); + } + + @JsonIgnore + public CrossVersionObjectReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ExternalMetricSource.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ExternalMetricSource.java index d48a232cfb7..fc7525d700e 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ExternalMetricSource.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ExternalMetricSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ExternalMetricSource implements KubernetesResource +public class ExternalMetricSource implements Editable , KubernetesResource { @JsonProperty("metric") @@ -99,6 +100,16 @@ public void setTarget(MetricTarget target) { this.target = target; } + @JsonIgnore + public ExternalMetricSourceBuilder edit() { + return new ExternalMetricSourceBuilder(this); + } + + @JsonIgnore + public ExternalMetricSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ExternalMetricStatus.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ExternalMetricStatus.java index 1a4b00dc90a..b62eeaf8f78 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ExternalMetricStatus.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ExternalMetricStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ExternalMetricStatus implements KubernetesResource +public class ExternalMetricStatus implements Editable , KubernetesResource { @JsonProperty("current") @@ -99,6 +100,16 @@ public void setMetric(MetricIdentifier metric) { this.metric = metric; } + @JsonIgnore + public ExternalMetricStatusBuilder edit() { + return new ExternalMetricStatusBuilder(this); + } + + @JsonIgnore + public ExternalMetricStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HPAScalingPolicy.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HPAScalingPolicy.java index a293e017688..3f53ad18f83 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HPAScalingPolicy.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HPAScalingPolicy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HPAScalingPolicy implements KubernetesResource +public class HPAScalingPolicy implements Editable , KubernetesResource { @JsonProperty("periodSeconds") @@ -113,6 +114,16 @@ public void setValue(Integer value) { this.value = value; } + @JsonIgnore + public HPAScalingPolicyBuilder edit() { + return new HPAScalingPolicyBuilder(this); + } + + @JsonIgnore + public HPAScalingPolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HPAScalingRules.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HPAScalingRules.java index 71e641f73a7..d686fe349d3 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HPAScalingRules.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HPAScalingRules.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HPAScalingRules implements KubernetesResource +public class HPAScalingRules implements Editable , KubernetesResource { @JsonProperty("policies") @@ -116,6 +117,16 @@ public void setStabilizationWindowSeconds(Integer stabilizationWindowSeconds) { this.stabilizationWindowSeconds = stabilizationWindowSeconds; } + @JsonIgnore + public HPAScalingRulesBuilder edit() { + return new HPAScalingRulesBuilder(this); + } + + @JsonIgnore + public HPAScalingRulesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscaler.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscaler.java index 6a2ab8d07b9..86e8e40f34c 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscaler.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscaler.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v2") @Group("autoscaling") @Generated("jsonschema2pojo") -public class HorizontalPodAutoscaler implements HasMetadata, Namespaced +public class HorizontalPodAutoscaler implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(HorizontalPodAutoscalerStatus status) { this.status = status; } + @JsonIgnore + public HorizontalPodAutoscalerBuilder edit() { + return new HorizontalPodAutoscalerBuilder(this); + } + + @JsonIgnore + public HorizontalPodAutoscalerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscalerBehavior.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscalerBehavior.java index 1ba8e1e3b05..7d2c19ad8db 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscalerBehavior.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscalerBehavior.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HorizontalPodAutoscalerBehavior implements KubernetesResource +public class HorizontalPodAutoscalerBehavior implements Editable , KubernetesResource { @JsonProperty("scaleDown") @@ -99,6 +100,16 @@ public void setScaleUp(HPAScalingRules scaleUp) { this.scaleUp = scaleUp; } + @JsonIgnore + public HorizontalPodAutoscalerBehaviorBuilder edit() { + return new HorizontalPodAutoscalerBehaviorBuilder(this); + } + + @JsonIgnore + public HorizontalPodAutoscalerBehaviorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscalerCondition.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscalerCondition.java index f28394dfefe..adc6b8a715f 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscalerCondition.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscalerCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HorizontalPodAutoscalerCondition implements KubernetesResource +public class HorizontalPodAutoscalerCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public HorizontalPodAutoscalerConditionBuilder edit() { + return new HorizontalPodAutoscalerConditionBuilder(this); + } + + @JsonIgnore + public HorizontalPodAutoscalerConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscalerList.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscalerList.java index 69b08927fb3..4c70ef2877a 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscalerList.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscalerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v2") @Group("autoscaling") @Generated("jsonschema2pojo") -public class HorizontalPodAutoscalerList implements KubernetesResource, KubernetesResourceList +public class HorizontalPodAutoscalerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public HorizontalPodAutoscalerListBuilder edit() { + return new HorizontalPodAutoscalerListBuilder(this); + } + + @JsonIgnore + public HorizontalPodAutoscalerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscalerSpec.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscalerSpec.java index 620040d7150..2f2b62eaa1e 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscalerSpec.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscalerSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HorizontalPodAutoscalerSpec implements KubernetesResource +public class HorizontalPodAutoscalerSpec implements Editable , KubernetesResource { @JsonProperty("behavior") @@ -144,6 +145,16 @@ public void setScaleTargetRef(CrossVersionObjectReference scaleTargetRef) { this.scaleTargetRef = scaleTargetRef; } + @JsonIgnore + public HorizontalPodAutoscalerSpecBuilder edit() { + return new HorizontalPodAutoscalerSpecBuilder(this); + } + + @JsonIgnore + public HorizontalPodAutoscalerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscalerStatus.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscalerStatus.java index 2079c88eda9..e6eb5482ec6 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscalerStatus.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscalerStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HorizontalPodAutoscalerStatus implements KubernetesResource +public class HorizontalPodAutoscalerStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -159,6 +160,16 @@ public void setObservedGeneration(Long observedGeneration) { this.observedGeneration = observedGeneration; } + @JsonIgnore + public HorizontalPodAutoscalerStatusBuilder edit() { + return new HorizontalPodAutoscalerStatusBuilder(this); + } + + @JsonIgnore + public HorizontalPodAutoscalerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/MetricIdentifier.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/MetricIdentifier.java index d252ed862b1..dce19a128a5 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/MetricIdentifier.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/MetricIdentifier.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MetricIdentifier implements KubernetesResource +public class MetricIdentifier implements Editable , KubernetesResource { @JsonProperty("name") @@ -98,6 +99,16 @@ public void setSelector(io.fabric8.kubernetes.api.model.LabelSelector selector) this.selector = selector; } + @JsonIgnore + public MetricIdentifierBuilder edit() { + return new MetricIdentifierBuilder(this); + } + + @JsonIgnore + public MetricIdentifierBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/MetricSpec.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/MetricSpec.java index 533c9ac35b1..6a66f0baae9 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/MetricSpec.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/MetricSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MetricSpec implements KubernetesResource +public class MetricSpec implements Editable , KubernetesResource { @JsonProperty("containerResource") @@ -155,6 +156,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public MetricSpecBuilder edit() { + return new MetricSpecBuilder(this); + } + + @JsonIgnore + public MetricSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/MetricStatus.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/MetricStatus.java index 124e25b0215..7f6dc55635e 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/MetricStatus.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/MetricStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MetricStatus implements KubernetesResource +public class MetricStatus implements Editable , KubernetesResource { @JsonProperty("containerResource") @@ -155,6 +156,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public MetricStatusBuilder edit() { + return new MetricStatusBuilder(this); + } + + @JsonIgnore + public MetricStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/MetricTarget.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/MetricTarget.java index 5f45499f934..33ceb8672eb 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/MetricTarget.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/MetricTarget.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MetricTarget implements KubernetesResource +public class MetricTarget implements Editable , KubernetesResource { @JsonProperty("averageUtilization") @@ -128,6 +129,16 @@ public void setValue(Quantity value) { this.value = value; } + @JsonIgnore + public MetricTargetBuilder edit() { + return new MetricTargetBuilder(this); + } + + @JsonIgnore + public MetricTargetBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/MetricValueStatus.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/MetricValueStatus.java index ad354239a15..3dcc6bcfd15 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/MetricValueStatus.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/MetricValueStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MetricValueStatus implements KubernetesResource +public class MetricValueStatus implements Editable , KubernetesResource { @JsonProperty("averageUtilization") @@ -114,6 +115,16 @@ public void setValue(Quantity value) { this.value = value; } + @JsonIgnore + public MetricValueStatusBuilder edit() { + return new MetricValueStatusBuilder(this); + } + + @JsonIgnore + public MetricValueStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ObjectMetricSource.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ObjectMetricSource.java index 4098e921d76..33e2e903ea8 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ObjectMetricSource.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ObjectMetricSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ObjectMetricSource implements KubernetesResource +public class ObjectMetricSource implements Editable , KubernetesResource { @JsonProperty("describedObject") @@ -113,6 +114,16 @@ public void setTarget(MetricTarget target) { this.target = target; } + @JsonIgnore + public ObjectMetricSourceBuilder edit() { + return new ObjectMetricSourceBuilder(this); + } + + @JsonIgnore + public ObjectMetricSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ObjectMetricStatus.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ObjectMetricStatus.java index 75ae1e9c097..4d303650e6e 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ObjectMetricStatus.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ObjectMetricStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ObjectMetricStatus implements KubernetesResource +public class ObjectMetricStatus implements Editable , KubernetesResource { @JsonProperty("current") @@ -113,6 +114,16 @@ public void setMetric(MetricIdentifier metric) { this.metric = metric; } + @JsonIgnore + public ObjectMetricStatusBuilder edit() { + return new ObjectMetricStatusBuilder(this); + } + + @JsonIgnore + public ObjectMetricStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/PodsMetricSource.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/PodsMetricSource.java index a99d27b7a6c..2adc6dabba0 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/PodsMetricSource.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/PodsMetricSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PodsMetricSource implements KubernetesResource +public class PodsMetricSource implements Editable , KubernetesResource { @JsonProperty("metric") @@ -99,6 +100,16 @@ public void setTarget(MetricTarget target) { this.target = target; } + @JsonIgnore + public PodsMetricSourceBuilder edit() { + return new PodsMetricSourceBuilder(this); + } + + @JsonIgnore + public PodsMetricSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/PodsMetricStatus.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/PodsMetricStatus.java index c1647178b84..c59e4d2647f 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/PodsMetricStatus.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/PodsMetricStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PodsMetricStatus implements KubernetesResource +public class PodsMetricStatus implements Editable , KubernetesResource { @JsonProperty("current") @@ -99,6 +100,16 @@ public void setMetric(MetricIdentifier metric) { this.metric = metric; } + @JsonIgnore + public PodsMetricStatusBuilder edit() { + return new PodsMetricStatusBuilder(this); + } + + @JsonIgnore + public PodsMetricStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ResourceMetricSource.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ResourceMetricSource.java index c0d822f60eb..71d923c85f3 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ResourceMetricSource.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ResourceMetricSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ResourceMetricSource implements KubernetesResource +public class ResourceMetricSource implements Editable , KubernetesResource { @JsonProperty("name") @@ -99,6 +100,16 @@ public void setTarget(MetricTarget target) { this.target = target; } + @JsonIgnore + public ResourceMetricSourceBuilder edit() { + return new ResourceMetricSourceBuilder(this); + } + + @JsonIgnore + public ResourceMetricSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ResourceMetricStatus.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ResourceMetricStatus.java index ffdbf2b54ce..b6d21caa19b 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ResourceMetricStatus.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/ResourceMetricStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ResourceMetricStatus implements KubernetesResource +public class ResourceMetricStatus implements Editable , KubernetesResource { @JsonProperty("current") @@ -99,6 +100,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public ResourceMetricStatusBuilder edit() { + return new ResourceMetricStatusBuilder(this); + } + + @JsonIgnore + public ResourceMetricStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ContainerResourceMetricSource.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ContainerResourceMetricSource.java index 9cbe19baa94..4bf6581ac36 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ContainerResourceMetricSource.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ContainerResourceMetricSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ContainerResourceMetricSource implements KubernetesResource +public class ContainerResourceMetricSource implements Editable , KubernetesResource { @JsonProperty("container") @@ -128,6 +129,16 @@ public void setTargetAverageValue(Quantity targetAverageValue) { this.targetAverageValue = targetAverageValue; } + @JsonIgnore + public ContainerResourceMetricSourceBuilder edit() { + return new ContainerResourceMetricSourceBuilder(this); + } + + @JsonIgnore + public ContainerResourceMetricSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ContainerResourceMetricStatus.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ContainerResourceMetricStatus.java index 19f668e530e..e90cbc815d1 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ContainerResourceMetricStatus.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ContainerResourceMetricStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ContainerResourceMetricStatus implements KubernetesResource +public class ContainerResourceMetricStatus implements Editable , KubernetesResource { @JsonProperty("container") @@ -128,6 +129,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public ContainerResourceMetricStatusBuilder edit() { + return new ContainerResourceMetricStatusBuilder(this); + } + + @JsonIgnore + public ContainerResourceMetricStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/CrossVersionObjectReference.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/CrossVersionObjectReference.java index d37f57d622b..a52d5a1b209 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/CrossVersionObjectReference.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/CrossVersionObjectReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CrossVersionObjectReference implements KubernetesResource +public class CrossVersionObjectReference implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -111,6 +112,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public CrossVersionObjectReferenceBuilder edit() { + return new CrossVersionObjectReferenceBuilder(this); + } + + @JsonIgnore + public CrossVersionObjectReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ExternalMetricSource.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ExternalMetricSource.java index 8a415ffb108..167411f9245 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ExternalMetricSource.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ExternalMetricSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ExternalMetricSource implements KubernetesResource +public class ExternalMetricSource implements Editable , KubernetesResource { @JsonProperty("metricName") @@ -127,6 +128,16 @@ public void setTargetValue(Quantity targetValue) { this.targetValue = targetValue; } + @JsonIgnore + public ExternalMetricSourceBuilder edit() { + return new ExternalMetricSourceBuilder(this); + } + + @JsonIgnore + public ExternalMetricSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ExternalMetricStatus.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ExternalMetricStatus.java index 6e8d5cfcf9d..faf0e35ba8b 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ExternalMetricStatus.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ExternalMetricStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ExternalMetricStatus implements KubernetesResource +public class ExternalMetricStatus implements Editable , KubernetesResource { @JsonProperty("currentAverageValue") @@ -127,6 +128,16 @@ public void setMetricSelector(io.fabric8.kubernetes.api.model.LabelSelector metr this.metricSelector = metricSelector; } + @JsonIgnore + public ExternalMetricStatusBuilder edit() { + return new ExternalMetricStatusBuilder(this); + } + + @JsonIgnore + public ExternalMetricStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/HorizontalPodAutoscaler.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/HorizontalPodAutoscaler.java index e771ea8b724..5468aee762f 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/HorizontalPodAutoscaler.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/HorizontalPodAutoscaler.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v2beta1") @Group("autoscaling") @Generated("jsonschema2pojo") -public class HorizontalPodAutoscaler implements HasMetadata, Namespaced +public class HorizontalPodAutoscaler implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(HorizontalPodAutoscalerStatus status) { this.status = status; } + @JsonIgnore + public HorizontalPodAutoscalerBuilder edit() { + return new HorizontalPodAutoscalerBuilder(this); + } + + @JsonIgnore + public HorizontalPodAutoscalerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/HorizontalPodAutoscalerCondition.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/HorizontalPodAutoscalerCondition.java index ee9a84d5ff8..1e05a92420a 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/HorizontalPodAutoscalerCondition.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/HorizontalPodAutoscalerCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HorizontalPodAutoscalerCondition implements KubernetesResource +public class HorizontalPodAutoscalerCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public HorizontalPodAutoscalerConditionBuilder edit() { + return new HorizontalPodAutoscalerConditionBuilder(this); + } + + @JsonIgnore + public HorizontalPodAutoscalerConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/HorizontalPodAutoscalerList.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/HorizontalPodAutoscalerList.java index 0a268315a93..64a781facb9 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/HorizontalPodAutoscalerList.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/HorizontalPodAutoscalerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v2beta1") @Group("autoscaling") @Generated("jsonschema2pojo") -public class HorizontalPodAutoscalerList implements KubernetesResource, KubernetesResourceList +public class HorizontalPodAutoscalerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public HorizontalPodAutoscalerListBuilder edit() { + return new HorizontalPodAutoscalerListBuilder(this); + } + + @JsonIgnore + public HorizontalPodAutoscalerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/HorizontalPodAutoscalerSpec.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/HorizontalPodAutoscalerSpec.java index c495d351ee0..d83d6c72f1d 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/HorizontalPodAutoscalerSpec.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/HorizontalPodAutoscalerSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HorizontalPodAutoscalerSpec implements KubernetesResource +public class HorizontalPodAutoscalerSpec implements Editable , KubernetesResource { @JsonProperty("maxReplicas") @@ -130,6 +131,16 @@ public void setScaleTargetRef(CrossVersionObjectReference scaleTargetRef) { this.scaleTargetRef = scaleTargetRef; } + @JsonIgnore + public HorizontalPodAutoscalerSpecBuilder edit() { + return new HorizontalPodAutoscalerSpecBuilder(this); + } + + @JsonIgnore + public HorizontalPodAutoscalerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/HorizontalPodAutoscalerStatus.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/HorizontalPodAutoscalerStatus.java index 4806a8d80d8..6115e93141f 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/HorizontalPodAutoscalerStatus.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/HorizontalPodAutoscalerStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HorizontalPodAutoscalerStatus implements KubernetesResource +public class HorizontalPodAutoscalerStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -159,6 +160,16 @@ public void setObservedGeneration(Long observedGeneration) { this.observedGeneration = observedGeneration; } + @JsonIgnore + public HorizontalPodAutoscalerStatusBuilder edit() { + return new HorizontalPodAutoscalerStatusBuilder(this); + } + + @JsonIgnore + public HorizontalPodAutoscalerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/MetricSpec.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/MetricSpec.java index d94e9bf30ab..a255f161c9b 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/MetricSpec.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/MetricSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MetricSpec implements KubernetesResource +public class MetricSpec implements Editable , KubernetesResource { @JsonProperty("containerResource") @@ -155,6 +156,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public MetricSpecBuilder edit() { + return new MetricSpecBuilder(this); + } + + @JsonIgnore + public MetricSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/MetricStatus.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/MetricStatus.java index bec0db2c17a..0631fcb2164 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/MetricStatus.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/MetricStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MetricStatus implements KubernetesResource +public class MetricStatus implements Editable , KubernetesResource { @JsonProperty("containerResource") @@ -155,6 +156,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public MetricStatusBuilder edit() { + return new MetricStatusBuilder(this); + } + + @JsonIgnore + public MetricStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ObjectMetricSource.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ObjectMetricSource.java index 522d00f35c2..8cb88851283 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ObjectMetricSource.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ObjectMetricSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ObjectMetricSource implements KubernetesResource +public class ObjectMetricSource implements Editable , KubernetesResource { @JsonProperty("averageValue") @@ -141,6 +142,16 @@ public void setTargetValue(Quantity targetValue) { this.targetValue = targetValue; } + @JsonIgnore + public ObjectMetricSourceBuilder edit() { + return new ObjectMetricSourceBuilder(this); + } + + @JsonIgnore + public ObjectMetricSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ObjectMetricStatus.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ObjectMetricStatus.java index 4fb04d34654..2d3109e6e5b 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ObjectMetricStatus.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ObjectMetricStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ObjectMetricStatus implements KubernetesResource +public class ObjectMetricStatus implements Editable , KubernetesResource { @JsonProperty("averageValue") @@ -141,6 +142,16 @@ public void setTarget(CrossVersionObjectReference target) { this.target = target; } + @JsonIgnore + public ObjectMetricStatusBuilder edit() { + return new ObjectMetricStatusBuilder(this); + } + + @JsonIgnore + public ObjectMetricStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/PodsMetricSource.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/PodsMetricSource.java index 689a8313be1..21e4f92cab3 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/PodsMetricSource.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/PodsMetricSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PodsMetricSource implements KubernetesResource +public class PodsMetricSource implements Editable , KubernetesResource { @JsonProperty("metricName") @@ -113,6 +114,16 @@ public void setTargetAverageValue(Quantity targetAverageValue) { this.targetAverageValue = targetAverageValue; } + @JsonIgnore + public PodsMetricSourceBuilder edit() { + return new PodsMetricSourceBuilder(this); + } + + @JsonIgnore + public PodsMetricSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/PodsMetricStatus.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/PodsMetricStatus.java index b5e8c728391..ec05e84f982 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/PodsMetricStatus.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/PodsMetricStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PodsMetricStatus implements KubernetesResource +public class PodsMetricStatus implements Editable , KubernetesResource { @JsonProperty("currentAverageValue") @@ -113,6 +114,16 @@ public void setSelector(io.fabric8.kubernetes.api.model.LabelSelector selector) this.selector = selector; } + @JsonIgnore + public PodsMetricStatusBuilder edit() { + return new PodsMetricStatusBuilder(this); + } + + @JsonIgnore + public PodsMetricStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ResourceMetricSource.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ResourceMetricSource.java index 630efe64390..f262a81fd77 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ResourceMetricSource.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ResourceMetricSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ResourceMetricSource implements KubernetesResource +public class ResourceMetricSource implements Editable , KubernetesResource { @JsonProperty("name") @@ -114,6 +115,16 @@ public void setTargetAverageValue(Quantity targetAverageValue) { this.targetAverageValue = targetAverageValue; } + @JsonIgnore + public ResourceMetricSourceBuilder edit() { + return new ResourceMetricSourceBuilder(this); + } + + @JsonIgnore + public ResourceMetricSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ResourceMetricStatus.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ResourceMetricStatus.java index 268a3cfca70..264480949dc 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ResourceMetricStatus.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/ResourceMetricStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ResourceMetricStatus implements KubernetesResource +public class ResourceMetricStatus implements Editable , KubernetesResource { @JsonProperty("currentAverageUtilization") @@ -114,6 +115,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public ResourceMetricStatusBuilder edit() { + return new ResourceMetricStatusBuilder(this); + } + + @JsonIgnore + public ResourceMetricStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ContainerResourceMetricSource.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ContainerResourceMetricSource.java index 4dc59de943a..ebf6000925f 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ContainerResourceMetricSource.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ContainerResourceMetricSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ContainerResourceMetricSource implements KubernetesResource +public class ContainerResourceMetricSource implements Editable , KubernetesResource { @JsonProperty("container") @@ -113,6 +114,16 @@ public void setTarget(MetricTarget target) { this.target = target; } + @JsonIgnore + public ContainerResourceMetricSourceBuilder edit() { + return new ContainerResourceMetricSourceBuilder(this); + } + + @JsonIgnore + public ContainerResourceMetricSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ContainerResourceMetricStatus.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ContainerResourceMetricStatus.java index 4c44468fa47..6ad488aca82 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ContainerResourceMetricStatus.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ContainerResourceMetricStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ContainerResourceMetricStatus implements KubernetesResource +public class ContainerResourceMetricStatus implements Editable , KubernetesResource { @JsonProperty("container") @@ -113,6 +114,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public ContainerResourceMetricStatusBuilder edit() { + return new ContainerResourceMetricStatusBuilder(this); + } + + @JsonIgnore + public ContainerResourceMetricStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/CrossVersionObjectReference.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/CrossVersionObjectReference.java index ee2e549101c..e6c6a0e196a 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/CrossVersionObjectReference.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/CrossVersionObjectReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CrossVersionObjectReference implements KubernetesResource +public class CrossVersionObjectReference implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -111,6 +112,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public CrossVersionObjectReferenceBuilder edit() { + return new CrossVersionObjectReferenceBuilder(this); + } + + @JsonIgnore + public CrossVersionObjectReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ExternalMetricSource.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ExternalMetricSource.java index a3bb592edf5..e7e17689624 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ExternalMetricSource.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ExternalMetricSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ExternalMetricSource implements KubernetesResource +public class ExternalMetricSource implements Editable , KubernetesResource { @JsonProperty("metric") @@ -99,6 +100,16 @@ public void setTarget(MetricTarget target) { this.target = target; } + @JsonIgnore + public ExternalMetricSourceBuilder edit() { + return new ExternalMetricSourceBuilder(this); + } + + @JsonIgnore + public ExternalMetricSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ExternalMetricStatus.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ExternalMetricStatus.java index cd0536cec3c..40e7c95d6a2 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ExternalMetricStatus.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ExternalMetricStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ExternalMetricStatus implements KubernetesResource +public class ExternalMetricStatus implements Editable , KubernetesResource { @JsonProperty("current") @@ -99,6 +100,16 @@ public void setMetric(MetricIdentifier metric) { this.metric = metric; } + @JsonIgnore + public ExternalMetricStatusBuilder edit() { + return new ExternalMetricStatusBuilder(this); + } + + @JsonIgnore + public ExternalMetricStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HPAScalingPolicy.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HPAScalingPolicy.java index a293eb4792b..bc701e2d910 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HPAScalingPolicy.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HPAScalingPolicy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HPAScalingPolicy implements KubernetesResource +public class HPAScalingPolicy implements Editable , KubernetesResource { @JsonProperty("periodSeconds") @@ -113,6 +114,16 @@ public void setValue(Integer value) { this.value = value; } + @JsonIgnore + public HPAScalingPolicyBuilder edit() { + return new HPAScalingPolicyBuilder(this); + } + + @JsonIgnore + public HPAScalingPolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HPAScalingRules.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HPAScalingRules.java index c48d676b365..2bba4583690 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HPAScalingRules.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HPAScalingRules.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HPAScalingRules implements KubernetesResource +public class HPAScalingRules implements Editable , KubernetesResource { @JsonProperty("policies") @@ -116,6 +117,16 @@ public void setStabilizationWindowSeconds(Integer stabilizationWindowSeconds) { this.stabilizationWindowSeconds = stabilizationWindowSeconds; } + @JsonIgnore + public HPAScalingRulesBuilder edit() { + return new HPAScalingRulesBuilder(this); + } + + @JsonIgnore + public HPAScalingRulesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscaler.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscaler.java index 6e6578da8ea..add627a095c 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscaler.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscaler.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v2beta2") @Group("autoscaling") @Generated("jsonschema2pojo") -public class HorizontalPodAutoscaler implements HasMetadata, Namespaced +public class HorizontalPodAutoscaler implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(HorizontalPodAutoscalerStatus status) { this.status = status; } + @JsonIgnore + public HorizontalPodAutoscalerBuilder edit() { + return new HorizontalPodAutoscalerBuilder(this); + } + + @JsonIgnore + public HorizontalPodAutoscalerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscalerBehavior.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscalerBehavior.java index 6dfb36c1ceb..5bfc80f9bd1 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscalerBehavior.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscalerBehavior.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HorizontalPodAutoscalerBehavior implements KubernetesResource +public class HorizontalPodAutoscalerBehavior implements Editable , KubernetesResource { @JsonProperty("scaleDown") @@ -99,6 +100,16 @@ public void setScaleUp(HPAScalingRules scaleUp) { this.scaleUp = scaleUp; } + @JsonIgnore + public HorizontalPodAutoscalerBehaviorBuilder edit() { + return new HorizontalPodAutoscalerBehaviorBuilder(this); + } + + @JsonIgnore + public HorizontalPodAutoscalerBehaviorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscalerCondition.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscalerCondition.java index 01b7b45727b..54e3ae48cdc 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscalerCondition.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscalerCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HorizontalPodAutoscalerCondition implements KubernetesResource +public class HorizontalPodAutoscalerCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public HorizontalPodAutoscalerConditionBuilder edit() { + return new HorizontalPodAutoscalerConditionBuilder(this); + } + + @JsonIgnore + public HorizontalPodAutoscalerConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscalerList.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscalerList.java index 99bd09dd366..e9b52b9ccb3 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscalerList.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscalerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v2beta2") @Group("autoscaling") @Generated("jsonschema2pojo") -public class HorizontalPodAutoscalerList implements KubernetesResource, KubernetesResourceList +public class HorizontalPodAutoscalerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public HorizontalPodAutoscalerListBuilder edit() { + return new HorizontalPodAutoscalerListBuilder(this); + } + + @JsonIgnore + public HorizontalPodAutoscalerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscalerSpec.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscalerSpec.java index 14cfb90516d..d445f2dd6f5 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscalerSpec.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscalerSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HorizontalPodAutoscalerSpec implements KubernetesResource +public class HorizontalPodAutoscalerSpec implements Editable , KubernetesResource { @JsonProperty("behavior") @@ -144,6 +145,16 @@ public void setScaleTargetRef(CrossVersionObjectReference scaleTargetRef) { this.scaleTargetRef = scaleTargetRef; } + @JsonIgnore + public HorizontalPodAutoscalerSpecBuilder edit() { + return new HorizontalPodAutoscalerSpecBuilder(this); + } + + @JsonIgnore + public HorizontalPodAutoscalerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscalerStatus.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscalerStatus.java index cc0abb9955f..039c95abedd 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscalerStatus.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscalerStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HorizontalPodAutoscalerStatus implements KubernetesResource +public class HorizontalPodAutoscalerStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -159,6 +160,16 @@ public void setObservedGeneration(Long observedGeneration) { this.observedGeneration = observedGeneration; } + @JsonIgnore + public HorizontalPodAutoscalerStatusBuilder edit() { + return new HorizontalPodAutoscalerStatusBuilder(this); + } + + @JsonIgnore + public HorizontalPodAutoscalerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/MetricIdentifier.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/MetricIdentifier.java index 8b893750bfb..0da1e7e5838 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/MetricIdentifier.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/MetricIdentifier.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MetricIdentifier implements KubernetesResource +public class MetricIdentifier implements Editable , KubernetesResource { @JsonProperty("name") @@ -98,6 +99,16 @@ public void setSelector(io.fabric8.kubernetes.api.model.LabelSelector selector) this.selector = selector; } + @JsonIgnore + public MetricIdentifierBuilder edit() { + return new MetricIdentifierBuilder(this); + } + + @JsonIgnore + public MetricIdentifierBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/MetricSpec.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/MetricSpec.java index bb63fd05a30..936bbd3948c 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/MetricSpec.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/MetricSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MetricSpec implements KubernetesResource +public class MetricSpec implements Editable , KubernetesResource { @JsonProperty("containerResource") @@ -155,6 +156,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public MetricSpecBuilder edit() { + return new MetricSpecBuilder(this); + } + + @JsonIgnore + public MetricSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/MetricStatus.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/MetricStatus.java index c8b7d79bbc2..5e600e647f0 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/MetricStatus.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/MetricStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MetricStatus implements KubernetesResource +public class MetricStatus implements Editable , KubernetesResource { @JsonProperty("containerResource") @@ -155,6 +156,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public MetricStatusBuilder edit() { + return new MetricStatusBuilder(this); + } + + @JsonIgnore + public MetricStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/MetricTarget.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/MetricTarget.java index a1c6e823da0..1646ea87887 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/MetricTarget.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/MetricTarget.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MetricTarget implements KubernetesResource +public class MetricTarget implements Editable , KubernetesResource { @JsonProperty("averageUtilization") @@ -128,6 +129,16 @@ public void setValue(Quantity value) { this.value = value; } + @JsonIgnore + public MetricTargetBuilder edit() { + return new MetricTargetBuilder(this); + } + + @JsonIgnore + public MetricTargetBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/MetricValueStatus.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/MetricValueStatus.java index fafaa17fcd9..d94a2490ee7 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/MetricValueStatus.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/MetricValueStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MetricValueStatus implements KubernetesResource +public class MetricValueStatus implements Editable , KubernetesResource { @JsonProperty("averageUtilization") @@ -114,6 +115,16 @@ public void setValue(Quantity value) { this.value = value; } + @JsonIgnore + public MetricValueStatusBuilder edit() { + return new MetricValueStatusBuilder(this); + } + + @JsonIgnore + public MetricValueStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ObjectMetricSource.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ObjectMetricSource.java index 0af13be53d1..4f6c9d97f16 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ObjectMetricSource.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ObjectMetricSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ObjectMetricSource implements KubernetesResource +public class ObjectMetricSource implements Editable , KubernetesResource { @JsonProperty("describedObject") @@ -113,6 +114,16 @@ public void setTarget(MetricTarget target) { this.target = target; } + @JsonIgnore + public ObjectMetricSourceBuilder edit() { + return new ObjectMetricSourceBuilder(this); + } + + @JsonIgnore + public ObjectMetricSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ObjectMetricStatus.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ObjectMetricStatus.java index 0d95bd1b94a..7261835dd71 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ObjectMetricStatus.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ObjectMetricStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ObjectMetricStatus implements KubernetesResource +public class ObjectMetricStatus implements Editable , KubernetesResource { @JsonProperty("current") @@ -113,6 +114,16 @@ public void setMetric(MetricIdentifier metric) { this.metric = metric; } + @JsonIgnore + public ObjectMetricStatusBuilder edit() { + return new ObjectMetricStatusBuilder(this); + } + + @JsonIgnore + public ObjectMetricStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/PodsMetricSource.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/PodsMetricSource.java index 93e963e2389..309e8aaf197 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/PodsMetricSource.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/PodsMetricSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PodsMetricSource implements KubernetesResource +public class PodsMetricSource implements Editable , KubernetesResource { @JsonProperty("metric") @@ -99,6 +100,16 @@ public void setTarget(MetricTarget target) { this.target = target; } + @JsonIgnore + public PodsMetricSourceBuilder edit() { + return new PodsMetricSourceBuilder(this); + } + + @JsonIgnore + public PodsMetricSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/PodsMetricStatus.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/PodsMetricStatus.java index 1b0d4023e74..2f96e3493e9 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/PodsMetricStatus.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/PodsMetricStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PodsMetricStatus implements KubernetesResource +public class PodsMetricStatus implements Editable , KubernetesResource { @JsonProperty("current") @@ -99,6 +100,16 @@ public void setMetric(MetricIdentifier metric) { this.metric = metric; } + @JsonIgnore + public PodsMetricStatusBuilder edit() { + return new PodsMetricStatusBuilder(this); + } + + @JsonIgnore + public PodsMetricStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ResourceMetricSource.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ResourceMetricSource.java index 1aaf806df0f..53f4085a0fe 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ResourceMetricSource.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ResourceMetricSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ResourceMetricSource implements KubernetesResource +public class ResourceMetricSource implements Editable , KubernetesResource { @JsonProperty("name") @@ -99,6 +100,16 @@ public void setTarget(MetricTarget target) { this.target = target; } + @JsonIgnore + public ResourceMetricSourceBuilder edit() { + return new ResourceMetricSourceBuilder(this); + } + + @JsonIgnore + public ResourceMetricSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ResourceMetricStatus.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ResourceMetricStatus.java index 089ed79be8e..be26e03906b 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ResourceMetricStatus.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/ResourceMetricStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ResourceMetricStatus implements KubernetesResource +public class ResourceMetricStatus implements Editable , KubernetesResource { @JsonProperty("current") @@ -99,6 +100,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public ResourceMetricStatusBuilder edit() { + return new ResourceMetricStatusBuilder(this); + } + + @JsonIgnore + public ResourceMetricStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/kubernetes-model-autoscaling/src/main/resources/schema/validation-schema.json index 3a9486cafae..014ce16726d 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/main/resources/schema/validation-schema.json @@ -2766,9 +2766,12 @@ "name": { "type": "string" }, - "target": { - "$ref": "#/definitions/kubernetes_autoscaling_v2_MetricTarget", - "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2.MetricTarget" + "targetAverageUtilization": { + "type": "integer" + }, + "targetAverageValue": { + "$ref": "#/definitions/kubernetes_resource_Quantity", + "existingJavaType": "io.fabric8.kubernetes.api.model.Quantity" } }, "additionalProperties": true @@ -2778,12 +2781,9 @@ "container": { "type": "string" }, - "currentAverageUtilization": { - "type": "integer" - }, - "currentAverageValue": { - "$ref": "#/definitions/kubernetes_resource_Quantity", - "existingJavaType": "io.fabric8.kubernetes.api.model.Quantity" + "current": { + "$ref": "#/definitions/kubernetes_autoscaling_v2beta2_MetricValueStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2beta2.MetricValueStatus" }, "name": { "type": "string" @@ -2871,20 +2871,13 @@ }, "externalmetricsource": { "properties": { - "metricName": { - "type": "string" - }, - "metricSelector": { - "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", - "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" - }, - "targetAverageValue": { - "$ref": "#/definitions/kubernetes_resource_Quantity", - "existingJavaType": "io.fabric8.kubernetes.api.model.Quantity" + "metric": { + "$ref": "#/definitions/kubernetes_autoscaling_v2_MetricIdentifier", + "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2.MetricIdentifier" }, - "targetValue": { - "$ref": "#/definitions/kubernetes_resource_Quantity", - "existingJavaType": "io.fabric8.kubernetes.api.model.Quantity" + "target": { + "$ref": "#/definitions/kubernetes_autoscaling_v2_MetricTarget", + "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2.MetricTarget" } }, "additionalProperties": true @@ -2938,7 +2931,7 @@ "properties": { "apiVersion": { "type": "string", - "default": "autoscaling/v2beta1", + "default": "autoscaling/v1", "required": true }, "kind": { @@ -2951,12 +2944,12 @@ "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" }, "spec": { - "$ref": "#/definitions/kubernetes_autoscaling_v2beta1_HorizontalPodAutoscalerSpec", - "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2beta1.HorizontalPodAutoscalerSpec" + "$ref": "#/definitions/kubernetes_autoscaling_v1_HorizontalPodAutoscalerSpec", + "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v1.HorizontalPodAutoscalerSpec" }, "status": { - "$ref": "#/definitions/kubernetes_autoscaling_v2beta1_HorizontalPodAutoscalerStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2beta1.HorizontalPodAutoscalerStatus" + "$ref": "#/definitions/kubernetes_autoscaling_v1_HorizontalPodAutoscalerStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v1.HorizontalPodAutoscalerStatus" } }, "additionalProperties": true @@ -2999,14 +2992,14 @@ "properties": { "apiVersion": { "type": "string", - "default": "autoscaling/v2", + "default": "autoscaling/v2beta2", "required": true }, "items": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_autoscaling_v2_HorizontalPodAutoscaler", - "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2.HorizontalPodAutoscaler" + "$ref": "#/definitions/kubernetes_autoscaling_v2beta2_HorizontalPodAutoscaler", + "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2beta2.HorizontalPodAutoscaler" } }, "kind": { @@ -3023,10 +3016,6 @@ }, "horizontalpodautoscalerspec": { "properties": { - "behavior": { - "$ref": "#/definitions/kubernetes_autoscaling_v2_HorizontalPodAutoscalerBehavior", - "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2.HorizontalPodAutoscalerBehavior" - }, "maxReplicas": { "type": "integer" }, @@ -3034,16 +3023,16 @@ "type": "array", "javaOmitEmpty": true, "items": { - "$ref": "#/definitions/kubernetes_autoscaling_v2_MetricSpec", - "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2.MetricSpec" + "$ref": "#/definitions/kubernetes_autoscaling_v2beta1_MetricSpec", + "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2beta1.MetricSpec" } }, "minReplicas": { "type": "integer" }, "scaleTargetRef": { - "$ref": "#/definitions/kubernetes_autoscaling_v2_CrossVersionObjectReference", - "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2.CrossVersionObjectReference" + "$ref": "#/definitions/kubernetes_autoscaling_v2beta1_CrossVersionObjectReference", + "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2beta1.CrossVersionObjectReference" } }, "additionalProperties": true @@ -3052,17 +3041,16 @@ "properties": { "conditions": { "type": "array", - "javaOmitEmpty": true, "items": { - "$ref": "#/definitions/kubernetes_autoscaling_v2_HorizontalPodAutoscalerCondition", - "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2.HorizontalPodAutoscalerCondition" + "$ref": "#/definitions/kubernetes_autoscaling_v2beta1_HorizontalPodAutoscalerCondition", + "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2beta1.HorizontalPodAutoscalerCondition" } }, "currentMetrics": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_autoscaling_v2_MetricStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2.MetricStatus" + "$ref": "#/definitions/kubernetes_autoscaling_v2beta1_MetricStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2beta1.MetricStatus" } }, "currentReplicas": { @@ -3102,8 +3090,8 @@ "type": "array", "javaOmitEmpty": true, "items": { - "$ref": "#/definitions/kubernetes_autoscaling_v2beta2_HPAScalingPolicy", - "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2beta2.HPAScalingPolicy" + "$ref": "#/definitions/kubernetes_autoscaling_v2_HPAScalingPolicy", + "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2.HPAScalingPolicy" } }, "selectPolicy": { @@ -3319,24 +3307,24 @@ "metricspec": { "properties": { "containerResource": { - "$ref": "#/definitions/kubernetes_autoscaling_v2beta1_ContainerResourceMetricSource", - "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2beta1.ContainerResourceMetricSource" + "$ref": "#/definitions/kubernetes_autoscaling_v2_ContainerResourceMetricSource", + "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2.ContainerResourceMetricSource" }, "external": { - "$ref": "#/definitions/kubernetes_autoscaling_v2beta1_ExternalMetricSource", - "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2beta1.ExternalMetricSource" + "$ref": "#/definitions/kubernetes_autoscaling_v2_ExternalMetricSource", + "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2.ExternalMetricSource" }, "object": { - "$ref": "#/definitions/kubernetes_autoscaling_v2beta1_ObjectMetricSource", - "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2beta1.ObjectMetricSource" + "$ref": "#/definitions/kubernetes_autoscaling_v2_ObjectMetricSource", + "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2.ObjectMetricSource" }, "pods": { - "$ref": "#/definitions/kubernetes_autoscaling_v2beta1_PodsMetricSource", - "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2beta1.PodsMetricSource" + "$ref": "#/definitions/kubernetes_autoscaling_v2_PodsMetricSource", + "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2.PodsMetricSource" }, "resource": { - "$ref": "#/definitions/kubernetes_autoscaling_v2beta1_ResourceMetricSource", - "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2beta1.ResourceMetricSource" + "$ref": "#/definitions/kubernetes_autoscaling_v2_ResourceMetricSource", + "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2.ResourceMetricSource" }, "type": { "type": "string" @@ -3347,24 +3335,24 @@ "metricstatus": { "properties": { "containerResource": { - "$ref": "#/definitions/kubernetes_autoscaling_v2_ContainerResourceMetricStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2.ContainerResourceMetricStatus" + "$ref": "#/definitions/kubernetes_autoscaling_v2beta2_ContainerResourceMetricStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2beta2.ContainerResourceMetricStatus" }, "external": { - "$ref": "#/definitions/kubernetes_autoscaling_v2_ExternalMetricStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2.ExternalMetricStatus" + "$ref": "#/definitions/kubernetes_autoscaling_v2beta2_ExternalMetricStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2beta2.ExternalMetricStatus" }, "object": { - "$ref": "#/definitions/kubernetes_autoscaling_v2_ObjectMetricStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2.ObjectMetricStatus" + "$ref": "#/definitions/kubernetes_autoscaling_v2beta2_ObjectMetricStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2beta2.ObjectMetricStatus" }, "pods": { - "$ref": "#/definitions/kubernetes_autoscaling_v2_PodsMetricStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2.PodsMetricStatus" + "$ref": "#/definitions/kubernetes_autoscaling_v2beta2_PodsMetricStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2beta2.PodsMetricStatus" }, "resource": { - "$ref": "#/definitions/kubernetes_autoscaling_v2_ResourceMetricStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2.ResourceMetricStatus" + "$ref": "#/definitions/kubernetes_autoscaling_v2beta2_ResourceMetricStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2beta2.ResourceMetricStatus" }, "type": { "type": "string" @@ -3486,11 +3474,32 @@ "additionalProperties": true }, "objectmetricsource": { + "properties": { + "describedObject": { + "$ref": "#/definitions/kubernetes_autoscaling_v2beta2_CrossVersionObjectReference", + "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2beta2.CrossVersionObjectReference" + }, + "metric": { + "$ref": "#/definitions/kubernetes_autoscaling_v2beta2_MetricIdentifier", + "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2beta2.MetricIdentifier" + }, + "target": { + "$ref": "#/definitions/kubernetes_autoscaling_v2beta2_MetricTarget", + "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2beta2.MetricTarget" + } + }, + "additionalProperties": true + }, + "objectmetricstatus": { "properties": { "averageValue": { "$ref": "#/definitions/kubernetes_resource_Quantity", "existingJavaType": "io.fabric8.kubernetes.api.model.Quantity" }, + "currentValue": { + "$ref": "#/definitions/kubernetes_resource_Quantity", + "existingJavaType": "io.fabric8.kubernetes.api.model.Quantity" + }, "metricName": { "type": "string" }, @@ -3501,27 +3510,6 @@ "target": { "$ref": "#/definitions/kubernetes_autoscaling_v2beta1_CrossVersionObjectReference", "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2beta1.CrossVersionObjectReference" - }, - "targetValue": { - "$ref": "#/definitions/kubernetes_resource_Quantity", - "existingJavaType": "io.fabric8.kubernetes.api.model.Quantity" - } - }, - "additionalProperties": true - }, - "objectmetricstatus": { - "properties": { - "current": { - "$ref": "#/definitions/kubernetes_autoscaling_v2beta2_MetricValueStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2beta2.MetricValueStatus" - }, - "describedObject": { - "$ref": "#/definitions/kubernetes_autoscaling_v2beta2_CrossVersionObjectReference", - "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2beta2.CrossVersionObjectReference" - }, - "metric": { - "$ref": "#/definitions/kubernetes_autoscaling_v2beta2_MetricIdentifier", - "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2beta2.MetricIdentifier" } }, "additionalProperties": true @@ -3585,13 +3573,16 @@ }, "podsmetricsource": { "properties": { - "metric": { - "$ref": "#/definitions/kubernetes_autoscaling_v2_MetricIdentifier", - "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2.MetricIdentifier" + "metricName": { + "type": "string" }, - "target": { - "$ref": "#/definitions/kubernetes_autoscaling_v2_MetricTarget", - "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2.MetricTarget" + "selector": { + "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", + "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" + }, + "targetAverageValue": { + "$ref": "#/definitions/kubernetes_resource_Quantity", + "existingJavaType": "io.fabric8.kubernetes.api.model.Quantity" } }, "additionalProperties": true @@ -3640,8 +3631,8 @@ "type": "string" }, "target": { - "$ref": "#/definitions/kubernetes_autoscaling_v2_MetricTarget", - "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2.MetricTarget" + "$ref": "#/definitions/kubernetes_autoscaling_v2beta2_MetricTarget", + "existingJavaType": "io.fabric8.kubernetes.api.model.autoscaling.v2beta2.MetricTarget" } }, "additionalProperties": true diff --git a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index 399c75cee64..c4c2af0174a 100644 --- a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -79,7 +80,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -407,6 +409,16 @@ public void setV1CronJobList(io.fabric8.kubernetes.api.model.batch.v1.CronJobLis this.v1CronJobList = v1CronJobList; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index cce7d8f65fc..a7f48225c21 100644 --- a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -79,7 +80,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -407,6 +409,16 @@ public void setV1CronJobList(io.fabric8.kubernetes.api.model.batch.v1.CronJobLis this.v1CronJobList = v1CronJobList; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/CronJob.java b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/CronJob.java index 88b2c855217..375043b78bc 100644 --- a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/CronJob.java +++ b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/CronJob.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("batch") @Generated("jsonschema2pojo") -public class CronJob implements HasMetadata, Namespaced +public class CronJob implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(CronJobStatus status) { this.status = status; } + @JsonIgnore + public CronJobBuilder edit() { + return new CronJobBuilder(this); + } + + @JsonIgnore + public CronJobBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/CronJobList.java b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/CronJobList.java index e395a13ce7d..3b8be0ccbc7 100644 --- a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/CronJobList.java +++ b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/CronJobList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("batch") @Generated("jsonschema2pojo") -public class CronJobList implements KubernetesResource, KubernetesResourceList +public class CronJobList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public CronJobListBuilder edit() { + return new CronJobListBuilder(this); + } + + @JsonIgnore + public CronJobListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/CronJobSpec.java b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/CronJobSpec.java index defaff2d65e..0a795351376 100644 --- a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/CronJobSpec.java +++ b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/CronJobSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CronJobSpec implements KubernetesResource +public class CronJobSpec implements Editable , KubernetesResource { @JsonProperty("concurrencyPolicy") @@ -183,6 +184,16 @@ public void setTimeZone(String timeZone) { this.timeZone = timeZone; } + @JsonIgnore + public CronJobSpecBuilder edit() { + return new CronJobSpecBuilder(this); + } + + @JsonIgnore + public CronJobSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/CronJobStatus.java b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/CronJobStatus.java index b0b1d28067e..6ade98dce2d 100644 --- a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/CronJobStatus.java +++ b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/CronJobStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CronJobStatus implements KubernetesResource +public class CronJobStatus implements Editable , KubernetesResource { @JsonProperty("active") @@ -115,6 +116,16 @@ public void setLastSuccessfulTime(String lastSuccessfulTime) { this.lastSuccessfulTime = lastSuccessfulTime; } + @JsonIgnore + public CronJobStatusBuilder edit() { + return new CronJobStatusBuilder(this); + } + + @JsonIgnore + public CronJobStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/Job.java b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/Job.java index d1c1d6307de..54114662a11 100644 --- a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/Job.java +++ b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/Job.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("batch") @Generated("jsonschema2pojo") -public class Job implements HasMetadata, Namespaced +public class Job implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(JobStatus status) { this.status = status; } + @JsonIgnore + public JobBuilder edit() { + return new JobBuilder(this); + } + + @JsonIgnore + public JobBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/JobCondition.java b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/JobCondition.java index faed8fc57da..ee897bdf98e 100644 --- a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/JobCondition.java +++ b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/JobCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class JobCondition implements KubernetesResource +public class JobCondition implements Editable , KubernetesResource { @JsonProperty("lastProbeTime") @@ -155,6 +156,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public JobConditionBuilder edit() { + return new JobConditionBuilder(this); + } + + @JsonIgnore + public JobConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/JobList.java b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/JobList.java index 6534da33130..48988d38650 100644 --- a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/JobList.java +++ b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/JobList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("batch") @Generated("jsonschema2pojo") -public class JobList implements KubernetesResource, KubernetesResourceList +public class JobList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public JobListBuilder edit() { + return new JobListBuilder(this); + } + + @JsonIgnore + public JobListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/JobSpec.java b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/JobSpec.java index 6aa64a06670..860afd4e590 100644 --- a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/JobSpec.java +++ b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/JobSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -34,11 +35,14 @@ "metadata", "activeDeadlineSeconds", "backoffLimit", + "backoffLimitPerIndex", "completionMode", "completions", "manualSelector", + "maxFailedIndexes", "parallelism", "podFailurePolicy", + "podReplacementPolicy", "selector", "suspend", "template", @@ -63,23 +67,29 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class JobSpec implements KubernetesResource +public class JobSpec implements Editable , KubernetesResource { @JsonProperty("activeDeadlineSeconds") private Long activeDeadlineSeconds; @JsonProperty("backoffLimit") private Integer backoffLimit; + @JsonProperty("backoffLimitPerIndex") + private Integer backoffLimitPerIndex; @JsonProperty("completionMode") private String completionMode; @JsonProperty("completions") private Integer completions; @JsonProperty("manualSelector") private Boolean manualSelector; + @JsonProperty("maxFailedIndexes") + private Integer maxFailedIndexes; @JsonProperty("parallelism") private Integer parallelism; @JsonProperty("podFailurePolicy") private PodFailurePolicy podFailurePolicy; + @JsonProperty("podReplacementPolicy") + private String podReplacementPolicy; @JsonProperty("selector") private io.fabric8.kubernetes.api.model.LabelSelector selector; @JsonProperty("suspend") @@ -98,15 +108,18 @@ public class JobSpec implements KubernetesResource public JobSpec() { } - public JobSpec(Long activeDeadlineSeconds, Integer backoffLimit, String completionMode, Integer completions, Boolean manualSelector, Integer parallelism, PodFailurePolicy podFailurePolicy, io.fabric8.kubernetes.api.model.LabelSelector selector, Boolean suspend, io.fabric8.kubernetes.api.model.PodTemplateSpec template, Integer ttlSecondsAfterFinished) { + public JobSpec(Long activeDeadlineSeconds, Integer backoffLimit, Integer backoffLimitPerIndex, String completionMode, Integer completions, Boolean manualSelector, Integer maxFailedIndexes, Integer parallelism, PodFailurePolicy podFailurePolicy, String podReplacementPolicy, io.fabric8.kubernetes.api.model.LabelSelector selector, Boolean suspend, io.fabric8.kubernetes.api.model.PodTemplateSpec template, Integer ttlSecondsAfterFinished) { super(); this.activeDeadlineSeconds = activeDeadlineSeconds; this.backoffLimit = backoffLimit; + this.backoffLimitPerIndex = backoffLimitPerIndex; this.completionMode = completionMode; this.completions = completions; this.manualSelector = manualSelector; + this.maxFailedIndexes = maxFailedIndexes; this.parallelism = parallelism; this.podFailurePolicy = podFailurePolicy; + this.podReplacementPolicy = podReplacementPolicy; this.selector = selector; this.suspend = suspend; this.template = template; @@ -133,6 +146,16 @@ public void setBackoffLimit(Integer backoffLimit) { this.backoffLimit = backoffLimit; } + @JsonProperty("backoffLimitPerIndex") + public Integer getBackoffLimitPerIndex() { + return backoffLimitPerIndex; + } + + @JsonProperty("backoffLimitPerIndex") + public void setBackoffLimitPerIndex(Integer backoffLimitPerIndex) { + this.backoffLimitPerIndex = backoffLimitPerIndex; + } + @JsonProperty("completionMode") public String getCompletionMode() { return completionMode; @@ -163,6 +186,16 @@ public void setManualSelector(Boolean manualSelector) { this.manualSelector = manualSelector; } + @JsonProperty("maxFailedIndexes") + public Integer getMaxFailedIndexes() { + return maxFailedIndexes; + } + + @JsonProperty("maxFailedIndexes") + public void setMaxFailedIndexes(Integer maxFailedIndexes) { + this.maxFailedIndexes = maxFailedIndexes; + } + @JsonProperty("parallelism") public Integer getParallelism() { return parallelism; @@ -183,6 +216,16 @@ public void setPodFailurePolicy(PodFailurePolicy podFailurePolicy) { this.podFailurePolicy = podFailurePolicy; } + @JsonProperty("podReplacementPolicy") + public String getPodReplacementPolicy() { + return podReplacementPolicy; + } + + @JsonProperty("podReplacementPolicy") + public void setPodReplacementPolicy(String podReplacementPolicy) { + this.podReplacementPolicy = podReplacementPolicy; + } + @JsonProperty("selector") public io.fabric8.kubernetes.api.model.LabelSelector getSelector() { return selector; @@ -223,6 +266,16 @@ public void setTtlSecondsAfterFinished(Integer ttlSecondsAfterFinished) { this.ttlSecondsAfterFinished = ttlSecondsAfterFinished; } + @JsonIgnore + public JobSpecBuilder edit() { + return new JobSpecBuilder(this); + } + + @JsonIgnore + public JobSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/JobStatus.java b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/JobStatus.java index deafda3997e..14b42de2735 100644 --- a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/JobStatus.java +++ b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/JobStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -41,9 +42,11 @@ "completionTime", "conditions", "failed", + "failedIndexes", "ready", "startTime", "succeeded", + "terminating", "uncountedTerminatedPods" }) @ToString @@ -65,7 +68,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class JobStatus implements KubernetesResource +public class JobStatus implements Editable , KubernetesResource { @JsonProperty("active") @@ -79,12 +82,16 @@ public class JobStatus implements KubernetesResource private List conditions = new ArrayList(); @JsonProperty("failed") private Integer failed; + @JsonProperty("failedIndexes") + private java.lang.String failedIndexes; @JsonProperty("ready") private Integer ready; @JsonProperty("startTime") private String startTime; @JsonProperty("succeeded") private Integer succeeded; + @JsonProperty("terminating") + private Integer terminating; @JsonProperty("uncountedTerminatedPods") private UncountedTerminatedPods uncountedTerminatedPods; @JsonIgnore @@ -97,16 +104,18 @@ public class JobStatus implements KubernetesResource public JobStatus() { } - public JobStatus(Integer active, java.lang.String completedIndexes, String completionTime, List conditions, Integer failed, Integer ready, String startTime, Integer succeeded, UncountedTerminatedPods uncountedTerminatedPods) { + public JobStatus(Integer active, java.lang.String completedIndexes, String completionTime, List conditions, Integer failed, java.lang.String failedIndexes, Integer ready, String startTime, Integer succeeded, Integer terminating, UncountedTerminatedPods uncountedTerminatedPods) { super(); this.active = active; this.completedIndexes = completedIndexes; this.completionTime = completionTime; this.conditions = conditions; this.failed = failed; + this.failedIndexes = failedIndexes; this.ready = ready; this.startTime = startTime; this.succeeded = succeeded; + this.terminating = terminating; this.uncountedTerminatedPods = uncountedTerminatedPods; } @@ -160,6 +169,16 @@ public void setFailed(Integer failed) { this.failed = failed; } + @JsonProperty("failedIndexes") + public java.lang.String getFailedIndexes() { + return failedIndexes; + } + + @JsonProperty("failedIndexes") + public void setFailedIndexes(java.lang.String failedIndexes) { + this.failedIndexes = failedIndexes; + } + @JsonProperty("ready") public Integer getReady() { return ready; @@ -190,6 +209,16 @@ public void setSucceeded(Integer succeeded) { this.succeeded = succeeded; } + @JsonProperty("terminating") + public Integer getTerminating() { + return terminating; + } + + @JsonProperty("terminating") + public void setTerminating(Integer terminating) { + this.terminating = terminating; + } + @JsonProperty("uncountedTerminatedPods") public UncountedTerminatedPods getUncountedTerminatedPods() { return uncountedTerminatedPods; @@ -200,6 +229,16 @@ public void setUncountedTerminatedPods(UncountedTerminatedPods uncountedTerminat this.uncountedTerminatedPods = uncountedTerminatedPods; } + @JsonIgnore + public JobStatusBuilder edit() { + return new JobStatusBuilder(this); + } + + @JsonIgnore + public JobStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/JobTemplateSpec.java b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/JobTemplateSpec.java index c46972ab14e..e2550d3770f 100644 --- a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/JobTemplateSpec.java +++ b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/JobTemplateSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -54,7 +55,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class JobTemplateSpec implements KubernetesResource +public class JobTemplateSpec implements Editable , KubernetesResource { @JsonProperty("metadata") @@ -97,6 +98,16 @@ public void setSpec(JobSpec spec) { this.spec = spec; } + @JsonIgnore + public JobTemplateSpecBuilder edit() { + return new JobTemplateSpecBuilder(this); + } + + @JsonIgnore + public JobTemplateSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/PodFailurePolicy.java b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/PodFailurePolicy.java index 2608cd10802..57e0ac202ff 100644 --- a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/PodFailurePolicy.java +++ b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/PodFailurePolicy.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PodFailurePolicy implements KubernetesResource +public class PodFailurePolicy implements Editable , KubernetesResource { @JsonProperty("rules") @@ -88,6 +89,16 @@ public void setRules(List rules) { this.rules = rules; } + @JsonIgnore + public PodFailurePolicyBuilder edit() { + return new PodFailurePolicyBuilder(this); + } + + @JsonIgnore + public PodFailurePolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/PodFailurePolicyOnExitCodesRequirement.java b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/PodFailurePolicyOnExitCodesRequirement.java index 7eef9e39203..4249ca3148b 100644 --- a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/PodFailurePolicyOnExitCodesRequirement.java +++ b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/PodFailurePolicyOnExitCodesRequirement.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PodFailurePolicyOnExitCodesRequirement implements KubernetesResource +public class PodFailurePolicyOnExitCodesRequirement implements Editable , KubernetesResource { @JsonProperty("containerName") @@ -116,6 +117,16 @@ public void setValues(List values) { this.values = values; } + @JsonIgnore + public PodFailurePolicyOnExitCodesRequirementBuilder edit() { + return new PodFailurePolicyOnExitCodesRequirementBuilder(this); + } + + @JsonIgnore + public PodFailurePolicyOnExitCodesRequirementBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/PodFailurePolicyOnPodConditionsPattern.java b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/PodFailurePolicyOnPodConditionsPattern.java index 9d10040e5a3..493071bd43f 100644 --- a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/PodFailurePolicyOnPodConditionsPattern.java +++ b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/PodFailurePolicyOnPodConditionsPattern.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PodFailurePolicyOnPodConditionsPattern implements KubernetesResource +public class PodFailurePolicyOnPodConditionsPattern implements Editable , KubernetesResource { @JsonProperty("status") @@ -99,6 +100,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public PodFailurePolicyOnPodConditionsPatternBuilder edit() { + return new PodFailurePolicyOnPodConditionsPatternBuilder(this); + } + + @JsonIgnore + public PodFailurePolicyOnPodConditionsPatternBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/PodFailurePolicyRule.java b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/PodFailurePolicyRule.java index d5a8bf32991..c5d744b5bd9 100644 --- a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/PodFailurePolicyRule.java +++ b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/PodFailurePolicyRule.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PodFailurePolicyRule implements KubernetesResource +public class PodFailurePolicyRule implements Editable , KubernetesResource { @JsonProperty("action") @@ -116,6 +117,16 @@ public void setOnPodConditions(List onPo this.onPodConditions = onPodConditions; } + @JsonIgnore + public PodFailurePolicyRuleBuilder edit() { + return new PodFailurePolicyRuleBuilder(this); + } + + @JsonIgnore + public PodFailurePolicyRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/UncountedTerminatedPods.java b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/UncountedTerminatedPods.java index a2fb73809c0..0ace2aedb5e 100644 --- a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/UncountedTerminatedPods.java +++ b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/UncountedTerminatedPods.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class UncountedTerminatedPods implements KubernetesResource +public class UncountedTerminatedPods implements Editable , KubernetesResource { @JsonProperty("failed") @@ -103,6 +104,16 @@ public void setSucceeded(List succeeded) { this.succeeded = succeeded; } + @JsonIgnore + public UncountedTerminatedPodsBuilder edit() { + return new UncountedTerminatedPodsBuilder(this); + } + + @JsonIgnore + public UncountedTerminatedPodsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1beta1/CronJob.java b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1beta1/CronJob.java index cfa355b73ba..adcf48d0eb3 100644 --- a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1beta1/CronJob.java +++ b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1beta1/CronJob.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1beta1") @Group("batch") @Generated("jsonschema2pojo") -public class CronJob implements HasMetadata, Namespaced +public class CronJob implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(CronJobStatus status) { this.status = status; } + @JsonIgnore + public CronJobBuilder edit() { + return new CronJobBuilder(this); + } + + @JsonIgnore + public CronJobBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1beta1/CronJobList.java b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1beta1/CronJobList.java index e2c8c9d24a5..f008f21524b 100644 --- a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1beta1/CronJobList.java +++ b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1beta1/CronJobList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("batch") @Generated("jsonschema2pojo") -public class CronJobList implements KubernetesResource, KubernetesResourceList +public class CronJobList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public CronJobListBuilder edit() { + return new CronJobListBuilder(this); + } + + @JsonIgnore + public CronJobListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1beta1/CronJobSpec.java b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1beta1/CronJobSpec.java index d53d95e0af5..0e6f8bc189f 100644 --- a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1beta1/CronJobSpec.java +++ b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1beta1/CronJobSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CronJobSpec implements KubernetesResource +public class CronJobSpec implements Editable , KubernetesResource { @JsonProperty("concurrencyPolicy") @@ -183,6 +184,16 @@ public void setTimeZone(String timeZone) { this.timeZone = timeZone; } + @JsonIgnore + public CronJobSpecBuilder edit() { + return new CronJobSpecBuilder(this); + } + + @JsonIgnore + public CronJobSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1beta1/CronJobStatus.java b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1beta1/CronJobStatus.java index 61b1b30d9f5..f857cbd5058 100644 --- a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1beta1/CronJobStatus.java +++ b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1beta1/CronJobStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CronJobStatus implements KubernetesResource +public class CronJobStatus implements Editable , KubernetesResource { @JsonProperty("active") @@ -115,6 +116,16 @@ public void setLastSuccessfulTime(String lastSuccessfulTime) { this.lastSuccessfulTime = lastSuccessfulTime; } + @JsonIgnore + public CronJobStatusBuilder edit() { + return new CronJobStatusBuilder(this); + } + + @JsonIgnore + public CronJobStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1beta1/JobTemplateSpec.java b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1beta1/JobTemplateSpec.java index 103ff1e4714..106b91f8b43 100644 --- a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1beta1/JobTemplateSpec.java +++ b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1beta1/JobTemplateSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class JobTemplateSpec implements KubernetesResource +public class JobTemplateSpec implements Editable , KubernetesResource { @JsonProperty("metadata") @@ -98,6 +99,16 @@ public void setSpec(JobSpec spec) { this.spec = spec; } + @JsonIgnore + public JobTemplateSpecBuilder edit() { + return new JobTemplateSpecBuilder(this); + } + + @JsonIgnore + public JobTemplateSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-batch/src/main/resources/schema/kube-schema.json b/kubernetes-model-generator/kubernetes-model-batch/src/main/resources/schema/kube-schema.json index edf2ce7edbf..f9e9443df14 100644 --- a/kubernetes-model-generator/kubernetes-model-batch/src/main/resources/schema/kube-schema.json +++ b/kubernetes-model-generator/kubernetes-model-batch/src/main/resources/schema/kube-schema.json @@ -1048,6 +1048,9 @@ "backoffLimit": { "type": "integer" }, + "backoffLimitPerIndex": { + "type": "integer" + }, "completionMode": { "type": "string" }, @@ -1057,6 +1060,9 @@ "manualSelector": { "type": "boolean" }, + "maxFailedIndexes": { + "type": "integer" + }, "parallelism": { "type": "integer" }, @@ -1064,6 +1070,9 @@ "$ref": "#/definitions/kubernetes_batch_v1_PodFailurePolicy", "existingJavaType": "io.fabric8.kubernetes.api.model.batch.v1.PodFailurePolicy" }, + "podReplacementPolicy": { + "type": "string" + }, "selector": { "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" @@ -1109,6 +1118,9 @@ "failed": { "type": "integer" }, + "failedIndexes": { + "type": "string" + }, "ready": { "type": "integer" }, @@ -1119,6 +1131,9 @@ "succeeded": { "type": "integer" }, + "terminating": { + "type": "integer" + }, "uncountedTerminatedPods": { "$ref": "#/definitions/kubernetes_batch_v1_UncountedTerminatedPods", "existingJavaType": "io.fabric8.kubernetes.api.model.batch.v1.UncountedTerminatedPods" @@ -1774,6 +1789,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -2088,6 +2106,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -2214,6 +2235,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" diff --git a/kubernetes-model-generator/kubernetes-model-batch/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/kubernetes-model-batch/src/main/resources/schema/validation-schema.json index cc81576dab9..b1373aae1fd 100644 --- a/kubernetes-model-generator/kubernetes-model-batch/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/kubernetes-model-batch/src/main/resources/schema/validation-schema.json @@ -1048,6 +1048,9 @@ "backoffLimit": { "type": "integer" }, + "backoffLimitPerIndex": { + "type": "integer" + }, "completionMode": { "type": "string" }, @@ -1057,6 +1060,9 @@ "manualSelector": { "type": "boolean" }, + "maxFailedIndexes": { + "type": "integer" + }, "parallelism": { "type": "integer" }, @@ -1064,6 +1070,9 @@ "$ref": "#/definitions/kubernetes_batch_v1_PodFailurePolicy", "existingJavaType": "io.fabric8.kubernetes.api.model.batch.v1.PodFailurePolicy" }, + "podReplacementPolicy": { + "type": "string" + }, "selector": { "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" @@ -1109,6 +1118,9 @@ "failed": { "type": "integer" }, + "failedIndexes": { + "type": "string" + }, "ready": { "type": "integer" }, @@ -1119,6 +1131,9 @@ "succeeded": { "type": "integer" }, + "terminating": { + "type": "integer" + }, "uncountedTerminatedPods": { "$ref": "#/definitions/kubernetes_batch_v1_UncountedTerminatedPods", "existingJavaType": "io.fabric8.kubernetes.api.model.batch.v1.UncountedTerminatedPods" @@ -1774,6 +1789,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -2088,6 +2106,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -2214,6 +2235,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -4876,6 +4900,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -4986,7 +5013,7 @@ "properties": { "apiVersion": { "type": "string", - "default": "batch/v1", + "default": "batch/v1beta1", "required": true }, "kind": { @@ -4999,12 +5026,12 @@ "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" }, "spec": { - "$ref": "#/definitions/kubernetes_batch_v1_CronJobSpec", - "existingJavaType": "io.fabric8.kubernetes.api.model.batch.v1.CronJobSpec" + "$ref": "#/definitions/kubernetes_batch_v1beta1_CronJobSpec", + "existingJavaType": "io.fabric8.kubernetes.api.model.batch.v1beta1.CronJobSpec" }, "status": { - "$ref": "#/definitions/kubernetes_batch_v1_CronJobStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.batch.v1.CronJobStatus" + "$ref": "#/definitions/kubernetes_batch_v1beta1_CronJobStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.batch.v1beta1.CronJobStatus" } }, "additionalProperties": true @@ -5044,8 +5071,8 @@ "type": "integer" }, "jobTemplate": { - "$ref": "#/definitions/kubernetes_batch_v1beta1_JobTemplateSpec", - "existingJavaType": "io.fabric8.kubernetes.api.model.batch.v1beta1.JobTemplateSpec" + "$ref": "#/definitions/kubernetes_batch_v1_JobTemplateSpec", + "existingJavaType": "io.fabric8.kubernetes.api.model.batch.v1.JobTemplateSpec" }, "schedule": { "type": "string" @@ -5334,6 +5361,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -5455,6 +5485,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -5913,6 +5946,9 @@ "backoffLimit": { "type": "integer" }, + "backoffLimitPerIndex": { + "type": "integer" + }, "completionMode": { "type": "string" }, @@ -5922,6 +5958,9 @@ "manualSelector": { "type": "boolean" }, + "maxFailedIndexes": { + "type": "integer" + }, "parallelism": { "type": "integer" }, @@ -5929,6 +5968,9 @@ "$ref": "#/definitions/kubernetes_batch_v1_PodFailurePolicy", "existingJavaType": "io.fabric8.kubernetes.api.model.batch.v1.PodFailurePolicy" }, + "podReplacementPolicy": { + "type": "string" + }, "selector": { "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" @@ -5969,6 +6011,9 @@ "failed": { "type": "integer" }, + "failedIndexes": { + "type": "string" + }, "ready": { "type": "integer" }, @@ -5979,6 +6024,9 @@ "succeeded": { "type": "integer" }, + "terminating": { + "type": "integer" + }, "uncountedTerminatedPods": { "$ref": "#/definitions/kubernetes_batch_v1_UncountedTerminatedPods", "existingJavaType": "io.fabric8.kubernetes.api.model.batch.v1.UncountedTerminatedPods" diff --git a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index 2454e9e6687..616abe4798d 100644 --- a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -84,7 +85,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -477,6 +479,16 @@ public void setV1Beta1CertificateSigningRequestStatus(io.fabric8.kubernetes.api. this.v1Beta1CertificateSigningRequestStatus = v1Beta1CertificateSigningRequestStatus; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index 37922f6ffd1..83e984274da 100644 --- a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -84,7 +85,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -477,6 +479,16 @@ public void setV1Beta1CertificateSigningRequestStatus(io.fabric8.kubernetes.api. this.v1Beta1CertificateSigningRequestStatus = v1Beta1CertificateSigningRequestStatus; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1/CertificateSigningRequest.java b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1/CertificateSigningRequest.java index d2b2355c120..6db4163a085 100644 --- a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1/CertificateSigningRequest.java +++ b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1/CertificateSigningRequest.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("certificates.k8s.io") @Generated("jsonschema2pojo") -public class CertificateSigningRequest implements HasMetadata +public class CertificateSigningRequest implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(CertificateSigningRequestStatus status) { this.status = status; } + @JsonIgnore + public CertificateSigningRequestBuilder edit() { + return new CertificateSigningRequestBuilder(this); + } + + @JsonIgnore + public CertificateSigningRequestBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1/CertificateSigningRequestCondition.java b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1/CertificateSigningRequestCondition.java index 8303e88bcd3..12beac258cc 100644 --- a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1/CertificateSigningRequestCondition.java +++ b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1/CertificateSigningRequestCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CertificateSigningRequestCondition implements KubernetesResource +public class CertificateSigningRequestCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -155,6 +156,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public CertificateSigningRequestConditionBuilder edit() { + return new CertificateSigningRequestConditionBuilder(this); + } + + @JsonIgnore + public CertificateSigningRequestConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1/CertificateSigningRequestList.java b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1/CertificateSigningRequestList.java index a809b30d0eb..9a61628a452 100644 --- a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1/CertificateSigningRequestList.java +++ b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1/CertificateSigningRequestList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("certificates.k8s.io") @Generated("jsonschema2pojo") -public class CertificateSigningRequestList implements KubernetesResource, KubernetesResourceList +public class CertificateSigningRequestList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public CertificateSigningRequestListBuilder edit() { + return new CertificateSigningRequestListBuilder(this); + } + + @JsonIgnore + public CertificateSigningRequestListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1/CertificateSigningRequestSpec.java b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1/CertificateSigningRequestSpec.java index e20cb59c5a7..b96fca51490 100644 --- a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1/CertificateSigningRequestSpec.java +++ b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1/CertificateSigningRequestSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CertificateSigningRequestSpec implements KubernetesResource +public class CertificateSigningRequestSpec implements Editable , KubernetesResource { @JsonProperty("expirationSeconds") @@ -188,6 +189,16 @@ public void setUsername(java.lang.String username) { this.username = username; } + @JsonIgnore + public CertificateSigningRequestSpecBuilder edit() { + return new CertificateSigningRequestSpecBuilder(this); + } + + @JsonIgnore + public CertificateSigningRequestSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1/CertificateSigningRequestStatus.java b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1/CertificateSigningRequestStatus.java index 0970d4d75b0..2b49dae5aa5 100644 --- a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1/CertificateSigningRequestStatus.java +++ b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1/CertificateSigningRequestStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CertificateSigningRequestStatus implements KubernetesResource +public class CertificateSigningRequestStatus implements Editable , KubernetesResource { @JsonProperty("certificate") @@ -102,6 +103,16 @@ public void setConditions(List conditions) { this.conditions = conditions; } + @JsonIgnore + public CertificateSigningRequestStatusBuilder edit() { + return new CertificateSigningRequestStatusBuilder(this); + } + + @JsonIgnore + public CertificateSigningRequestStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1alpha1/ClusterTrustBundle.java b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1alpha1/ClusterTrustBundle.java index b6c79553334..14d3637d946 100644 --- a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1alpha1/ClusterTrustBundle.java +++ b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1alpha1/ClusterTrustBundle.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -63,7 +64,7 @@ @Version("v1alpha1") @Group("certificates.k8s.io") @Generated("jsonschema2pojo") -public class ClusterTrustBundle implements HasMetadata +public class ClusterTrustBundle implements Editable , HasMetadata { /** @@ -162,6 +163,16 @@ public void setSpec(ClusterTrustBundleSpec spec) { this.spec = spec; } + @JsonIgnore + public ClusterTrustBundleBuilder edit() { + return new ClusterTrustBundleBuilder(this); + } + + @JsonIgnore + public ClusterTrustBundleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1alpha1/ClusterTrustBundleList.java b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1alpha1/ClusterTrustBundleList.java index 46040a7765b..1373bb60fee 100644 --- a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1alpha1/ClusterTrustBundleList.java +++ b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1alpha1/ClusterTrustBundleList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha1") @Group("certificates.k8s.io") @Generated("jsonschema2pojo") -public class ClusterTrustBundleList implements KubernetesResource, KubernetesResourceList +public class ClusterTrustBundleList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterTrustBundleListBuilder edit() { + return new ClusterTrustBundleListBuilder(this); + } + + @JsonIgnore + public ClusterTrustBundleListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1alpha1/ClusterTrustBundleSpec.java b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1alpha1/ClusterTrustBundleSpec.java index f19a711a62b..7c3a4af31f7 100644 --- a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1alpha1/ClusterTrustBundleSpec.java +++ b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1alpha1/ClusterTrustBundleSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterTrustBundleSpec implements KubernetesResource +public class ClusterTrustBundleSpec implements Editable , KubernetesResource { @JsonProperty("signerName") @@ -99,6 +100,16 @@ public void setTrustBundle(String trustBundle) { this.trustBundle = trustBundle; } + @JsonIgnore + public ClusterTrustBundleSpecBuilder edit() { + return new ClusterTrustBundleSpecBuilder(this); + } + + @JsonIgnore + public ClusterTrustBundleSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1beta1/CertificateSigningRequest.java b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1beta1/CertificateSigningRequest.java index 2ea0bf39cd5..72b1339a0c4 100644 --- a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1beta1/CertificateSigningRequest.java +++ b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1beta1/CertificateSigningRequest.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1beta1") @Group("certificates.k8s.io") @Generated("jsonschema2pojo") -public class CertificateSigningRequest implements HasMetadata +public class CertificateSigningRequest implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(CertificateSigningRequestStatus status) { this.status = status; } + @JsonIgnore + public CertificateSigningRequestBuilder edit() { + return new CertificateSigningRequestBuilder(this); + } + + @JsonIgnore + public CertificateSigningRequestBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1beta1/CertificateSigningRequestCondition.java b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1beta1/CertificateSigningRequestCondition.java index 767e1c0b62d..ecb7c80df07 100644 --- a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1beta1/CertificateSigningRequestCondition.java +++ b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1beta1/CertificateSigningRequestCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CertificateSigningRequestCondition implements KubernetesResource +public class CertificateSigningRequestCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -155,6 +156,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public CertificateSigningRequestConditionBuilder edit() { + return new CertificateSigningRequestConditionBuilder(this); + } + + @JsonIgnore + public CertificateSigningRequestConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1beta1/CertificateSigningRequestList.java b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1beta1/CertificateSigningRequestList.java index 603d7b6dd59..9a7ff0d5fc9 100644 --- a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1beta1/CertificateSigningRequestList.java +++ b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1beta1/CertificateSigningRequestList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("certificates.k8s.io") @Generated("jsonschema2pojo") -public class CertificateSigningRequestList implements KubernetesResource, KubernetesResourceList +public class CertificateSigningRequestList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public CertificateSigningRequestListBuilder edit() { + return new CertificateSigningRequestListBuilder(this); + } + + @JsonIgnore + public CertificateSigningRequestListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1beta1/CertificateSigningRequestSpec.java b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1beta1/CertificateSigningRequestSpec.java index ae5abb17c1e..7450512bbb5 100644 --- a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1beta1/CertificateSigningRequestSpec.java +++ b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1beta1/CertificateSigningRequestSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CertificateSigningRequestSpec implements KubernetesResource +public class CertificateSigningRequestSpec implements Editable , KubernetesResource { @JsonProperty("expirationSeconds") @@ -188,6 +189,16 @@ public void setUsername(java.lang.String username) { this.username = username; } + @JsonIgnore + public CertificateSigningRequestSpecBuilder edit() { + return new CertificateSigningRequestSpecBuilder(this); + } + + @JsonIgnore + public CertificateSigningRequestSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1beta1/CertificateSigningRequestStatus.java b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1beta1/CertificateSigningRequestStatus.java index 28d02c403b4..03ff5e91619 100644 --- a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1beta1/CertificateSigningRequestStatus.java +++ b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1beta1/CertificateSigningRequestStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CertificateSigningRequestStatus implements KubernetesResource +public class CertificateSigningRequestStatus implements Editable , KubernetesResource { @JsonProperty("certificate") @@ -102,6 +103,16 @@ public void setConditions(List conditions) { this.conditions = conditions; } + @JsonIgnore + public CertificateSigningRequestStatusBuilder edit() { + return new CertificateSigningRequestStatusBuilder(this); + } + + @JsonIgnore + public CertificateSigningRequestStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-certificates/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/kubernetes-model-certificates/src/main/resources/schema/validation-schema.json index 59756ea9748..1a9da26e27e 100644 --- a/kubernetes-model-generator/kubernetes-model-certificates/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/kubernetes-model-certificates/src/main/resources/schema/validation-schema.json @@ -1337,7 +1337,7 @@ "properties": { "apiVersion": { "type": "string", - "default": "certificates.k8s.io/v1beta1", + "default": "certificates.k8s.io/v1", "required": true }, "kind": { @@ -1350,12 +1350,12 @@ "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" }, "spec": { - "$ref": "#/definitions/kubernetes_certificates_v1beta1_CertificateSigningRequestSpec", - "existingJavaType": "io.fabric8.kubernetes.api.model.certificates.v1beta1.CertificateSigningRequestSpec" + "$ref": "#/definitions/kubernetes_certificates_v1_CertificateSigningRequestSpec", + "existingJavaType": "io.fabric8.kubernetes.api.model.certificates.v1.CertificateSigningRequestSpec" }, "status": { - "$ref": "#/definitions/kubernetes_certificates_v1beta1_CertificateSigningRequestStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.certificates.v1beta1.CertificateSigningRequestStatus" + "$ref": "#/definitions/kubernetes_certificates_v1_CertificateSigningRequestStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.certificates.v1.CertificateSigningRequestStatus" } }, "additionalProperties": true @@ -1464,8 +1464,8 @@ "type": "array", "javaOmitEmpty": true, "items": { - "$ref": "#/definitions/kubernetes_certificates_v1beta1_CertificateSigningRequestCondition", - "existingJavaType": "io.fabric8.kubernetes.api.model.certificates.v1beta1.CertificateSigningRequestCondition" + "$ref": "#/definitions/kubernetes_certificates_v1_CertificateSigningRequestCondition", + "existingJavaType": "io.fabric8.kubernetes.api.model.certificates.v1.CertificateSigningRequestCondition" } } }, diff --git a/kubernetes-model-generator/kubernetes-model-common/pom.xml b/kubernetes-model-generator/kubernetes-model-common/pom.xml index b5e5ad30659..a2152f5dff5 100644 --- a/kubernetes-model-generator/kubernetes-model-common/pom.xml +++ b/kubernetes-model-generator/kubernetes-model-common/pom.xml @@ -67,11 +67,36 @@ ${project.groupId}.${project.artifactId} * - io.fabric8.kubernetes.model** + io.fabric8.kubernetes.model**, + io.fabric8.kubernetes.api.builder** + + maven-antrun-plugin + + + package + + + Removing Unneeded Classes + + + + + + + + + + run + + + + diff --git a/kubernetes-model-generator/kubernetes-model-common/src/main/java/io/fabric8/kubernetes/model/util/Dummy.java b/kubernetes-model-generator/kubernetes-model-common/src/main/java/io/fabric8/kubernetes/model/util/Dummy.java new file mode 100644 index 00000000000..c215d4e55b7 --- /dev/null +++ b/kubernetes-model-generator/kubernetes-model-common/src/main/java/io/fabric8/kubernetes/model/util/Dummy.java @@ -0,0 +1,27 @@ +/** + * 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 io.fabric8.kubernetes.model.util; + +import io.sundr.builder.annotations.Buildable; + +/** + * Only exists to trigger builder package generation + */ +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, builderPackage = "io.fabric8.kubernetes.api.builder") +class Dummy { + +} diff --git a/kubernetes-model-generator/kubernetes-model-coordination/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/kubernetes-model-coordination/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index eda82b1d216..896b272f46b 100644 --- a/kubernetes-model-generator/kubernetes-model-coordination/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/kubernetes-model-coordination/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -74,7 +75,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -337,6 +339,16 @@ public void setUpdateOptions(UpdateOptions updateOptions) { this.updateOptions = updateOptions; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-coordination/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/kubernetes-model-coordination/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index e323580fb8e..e71eaa975b5 100644 --- a/kubernetes-model-generator/kubernetes-model-coordination/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/kubernetes-model-coordination/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -74,7 +75,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -337,6 +339,16 @@ public void setUpdateOptions(UpdateOptions updateOptions) { this.updateOptions = updateOptions; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-coordination/src/generated/java/io/fabric8/kubernetes/api/model/coordination/v1/Lease.java b/kubernetes-model-generator/kubernetes-model-coordination/src/generated/java/io/fabric8/kubernetes/api/model/coordination/v1/Lease.java index 72c09eec2db..aaf04ceac3b 100644 --- a/kubernetes-model-generator/kubernetes-model-coordination/src/generated/java/io/fabric8/kubernetes/api/model/coordination/v1/Lease.java +++ b/kubernetes-model-generator/kubernetes-model-coordination/src/generated/java/io/fabric8/kubernetes/api/model/coordination/v1/Lease.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("coordination.k8s.io") @Generated("jsonschema2pojo") -public class Lease implements HasMetadata, Namespaced +public class Lease implements Editable , HasMetadata, Namespaced { /** @@ -163,6 +164,16 @@ public void setSpec(LeaseSpec spec) { this.spec = spec; } + @JsonIgnore + public LeaseBuilder edit() { + return new LeaseBuilder(this); + } + + @JsonIgnore + public LeaseBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-coordination/src/generated/java/io/fabric8/kubernetes/api/model/coordination/v1/LeaseList.java b/kubernetes-model-generator/kubernetes-model-coordination/src/generated/java/io/fabric8/kubernetes/api/model/coordination/v1/LeaseList.java index a06bf8c3166..6f6c101c2ad 100644 --- a/kubernetes-model-generator/kubernetes-model-coordination/src/generated/java/io/fabric8/kubernetes/api/model/coordination/v1/LeaseList.java +++ b/kubernetes-model-generator/kubernetes-model-coordination/src/generated/java/io/fabric8/kubernetes/api/model/coordination/v1/LeaseList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("coordination.k8s.io") @Generated("jsonschema2pojo") -public class LeaseList implements KubernetesResource, KubernetesResourceList +public class LeaseList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public LeaseListBuilder edit() { + return new LeaseListBuilder(this); + } + + @JsonIgnore + public LeaseListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIGroup.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIGroup.java index f46d4e42da6..dba42fcab9d 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIGroup.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIGroup.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -41,14 +42,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class APIGroup implements KubernetesResource +public class APIGroup implements Editable , KubernetesResource { /** @@ -175,6 +176,16 @@ public void setVersions(List versions) { this.versions = versions; } + @JsonIgnore + public APIGroupBuilder edit() { + return new APIGroupBuilder(this); + } + + @JsonIgnore + public APIGroupBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIGroupList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIGroupList.java index 21f3e923e62..31eb4d9ea71 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIGroupList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIGroupList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -38,14 +39,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class APIGroupList implements KubernetesResource +public class APIGroupList implements Editable , KubernetesResource { /** @@ -132,6 +133,16 @@ public void setKind(String kind) { this.kind = kind; } + @JsonIgnore + public APIGroupListBuilder edit() { + return new APIGroupListBuilder(this); + } + + @JsonIgnore + public APIGroupListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIResource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIResource.java index 3f22a85d19c..b9ce5276a96 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIResource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIResource.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -42,9 +43,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class APIResource implements KubernetesResource +public class APIResource implements Editable , KubernetesResource { @JsonProperty("categories") @@ -194,6 +195,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public APIResourceBuilder edit() { + return new APIResourceBuilder(this); + } + + @JsonIgnore + public APIResourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIResourceList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIResourceList.java index b16d5db2076..391c344bdc3 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIResourceList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIResourceList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import io.sundr.transform.annotations.TemplateTransformation; import io.sundr.transform.annotations.TemplateTransformations; @@ -37,12 +38,12 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Generated("jsonschema2pojo") -public class APIResourceList implements KubernetesResource +public class APIResourceList implements Editable , KubernetesResource { /** @@ -142,6 +143,16 @@ public void setResources(List resources) { this.resources = resources; } + @JsonIgnore + public APIResourceListBuilder edit() { + return new APIResourceListBuilder(this); + } + + @JsonIgnore + public APIResourceListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIService.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIService.java index 3c835c5ffbc..4660bcb5165 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIService.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIService.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -37,14 +38,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("apiregistration.k8s.io") @Generated("jsonschema2pojo") -public class APIService implements HasMetadata +public class APIService implements Editable , HasMetadata { /** @@ -156,6 +157,16 @@ public void setStatus(APIServiceStatus status) { this.status = status; } + @JsonIgnore + public APIServiceBuilder edit() { + return new APIServiceBuilder(this); + } + + @JsonIgnore + public APIServiceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIServiceCondition.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIServiceCondition.java index 188fb00d5f4..63033667219 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIServiceCondition.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIServiceCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -36,9 +37,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class APIServiceCondition implements KubernetesResource +public class APIServiceCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -120,6 +121,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public APIServiceConditionBuilder edit() { + return new APIServiceConditionBuilder(this); + } + + @JsonIgnore + public APIServiceConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIServiceList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIServiceList.java index f8a9d819e72..abf254148ea 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIServiceList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIServiceList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -38,14 +39,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("apiregistration.k8s.io") @Generated("jsonschema2pojo") -public class APIServiceList implements KubernetesResource, KubernetesResourceList +public class APIServiceList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -145,6 +146,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public APIServiceListBuilder edit() { + return new APIServiceListBuilder(this); + } + + @JsonIgnore + public APIServiceListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIServiceSpec.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIServiceSpec.java index 781ae1105ff..52a11cc89ce 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIServiceSpec.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIServiceSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -38,9 +39,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class APIServiceSpec implements KubernetesResource +public class APIServiceSpec implements Editable , KubernetesResource { @JsonProperty("caBundle") @@ -148,6 +149,16 @@ public void setVersionPriority(Integer versionPriority) { this.versionPriority = versionPriority; } + @JsonIgnore + public APIServiceSpecBuilder edit() { + return new APIServiceSpecBuilder(this); + } + + @JsonIgnore + public APIServiceSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIServiceStatus.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIServiceStatus.java index 0f0233c89cd..efae8e8e3e2 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIServiceStatus.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIServiceStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class APIServiceStatus implements KubernetesResource +public class APIServiceStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -67,6 +68,16 @@ public void setConditions(List conditions) { this.conditions = conditions; } + @JsonIgnore + public APIServiceStatusBuilder edit() { + return new APIServiceStatusBuilder(this); + } + + @JsonIgnore + public APIServiceStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/AWSElasticBlockStoreVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/AWSElasticBlockStoreVolumeSource.java index f6ef5a09270..b0c4dff7a7b 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/AWSElasticBlockStoreVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/AWSElasticBlockStoreVolumeSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class AWSElasticBlockStoreVolumeSource implements KubernetesResource +public class AWSElasticBlockStoreVolumeSource implements Editable , KubernetesResource { @JsonProperty("fsType") @@ -106,6 +107,16 @@ public void setVolumeID(String volumeID) { this.volumeID = volumeID; } + @JsonIgnore + public AWSElasticBlockStoreVolumeSourceBuilder edit() { + return new AWSElasticBlockStoreVolumeSourceBuilder(this); + } + + @JsonIgnore + public AWSElasticBlockStoreVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Affinity.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Affinity.java index 49e498f9976..4b50b94fcc3 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Affinity.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Affinity.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class Affinity implements KubernetesResource +public class Affinity implements Editable , KubernetesResource { @JsonProperty("nodeAffinity") @@ -92,6 +93,16 @@ public void setPodAntiAffinity(PodAntiAffinity podAntiAffinity) { this.podAntiAffinity = podAntiAffinity; } + @JsonIgnore + public AffinityBuilder edit() { + return new AffinityBuilder(this); + } + + @JsonIgnore + public AffinityBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/AttachedVolume.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/AttachedVolume.java index b7b7051d69a..5a9b56892ae 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/AttachedVolume.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/AttachedVolume.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class AttachedVolume implements KubernetesResource +public class AttachedVolume implements Editable , KubernetesResource { @JsonProperty("devicePath") @@ -78,6 +79,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public AttachedVolumeBuilder edit() { + return new AttachedVolumeBuilder(this); + } + + @JsonIgnore + public AttachedVolumeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/AuthInfo.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/AuthInfo.java index 7c0d034f8e8..04c7162b510 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/AuthInfo.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/AuthInfo.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -48,9 +49,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class AuthInfo implements KubernetesResource +public class AuthInfo implements Editable , KubernetesResource { @JsonProperty("as") @@ -265,6 +266,16 @@ public void setUsername(java.lang.String username) { this.username = username; } + @JsonIgnore + public AuthInfoBuilder edit() { + return new AuthInfoBuilder(this); + } + + @JsonIgnore + public AuthInfoBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/AuthProviderConfig.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/AuthProviderConfig.java index d1aca7915a0..e6f7d4dff1c 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/AuthProviderConfig.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/AuthProviderConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class AuthProviderConfig implements KubernetesResource +public class AuthProviderConfig implements Editable , KubernetesResource { @JsonProperty("config") @@ -79,6 +80,16 @@ public void setName(java.lang.String name) { this.name = name; } + @JsonIgnore + public AuthProviderConfigBuilder edit() { + return new AuthProviderConfigBuilder(this); + } + + @JsonIgnore + public AuthProviderConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/AzureDiskVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/AzureDiskVolumeSource.java index d2cd5291a6e..3a256396815 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/AzureDiskVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/AzureDiskVolumeSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -36,9 +37,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class AzureDiskVolumeSource implements KubernetesResource +public class AzureDiskVolumeSource implements Editable , KubernetesResource { @JsonProperty("cachingMode") @@ -133,6 +134,16 @@ public void setReadOnly(Boolean readOnly) { this.readOnly = readOnly; } + @JsonIgnore + public AzureDiskVolumeSourceBuilder edit() { + return new AzureDiskVolumeSourceBuilder(this); + } + + @JsonIgnore + public AzureDiskVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/AzureFilePersistentVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/AzureFilePersistentVolumeSource.java index 21fc27be285..a04f3bc874b 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/AzureFilePersistentVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/AzureFilePersistentVolumeSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class AzureFilePersistentVolumeSource implements KubernetesResource +public class AzureFilePersistentVolumeSource implements Editable , KubernetesResource { @JsonProperty("readOnly") @@ -106,6 +107,16 @@ public void setShareName(String shareName) { this.shareName = shareName; } + @JsonIgnore + public AzureFilePersistentVolumeSourceBuilder edit() { + return new AzureFilePersistentVolumeSourceBuilder(this); + } + + @JsonIgnore + public AzureFilePersistentVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/AzureFileVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/AzureFileVolumeSource.java index c24e1f57ec3..ff1595f21b9 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/AzureFileVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/AzureFileVolumeSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class AzureFileVolumeSource implements KubernetesResource +public class AzureFileVolumeSource implements Editable , KubernetesResource { @JsonProperty("readOnly") @@ -92,6 +93,16 @@ public void setShareName(String shareName) { this.shareName = shareName; } + @JsonIgnore + public AzureFileVolumeSourceBuilder edit() { + return new AzureFileVolumeSourceBuilder(this); + } + + @JsonIgnore + public AzureFileVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Binding.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Binding.java index 9252f0004fd..5010cdd4867 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Binding.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Binding.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -36,14 +37,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class Binding implements HasMetadata, Namespaced +public class Binding implements Editable , HasMetadata, Namespaced { /** @@ -142,6 +143,16 @@ public void setTarget(ObjectReference target) { this.target = target; } + @JsonIgnore + public BindingBuilder edit() { + return new BindingBuilder(this); + } + + @JsonIgnore + public BindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CSIPersistentVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CSIPersistentVolumeSource.java index f7e12cbc875..b368a4d7154 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CSIPersistentVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CSIPersistentVolumeSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -41,9 +42,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class CSIPersistentVolumeSource implements KubernetesResource +public class CSIPersistentVolumeSource implements Editable , KubernetesResource { @JsonProperty("controllerExpandSecretRef") @@ -191,6 +192,16 @@ public void setVolumeHandle(java.lang.String volumeHandle) { this.volumeHandle = volumeHandle; } + @JsonIgnore + public CSIPersistentVolumeSourceBuilder edit() { + return new CSIPersistentVolumeSourceBuilder(this); + } + + @JsonIgnore + public CSIPersistentVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CSIVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CSIVolumeSource.java index 849b54bacdc..d46ee34b9dc 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CSIVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CSIVolumeSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -36,9 +37,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class CSIVolumeSource implements KubernetesResource +public class CSIVolumeSource implements Editable , KubernetesResource { @JsonProperty("driver") @@ -121,6 +122,16 @@ public void setVolumeAttributes(Map volumeAttributes) { this.volumeAttributes = volumeAttributes; } + @JsonIgnore + public CSIVolumeSourceBuilder edit() { + return new CSIVolumeSourceBuilder(this); + } + + @JsonIgnore + public CSIVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Capabilities.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Capabilities.java index 3cbd8324fa5..275d1667104 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Capabilities.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Capabilities.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class Capabilities implements KubernetesResource +public class Capabilities implements Editable , KubernetesResource { @JsonProperty("add") @@ -82,6 +83,16 @@ public void setDrop(List drop) { this.drop = drop; } + @JsonIgnore + public CapabilitiesBuilder edit() { + return new CapabilitiesBuilder(this); + } + + @JsonIgnore + public CapabilitiesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CephFSPersistentVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CephFSPersistentVolumeSource.java index 9841d724faf..51b433bbcd8 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CephFSPersistentVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CephFSPersistentVolumeSource.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -39,9 +40,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class CephFSPersistentVolumeSource implements KubernetesResource +public class CephFSPersistentVolumeSource implements Editable , KubernetesResource { @JsonProperty("monitors") @@ -137,6 +138,16 @@ public void setUser(String user) { this.user = user; } + @JsonIgnore + public CephFSPersistentVolumeSourceBuilder edit() { + return new CephFSPersistentVolumeSourceBuilder(this); + } + + @JsonIgnore + public CephFSPersistentVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CephFSVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CephFSVolumeSource.java index 23b42a6033e..845305b0264 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CephFSVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CephFSVolumeSource.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -39,9 +40,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class CephFSVolumeSource implements KubernetesResource +public class CephFSVolumeSource implements Editable , KubernetesResource { @JsonProperty("monitors") @@ -137,6 +138,16 @@ public void setUser(String user) { this.user = user; } + @JsonIgnore + public CephFSVolumeSourceBuilder edit() { + return new CephFSVolumeSourceBuilder(this); + } + + @JsonIgnore + public CephFSVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CinderPersistentVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CinderPersistentVolumeSource.java index a74be66d0c1..ba452c269e6 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CinderPersistentVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CinderPersistentVolumeSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class CinderPersistentVolumeSource implements KubernetesResource +public class CinderPersistentVolumeSource implements Editable , KubernetesResource { @JsonProperty("fsType") @@ -106,6 +107,16 @@ public void setVolumeID(String volumeID) { this.volumeID = volumeID; } + @JsonIgnore + public CinderPersistentVolumeSourceBuilder edit() { + return new CinderPersistentVolumeSourceBuilder(this); + } + + @JsonIgnore + public CinderPersistentVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CinderVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CinderVolumeSource.java index 6ed631660c7..57ca1a1a95e 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CinderVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CinderVolumeSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class CinderVolumeSource implements KubernetesResource +public class CinderVolumeSource implements Editable , KubernetesResource { @JsonProperty("fsType") @@ -106,6 +107,16 @@ public void setVolumeID(String volumeID) { this.volumeID = volumeID; } + @JsonIgnore + public CinderVolumeSourceBuilder edit() { + return new CinderVolumeSourceBuilder(this); + } + + @JsonIgnore + public CinderVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ClaimSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ClaimSource.java index 334331fc73a..44624d52437 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ClaimSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ClaimSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ClaimSource implements KubernetesResource +public class ClaimSource implements Editable , KubernetesResource { @JsonProperty("resourceClaimName") @@ -78,6 +79,16 @@ public void setResourceClaimTemplateName(String resourceClaimTemplateName) { this.resourceClaimTemplateName = resourceClaimTemplateName; } + @JsonIgnore + public ClaimSourceBuilder edit() { + return new ClaimSourceBuilder(this); + } + + @JsonIgnore + public ClaimSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ClientIPConfig.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ClientIPConfig.java index 101de08cb41..566784b72c0 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ClientIPConfig.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ClientIPConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -32,9 +33,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ClientIPConfig implements KubernetesResource +public class ClientIPConfig implements Editable , KubernetesResource { @JsonProperty("timeoutSeconds") @@ -64,6 +65,16 @@ public void setTimeoutSeconds(Integer timeoutSeconds) { this.timeoutSeconds = timeoutSeconds; } + @JsonIgnore + public ClientIPConfigBuilder edit() { + return new ClientIPConfigBuilder(this); + } + + @JsonIgnore + public ClientIPConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Cluster.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Cluster.java index 58580bef1e8..677728e2618 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Cluster.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Cluster.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -41,9 +42,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class Cluster implements KubernetesResource +public class Cluster implements Editable , KubernetesResource { @JsonProperty("certificate-authority") @@ -165,6 +166,16 @@ public void setTlsServerName(String tlsServerName) { this.tlsServerName = tlsServerName; } + @JsonIgnore + public ClusterBuilder edit() { + return new ClusterBuilder(this); + } + + @JsonIgnore + public ClusterBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ComponentCondition.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ComponentCondition.java index d232ba9da34..09b8ca5fe8a 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ComponentCondition.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ComponentCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ComponentCondition implements KubernetesResource +public class ComponentCondition implements Editable , KubernetesResource { @JsonProperty("error") @@ -106,6 +107,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public ComponentConditionBuilder edit() { + return new ComponentConditionBuilder(this); + } + + @JsonIgnore + public ComponentConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ComponentStatus.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ComponentStatus.java index 1d4a6f3c3b1..b1f65c80535 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ComponentStatus.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ComponentStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -38,14 +39,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class ComponentStatus implements HasMetadata +public class ComponentStatus implements Editable , HasMetadata { /** @@ -145,6 +146,16 @@ public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ComponentStatusBuilder edit() { + return new ComponentStatusBuilder(this); + } + + @JsonIgnore + public ComponentStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ComponentStatusList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ComponentStatusList.java index d87fafa6e4c..80ea26b8b21 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ComponentStatusList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ComponentStatusList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -38,14 +39,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class ComponentStatusList implements KubernetesResource, KubernetesResourceList +public class ComponentStatusList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -145,6 +146,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ComponentStatusListBuilder edit() { + return new ComponentStatusListBuilder(this); + } + + @JsonIgnore + public ComponentStatusListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Condition.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Condition.java index dd97c2fa934..529e7047275 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Condition.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Condition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -37,9 +38,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class Condition implements KubernetesResource +public class Condition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -134,6 +135,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public ConditionBuilder edit() { + return new ConditionBuilder(this); + } + + @JsonIgnore + public ConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Config.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Config.java index fa7f4b15eec..d16421e761a 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Config.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Config.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -39,9 +40,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class Config implements KubernetesResource +public class Config implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -166,6 +167,16 @@ public void setUsers(List users) { this.users = users; } + @JsonIgnore + public ConfigBuilder edit() { + return new ConfigBuilder(this); + } + + @JsonIgnore + public ConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMap.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMap.java index 945f4edd9d1..fd5ef41d7c0 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMap.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMap.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -38,14 +39,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class ConfigMap implements HasMetadata, Namespaced +public class ConfigMap implements Editable , HasMetadata, Namespaced { /** @@ -172,6 +173,16 @@ public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ConfigMapBuilder edit() { + return new ConfigMapBuilder(this); + } + + @JsonIgnore + public ConfigMapBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMapEnvSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMapEnvSource.java index 6ba236826aa..1a5e390148e 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMapEnvSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMapEnvSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ConfigMapEnvSource implements KubernetesResource +public class ConfigMapEnvSource implements Editable , KubernetesResource { @JsonProperty("name") @@ -78,6 +79,16 @@ public void setOptional(Boolean optional) { this.optional = optional; } + @JsonIgnore + public ConfigMapEnvSourceBuilder edit() { + return new ConfigMapEnvSourceBuilder(this); + } + + @JsonIgnore + public ConfigMapEnvSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMapKeySelector.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMapKeySelector.java index 6d2fa309db9..694e849ecbf 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMapKeySelector.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMapKeySelector.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ConfigMapKeySelector implements KubernetesResource +public class ConfigMapKeySelector implements Editable , KubernetesResource { @JsonProperty("key") @@ -92,6 +93,16 @@ public void setOptional(Boolean optional) { this.optional = optional; } + @JsonIgnore + public ConfigMapKeySelectorBuilder edit() { + return new ConfigMapKeySelectorBuilder(this); + } + + @JsonIgnore + public ConfigMapKeySelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMapList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMapList.java index c56c83e7509..d1385ad286b 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMapList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMapList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -38,14 +39,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class ConfigMapList implements KubernetesResource, KubernetesResourceList +public class ConfigMapList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -145,6 +146,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ConfigMapListBuilder edit() { + return new ConfigMapListBuilder(this); + } + + @JsonIgnore + public ConfigMapListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMapNodeConfigSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMapNodeConfigSource.java index 6441c2ce935..3ad115dacf0 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMapNodeConfigSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMapNodeConfigSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -36,9 +37,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ConfigMapNodeConfigSource implements KubernetesResource +public class ConfigMapNodeConfigSource implements Editable , KubernetesResource { @JsonProperty("kubeletConfigKey") @@ -120,6 +121,16 @@ public void setUid(String uid) { this.uid = uid; } + @JsonIgnore + public ConfigMapNodeConfigSourceBuilder edit() { + return new ConfigMapNodeConfigSourceBuilder(this); + } + + @JsonIgnore + public ConfigMapNodeConfigSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMapProjection.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMapProjection.java index 13c96eb61ec..bb168c51715 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMapProjection.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMapProjection.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -36,9 +37,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ConfigMapProjection implements KubernetesResource +public class ConfigMapProjection implements Editable , KubernetesResource { @JsonProperty("items") @@ -95,6 +96,16 @@ public void setOptional(Boolean optional) { this.optional = optional; } + @JsonIgnore + public ConfigMapProjectionBuilder edit() { + return new ConfigMapProjectionBuilder(this); + } + + @JsonIgnore + public ConfigMapProjectionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMapVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMapVolumeSource.java index 6ad2e14aedb..98b61f81466 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMapVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMapVolumeSource.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -37,9 +38,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ConfigMapVolumeSource implements KubernetesResource +public class ConfigMapVolumeSource implements Editable , KubernetesResource { @JsonProperty("defaultMode") @@ -109,6 +110,16 @@ public void setOptional(Boolean optional) { this.optional = optional; } + @JsonIgnore + public ConfigMapVolumeSourceBuilder edit() { + return new ConfigMapVolumeSourceBuilder(this); + } + + @JsonIgnore + public ConfigMapVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Container.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Container.java index 78dc38b5a23..2460f00eec3 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Container.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Container.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -38,6 +39,7 @@ "readinessProbe", "resizePolicy", "resources", + "restartPolicy", "securityContext", "startupProbe", "stdin", @@ -56,9 +58,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class Container implements KubernetesResource +public class Container implements Editable , KubernetesResource { @JsonProperty("args") @@ -93,6 +95,8 @@ public class Container implements KubernetesResource private List resizePolicy = new ArrayList(); @JsonProperty("resources") private ResourceRequirements resources; + @JsonProperty("restartPolicy") + private String restartPolicy; @JsonProperty("securityContext") private SecurityContext securityContext; @JsonProperty("startupProbe") @@ -125,7 +129,7 @@ public class Container implements KubernetesResource public Container() { } - public Container(List args, List command, List env, List envFrom, String image, String imagePullPolicy, Lifecycle lifecycle, Probe livenessProbe, String name, List ports, Probe readinessProbe, List resizePolicy, ResourceRequirements resources, SecurityContext securityContext, Probe startupProbe, Boolean stdin, Boolean stdinOnce, String terminationMessagePath, String terminationMessagePolicy, Boolean tty, List volumeDevices, List volumeMounts, String workingDir) { + public Container(List args, List command, List env, List envFrom, String image, String imagePullPolicy, Lifecycle lifecycle, Probe livenessProbe, String name, List ports, Probe readinessProbe, List resizePolicy, ResourceRequirements resources, String restartPolicy, SecurityContext securityContext, Probe startupProbe, Boolean stdin, Boolean stdinOnce, String terminationMessagePath, String terminationMessagePolicy, Boolean tty, List volumeDevices, List volumeMounts, String workingDir) { super(); this.args = args; this.command = command; @@ -140,6 +144,7 @@ public Container(List args, List command, List env, List this.readinessProbe = readinessProbe; this.resizePolicy = resizePolicy; this.resources = resources; + this.restartPolicy = restartPolicy; this.securityContext = securityContext; this.startupProbe = startupProbe; this.stdin = stdin; @@ -282,6 +287,16 @@ public void setResources(ResourceRequirements resources) { this.resources = resources; } + @JsonProperty("restartPolicy") + public String getRestartPolicy() { + return restartPolicy; + } + + @JsonProperty("restartPolicy") + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + @JsonProperty("securityContext") public SecurityContext getSecurityContext() { return securityContext; @@ -382,6 +397,16 @@ public void setWorkingDir(String workingDir) { this.workingDir = workingDir; } + @JsonIgnore + public ContainerBuilder edit() { + return new ContainerBuilder(this); + } + + @JsonIgnore + public ContainerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerImage.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerImage.java index 4cc2ae761c4..09e3110aa6e 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerImage.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerImage.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ContainerImage implements KubernetesResource +public class ContainerImage implements Editable , KubernetesResource { @JsonProperty("names") @@ -81,6 +82,16 @@ public void setSizeBytes(Long sizeBytes) { this.sizeBytes = sizeBytes; } + @JsonIgnore + public ContainerImageBuilder edit() { + return new ContainerImageBuilder(this); + } + + @JsonIgnore + public ContainerImageBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerPort.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerPort.java index ecaa57d27d4..7f1ae0799d8 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerPort.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerPort.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -36,9 +37,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ContainerPort implements KubernetesResource +public class ContainerPort implements Editable , KubernetesResource { @JsonProperty("containerPort") @@ -120,6 +121,16 @@ public void setProtocol(String protocol) { this.protocol = protocol; } + @JsonIgnore + public ContainerPortBuilder edit() { + return new ContainerPortBuilder(this); + } + + @JsonIgnore + public ContainerPortBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerResizePolicy.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerResizePolicy.java index 4f21663189a..82f4e6d3eec 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerResizePolicy.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerResizePolicy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ContainerResizePolicy implements KubernetesResource +public class ContainerResizePolicy implements Editable , KubernetesResource { @JsonProperty("resourceName") @@ -78,6 +79,16 @@ public void setRestartPolicy(String restartPolicy) { this.restartPolicy = restartPolicy; } + @JsonIgnore + public ContainerResizePolicyBuilder edit() { + return new ContainerResizePolicyBuilder(this); + } + + @JsonIgnore + public ContainerResizePolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerState.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerState.java index df2d7f2abf3..d9e97fdc892 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerState.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerState.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ContainerState implements KubernetesResource +public class ContainerState implements Editable , KubernetesResource { @JsonProperty("running") @@ -92,6 +93,16 @@ public void setWaiting(ContainerStateWaiting waiting) { this.waiting = waiting; } + @JsonIgnore + public ContainerStateBuilder edit() { + return new ContainerStateBuilder(this); + } + + @JsonIgnore + public ContainerStateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerStateRunning.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerStateRunning.java index d353fd8a705..b8542a06d20 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerStateRunning.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerStateRunning.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -32,9 +33,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ContainerStateRunning implements KubernetesResource +public class ContainerStateRunning implements Editable , KubernetesResource { @JsonProperty("startedAt") @@ -64,6 +65,16 @@ public void setStartedAt(String startedAt) { this.startedAt = startedAt; } + @JsonIgnore + public ContainerStateRunningBuilder edit() { + return new ContainerStateRunningBuilder(this); + } + + @JsonIgnore + public ContainerStateRunningBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerStateTerminated.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerStateTerminated.java index d93e39ddc87..039301c2f37 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerStateTerminated.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerStateTerminated.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -38,9 +39,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ContainerStateTerminated implements KubernetesResource +public class ContainerStateTerminated implements Editable , KubernetesResource { @JsonProperty("containerID") @@ -148,6 +149,16 @@ public void setStartedAt(String startedAt) { this.startedAt = startedAt; } + @JsonIgnore + public ContainerStateTerminatedBuilder edit() { + return new ContainerStateTerminatedBuilder(this); + } + + @JsonIgnore + public ContainerStateTerminatedBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerStateWaiting.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerStateWaiting.java index 1b3246a0ab2..b76774ca349 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerStateWaiting.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerStateWaiting.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ContainerStateWaiting implements KubernetesResource +public class ContainerStateWaiting implements Editable , KubernetesResource { @JsonProperty("message") @@ -78,6 +79,16 @@ public void setReason(String reason) { this.reason = reason; } + @JsonIgnore + public ContainerStateWaitingBuilder edit() { + return new ContainerStateWaitingBuilder(this); + } + + @JsonIgnore + public ContainerStateWaitingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerStatus.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerStatus.java index f2ac90e40b7..4d3b309e97b 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerStatus.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -42,9 +43,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ContainerStatus implements KubernetesResource +public class ContainerStatus implements Editable , KubernetesResource { @JsonProperty("allocatedResources") @@ -205,6 +206,16 @@ public void setState(ContainerState state) { this.state = state; } + @JsonIgnore + public ContainerStatusBuilder edit() { + return new ContainerStatusBuilder(this); + } + + @JsonIgnore + public ContainerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Context.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Context.java index 91e5f4788df..409dfcdcbce 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Context.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Context.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -37,9 +38,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class Context implements KubernetesResource +public class Context implements Editable , KubernetesResource { @JsonProperty("cluster") @@ -109,6 +110,16 @@ public void setUser(String user) { this.user = user; } + @JsonIgnore + public ContextBuilder edit() { + return new ContextBuilder(this); + } + + @JsonIgnore + public ContextBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CreateOptions.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CreateOptions.java index 9efadeb8819..f76e1904dac 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CreateOptions.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CreateOptions.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -40,14 +41,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class CreateOptions implements KubernetesResource +public class CreateOptions implements Editable , KubernetesResource { /** @@ -160,6 +161,16 @@ public void setKind(String kind) { this.kind = kind; } + @JsonIgnore + public CreateOptionsBuilder edit() { + return new CreateOptionsBuilder(this); + } + + @JsonIgnore + public CreateOptionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/DaemonEndpoint.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/DaemonEndpoint.java index 58d49251399..e0674d9d0c3 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/DaemonEndpoint.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/DaemonEndpoint.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -32,9 +33,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class DaemonEndpoint implements KubernetesResource +public class DaemonEndpoint implements Editable , KubernetesResource { @JsonProperty("Port") @@ -64,6 +65,16 @@ public void setPort(Integer port) { this.port = port; } + @JsonIgnore + public DaemonEndpointBuilder edit() { + return new DaemonEndpointBuilder(this); + } + + @JsonIgnore + public DaemonEndpointBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/DeleteOptions.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/DeleteOptions.java index f5c96f00a13..e8330f82196 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/DeleteOptions.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/DeleteOptions.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -42,14 +43,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class DeleteOptions implements KubernetesResource +public class DeleteOptions implements Editable , KubernetesResource { /** @@ -188,6 +189,16 @@ public void setPropagationPolicy(String propagationPolicy) { this.propagationPolicy = propagationPolicy; } + @JsonIgnore + public DeleteOptionsBuilder edit() { + return new DeleteOptionsBuilder(this); + } + + @JsonIgnore + public DeleteOptionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/DownwardAPIProjection.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/DownwardAPIProjection.java index b926b5dd4fd..d657ff95bfb 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/DownwardAPIProjection.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/DownwardAPIProjection.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class DownwardAPIProjection implements KubernetesResource +public class DownwardAPIProjection implements Editable , KubernetesResource { @JsonProperty("items") @@ -67,6 +68,16 @@ public void setItems(List items) { this.items = items; } + @JsonIgnore + public DownwardAPIProjectionBuilder edit() { + return new DownwardAPIProjectionBuilder(this); + } + + @JsonIgnore + public DownwardAPIProjectionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/DownwardAPIVolumeFile.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/DownwardAPIVolumeFile.java index 6f16d37b26f..fed1e2dfa41 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/DownwardAPIVolumeFile.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/DownwardAPIVolumeFile.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class DownwardAPIVolumeFile implements KubernetesResource +public class DownwardAPIVolumeFile implements Editable , KubernetesResource { @JsonProperty("fieldRef") @@ -106,6 +107,16 @@ public void setResourceFieldRef(ResourceFieldSelector resourceFieldRef) { this.resourceFieldRef = resourceFieldRef; } + @JsonIgnore + public DownwardAPIVolumeFileBuilder edit() { + return new DownwardAPIVolumeFileBuilder(this); + } + + @JsonIgnore + public DownwardAPIVolumeFileBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/DownwardAPIVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/DownwardAPIVolumeSource.java index 926c93f89ec..b2c0b3d73e8 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/DownwardAPIVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/DownwardAPIVolumeSource.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class DownwardAPIVolumeSource implements KubernetesResource +public class DownwardAPIVolumeSource implements Editable , KubernetesResource { @JsonProperty("defaultMode") @@ -81,6 +82,16 @@ public void setItems(List items) { this.items = items; } + @JsonIgnore + public DownwardAPIVolumeSourceBuilder edit() { + return new DownwardAPIVolumeSourceBuilder(this); + } + + @JsonIgnore + public DownwardAPIVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EmptyDirVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EmptyDirVolumeSource.java index 7f2d384fc1b..3fee9d4c88a 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EmptyDirVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EmptyDirVolumeSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class EmptyDirVolumeSource implements KubernetesResource +public class EmptyDirVolumeSource implements Editable , KubernetesResource { @JsonProperty("medium") @@ -78,6 +79,16 @@ public void setSizeLimit(Quantity sizeLimit) { this.sizeLimit = sizeLimit; } + @JsonIgnore + public EmptyDirVolumeSourceBuilder edit() { + return new EmptyDirVolumeSourceBuilder(this); + } + + @JsonIgnore + public EmptyDirVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EndpointAddress.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EndpointAddress.java index b7162f7126a..71370ed477b 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EndpointAddress.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EndpointAddress.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class EndpointAddress implements KubernetesResource +public class EndpointAddress implements Editable , KubernetesResource { @JsonProperty("hostname") @@ -106,6 +107,16 @@ public void setTargetRef(ObjectReference targetRef) { this.targetRef = targetRef; } + @JsonIgnore + public EndpointAddressBuilder edit() { + return new EndpointAddressBuilder(this); + } + + @JsonIgnore + public EndpointAddressBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EndpointPort.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EndpointPort.java index af652ac68f5..0665a061dad 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EndpointPort.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EndpointPort.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class EndpointPort implements KubernetesResource +public class EndpointPort implements Editable , KubernetesResource { @JsonProperty("appProtocol") @@ -106,6 +107,16 @@ public void setProtocol(String protocol) { this.protocol = protocol; } + @JsonIgnore + public EndpointPortBuilder edit() { + return new EndpointPortBuilder(this); + } + + @JsonIgnore + public EndpointPortBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EndpointSubset.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EndpointSubset.java index f7e9c892b5d..f9552d183e4 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EndpointSubset.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EndpointSubset.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -36,9 +37,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class EndpointSubset implements KubernetesResource +public class EndpointSubset implements Editable , KubernetesResource { @JsonProperty("addresses") @@ -97,6 +98,16 @@ public void setPorts(List ports) { this.ports = ports; } + @JsonIgnore + public EndpointSubsetBuilder edit() { + return new EndpointSubsetBuilder(this); + } + + @JsonIgnore + public EndpointSubsetBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Endpoints.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Endpoints.java index d8bb3d09efc..f9fa1d35a1b 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Endpoints.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Endpoints.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -38,14 +39,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class Endpoints implements HasMetadata, Namespaced +public class Endpoints implements Editable , HasMetadata, Namespaced { /** @@ -145,6 +146,16 @@ public void setSubsets(List subsets) { this.subsets = subsets; } + @JsonIgnore + public EndpointsBuilder edit() { + return new EndpointsBuilder(this); + } + + @JsonIgnore + public EndpointsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EndpointsList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EndpointsList.java index 10e845fa525..fd1d9456cbd 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EndpointsList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EndpointsList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -38,14 +39,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class EndpointsList implements KubernetesResource, KubernetesResourceList +public class EndpointsList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -145,6 +146,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public EndpointsListBuilder edit() { + return new EndpointsListBuilder(this); + } + + @JsonIgnore + public EndpointsListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EnvFromSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EnvFromSource.java index de983301b3e..bb4d91892ca 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EnvFromSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EnvFromSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class EnvFromSource implements KubernetesResource +public class EnvFromSource implements Editable , KubernetesResource { @JsonProperty("configMapRef") @@ -92,6 +93,16 @@ public void setSecretRef(SecretEnvSource secretRef) { this.secretRef = secretRef; } + @JsonIgnore + public EnvFromSourceBuilder edit() { + return new EnvFromSourceBuilder(this); + } + + @JsonIgnore + public EnvFromSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EnvVar.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EnvVar.java index f00b37ab82c..5b8b98bdd3b 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EnvVar.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EnvVar.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class EnvVar implements KubernetesResource +public class EnvVar implements Editable , KubernetesResource { @JsonProperty("name") @@ -92,6 +93,16 @@ public void setValueFrom(EnvVarSource valueFrom) { this.valueFrom = valueFrom; } + @JsonIgnore + public EnvVarBuilder edit() { + return new EnvVarBuilder(this); + } + + @JsonIgnore + public EnvVarBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EnvVarSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EnvVarSource.java index 93430235269..cbdd615a646 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EnvVarSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EnvVarSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class EnvVarSource implements KubernetesResource +public class EnvVarSource implements Editable , KubernetesResource { @JsonProperty("configMapKeyRef") @@ -106,6 +107,16 @@ public void setSecretKeyRef(SecretKeySelector secretKeyRef) { this.secretKeyRef = secretKeyRef; } + @JsonIgnore + public EnvVarSourceBuilder edit() { + return new EnvVarSourceBuilder(this); + } + + @JsonIgnore + public EnvVarSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EphemeralContainer.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EphemeralContainer.java index b21b9253b2c..c11756369a0 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EphemeralContainer.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EphemeralContainer.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -38,6 +39,7 @@ "readinessProbe", "resizePolicy", "resources", + "restartPolicy", "securityContext", "startupProbe", "stdin", @@ -57,9 +59,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class EphemeralContainer implements KubernetesResource +public class EphemeralContainer implements Editable , KubernetesResource { @JsonProperty("args") @@ -94,6 +96,8 @@ public class EphemeralContainer implements KubernetesResource private List resizePolicy = new ArrayList(); @JsonProperty("resources") private ResourceRequirements resources; + @JsonProperty("restartPolicy") + private String restartPolicy; @JsonProperty("securityContext") private SecurityContext securityContext; @JsonProperty("startupProbe") @@ -128,7 +132,7 @@ public class EphemeralContainer implements KubernetesResource public EphemeralContainer() { } - public EphemeralContainer(List args, List command, List env, List envFrom, String image, String imagePullPolicy, Lifecycle lifecycle, Probe livenessProbe, String name, List ports, Probe readinessProbe, List resizePolicy, ResourceRequirements resources, SecurityContext securityContext, Probe startupProbe, Boolean stdin, Boolean stdinOnce, String targetContainerName, String terminationMessagePath, String terminationMessagePolicy, Boolean tty, List volumeDevices, List volumeMounts, String workingDir) { + public EphemeralContainer(List args, List command, List env, List envFrom, String image, String imagePullPolicy, Lifecycle lifecycle, Probe livenessProbe, String name, List ports, Probe readinessProbe, List resizePolicy, ResourceRequirements resources, String restartPolicy, SecurityContext securityContext, Probe 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; @@ -143,6 +147,7 @@ public EphemeralContainer(List args, List command, List this.readinessProbe = readinessProbe; this.resizePolicy = resizePolicy; this.resources = resources; + this.restartPolicy = restartPolicy; this.securityContext = securityContext; this.startupProbe = startupProbe; this.stdin = stdin; @@ -286,6 +291,16 @@ public void setResources(ResourceRequirements resources) { this.resources = resources; } + @JsonProperty("restartPolicy") + public String getRestartPolicy() { + return restartPolicy; + } + + @JsonProperty("restartPolicy") + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + @JsonProperty("securityContext") public SecurityContext getSecurityContext() { return securityContext; @@ -396,6 +411,16 @@ public void setWorkingDir(String workingDir) { this.workingDir = workingDir; } + @JsonIgnore + public EphemeralContainerBuilder edit() { + return new EphemeralContainerBuilder(this); + } + + @JsonIgnore + public EphemeralContainerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EphemeralVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EphemeralVolumeSource.java index 5fd7c2e4aa5..0407c61675b 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EphemeralVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EphemeralVolumeSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -32,9 +33,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class EphemeralVolumeSource implements KubernetesResource +public class EphemeralVolumeSource implements Editable , KubernetesResource { @JsonProperty("volumeClaimTemplate") @@ -64,6 +65,16 @@ public void setVolumeClaimTemplate(PersistentVolumeClaimTemplate volumeClaimTemp this.volumeClaimTemplate = volumeClaimTemplate; } + @JsonIgnore + public EphemeralVolumeSourceBuilder edit() { + return new EphemeralVolumeSourceBuilder(this); + } + + @JsonIgnore + public EphemeralVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Event.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Event.java index 39cfd1af703..8e15e5c33fa 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Event.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Event.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -49,14 +50,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class Event implements HasMetadata, Namespaced +public class Event implements Editable , HasMetadata, Namespaced { @JsonProperty("action") @@ -324,6 +325,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public EventBuilder edit() { + return new EventBuilder(this); + } + + @JsonIgnore + public EventBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EventList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EventList.java index 1b7222050b6..69fc6d94229 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EventList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EventList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -38,14 +39,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class EventList implements KubernetesResource, KubernetesResourceList +public class EventList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -145,6 +146,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public EventListBuilder edit() { + return new EventListBuilder(this); + } + + @JsonIgnore + public EventListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EventSeries.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EventSeries.java index 9904fc28969..fd0acb1ac31 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EventSeries.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EventSeries.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class EventSeries implements KubernetesResource +public class EventSeries implements Editable , KubernetesResource { @JsonProperty("count") @@ -78,6 +79,16 @@ public void setLastObservedTime(MicroTime lastObservedTime) { this.lastObservedTime = lastObservedTime; } + @JsonIgnore + public EventSeriesBuilder edit() { + return new EventSeriesBuilder(this); + } + + @JsonIgnore + public EventSeriesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EventSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EventSource.java index b08c027b496..a294a115e9d 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EventSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EventSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class EventSource implements KubernetesResource +public class EventSource implements Editable , KubernetesResource { @JsonProperty("component") @@ -78,6 +79,16 @@ public void setHost(String host) { this.host = host; } + @JsonIgnore + public EventSourceBuilder edit() { + return new EventSourceBuilder(this); + } + + @JsonIgnore + public EventSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ExecAction.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ExecAction.java index 63eac91dbe5..2ee384a851c 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ExecAction.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ExecAction.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ExecAction implements KubernetesResource +public class ExecAction implements Editable , KubernetesResource { @JsonProperty("command") @@ -67,6 +68,16 @@ public void setCommand(List command) { this.command = command; } + @JsonIgnore + public ExecActionBuilder edit() { + return new ExecActionBuilder(this); + } + + @JsonIgnore + public ExecActionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ExecConfig.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ExecConfig.java index e91b6e5c2f0..04ad05f63d7 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ExecConfig.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ExecConfig.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -39,9 +40,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ExecConfig implements KubernetesResource +public class ExecConfig implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -151,6 +152,16 @@ public void setProvideClusterInfo(Boolean provideClusterInfo) { this.provideClusterInfo = provideClusterInfo; } + @JsonIgnore + public ExecConfigBuilder edit() { + return new ExecConfigBuilder(this); + } + + @JsonIgnore + public ExecConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ExecEnvVar.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ExecEnvVar.java index 3eccd066048..d0f097443b9 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ExecEnvVar.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ExecEnvVar.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ExecEnvVar implements KubernetesResource +public class ExecEnvVar implements Editable , KubernetesResource { @JsonProperty("name") @@ -78,6 +79,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public ExecEnvVarBuilder edit() { + return new ExecEnvVarBuilder(this); + } + + @JsonIgnore + public ExecEnvVarBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/FCVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/FCVolumeSource.java index dbb8e425429..52cf46dace6 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/FCVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/FCVolumeSource.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -38,9 +39,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class FCVolumeSource implements KubernetesResource +public class FCVolumeSource implements Editable , KubernetesResource { @JsonProperty("fsType") @@ -124,6 +125,16 @@ public void setWwids(List wwids) { this.wwids = wwids; } + @JsonIgnore + public FCVolumeSourceBuilder edit() { + return new FCVolumeSourceBuilder(this); + } + + @JsonIgnore + public FCVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/FieldsV1.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/FieldsV1.java index 32b11f36708..1108eef9fb4 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/FieldsV1.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/FieldsV1.java @@ -10,6 +10,7 @@ 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.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -30,14 +31,24 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class FieldsV1 implements KubernetesResource +public class FieldsV1 implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public FieldsV1Builder edit() { + return new FieldsV1Builder(this); + } + + @JsonIgnore + public FieldsV1Builder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/FlexPersistentVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/FlexPersistentVolumeSource.java index 4b01cbca4d9..ab1672693de 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/FlexPersistentVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/FlexPersistentVolumeSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -36,9 +37,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class FlexPersistentVolumeSource implements KubernetesResource +public class FlexPersistentVolumeSource implements Editable , KubernetesResource { @JsonProperty("driver") @@ -121,6 +122,16 @@ public void setSecretRef(SecretReference secretRef) { this.secretRef = secretRef; } + @JsonIgnore + public FlexPersistentVolumeSourceBuilder edit() { + return new FlexPersistentVolumeSourceBuilder(this); + } + + @JsonIgnore + public FlexPersistentVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/FlexVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/FlexVolumeSource.java index 12b6b7da9c0..3cd2cba2edd 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/FlexVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/FlexVolumeSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -36,9 +37,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class FlexVolumeSource implements KubernetesResource +public class FlexVolumeSource implements Editable , KubernetesResource { @JsonProperty("driver") @@ -121,6 +122,16 @@ public void setSecretRef(LocalObjectReference secretRef) { this.secretRef = secretRef; } + @JsonIgnore + public FlexVolumeSourceBuilder edit() { + return new FlexVolumeSourceBuilder(this); + } + + @JsonIgnore + public FlexVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/FlockerVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/FlockerVolumeSource.java index 63eab778fd4..af2fa17755d 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/FlockerVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/FlockerVolumeSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class FlockerVolumeSource implements KubernetesResource +public class FlockerVolumeSource implements Editable , KubernetesResource { @JsonProperty("datasetName") @@ -78,6 +79,16 @@ public void setDatasetUUID(String datasetUUID) { this.datasetUUID = datasetUUID; } + @JsonIgnore + public FlockerVolumeSourceBuilder edit() { + return new FlockerVolumeSourceBuilder(this); + } + + @JsonIgnore + public FlockerVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GCEPersistentDiskVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GCEPersistentDiskVolumeSource.java index 3e0e18c7b77..6e6b46b056e 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GCEPersistentDiskVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GCEPersistentDiskVolumeSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class GCEPersistentDiskVolumeSource implements KubernetesResource +public class GCEPersistentDiskVolumeSource implements Editable , KubernetesResource { @JsonProperty("fsType") @@ -106,6 +107,16 @@ public void setReadOnly(Boolean readOnly) { this.readOnly = readOnly; } + @JsonIgnore + public GCEPersistentDiskVolumeSourceBuilder edit() { + return new GCEPersistentDiskVolumeSourceBuilder(this); + } + + @JsonIgnore + public GCEPersistentDiskVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GRPCAction.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GRPCAction.java index 26429199aa3..423eae84c66 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GRPCAction.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GRPCAction.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class GRPCAction implements KubernetesResource +public class GRPCAction implements Editable , KubernetesResource { @JsonProperty("port") @@ -78,6 +79,16 @@ public void setService(String service) { this.service = service; } + @JsonIgnore + public GRPCActionBuilder edit() { + return new GRPCActionBuilder(this); + } + + @JsonIgnore + public GRPCActionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GetOptions.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GetOptions.java index 9683791d1da..160ec8c9aa8 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GetOptions.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GetOptions.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -36,14 +37,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class GetOptions implements KubernetesResource +public class GetOptions implements Editable , KubernetesResource { /** @@ -129,6 +130,16 @@ public void setResourceVersion(String resourceVersion) { this.resourceVersion = resourceVersion; } + @JsonIgnore + public GetOptionsBuilder edit() { + return new GetOptionsBuilder(this); + } + + @JsonIgnore + public GetOptionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GitRepoVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GitRepoVolumeSource.java index cf0e77f6243..9b3723696de 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GitRepoVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GitRepoVolumeSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class GitRepoVolumeSource implements KubernetesResource +public class GitRepoVolumeSource implements Editable , KubernetesResource { @JsonProperty("directory") @@ -92,6 +93,16 @@ public void setRevision(String revision) { this.revision = revision; } + @JsonIgnore + public GitRepoVolumeSourceBuilder edit() { + return new GitRepoVolumeSourceBuilder(this); + } + + @JsonIgnore + public GitRepoVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GlusterfsPersistentVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GlusterfsPersistentVolumeSource.java index 1fa18ed6d10..14f69ac048e 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GlusterfsPersistentVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GlusterfsPersistentVolumeSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class GlusterfsPersistentVolumeSource implements KubernetesResource +public class GlusterfsPersistentVolumeSource implements Editable , KubernetesResource { @JsonProperty("endpoints") @@ -106,6 +107,16 @@ public void setReadOnly(Boolean readOnly) { this.readOnly = readOnly; } + @JsonIgnore + public GlusterfsPersistentVolumeSourceBuilder edit() { + return new GlusterfsPersistentVolumeSourceBuilder(this); + } + + @JsonIgnore + public GlusterfsPersistentVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GlusterfsVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GlusterfsVolumeSource.java index 4c14012ebcc..4a33676b9a5 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GlusterfsVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GlusterfsVolumeSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class GlusterfsVolumeSource implements KubernetesResource +public class GlusterfsVolumeSource implements Editable , KubernetesResource { @JsonProperty("endpoints") @@ -92,6 +93,16 @@ public void setReadOnly(Boolean readOnly) { this.readOnly = readOnly; } + @JsonIgnore + public GlusterfsVolumeSourceBuilder edit() { + return new GlusterfsVolumeSourceBuilder(this); + } + + @JsonIgnore + public GlusterfsVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GroupKind.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GroupKind.java index 5853ce9bc43..8d5a92bbc4c 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GroupKind.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GroupKind.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -32,9 +33,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class GroupKind implements KubernetesResource +public class GroupKind implements Editable , KubernetesResource { @JsonProperty("group") @@ -77,6 +78,16 @@ public void setKind(String kind) { this.kind = kind; } + @JsonIgnore + public GroupKindBuilder edit() { + return new GroupKindBuilder(this); + } + + @JsonIgnore + public GroupKindBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GroupVersionForDiscovery.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GroupVersionForDiscovery.java index 0511b5be026..cde7d3798a0 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GroupVersionForDiscovery.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GroupVersionForDiscovery.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class GroupVersionForDiscovery implements KubernetesResource +public class GroupVersionForDiscovery implements Editable , KubernetesResource { @JsonProperty("groupVersion") @@ -78,6 +79,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public GroupVersionForDiscoveryBuilder edit() { + return new GroupVersionForDiscoveryBuilder(this); + } + + @JsonIgnore + public GroupVersionForDiscoveryBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GroupVersionKind.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GroupVersionKind.java index b9268a24b19..c3cb195e575 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GroupVersionKind.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GroupVersionKind.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class GroupVersionKind implements KubernetesResource +public class GroupVersionKind implements Editable , KubernetesResource { @JsonProperty("group") @@ -91,6 +92,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public GroupVersionKindBuilder edit() { + return new GroupVersionKindBuilder(this); + } + + @JsonIgnore + public GroupVersionKindBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GroupVersionResource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GroupVersionResource.java index 16a925b9524..3a9ee067316 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GroupVersionResource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/GroupVersionResource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class GroupVersionResource implements KubernetesResource +public class GroupVersionResource implements Editable , KubernetesResource { @JsonProperty("group") @@ -92,6 +93,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public GroupVersionResourceBuilder edit() { + return new GroupVersionResourceBuilder(this); + } + + @JsonIgnore + public GroupVersionResourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/HTTPGetAction.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/HTTPGetAction.java index c043898eb69..85b247bd69b 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/HTTPGetAction.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/HTTPGetAction.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -38,9 +39,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class HTTPGetAction implements KubernetesResource +public class HTTPGetAction implements Editable , KubernetesResource { @JsonProperty("host") @@ -123,6 +124,16 @@ public void setScheme(String scheme) { this.scheme = scheme; } + @JsonIgnore + public HTTPGetActionBuilder edit() { + return new HTTPGetActionBuilder(this); + } + + @JsonIgnore + public HTTPGetActionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/HTTPHeader.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/HTTPHeader.java index e61845d099a..6f890063792 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/HTTPHeader.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/HTTPHeader.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class HTTPHeader implements KubernetesResource +public class HTTPHeader implements Editable , KubernetesResource { @JsonProperty("name") @@ -78,6 +79,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public HTTPHeaderBuilder edit() { + return new HTTPHeaderBuilder(this); + } + + @JsonIgnore + public HTTPHeaderBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/HostAlias.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/HostAlias.java index ee4ec152c37..aa398d0df7d 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/HostAlias.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/HostAlias.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class HostAlias implements KubernetesResource +public class HostAlias implements Editable , KubernetesResource { @JsonProperty("hostnames") @@ -81,6 +82,16 @@ public void setIp(String ip) { this.ip = ip; } + @JsonIgnore + public HostAliasBuilder edit() { + return new HostAliasBuilder(this); + } + + @JsonIgnore + public HostAliasBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/HostIP.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/HostIP.java new file mode 100644 index 00000000000..3fb2631b9fe --- /dev/null +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/HostIP.java @@ -0,0 +1,88 @@ + +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.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.sundr.builder.annotations.Buildable; +import lombok.EqualsAndHashCode; +import lombok.Setter; +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", + "ip" +}) +@ToString +@EqualsAndHashCode +@Setter +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Generated("jsonschema2pojo") +public class HostIP implements Editable , KubernetesResource +{ + + @JsonProperty("ip") + private String ip; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public HostIP() { + } + + public HostIP(String ip) { + super(); + this.ip = ip; + } + + @JsonProperty("ip") + public String getIp() { + return ip; + } + + @JsonProperty("ip") + public void setIp(String ip) { + this.ip = ip; + } + + @JsonIgnore + public HostIPBuilder edit() { + return new HostIPBuilder(this); + } + + @JsonIgnore + public HostIPBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + +} diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/HostPathVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/HostPathVolumeSource.java index 78c5a3bb5e9..fa599e48176 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/HostPathVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/HostPathVolumeSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class HostPathVolumeSource implements KubernetesResource +public class HostPathVolumeSource implements Editable , KubernetesResource { @JsonProperty("path") @@ -78,6 +79,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public HostPathVolumeSourceBuilder edit() { + return new HostPathVolumeSourceBuilder(this); + } + + @JsonIgnore + public HostPathVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ISCSIPersistentVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ISCSIPersistentVolumeSource.java index 52ab6b8a1a7..7b5c39134c6 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ISCSIPersistentVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ISCSIPersistentVolumeSource.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -44,9 +45,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ISCSIPersistentVolumeSource implements KubernetesResource +public class ISCSIPersistentVolumeSource implements Editable , KubernetesResource { @JsonProperty("chapAuthDiscovery") @@ -207,6 +208,16 @@ public void setTargetPortal(String targetPortal) { this.targetPortal = targetPortal; } + @JsonIgnore + public ISCSIPersistentVolumeSourceBuilder edit() { + return new ISCSIPersistentVolumeSourceBuilder(this); + } + + @JsonIgnore + public ISCSIPersistentVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ISCSIVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ISCSIVolumeSource.java index ff379f4c19a..f69b7055c5e 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ISCSIVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ISCSIVolumeSource.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -44,9 +45,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ISCSIVolumeSource implements KubernetesResource +public class ISCSIVolumeSource implements Editable , KubernetesResource { @JsonProperty("chapAuthDiscovery") @@ -207,6 +208,16 @@ public void setTargetPortal(String targetPortal) { this.targetPortal = targetPortal; } + @JsonIgnore + public ISCSIVolumeSourceBuilder edit() { + return new ISCSIVolumeSourceBuilder(this); + } + + @JsonIgnore + public ISCSIVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/KeyToPath.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/KeyToPath.java index 4f2765e4c0d..db03dd669e4 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/KeyToPath.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/KeyToPath.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class KeyToPath implements KubernetesResource +public class KeyToPath implements Editable , KubernetesResource { @JsonProperty("key") @@ -92,6 +93,16 @@ public void setPath(String path) { this.path = path; } + @JsonIgnore + public KeyToPathBuilder edit() { + return new KeyToPathBuilder(this); + } + + @JsonIgnore + public KeyToPathBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index 62c8a57f542..3b4405726ea 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.version.Info; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; @@ -96,9 +97,10 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -946,6 +948,16 @@ public void setWatchEvent(WatchEvent watchEvent) { this.watchEvent = watchEvent; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LabelSelector.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LabelSelector.java index e838f914d9f..5b010f4b560 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LabelSelector.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LabelSelector.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class LabelSelector implements KubernetesResource +public class LabelSelector implements Editable , KubernetesResource { @JsonProperty("matchExpressions") @@ -82,6 +83,16 @@ public void setMatchLabels(Map matchLabels) { this.matchLabels = matchLabels; } + @JsonIgnore + public LabelSelectorBuilder edit() { + return new LabelSelectorBuilder(this); + } + + @JsonIgnore + public LabelSelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LabelSelectorRequirement.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LabelSelectorRequirement.java index 006f794aecd..9b5fa511a73 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LabelSelectorRequirement.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LabelSelectorRequirement.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -36,9 +37,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class LabelSelectorRequirement implements KubernetesResource +public class LabelSelectorRequirement implements Editable , KubernetesResource { @JsonProperty("key") @@ -95,6 +96,16 @@ public void setValues(List values) { this.values = values; } + @JsonIgnore + public LabelSelectorRequirementBuilder edit() { + return new LabelSelectorRequirementBuilder(this); + } + + @JsonIgnore + public LabelSelectorRequirementBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Lifecycle.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Lifecycle.java index 7626111e584..47a1a753811 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Lifecycle.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Lifecycle.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class Lifecycle implements KubernetesResource +public class Lifecycle implements Editable , KubernetesResource { @JsonProperty("postStart") @@ -78,6 +79,16 @@ public void setPreStop(LifecycleHandler preStop) { this.preStop = preStop; } + @JsonIgnore + public LifecycleBuilder edit() { + return new LifecycleBuilder(this); + } + + @JsonIgnore + public LifecycleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LifecycleHandler.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LifecycleHandler.java index b7906efb884..0fb2be37fbb 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LifecycleHandler.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LifecycleHandler.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class LifecycleHandler implements KubernetesResource +public class LifecycleHandler implements Editable , KubernetesResource { @JsonProperty("exec") @@ -92,6 +93,16 @@ public void setTcpSocket(TCPSocketAction tcpSocket) { this.tcpSocket = tcpSocket; } + @JsonIgnore + public LifecycleHandlerBuilder edit() { + return new LifecycleHandlerBuilder(this); + } + + @JsonIgnore + public LifecycleHandlerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LimitRange.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LimitRange.java index 3f1483a9eef..aa0c2fd2473 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LimitRange.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LimitRange.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -36,14 +37,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class LimitRange implements HasMetadata, Namespaced +public class LimitRange implements Editable , HasMetadata, Namespaced { /** @@ -142,6 +143,16 @@ public void setSpec(LimitRangeSpec spec) { this.spec = spec; } + @JsonIgnore + public LimitRangeBuilder edit() { + return new LimitRangeBuilder(this); + } + + @JsonIgnore + public LimitRangeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LimitRangeItem.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LimitRangeItem.java index 50d88421d8f..8a463361037 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LimitRangeItem.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LimitRangeItem.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -37,9 +38,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class LimitRangeItem implements KubernetesResource +public class LimitRangeItem implements Editable , KubernetesResource { @JsonProperty("default") @@ -139,6 +140,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public LimitRangeItemBuilder edit() { + return new LimitRangeItemBuilder(this); + } + + @JsonIgnore + public LimitRangeItemBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LimitRangeList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LimitRangeList.java index 6de80500c1a..e2bc4204467 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LimitRangeList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LimitRangeList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -38,14 +39,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class LimitRangeList implements KubernetesResource, KubernetesResourceList +public class LimitRangeList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -145,6 +146,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public LimitRangeListBuilder edit() { + return new LimitRangeListBuilder(this); + } + + @JsonIgnore + public LimitRangeListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LimitRangeSpec.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LimitRangeSpec.java index 217cedf3e4d..be7a394845d 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LimitRangeSpec.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LimitRangeSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class LimitRangeSpec implements KubernetesResource +public class LimitRangeSpec implements Editable , KubernetesResource { @JsonProperty("limits") @@ -67,6 +68,16 @@ public void setLimits(List limits) { this.limits = limits; } + @JsonIgnore + public LimitRangeSpecBuilder edit() { + return new LimitRangeSpecBuilder(this); + } + + @JsonIgnore + public LimitRangeSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ListMeta.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ListMeta.java index a0befe5d003..82843a42f47 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ListMeta.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ListMeta.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ListMeta implements KubernetesResource +public class ListMeta implements Editable , KubernetesResource { @JsonProperty("continue") @@ -106,6 +107,16 @@ public void setSelfLink(String selfLink) { this.selfLink = selfLink; } + @JsonIgnore + public ListMetaBuilder edit() { + return new ListMetaBuilder(this); + } + + @JsonIgnore + public ListMetaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ListOptions.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ListOptions.java index f7d3c415198..8b1d360a073 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ListOptions.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ListOptions.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -45,14 +46,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class ListOptions implements KubernetesResource +public class ListOptions implements Editable , KubernetesResource { @JsonProperty("allowWatchBookmarks") @@ -255,6 +256,16 @@ public void setWatch(Boolean watch) { this.watch = watch; } + @JsonIgnore + public ListOptionsBuilder edit() { + return new ListOptionsBuilder(this); + } + + @JsonIgnore + public ListOptionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LoadBalancerIngress.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LoadBalancerIngress.java index cd233af177e..dc734c11ecc 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LoadBalancerIngress.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LoadBalancerIngress.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -36,9 +37,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class LoadBalancerIngress implements KubernetesResource +public class LoadBalancerIngress implements Editable , KubernetesResource { @JsonProperty("hostname") @@ -95,6 +96,16 @@ public void setPorts(List ports) { this.ports = ports; } + @JsonIgnore + public LoadBalancerIngressBuilder edit() { + return new LoadBalancerIngressBuilder(this); + } + + @JsonIgnore + public LoadBalancerIngressBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LoadBalancerStatus.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LoadBalancerStatus.java index c41635b3b7c..7c5bafae4bb 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LoadBalancerStatus.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LoadBalancerStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class LoadBalancerStatus implements KubernetesResource +public class LoadBalancerStatus implements Editable , KubernetesResource { @JsonProperty("ingress") @@ -67,6 +68,16 @@ public void setIngress(List ingress) { this.ingress = ingress; } + @JsonIgnore + public LoadBalancerStatusBuilder edit() { + return new LoadBalancerStatusBuilder(this); + } + + @JsonIgnore + public LoadBalancerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LocalObjectReference.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LocalObjectReference.java index bf222711d15..b59384f40eb 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LocalObjectReference.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LocalObjectReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -32,9 +33,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class LocalObjectReference implements KubernetesResource +public class LocalObjectReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -64,6 +65,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public LocalObjectReferenceBuilder edit() { + return new LocalObjectReferenceBuilder(this); + } + + @JsonIgnore + public LocalObjectReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LocalVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LocalVolumeSource.java index 722a6821031..b619aead401 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LocalVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LocalVolumeSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class LocalVolumeSource implements KubernetesResource +public class LocalVolumeSource implements Editable , KubernetesResource { @JsonProperty("fsType") @@ -78,6 +79,16 @@ public void setPath(String path) { this.path = path; } + @JsonIgnore + public LocalVolumeSourceBuilder edit() { + return new LocalVolumeSourceBuilder(this); + } + + @JsonIgnore + public LocalVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ManagedFieldsEntry.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ManagedFieldsEntry.java index e7603ef19a3..f80548310d4 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ManagedFieldsEntry.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ManagedFieldsEntry.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -37,9 +38,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ManagedFieldsEntry implements KubernetesResource +public class ManagedFieldsEntry implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -147,6 +148,16 @@ public void setTime(String time) { this.time = time; } + @JsonIgnore + public ManagedFieldsEntryBuilder edit() { + return new ManagedFieldsEntryBuilder(this); + } + + @JsonIgnore + public ManagedFieldsEntryBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/MicroTime.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/MicroTime.java index bc1383541e2..31a20554285 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/MicroTime.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/MicroTime.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class MicroTime implements KubernetesResource +public class MicroTime implements Editable , KubernetesResource { @JsonProperty("Time") @@ -66,6 +67,16 @@ public void setTime(String time) { this.time = time; } + @JsonIgnore + public MicroTimeBuilder edit() { + return new MicroTimeBuilder(this); + } + + @JsonIgnore + public MicroTimeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NFSVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NFSVolumeSource.java index 3a7a05079b5..24bb6587f83 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NFSVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NFSVolumeSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class NFSVolumeSource implements KubernetesResource +public class NFSVolumeSource implements Editable , KubernetesResource { @JsonProperty("path") @@ -92,6 +93,16 @@ public void setServer(String server) { this.server = server; } + @JsonIgnore + public NFSVolumeSourceBuilder edit() { + return new NFSVolumeSourceBuilder(this); + } + + @JsonIgnore + public NFSVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamedAuthInfo.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamedAuthInfo.java index c0b587edcea..09f28d95c0b 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamedAuthInfo.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamedAuthInfo.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class NamedAuthInfo implements KubernetesResource +public class NamedAuthInfo implements Editable , KubernetesResource { @JsonProperty("name") @@ -78,6 +79,16 @@ public void setUser(AuthInfo user) { this.user = user; } + @JsonIgnore + public NamedAuthInfoBuilder edit() { + return new NamedAuthInfoBuilder(this); + } + + @JsonIgnore + public NamedAuthInfoBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamedCluster.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamedCluster.java index 0dda5ac3ac3..7a6c9589db5 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamedCluster.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamedCluster.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class NamedCluster implements KubernetesResource +public class NamedCluster implements Editable , KubernetesResource { @JsonProperty("cluster") @@ -78,6 +79,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public NamedClusterBuilder edit() { + return new NamedClusterBuilder(this); + } + + @JsonIgnore + public NamedClusterBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamedContext.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamedContext.java index 950853028c1..d227b1da308 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamedContext.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamedContext.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class NamedContext implements KubernetesResource +public class NamedContext implements Editable , KubernetesResource { @JsonProperty("context") @@ -78,6 +79,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public NamedContextBuilder edit() { + return new NamedContextBuilder(this); + } + + @JsonIgnore + public NamedContextBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamedExtension.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamedExtension.java index 99002e900be..096427debcf 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamedExtension.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamedExtension.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class NamedExtension implements io.fabric8.kubernetes.api.model.KubernetesResource +public class NamedExtension implements Editable , io.fabric8.kubernetes.api.model.KubernetesResource { @JsonProperty("extension") @@ -78,6 +79,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public NamedExtensionBuilder edit() { + return new NamedExtensionBuilder(this); + } + + @JsonIgnore + public NamedExtensionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Namespace.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Namespace.java index 0e11f1d8d1f..e63b4f41c8c 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Namespace.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Namespace.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -37,14 +38,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class Namespace implements HasMetadata +public class Namespace implements Editable , HasMetadata { /** @@ -156,6 +157,16 @@ public void setStatus(NamespaceStatus status) { this.status = status; } + @JsonIgnore + public NamespaceBuilder edit() { + return new NamespaceBuilder(this); + } + + @JsonIgnore + public NamespaceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamespaceCondition.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamespaceCondition.java index c035ed6a2b7..57e373e9597 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamespaceCondition.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamespaceCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -36,9 +37,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class NamespaceCondition implements KubernetesResource +public class NamespaceCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -120,6 +121,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public NamespaceConditionBuilder edit() { + return new NamespaceConditionBuilder(this); + } + + @JsonIgnore + public NamespaceConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamespaceList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamespaceList.java index 0d7983e8521..a7a198e822e 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamespaceList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamespaceList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -38,14 +39,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class NamespaceList implements KubernetesResource, KubernetesResourceList +public class NamespaceList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -145,6 +146,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public NamespaceListBuilder edit() { + return new NamespaceListBuilder(this); + } + + @JsonIgnore + public NamespaceListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamespaceSpec.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamespaceSpec.java index 7bd75b26df8..fe0e7f28e6b 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamespaceSpec.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamespaceSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class NamespaceSpec implements KubernetesResource +public class NamespaceSpec implements Editable , KubernetesResource { @JsonProperty("finalizers") @@ -67,6 +68,16 @@ public void setFinalizers(List finalizers) { this.finalizers = finalizers; } + @JsonIgnore + public NamespaceSpecBuilder edit() { + return new NamespaceSpecBuilder(this); + } + + @JsonIgnore + public NamespaceSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamespaceStatus.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamespaceStatus.java index c3642d6f4b6..491f616969b 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamespaceStatus.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamespaceStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class NamespaceStatus implements KubernetesResource +public class NamespaceStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -81,6 +82,16 @@ public void setPhase(String phase) { this.phase = phase; } + @JsonIgnore + public NamespaceStatusBuilder edit() { + return new NamespaceStatusBuilder(this); + } + + @JsonIgnore + public NamespaceStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Node.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Node.java index 97167e209f6..10e065b3ba1 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Node.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Node.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -37,14 +38,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class Node implements HasMetadata +public class Node implements Editable , HasMetadata { /** @@ -156,6 +157,16 @@ public void setStatus(NodeStatus status) { this.status = status; } + @JsonIgnore + public NodeBuilder edit() { + return new NodeBuilder(this); + } + + @JsonIgnore + public NodeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeAddress.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeAddress.java index 81ccd5694ff..9833e3492dc 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeAddress.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeAddress.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class NodeAddress implements KubernetesResource +public class NodeAddress implements Editable , KubernetesResource { @JsonProperty("address") @@ -78,6 +79,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public NodeAddressBuilder edit() { + return new NodeAddressBuilder(this); + } + + @JsonIgnore + public NodeAddressBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeAffinity.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeAffinity.java index 0087c8662a6..fab4b1eed76 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeAffinity.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeAffinity.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class NodeAffinity implements KubernetesResource +public class NodeAffinity implements Editable , KubernetesResource { @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") @@ -81,6 +82,16 @@ public void setRequiredDuringSchedulingIgnoredDuringExecution(NodeSelector requi this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; } + @JsonIgnore + public NodeAffinityBuilder edit() { + return new NodeAffinityBuilder(this); + } + + @JsonIgnore + public NodeAffinityBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeCondition.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeCondition.java index 247d3dce118..a9927d2922d 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeCondition.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -37,9 +38,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class NodeCondition implements KubernetesResource +public class NodeCondition implements Editable , KubernetesResource { @JsonProperty("lastHeartbeatTime") @@ -134,6 +135,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public NodeConditionBuilder edit() { + return new NodeConditionBuilder(this); + } + + @JsonIgnore + public NodeConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeConfigSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeConfigSource.java index 29081b53d63..d10505e7939 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeConfigSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeConfigSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -32,9 +33,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class NodeConfigSource implements KubernetesResource +public class NodeConfigSource implements Editable , KubernetesResource { @JsonProperty("configMap") @@ -64,6 +65,16 @@ public void setConfigMap(ConfigMapNodeConfigSource configMap) { this.configMap = configMap; } + @JsonIgnore + public NodeConfigSourceBuilder edit() { + return new NodeConfigSourceBuilder(this); + } + + @JsonIgnore + public NodeConfigSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeConfigStatus.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeConfigStatus.java index ab78ed545b1..bb6601328b9 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeConfigStatus.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeConfigStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class NodeConfigStatus implements KubernetesResource +public class NodeConfigStatus implements Editable , KubernetesResource { @JsonProperty("active") @@ -106,6 +107,16 @@ public void setLastKnownGood(NodeConfigSource lastKnownGood) { this.lastKnownGood = lastKnownGood; } + @JsonIgnore + public NodeConfigStatusBuilder edit() { + return new NodeConfigStatusBuilder(this); + } + + @JsonIgnore + public NodeConfigStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeDaemonEndpoints.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeDaemonEndpoints.java index 421278d5d51..02b58472b71 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeDaemonEndpoints.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeDaemonEndpoints.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -32,9 +33,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class NodeDaemonEndpoints implements KubernetesResource +public class NodeDaemonEndpoints implements Editable , KubernetesResource { @JsonProperty("kubeletEndpoint") @@ -64,6 +65,16 @@ public void setKubeletEndpoint(DaemonEndpoint kubeletEndpoint) { this.kubeletEndpoint = kubeletEndpoint; } + @JsonIgnore + public NodeDaemonEndpointsBuilder edit() { + return new NodeDaemonEndpointsBuilder(this); + } + + @JsonIgnore + public NodeDaemonEndpointsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeList.java index a2bed8d8397..45b14b4ee14 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -38,14 +39,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class NodeList implements KubernetesResource, KubernetesResourceList +public class NodeList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -145,6 +146,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public NodeListBuilder edit() { + return new NodeListBuilder(this); + } + + @JsonIgnore + public NodeListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeSelector.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeSelector.java index 04626ec0c5a..c530a9d3954 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeSelector.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeSelector.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class NodeSelector implements KubernetesResource +public class NodeSelector implements Editable , KubernetesResource { @JsonProperty("nodeSelectorTerms") @@ -67,6 +68,16 @@ public void setNodeSelectorTerms(List nodeSelectorTerms) { this.nodeSelectorTerms = nodeSelectorTerms; } + @JsonIgnore + public NodeSelectorBuilder edit() { + return new NodeSelectorBuilder(this); + } + + @JsonIgnore + public NodeSelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeSelectorRequirement.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeSelectorRequirement.java index f4304eb703c..86c67cbbf97 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeSelectorRequirement.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeSelectorRequirement.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -36,9 +37,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class NodeSelectorRequirement implements KubernetesResource +public class NodeSelectorRequirement implements Editable , KubernetesResource { @JsonProperty("key") @@ -95,6 +96,16 @@ public void setValues(List values) { this.values = values; } + @JsonIgnore + public NodeSelectorRequirementBuilder edit() { + return new NodeSelectorRequirementBuilder(this); + } + + @JsonIgnore + public NodeSelectorRequirementBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeSelectorTerm.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeSelectorTerm.java index 6602b2cbcb2..f5b5fb7d69d 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeSelectorTerm.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeSelectorTerm.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class NodeSelectorTerm implements KubernetesResource +public class NodeSelectorTerm implements Editable , KubernetesResource { @JsonProperty("matchExpressions") @@ -82,6 +83,16 @@ public void setMatchFields(List matchFields) { this.matchFields = matchFields; } + @JsonIgnore + public NodeSelectorTermBuilder edit() { + return new NodeSelectorTermBuilder(this); + } + + @JsonIgnore + public NodeSelectorTermBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeSpec.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeSpec.java index 24ff018054f..95b57962205 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeSpec.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -40,9 +41,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class NodeSpec implements KubernetesResource +public class NodeSpec implements Editable , KubernetesResource { @JsonProperty("configSource") @@ -152,6 +153,16 @@ public void setUnschedulable(Boolean unschedulable) { this.unschedulable = unschedulable; } + @JsonIgnore + public NodeSpecBuilder edit() { + return new NodeSpecBuilder(this); + } + + @JsonIgnore + public NodeSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeStatus.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeStatus.java index 60a2ec60b15..a6b54b21cc1 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeStatus.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -44,9 +45,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class NodeStatus implements KubernetesResource +public class NodeStatus implements Editable , KubernetesResource { @JsonProperty("addresses") @@ -213,6 +214,16 @@ public void setVolumesInUse(List volumesInUse) { this.volumesInUse = volumesInUse; } + @JsonIgnore + public NodeStatusBuilder edit() { + return new NodeStatusBuilder(this); + } + + @JsonIgnore + public NodeStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeSystemInfo.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeSystemInfo.java index fbc19453bc0..17ad1c37137 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeSystemInfo.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeSystemInfo.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -41,9 +42,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class NodeSystemInfo implements KubernetesResource +public class NodeSystemInfo implements Editable , KubernetesResource { @JsonProperty("architecture") @@ -190,6 +191,16 @@ public void setSystemUUID(String systemUUID) { this.systemUUID = systemUUID; } + @JsonIgnore + public NodeSystemInfoBuilder edit() { + return new NodeSystemInfoBuilder(this); + } + + @JsonIgnore + public NodeSystemInfoBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ObjectFieldSelector.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ObjectFieldSelector.java index 48117a1b753..0f4a8d2ff3d 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ObjectFieldSelector.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ObjectFieldSelector.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -32,9 +33,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ObjectFieldSelector implements KubernetesResource +public class ObjectFieldSelector implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -77,6 +78,16 @@ public void setFieldPath(String fieldPath) { this.fieldPath = fieldPath; } + @JsonIgnore + public ObjectFieldSelectorBuilder edit() { + return new ObjectFieldSelectorBuilder(this); + } + + @JsonIgnore + public ObjectFieldSelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ObjectMeta.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ObjectMeta.java index c54ac062afb..756ed33d594 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ObjectMeta.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ObjectMeta.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -48,9 +49,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ObjectMeta implements KubernetesResource +public class ObjectMeta implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -267,6 +268,16 @@ public void setUid(java.lang.String uid) { this.uid = uid; } + @JsonIgnore + public ObjectMetaBuilder edit() { + return new ObjectMetaBuilder(this); + } + + @JsonIgnore + public ObjectMetaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ObjectReference.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ObjectReference.java index 40555779e41..b846fcf60b0 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ObjectReference.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ObjectReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -36,9 +37,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ObjectReference implements KubernetesResource +public class ObjectReference implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -146,6 +147,16 @@ public void setUid(String uid) { this.uid = uid; } + @JsonIgnore + public ObjectReferenceBuilder edit() { + return new ObjectReferenceBuilder(this); + } + + @JsonIgnore + public ObjectReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/OwnerReference.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/OwnerReference.java index 361075abb8e..5431a074984 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/OwnerReference.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/OwnerReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class OwnerReference implements KubernetesResource +public class OwnerReference implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -132,6 +133,16 @@ public void setUid(String uid) { this.uid = uid; } + @JsonIgnore + public OwnerReferenceBuilder edit() { + return new OwnerReferenceBuilder(this); + } + + @JsonIgnore + public OwnerReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Patch.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Patch.java index 7082e8a7fcf..f221cac04a4 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Patch.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Patch.java @@ -10,6 +10,7 @@ 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.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -30,14 +31,24 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class Patch implements KubernetesResource +public class Patch implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public PatchBuilder edit() { + return new PatchBuilder(this); + } + + @JsonIgnore + public PatchBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PatchOptions.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PatchOptions.java index 150aafa5d2f..147a6c35edd 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PatchOptions.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PatchOptions.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -41,14 +42,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class PatchOptions implements KubernetesResource +public class PatchOptions implements Editable , KubernetesResource { /** @@ -174,6 +175,16 @@ public void setKind(String kind) { this.kind = kind; } + @JsonIgnore + public PatchOptionsBuilder edit() { + return new PatchOptionsBuilder(this); + } + + @JsonIgnore + public PatchOptionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolume.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolume.java index e5b4ac0fbb9..7438cf5a7a3 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolume.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolume.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -37,14 +38,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class PersistentVolume implements HasMetadata +public class PersistentVolume implements Editable , HasMetadata { /** @@ -156,6 +157,16 @@ public void setStatus(PersistentVolumeStatus status) { this.status = status; } + @JsonIgnore + public PersistentVolumeBuilder edit() { + return new PersistentVolumeBuilder(this); + } + + @JsonIgnore + public PersistentVolumeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaim.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaim.java index f4173b24677..3ca07b06fb0 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaim.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaim.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -37,14 +38,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class PersistentVolumeClaim implements HasMetadata, Namespaced +public class PersistentVolumeClaim implements Editable , HasMetadata, Namespaced { /** @@ -156,6 +157,16 @@ public void setStatus(PersistentVolumeClaimStatus status) { this.status = status; } + @JsonIgnore + public PersistentVolumeClaimBuilder edit() { + return new PersistentVolumeClaimBuilder(this); + } + + @JsonIgnore + public PersistentVolumeClaimBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaimCondition.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaimCondition.java index 2bd989cb829..12722e9d483 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaimCondition.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaimCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -37,9 +38,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class PersistentVolumeClaimCondition implements KubernetesResource +public class PersistentVolumeClaimCondition implements Editable , KubernetesResource { @JsonProperty("lastProbeTime") @@ -134,6 +135,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public PersistentVolumeClaimConditionBuilder edit() { + return new PersistentVolumeClaimConditionBuilder(this); + } + + @JsonIgnore + public PersistentVolumeClaimConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaimList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaimList.java index c851622cc55..9cee99adf57 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaimList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaimList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -38,14 +39,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class PersistentVolumeClaimList implements KubernetesResource, KubernetesResourceList +public class PersistentVolumeClaimList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -145,6 +146,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PersistentVolumeClaimListBuilder edit() { + return new PersistentVolumeClaimListBuilder(this); + } + + @JsonIgnore + public PersistentVolumeClaimListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaimSpec.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaimSpec.java index d6c1b4d906c..50c6fc82254 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaimSpec.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaimSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -41,9 +42,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class PersistentVolumeClaimSpec implements KubernetesResource +public class PersistentVolumeClaimSpec implements Editable , KubernetesResource { @JsonProperty("accessModes") @@ -165,6 +166,16 @@ public void setVolumeName(String volumeName) { this.volumeName = volumeName; } + @JsonIgnore + public PersistentVolumeClaimSpecBuilder edit() { + return new PersistentVolumeClaimSpecBuilder(this); + } + + @JsonIgnore + public PersistentVolumeClaimSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaimStatus.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaimStatus.java index b73b1111842..34d8192bbab 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaimStatus.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaimStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -26,11 +27,11 @@ "kind", "metadata", "accessModes", + "allocatedResourceStatuses", "allocatedResources", "capacity", "conditions", - "phase", - "resizeStatus" + "phase" }) @ToString @EqualsAndHashCode @@ -39,14 +40,17 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class PersistentVolumeClaimStatus implements KubernetesResource +public class PersistentVolumeClaimStatus implements Editable , KubernetesResource { @JsonProperty("accessModes") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List accessModes = new ArrayList(); + @JsonProperty("allocatedResourceStatuses") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map allocatedResourceStatuses = new LinkedHashMap(); @JsonProperty("allocatedResources") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map allocatedResources = new LinkedHashMap(); @@ -58,8 +62,6 @@ public class PersistentVolumeClaimStatus implements KubernetesResource private List conditions = new ArrayList(); @JsonProperty("phase") private java.lang.String phase; - @JsonProperty("resizeStatus") - private java.lang.String resizeStatus; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -70,14 +72,14 @@ public class PersistentVolumeClaimStatus implements KubernetesResource public PersistentVolumeClaimStatus() { } - public PersistentVolumeClaimStatus(List accessModes, Map allocatedResources, Map capacity, List conditions, java.lang.String phase, java.lang.String resizeStatus) { + public PersistentVolumeClaimStatus(List accessModes, Map allocatedResourceStatuses, Map allocatedResources, Map capacity, List conditions, java.lang.String phase) { super(); this.accessModes = accessModes; + this.allocatedResourceStatuses = allocatedResourceStatuses; this.allocatedResources = allocatedResources; this.capacity = capacity; this.conditions = conditions; this.phase = phase; - this.resizeStatus = resizeStatus; } @JsonProperty("accessModes") @@ -90,6 +92,16 @@ public void setAccessModes(List accessModes) { this.accessModes = accessModes; } + @JsonProperty("allocatedResourceStatuses") + public Map getAllocatedResourceStatuses() { + return allocatedResourceStatuses; + } + + @JsonProperty("allocatedResourceStatuses") + public void setAllocatedResourceStatuses(Map allocatedResourceStatuses) { + this.allocatedResourceStatuses = allocatedResourceStatuses; + } + @JsonProperty("allocatedResources") public Map getAllocatedResources() { return allocatedResources; @@ -130,14 +142,14 @@ public void setPhase(java.lang.String phase) { this.phase = phase; } - @JsonProperty("resizeStatus") - public java.lang.String getResizeStatus() { - return resizeStatus; + @JsonIgnore + public PersistentVolumeClaimStatusBuilder edit() { + return new PersistentVolumeClaimStatusBuilder(this); } - @JsonProperty("resizeStatus") - public void setResizeStatus(java.lang.String resizeStatus) { - this.resizeStatus = resizeStatus; + @JsonIgnore + public PersistentVolumeClaimStatusBuilder toBuilder() { + return edit(); } @JsonAnyGetter diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaimTemplate.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaimTemplate.java index e0ac350f7a8..d3a005d4c60 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaimTemplate.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaimTemplate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -32,9 +33,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class PersistentVolumeClaimTemplate implements KubernetesResource +public class PersistentVolumeClaimTemplate implements Editable , KubernetesResource { @JsonProperty("metadata") @@ -77,6 +78,16 @@ public void setSpec(PersistentVolumeClaimSpec spec) { this.spec = spec; } + @JsonIgnore + public PersistentVolumeClaimTemplateBuilder edit() { + return new PersistentVolumeClaimTemplateBuilder(this); + } + + @JsonIgnore + public PersistentVolumeClaimTemplateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaimVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaimVolumeSource.java index c996fdea83f..f801174f204 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaimVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaimVolumeSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class PersistentVolumeClaimVolumeSource implements KubernetesResource +public class PersistentVolumeClaimVolumeSource implements Editable , KubernetesResource { @JsonProperty("claimName") @@ -78,6 +79,16 @@ public void setReadOnly(Boolean readOnly) { this.readOnly = readOnly; } + @JsonIgnore + public PersistentVolumeClaimVolumeSourceBuilder edit() { + return new PersistentVolumeClaimVolumeSourceBuilder(this); + } + + @JsonIgnore + public PersistentVolumeClaimVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeList.java index 8aa8eef5c5c..7bc8e74a1e6 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -38,14 +39,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class PersistentVolumeList implements KubernetesResource, KubernetesResourceList +public class PersistentVolumeList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -145,6 +146,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PersistentVolumeListBuilder edit() { + return new PersistentVolumeListBuilder(this); + } + + @JsonIgnore + public PersistentVolumeListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeSpec.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeSpec.java index 028a7b26731..f3d0535f60b 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeSpec.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -63,9 +64,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class PersistentVolumeSpec implements KubernetesResource +public class PersistentVolumeSpec implements Editable , KubernetesResource { @JsonProperty("accessModes") @@ -475,6 +476,16 @@ public void setVsphereVolume(VsphereVirtualDiskVolumeSource vsphereVolume) { this.vsphereVolume = vsphereVolume; } + @JsonIgnore + public PersistentVolumeSpecBuilder edit() { + return new PersistentVolumeSpecBuilder(this); + } + + @JsonIgnore + public PersistentVolumeSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeStatus.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeStatus.java index 4f6f83cea30..6682df0b804 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeStatus.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -23,6 +24,7 @@ "apiVersion", "kind", "metadata", + "lastPhaseTransitionTime", "message", "phase", "reason" @@ -34,19 +36,21 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class PersistentVolumeStatus implements KubernetesResource +public class PersistentVolumeStatus implements Editable , KubernetesResource { + @JsonProperty("lastPhaseTransitionTime") + private String lastPhaseTransitionTime; @JsonProperty("message") - private String message; + private java.lang.String message; @JsonProperty("phase") - private String phase; + private java.lang.String phase; @JsonProperty("reason") - private String reason; + private java.lang.String reason; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -55,50 +59,71 @@ public class PersistentVolumeStatus implements KubernetesResource public PersistentVolumeStatus() { } - public PersistentVolumeStatus(String message, String phase, String reason) { + public PersistentVolumeStatus(String lastPhaseTransitionTime, java.lang.String message, java.lang.String phase, java.lang.String reason) { super(); + this.lastPhaseTransitionTime = lastPhaseTransitionTime; this.message = message; this.phase = phase; this.reason = reason; } + @JsonProperty("lastPhaseTransitionTime") + public String getLastPhaseTransitionTime() { + return lastPhaseTransitionTime; + } + + @JsonProperty("lastPhaseTransitionTime") + public void setLastPhaseTransitionTime(String lastPhaseTransitionTime) { + this.lastPhaseTransitionTime = lastPhaseTransitionTime; + } + @JsonProperty("message") - public String getMessage() { + public java.lang.String getMessage() { return message; } @JsonProperty("message") - public void setMessage(String message) { + public void setMessage(java.lang.String message) { this.message = message; } @JsonProperty("phase") - public String getPhase() { + public java.lang.String getPhase() { return phase; } @JsonProperty("phase") - public void setPhase(String phase) { + public void setPhase(java.lang.String phase) { this.phase = phase; } @JsonProperty("reason") - public String getReason() { + public java.lang.String getReason() { return reason; } @JsonProperty("reason") - public void setReason(String reason) { + public void setReason(java.lang.String reason) { this.reason = reason; } + @JsonIgnore + public PersistentVolumeStatusBuilder edit() { + return new PersistentVolumeStatusBuilder(this); + } + + @JsonIgnore + public PersistentVolumeStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { + public void setAdditionalProperty(java.lang.String name, Object value) { this.additionalProperties.put(name, value); } diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PhotonPersistentDiskVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PhotonPersistentDiskVolumeSource.java index 83e23ee2b0c..0ff48dbf2ce 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PhotonPersistentDiskVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PhotonPersistentDiskVolumeSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class PhotonPersistentDiskVolumeSource implements KubernetesResource +public class PhotonPersistentDiskVolumeSource implements Editable , KubernetesResource { @JsonProperty("fsType") @@ -78,6 +79,16 @@ public void setPdID(String pdID) { this.pdID = pdID; } + @JsonIgnore + public PhotonPersistentDiskVolumeSourceBuilder edit() { + return new PhotonPersistentDiskVolumeSourceBuilder(this); + } + + @JsonIgnore + public PhotonPersistentDiskVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Pod.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Pod.java index 00d24b75f95..d517394c83c 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Pod.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Pod.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -37,14 +38,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class Pod implements HasMetadata, Namespaced +public class Pod implements Editable , HasMetadata, Namespaced { /** @@ -156,6 +157,16 @@ public void setStatus(PodStatus status) { this.status = status; } + @JsonIgnore + public PodBuilder edit() { + return new PodBuilder(this); + } + + @JsonIgnore + public PodBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodAffinity.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodAffinity.java index fcdd7f8eb82..ffccdd8bf2c 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodAffinity.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodAffinity.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class PodAffinity implements KubernetesResource +public class PodAffinity implements Editable , KubernetesResource { @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") @@ -82,6 +83,16 @@ public void setRequiredDuringSchedulingIgnoredDuringExecution(List getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodAffinityTerm.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodAffinityTerm.java index a70881a7a7e..501a869e18c 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodAffinityTerm.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodAffinityTerm.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -37,9 +38,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class PodAffinityTerm implements KubernetesResource +public class PodAffinityTerm implements Editable , KubernetesResource { @JsonProperty("labelSelector") @@ -109,6 +110,16 @@ public void setTopologyKey(String topologyKey) { this.topologyKey = topologyKey; } + @JsonIgnore + public PodAffinityTermBuilder edit() { + return new PodAffinityTermBuilder(this); + } + + @JsonIgnore + public PodAffinityTermBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodAntiAffinity.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodAntiAffinity.java index 303779de65d..ae95e8ae2e6 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodAntiAffinity.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodAntiAffinity.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class PodAntiAffinity implements KubernetesResource +public class PodAntiAffinity implements Editable , KubernetesResource { @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") @@ -82,6 +83,16 @@ public void setRequiredDuringSchedulingIgnoredDuringExecution(List getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodCondition.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodCondition.java index 9fb139f32e6..5bbd8edab86 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodCondition.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -37,9 +38,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class PodCondition implements KubernetesResource +public class PodCondition implements Editable , KubernetesResource { @JsonProperty("lastProbeTime") @@ -134,6 +135,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public PodConditionBuilder edit() { + return new PodConditionBuilder(this); + } + + @JsonIgnore + public PodConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodDNSConfig.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodDNSConfig.java index c559be792d0..a1802cafda1 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodDNSConfig.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodDNSConfig.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -36,9 +37,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class PodDNSConfig implements KubernetesResource +public class PodDNSConfig implements Editable , KubernetesResource { @JsonProperty("nameservers") @@ -97,6 +98,16 @@ public void setSearches(List searches) { this.searches = searches; } + @JsonIgnore + public PodDNSConfigBuilder edit() { + return new PodDNSConfigBuilder(this); + } + + @JsonIgnore + public PodDNSConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodDNSConfigOption.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodDNSConfigOption.java index 9d5ea63ffa1..56c8eda68e8 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodDNSConfigOption.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodDNSConfigOption.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class PodDNSConfigOption implements KubernetesResource +public class PodDNSConfigOption implements Editable , KubernetesResource { @JsonProperty("name") @@ -78,6 +79,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public PodDNSConfigOptionBuilder edit() { + return new PodDNSConfigOptionBuilder(this); + } + + @JsonIgnore + public PodDNSConfigOptionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodExecOptions.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodExecOptions.java index c9057e9a360..c0e3af6355d 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodExecOptions.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodExecOptions.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -43,14 +44,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class PodExecOptions implements KubernetesResource +public class PodExecOptions implements Editable , KubernetesResource { /** @@ -202,6 +203,16 @@ public void setTty(Boolean tty) { this.tty = tty; } + @JsonIgnore + public PodExecOptionsBuilder edit() { + return new PodExecOptionsBuilder(this); + } + + @JsonIgnore + public PodExecOptionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodIP.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodIP.java index 5f32ab8a44e..32b88ad0b58 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodIP.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodIP.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -32,9 +33,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class PodIP implements KubernetesResource +public class PodIP implements Editable , KubernetesResource { @JsonProperty("ip") @@ -64,6 +65,16 @@ public void setIp(String ip) { this.ip = ip; } + @JsonIgnore + public PodIPBuilder edit() { + return new PodIPBuilder(this); + } + + @JsonIgnore + public PodIPBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodList.java index 43abf6c712e..17111d2d910 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -38,14 +39,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class PodList implements KubernetesResource, KubernetesResourceList +public class PodList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -145,6 +146,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PodListBuilder edit() { + return new PodListBuilder(this); + } + + @JsonIgnore + public PodListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodOS.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodOS.java index a43450ebf1f..ac1aaf43320 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodOS.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodOS.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -32,9 +33,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class PodOS implements KubernetesResource +public class PodOS implements Editable , KubernetesResource { @JsonProperty("name") @@ -64,6 +65,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public PodOSBuilder edit() { + return new PodOSBuilder(this); + } + + @JsonIgnore + public PodOSBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodReadinessGate.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodReadinessGate.java index 2bf4034a220..6454b30f18f 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodReadinessGate.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodReadinessGate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -32,9 +33,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class PodReadinessGate implements KubernetesResource +public class PodReadinessGate implements Editable , KubernetesResource { @JsonProperty("conditionType") @@ -64,6 +65,16 @@ public void setConditionType(String conditionType) { this.conditionType = conditionType; } + @JsonIgnore + public PodReadinessGateBuilder edit() { + return new PodReadinessGateBuilder(this); + } + + @JsonIgnore + public PodReadinessGateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodResourceClaim.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodResourceClaim.java index f117614fc09..21bd1592425 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodResourceClaim.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodResourceClaim.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class PodResourceClaim implements KubernetesResource +public class PodResourceClaim implements Editable , KubernetesResource { @JsonProperty("name") @@ -78,6 +79,16 @@ public void setSource(ClaimSource source) { this.source = source; } + @JsonIgnore + public PodResourceClaimBuilder edit() { + return new PodResourceClaimBuilder(this); + } + + @JsonIgnore + public PodResourceClaimBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodResourceClaimStatus.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodResourceClaimStatus.java new file mode 100644 index 00000000000..98d46e25e3d --- /dev/null +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodResourceClaimStatus.java @@ -0,0 +1,102 @@ + +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.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.sundr.builder.annotations.Buildable; +import lombok.EqualsAndHashCode; +import lombok.Setter; +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", + "name", + "resourceClaimName" +}) +@ToString +@EqualsAndHashCode +@Setter +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Generated("jsonschema2pojo") +public class PodResourceClaimStatus implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("resourceClaimName") + private String resourceClaimName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PodResourceClaimStatus() { + } + + public PodResourceClaimStatus(String name, String resourceClaimName) { + super(); + this.name = name; + this.resourceClaimName = resourceClaimName; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("resourceClaimName") + public String getResourceClaimName() { + return resourceClaimName; + } + + @JsonProperty("resourceClaimName") + public void setResourceClaimName(String resourceClaimName) { + this.resourceClaimName = resourceClaimName; + } + + @JsonIgnore + public PodResourceClaimStatusBuilder edit() { + return new PodResourceClaimStatusBuilder(this); + } + + @JsonIgnore + public PodResourceClaimStatusBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + +} diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodSchedulingGate.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodSchedulingGate.java index 569e8a83a06..87100d3b582 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodSchedulingGate.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodSchedulingGate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -32,9 +33,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class PodSchedulingGate implements KubernetesResource +public class PodSchedulingGate implements Editable , KubernetesResource { @JsonProperty("name") @@ -64,6 +65,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public PodSchedulingGateBuilder edit() { + return new PodSchedulingGateBuilder(this); + } + + @JsonIgnore + public PodSchedulingGateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodSecurityContext.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodSecurityContext.java index 17a88857ae2..9ac16350f57 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodSecurityContext.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodSecurityContext.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -43,9 +44,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class PodSecurityContext implements KubernetesResource +public class PodSecurityContext implements Editable , KubernetesResource { @JsonProperty("fsGroup") @@ -194,6 +195,16 @@ public void setWindowsOptions(WindowsSecurityContextOptions windowsOptions) { this.windowsOptions = windowsOptions; } + @JsonIgnore + public PodSecurityContextBuilder edit() { + return new PodSecurityContextBuilder(this); + } + + @JsonIgnore + public PodSecurityContextBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodSpec.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodSpec.java index 9c8908d2ab4..e124423fb89 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodSpec.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -72,9 +73,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class PodSpec implements KubernetesResource +public class PodSpec implements Editable , KubernetesResource { @JsonProperty("activeDeadlineSeconds") @@ -611,6 +612,16 @@ public void setVolumes(List volumes) { this.volumes = volumes; } + @JsonIgnore + public PodSpecBuilder edit() { + return new PodSpecBuilder(this); + } + + @JsonIgnore + public PodSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodStatus.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodStatus.java index 624ca22f07e..9d7fd270ee4 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodStatus.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -29,6 +30,7 @@ "containerStatuses", "ephemeralContainerStatuses", "hostIP", + "hostIPs", "initContainerStatuses", "message", "nominatedNodeName", @@ -38,6 +40,7 @@ "qosClass", "reason", "resize", + "resourceClaimStatuses", "startTime" }) @ToString @@ -47,9 +50,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class PodStatus implements KubernetesResource +public class PodStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -63,6 +66,9 @@ public class PodStatus implements KubernetesResource private List ephemeralContainerStatuses = new ArrayList(); @JsonProperty("hostIP") private java.lang.String hostIP; + @JsonProperty("hostIPs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List hostIPs = new ArrayList(); @JsonProperty("initContainerStatuses") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List initContainerStatuses = new ArrayList(); @@ -83,6 +89,9 @@ public class PodStatus implements KubernetesResource private java.lang.String reason; @JsonProperty("resize") private java.lang.String resize; + @JsonProperty("resourceClaimStatuses") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List resourceClaimStatuses = new ArrayList(); @JsonProperty("startTime") private String startTime; @JsonIgnore @@ -95,12 +104,13 @@ public class PodStatus implements KubernetesResource public PodStatus() { } - public PodStatus(List conditions, List containerStatuses, List ephemeralContainerStatuses, java.lang.String hostIP, List initContainerStatuses, java.lang.String message, java.lang.String nominatedNodeName, java.lang.String phase, java.lang.String podIP, List podIPs, java.lang.String qosClass, java.lang.String reason, java.lang.String resize, String startTime) { + public PodStatus(List conditions, List containerStatuses, List ephemeralContainerStatuses, java.lang.String hostIP, List hostIPs, List initContainerStatuses, java.lang.String message, java.lang.String nominatedNodeName, java.lang.String phase, java.lang.String podIP, List podIPs, java.lang.String qosClass, java.lang.String reason, java.lang.String resize, List resourceClaimStatuses, String startTime) { super(); this.conditions = conditions; this.containerStatuses = containerStatuses; this.ephemeralContainerStatuses = ephemeralContainerStatuses; this.hostIP = hostIP; + this.hostIPs = hostIPs; this.initContainerStatuses = initContainerStatuses; this.message = message; this.nominatedNodeName = nominatedNodeName; @@ -110,6 +120,7 @@ public PodStatus(List conditions, List containerS this.qosClass = qosClass; this.reason = reason; this.resize = resize; + this.resourceClaimStatuses = resourceClaimStatuses; this.startTime = startTime; } @@ -153,6 +164,16 @@ public void setHostIP(java.lang.String hostIP) { this.hostIP = hostIP; } + @JsonProperty("hostIPs") + public List getHostIPs() { + return hostIPs; + } + + @JsonProperty("hostIPs") + public void setHostIPs(List hostIPs) { + this.hostIPs = hostIPs; + } + @JsonProperty("initContainerStatuses") public List getInitContainerStatuses() { return initContainerStatuses; @@ -243,6 +264,16 @@ public void setResize(java.lang.String resize) { this.resize = resize; } + @JsonProperty("resourceClaimStatuses") + public List getResourceClaimStatuses() { + return resourceClaimStatuses; + } + + @JsonProperty("resourceClaimStatuses") + public void setResourceClaimStatuses(List resourceClaimStatuses) { + this.resourceClaimStatuses = resourceClaimStatuses; + } + @JsonProperty("startTime") public String getStartTime() { return startTime; @@ -253,6 +284,16 @@ public void setStartTime(String startTime) { this.startTime = startTime; } + @JsonIgnore + public PodStatusBuilder edit() { + return new PodStatusBuilder(this); + } + + @JsonIgnore + public PodStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodTemplate.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodTemplate.java index 93cc065225e..18b5ce3a533 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodTemplate.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodTemplate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -36,14 +37,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class PodTemplate implements HasMetadata, Namespaced +public class PodTemplate implements Editable , HasMetadata, Namespaced { /** @@ -142,6 +143,16 @@ public void setTemplate(PodTemplateSpec template) { this.template = template; } + @JsonIgnore + public PodTemplateBuilder edit() { + return new PodTemplateBuilder(this); + } + + @JsonIgnore + public PodTemplateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodTemplateList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodTemplateList.java index f6fd8a73018..ca43fbe707f 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodTemplateList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodTemplateList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -38,14 +39,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class PodTemplateList implements KubernetesResource, KubernetesResourceList +public class PodTemplateList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -145,6 +146,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PodTemplateListBuilder edit() { + return new PodTemplateListBuilder(this); + } + + @JsonIgnore + public PodTemplateListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodTemplateSpec.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodTemplateSpec.java index 09b47c803be..931131eb705 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodTemplateSpec.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodTemplateSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -32,9 +33,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class PodTemplateSpec implements KubernetesResource +public class PodTemplateSpec implements Editable , KubernetesResource { @JsonProperty("metadata") @@ -77,6 +78,16 @@ public void setSpec(PodSpec spec) { this.spec = spec; } + @JsonIgnore + public PodTemplateSpecBuilder edit() { + return new PodTemplateSpecBuilder(this); + } + + @JsonIgnore + public PodTemplateSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PortStatus.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PortStatus.java index 07ea2b2cb41..5db3a513a8a 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PortStatus.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PortStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class PortStatus implements KubernetesResource +public class PortStatus implements Editable , KubernetesResource { @JsonProperty("error") @@ -92,6 +93,16 @@ public void setProtocol(String protocol) { this.protocol = protocol; } + @JsonIgnore + public PortStatusBuilder edit() { + return new PortStatusBuilder(this); + } + + @JsonIgnore + public PortStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PortworxVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PortworxVolumeSource.java index 9fb5a8430f2..265a5977a2c 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PortworxVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PortworxVolumeSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class PortworxVolumeSource implements KubernetesResource +public class PortworxVolumeSource implements Editable , KubernetesResource { @JsonProperty("fsType") @@ -92,6 +93,16 @@ public void setVolumeID(String volumeID) { this.volumeID = volumeID; } + @JsonIgnore + public PortworxVolumeSourceBuilder edit() { + return new PortworxVolumeSourceBuilder(this); + } + + @JsonIgnore + public PortworxVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Preconditions.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Preconditions.java index 0017c84adc1..d2268dcc96e 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Preconditions.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Preconditions.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class Preconditions implements KubernetesResource +public class Preconditions implements Editable , KubernetesResource { @JsonProperty("resourceVersion") @@ -78,6 +79,16 @@ public void setUid(String uid) { this.uid = uid; } + @JsonIgnore + public PreconditionsBuilder edit() { + return new PreconditionsBuilder(this); + } + + @JsonIgnore + public PreconditionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Preferences.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Preferences.java index 770574edafc..ba4d2ef1176 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Preferences.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Preferences.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class Preferences implements KubernetesResource +public class Preferences implements Editable , KubernetesResource { @JsonProperty("colors") @@ -81,6 +82,16 @@ public void setExtensions(List extensions) { this.extensions = extensions; } + @JsonIgnore + public PreferencesBuilder edit() { + return new PreferencesBuilder(this); + } + + @JsonIgnore + public PreferencesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PreferredSchedulingTerm.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PreferredSchedulingTerm.java index c649353c324..30eff9c0240 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PreferredSchedulingTerm.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PreferredSchedulingTerm.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class PreferredSchedulingTerm implements KubernetesResource +public class PreferredSchedulingTerm implements Editable , KubernetesResource { @JsonProperty("preference") @@ -78,6 +79,16 @@ public void setWeight(Integer weight) { this.weight = weight; } + @JsonIgnore + public PreferredSchedulingTermBuilder edit() { + return new PreferredSchedulingTermBuilder(this); + } + + @JsonIgnore + public PreferredSchedulingTermBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Probe.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Probe.java index 1a269c7da0b..858bd70acb7 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Probe.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Probe.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -41,9 +42,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class Probe implements KubernetesResource +public class Probe implements Editable , KubernetesResource { @JsonProperty("exec") @@ -190,6 +191,16 @@ public void setTimeoutSeconds(Integer timeoutSeconds) { this.timeoutSeconds = timeoutSeconds; } + @JsonIgnore + public ProbeBuilder edit() { + return new ProbeBuilder(this); + } + + @JsonIgnore + public ProbeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ProjectedVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ProjectedVolumeSource.java index 55e0d7af551..3114e5b3ce7 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ProjectedVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ProjectedVolumeSource.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ProjectedVolumeSource implements KubernetesResource +public class ProjectedVolumeSource implements Editable , KubernetesResource { @JsonProperty("defaultMode") @@ -81,6 +82,16 @@ public void setSources(List sources) { this.sources = sources; } + @JsonIgnore + public ProjectedVolumeSourceBuilder edit() { + return new ProjectedVolumeSourceBuilder(this); + } + + @JsonIgnore + public ProjectedVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/QuobyteVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/QuobyteVolumeSource.java index 10bee575286..964a2832238 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/QuobyteVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/QuobyteVolumeSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -37,9 +38,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class QuobyteVolumeSource implements KubernetesResource +public class QuobyteVolumeSource implements Editable , KubernetesResource { @JsonProperty("group") @@ -134,6 +135,16 @@ public void setVolume(String volume) { this.volume = volume; } + @JsonIgnore + public QuobyteVolumeSourceBuilder edit() { + return new QuobyteVolumeSourceBuilder(this); + } + + @JsonIgnore + public QuobyteVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/RBDPersistentVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/RBDPersistentVolumeSource.java index 9d6ff5fd467..b9afa4b3628 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/RBDPersistentVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/RBDPersistentVolumeSource.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -41,9 +42,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class RBDPersistentVolumeSource implements KubernetesResource +public class RBDPersistentVolumeSource implements Editable , KubernetesResource { @JsonProperty("fsType") @@ -165,6 +166,16 @@ public void setUser(String user) { this.user = user; } + @JsonIgnore + public RBDPersistentVolumeSourceBuilder edit() { + return new RBDPersistentVolumeSourceBuilder(this); + } + + @JsonIgnore + public RBDPersistentVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/RBDVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/RBDVolumeSource.java index 50239ab41d6..3d21410e7dc 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/RBDVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/RBDVolumeSource.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -41,9 +42,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class RBDVolumeSource implements KubernetesResource +public class RBDVolumeSource implements Editable , KubernetesResource { @JsonProperty("fsType") @@ -165,6 +166,16 @@ public void setUser(String user) { this.user = user; } + @JsonIgnore + public RBDVolumeSourceBuilder edit() { + return new RBDVolumeSourceBuilder(this); + } + + @JsonIgnore + public RBDVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ReplicationController.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ReplicationController.java index d5c1be6752d..1dde3a6a9c0 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ReplicationController.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ReplicationController.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -37,14 +38,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class ReplicationController implements HasMetadata, Namespaced +public class ReplicationController implements Editable , HasMetadata, Namespaced { /** @@ -156,6 +157,16 @@ public void setStatus(ReplicationControllerStatus status) { this.status = status; } + @JsonIgnore + public ReplicationControllerBuilder edit() { + return new ReplicationControllerBuilder(this); + } + + @JsonIgnore + public ReplicationControllerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ReplicationControllerCondition.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ReplicationControllerCondition.java index 6fac5f29139..880d1614d82 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ReplicationControllerCondition.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ReplicationControllerCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -36,9 +37,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ReplicationControllerCondition implements KubernetesResource +public class ReplicationControllerCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -120,6 +121,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public ReplicationControllerConditionBuilder edit() { + return new ReplicationControllerConditionBuilder(this); + } + + @JsonIgnore + public ReplicationControllerConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ReplicationControllerList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ReplicationControllerList.java index 0d775e4426f..498d83bfad2 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ReplicationControllerList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ReplicationControllerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -38,14 +39,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class ReplicationControllerList implements KubernetesResource, KubernetesResourceList +public class ReplicationControllerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -145,6 +146,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ReplicationControllerListBuilder edit() { + return new ReplicationControllerListBuilder(this); + } + + @JsonIgnore + public ReplicationControllerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ReplicationControllerSpec.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ReplicationControllerSpec.java index 4fe7adffa9f..2e53306fcbb 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ReplicationControllerSpec.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ReplicationControllerSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ReplicationControllerSpec implements KubernetesResource +public class ReplicationControllerSpec implements Editable , KubernetesResource { @JsonProperty("minReadySeconds") @@ -107,6 +108,16 @@ public void setTemplate(PodTemplateSpec template) { this.template = template; } + @JsonIgnore + public ReplicationControllerSpecBuilder edit() { + return new ReplicationControllerSpecBuilder(this); + } + + @JsonIgnore + public ReplicationControllerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ReplicationControllerStatus.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ReplicationControllerStatus.java index 70787c58e51..2c4b3ae93ea 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ReplicationControllerStatus.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ReplicationControllerStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -39,9 +40,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ReplicationControllerStatus implements KubernetesResource +public class ReplicationControllerStatus implements Editable , KubernetesResource { @JsonProperty("availableReplicas") @@ -137,6 +138,16 @@ public void setReplicas(Integer replicas) { this.replicas = replicas; } + @JsonIgnore + public ReplicationControllerStatusBuilder edit() { + return new ReplicationControllerStatusBuilder(this); + } + + @JsonIgnore + public ReplicationControllerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceClaim.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceClaim.java index 2c2e0089406..7b353ed8426 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceClaim.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceClaim.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -32,9 +33,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ResourceClaim implements KubernetesResource +public class ResourceClaim implements Editable , KubernetesResource { @JsonProperty("name") @@ -64,6 +65,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public ResourceClaimBuilder edit() { + return new ResourceClaimBuilder(this); + } + + @JsonIgnore + public ResourceClaimBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceFieldSelector.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceFieldSelector.java index b056127dead..bdc319e2c13 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceFieldSelector.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceFieldSelector.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ResourceFieldSelector implements KubernetesResource +public class ResourceFieldSelector implements Editable , KubernetesResource { @JsonProperty("containerName") @@ -92,6 +93,16 @@ public void setResource(String resource) { this.resource = resource; } + @JsonIgnore + public ResourceFieldSelectorBuilder edit() { + return new ResourceFieldSelectorBuilder(this); + } + + @JsonIgnore + public ResourceFieldSelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceQuota.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceQuota.java index f32c28dbfd8..daa9219d375 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceQuota.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceQuota.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -37,14 +38,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class ResourceQuota implements HasMetadata, Namespaced +public class ResourceQuota implements Editable , HasMetadata, Namespaced { /** @@ -156,6 +157,16 @@ public void setStatus(ResourceQuotaStatus status) { this.status = status; } + @JsonIgnore + public ResourceQuotaBuilder edit() { + return new ResourceQuotaBuilder(this); + } + + @JsonIgnore + public ResourceQuotaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceQuotaList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceQuotaList.java index 445e2430284..c91ec1781c0 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceQuotaList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceQuotaList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -38,14 +39,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class ResourceQuotaList implements KubernetesResource, KubernetesResourceList +public class ResourceQuotaList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -145,6 +146,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ResourceQuotaListBuilder edit() { + return new ResourceQuotaListBuilder(this); + } + + @JsonIgnore + public ResourceQuotaListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceQuotaSpec.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceQuotaSpec.java index db7d493af9e..bd0fbb42274 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceQuotaSpec.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceQuotaSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -36,9 +37,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ResourceQuotaSpec implements KubernetesResource +public class ResourceQuotaSpec implements Editable , KubernetesResource { @JsonProperty("hard") @@ -96,6 +97,16 @@ public void setScopes(List scopes) { this.scopes = scopes; } + @JsonIgnore + public ResourceQuotaSpecBuilder edit() { + return new ResourceQuotaSpecBuilder(this); + } + + @JsonIgnore + public ResourceQuotaSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceQuotaStatus.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceQuotaStatus.java index 9d7f32b0a26..211a39d9bca 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceQuotaStatus.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceQuotaStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ResourceQuotaStatus implements KubernetesResource +public class ResourceQuotaStatus implements Editable , KubernetesResource { @JsonProperty("hard") @@ -80,6 +81,16 @@ public void setUsed(Map used) this.used = used; } + @JsonIgnore + public ResourceQuotaStatusBuilder edit() { + return new ResourceQuotaStatusBuilder(this); + } + + @JsonIgnore + public ResourceQuotaStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceRequirements.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceRequirements.java index def2b1fed1f..dff64f5fcd1 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceRequirements.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceRequirements.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -36,9 +37,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ResourceRequirements implements KubernetesResource +public class ResourceRequirements implements Editable , KubernetesResource { @JsonProperty("claims") @@ -97,6 +98,16 @@ public void setRequests(Map re this.requests = requests; } + @JsonIgnore + public ResourceRequirementsBuilder edit() { + return new ResourceRequirementsBuilder(this); + } + + @JsonIgnore + public ResourceRequirementsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/RootPaths.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/RootPaths.java index 9ad0899d1f1..e64e46a07a5 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/RootPaths.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/RootPaths.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class RootPaths implements KubernetesResource +public class RootPaths implements Editable , KubernetesResource { @JsonProperty("paths") @@ -67,6 +68,16 @@ public void setPaths(List paths) { this.paths = paths; } + @JsonIgnore + public RootPathsBuilder edit() { + return new RootPathsBuilder(this); + } + + @JsonIgnore + public RootPathsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SELinuxOptions.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SELinuxOptions.java index f06cd3a4804..414794b068a 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SELinuxOptions.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SELinuxOptions.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class SELinuxOptions implements KubernetesResource +public class SELinuxOptions implements Editable , KubernetesResource { @JsonProperty("level") @@ -106,6 +107,16 @@ public void setUser(String user) { this.user = user; } + @JsonIgnore + public SELinuxOptionsBuilder edit() { + return new SELinuxOptionsBuilder(this); + } + + @JsonIgnore + public SELinuxOptionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ScaleIOPersistentVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ScaleIOPersistentVolumeSource.java index 98df56f18df..7b972f164c6 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ScaleIOPersistentVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ScaleIOPersistentVolumeSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -41,9 +42,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ScaleIOPersistentVolumeSource implements KubernetesResource +public class ScaleIOPersistentVolumeSource implements Editable , KubernetesResource { @JsonProperty("fsType") @@ -190,6 +191,16 @@ public void setVolumeName(String volumeName) { this.volumeName = volumeName; } + @JsonIgnore + public ScaleIOPersistentVolumeSourceBuilder edit() { + return new ScaleIOPersistentVolumeSourceBuilder(this); + } + + @JsonIgnore + public ScaleIOPersistentVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ScaleIOVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ScaleIOVolumeSource.java index 11509ea6f6d..f3bb3a8c69d 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ScaleIOVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ScaleIOVolumeSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -41,9 +42,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ScaleIOVolumeSource implements KubernetesResource +public class ScaleIOVolumeSource implements Editable , KubernetesResource { @JsonProperty("fsType") @@ -190,6 +191,16 @@ public void setVolumeName(String volumeName) { this.volumeName = volumeName; } + @JsonIgnore + public ScaleIOVolumeSourceBuilder edit() { + return new ScaleIOVolumeSourceBuilder(this); + } + + @JsonIgnore + public ScaleIOVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ScopeSelector.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ScopeSelector.java index a9548c7770b..a83e88f096d 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ScopeSelector.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ScopeSelector.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ScopeSelector implements KubernetesResource +public class ScopeSelector implements Editable , KubernetesResource { @JsonProperty("matchExpressions") @@ -67,6 +68,16 @@ public void setMatchExpressions(List matchExp this.matchExpressions = matchExpressions; } + @JsonIgnore + public ScopeSelectorBuilder edit() { + return new ScopeSelectorBuilder(this); + } + + @JsonIgnore + public ScopeSelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ScopedResourceSelectorRequirement.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ScopedResourceSelectorRequirement.java index 7a968d72518..6ab09276e39 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ScopedResourceSelectorRequirement.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ScopedResourceSelectorRequirement.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -36,9 +37,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ScopedResourceSelectorRequirement implements KubernetesResource +public class ScopedResourceSelectorRequirement implements Editable , KubernetesResource { @JsonProperty("operator") @@ -95,6 +96,16 @@ public void setValues(List values) { this.values = values; } + @JsonIgnore + public ScopedResourceSelectorRequirementBuilder edit() { + return new ScopedResourceSelectorRequirementBuilder(this); + } + + @JsonIgnore + public ScopedResourceSelectorRequirementBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SeccompProfile.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SeccompProfile.java index fb6e63fa1d4..752bf497630 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SeccompProfile.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SeccompProfile.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class SeccompProfile implements KubernetesResource +public class SeccompProfile implements Editable , KubernetesResource { @JsonProperty("localhostProfile") @@ -78,6 +79,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public SeccompProfileBuilder edit() { + return new SeccompProfileBuilder(this); + } + + @JsonIgnore + public SeccompProfileBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Secret.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Secret.java index 1f0edea4399..9d4875a46c0 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Secret.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Secret.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -39,14 +40,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class Secret implements HasMetadata, Namespaced +public class Secret implements Editable , HasMetadata, Namespaced { /** @@ -186,6 +187,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public SecretBuilder edit() { + return new SecretBuilder(this); + } + + @JsonIgnore + public SecretBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecretEnvSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecretEnvSource.java index 0754df8f4d5..a70b332af2e 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecretEnvSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecretEnvSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class SecretEnvSource implements KubernetesResource +public class SecretEnvSource implements Editable , KubernetesResource { @JsonProperty("name") @@ -78,6 +79,16 @@ public void setOptional(Boolean optional) { this.optional = optional; } + @JsonIgnore + public SecretEnvSourceBuilder edit() { + return new SecretEnvSourceBuilder(this); + } + + @JsonIgnore + public SecretEnvSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecretKeySelector.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecretKeySelector.java index c9a38203ddf..33ff35a9cf1 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecretKeySelector.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecretKeySelector.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class SecretKeySelector implements KubernetesResource +public class SecretKeySelector implements Editable , KubernetesResource { @JsonProperty("key") @@ -92,6 +93,16 @@ public void setOptional(Boolean optional) { this.optional = optional; } + @JsonIgnore + public SecretKeySelectorBuilder edit() { + return new SecretKeySelectorBuilder(this); + } + + @JsonIgnore + public SecretKeySelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecretList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecretList.java index ad3f5a4b034..cb117d424f4 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecretList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecretList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -38,14 +39,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class SecretList implements KubernetesResource, KubernetesResourceList +public class SecretList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -145,6 +146,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public SecretListBuilder edit() { + return new SecretListBuilder(this); + } + + @JsonIgnore + public SecretListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecretProjection.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecretProjection.java index d63958fa3f9..30fd9fb4a3d 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecretProjection.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecretProjection.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -36,9 +37,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class SecretProjection implements KubernetesResource +public class SecretProjection implements Editable , KubernetesResource { @JsonProperty("items") @@ -95,6 +96,16 @@ public void setOptional(Boolean optional) { this.optional = optional; } + @JsonIgnore + public SecretProjectionBuilder edit() { + return new SecretProjectionBuilder(this); + } + + @JsonIgnore + public SecretProjectionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecretReference.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecretReference.java index 9b7db4a9555..1610dc94a4b 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecretReference.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecretReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class SecretReference implements KubernetesResource +public class SecretReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -78,6 +79,16 @@ public void setNamespace(String namespace) { this.namespace = namespace; } + @JsonIgnore + public SecretReferenceBuilder edit() { + return new SecretReferenceBuilder(this); + } + + @JsonIgnore + public SecretReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecretVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecretVolumeSource.java index 85d6e8078ed..cf15e137932 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecretVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecretVolumeSource.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -37,9 +38,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class SecretVolumeSource implements KubernetesResource +public class SecretVolumeSource implements Editable , KubernetesResource { @JsonProperty("defaultMode") @@ -109,6 +110,16 @@ public void setSecretName(String secretName) { this.secretName = secretName; } + @JsonIgnore + public SecretVolumeSourceBuilder edit() { + return new SecretVolumeSourceBuilder(this); + } + + @JsonIgnore + public SecretVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecurityContext.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecurityContext.java index 37028fe5837..05cf7cc6d8f 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecurityContext.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecurityContext.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -42,9 +43,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class SecurityContext implements KubernetesResource +public class SecurityContext implements Editable , KubernetesResource { @JsonProperty("allowPrivilegeEscalation") @@ -204,6 +205,16 @@ public void setWindowsOptions(WindowsSecurityContextOptions windowsOptions) { this.windowsOptions = windowsOptions; } + @JsonIgnore + public SecurityContextBuilder edit() { + return new SecurityContextBuilder(this); + } + + @JsonIgnore + public SecurityContextBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServerAddressByClientCIDR.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServerAddressByClientCIDR.java index d4c7c959644..5d39d2f09a9 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServerAddressByClientCIDR.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServerAddressByClientCIDR.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ServerAddressByClientCIDR implements KubernetesResource +public class ServerAddressByClientCIDR implements Editable , KubernetesResource { @JsonProperty("clientCIDR") @@ -78,6 +79,16 @@ public void setServerAddress(String serverAddress) { this.serverAddress = serverAddress; } + @JsonIgnore + public ServerAddressByClientCIDRBuilder edit() { + return new ServerAddressByClientCIDRBuilder(this); + } + + @JsonIgnore + public ServerAddressByClientCIDRBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Service.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Service.java index 7d61e43ed60..31bd73b8026 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Service.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Service.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -37,14 +38,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class Service implements HasMetadata, Namespaced +public class Service implements Editable , HasMetadata, Namespaced { /** @@ -156,6 +157,16 @@ public void setStatus(ServiceStatus status) { this.status = status; } + @JsonIgnore + public ServiceBuilder edit() { + return new ServiceBuilder(this); + } + + @JsonIgnore + public ServiceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceAccount.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceAccount.java index 2a049ed0fd5..8cfc0288926 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceAccount.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceAccount.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -40,14 +41,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class ServiceAccount implements HasMetadata, Namespaced +public class ServiceAccount implements Editable , HasMetadata, Namespaced { /** @@ -174,6 +175,16 @@ public void setSecrets(List secrets) { this.secrets = secrets; } + @JsonIgnore + public ServiceAccountBuilder edit() { + return new ServiceAccountBuilder(this); + } + + @JsonIgnore + public ServiceAccountBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceAccountList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceAccountList.java index 767929caf20..c353d4dc8d1 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceAccountList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceAccountList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -38,14 +39,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class ServiceAccountList implements KubernetesResource, KubernetesResourceList +public class ServiceAccountList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -145,6 +146,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ServiceAccountListBuilder edit() { + return new ServiceAccountListBuilder(this); + } + + @JsonIgnore + public ServiceAccountListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceAccountTokenProjection.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceAccountTokenProjection.java index 1e7c7822b83..31b2ce496f4 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceAccountTokenProjection.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceAccountTokenProjection.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ServiceAccountTokenProjection implements KubernetesResource +public class ServiceAccountTokenProjection implements Editable , KubernetesResource { @JsonProperty("audience") @@ -92,6 +93,16 @@ public void setPath(String path) { this.path = path; } + @JsonIgnore + public ServiceAccountTokenProjectionBuilder edit() { + return new ServiceAccountTokenProjectionBuilder(this); + } + + @JsonIgnore + public ServiceAccountTokenProjectionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceList.java index eac5d6e4d30..1b3552ef390 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -38,14 +39,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class ServiceList implements KubernetesResource, KubernetesResourceList +public class ServiceList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -145,6 +146,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ServiceListBuilder edit() { + return new ServiceListBuilder(this); + } + + @JsonIgnore + public ServiceListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServicePort.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServicePort.java index 82ac6f624d7..59b09016b7d 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServicePort.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServicePort.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -37,9 +38,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ServicePort implements KubernetesResource +public class ServicePort implements Editable , KubernetesResource { @JsonProperty("appProtocol") @@ -134,6 +135,16 @@ public void setTargetPort(IntOrString targetPort) { this.targetPort = targetPort; } + @JsonIgnore + public ServicePortBuilder edit() { + return new ServicePortBuilder(this); + } + + @JsonIgnore + public ServicePortBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceReference.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceReference.java index 78ebfc90843..24ea2888591 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceReference.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ServiceReference implements KubernetesResource +public class ServiceReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -92,6 +93,16 @@ public void setPort(Integer port) { this.port = port; } + @JsonIgnore + public ServiceReferenceBuilder edit() { + return new ServiceReferenceBuilder(this); + } + + @JsonIgnore + public ServiceReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceSpec.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceSpec.java index 3dfd27b035e..24dfbb06aaf 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceSpec.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -52,9 +53,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ServiceSpec implements KubernetesResource +public class ServiceSpec implements Editable , KubernetesResource { @JsonProperty("allocateLoadBalancerNodePorts") @@ -324,6 +325,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public ServiceSpecBuilder edit() { + return new ServiceSpecBuilder(this); + } + + @JsonIgnore + public ServiceSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceStatus.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceStatus.java index 169c339f3b1..a79f52621ac 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceStatus.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ServiceStatus implements KubernetesResource +public class ServiceStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -81,6 +82,16 @@ public void setLoadBalancer(LoadBalancerStatus loadBalancer) { this.loadBalancer = loadBalancer; } + @JsonIgnore + public ServiceStatusBuilder edit() { + return new ServiceStatusBuilder(this); + } + + @JsonIgnore + public ServiceStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SessionAffinityConfig.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SessionAffinityConfig.java index c31297369a6..e04c1f564c6 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SessionAffinityConfig.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SessionAffinityConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -32,9 +33,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class SessionAffinityConfig implements KubernetesResource +public class SessionAffinityConfig implements Editable , KubernetesResource { @JsonProperty("clientIP") @@ -64,6 +65,16 @@ public void setClientIP(ClientIPConfig clientIP) { this.clientIP = clientIP; } + @JsonIgnore + public SessionAffinityConfigBuilder edit() { + return new SessionAffinityConfigBuilder(this); + } + + @JsonIgnore + public SessionAffinityConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Status.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Status.java index b2d782a3966..cce2b760ac7 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Status.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Status.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -40,14 +41,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class Status implements KubernetesResource +public class Status implements Editable , KubernetesResource { /** @@ -198,6 +199,16 @@ public void setStatus(String status) { this.status = status; } + @JsonIgnore + public StatusBuilder edit() { + return new StatusBuilder(this); + } + + @JsonIgnore + public StatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/StatusCause.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/StatusCause.java index 7afcef3c375..2597b7547cf 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/StatusCause.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/StatusCause.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class StatusCause implements KubernetesResource +public class StatusCause implements Editable , KubernetesResource { @JsonProperty("field") @@ -92,6 +93,16 @@ public void setReason(String reason) { this.reason = reason; } + @JsonIgnore + public StatusCauseBuilder edit() { + return new StatusCauseBuilder(this); + } + + @JsonIgnore + public StatusCauseBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/StatusDetails.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/StatusDetails.java index 918aab375ab..37f0c49b23e 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/StatusDetails.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/StatusDetails.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -38,9 +39,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class StatusDetails implements KubernetesResource +public class StatusDetails implements Editable , KubernetesResource { @JsonProperty("causes") @@ -136,6 +137,16 @@ public void setUid(String uid) { this.uid = uid; } + @JsonIgnore + public StatusDetailsBuilder edit() { + return new StatusDetailsBuilder(this); + } + + @JsonIgnore + public StatusDetailsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/StorageOSPersistentVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/StorageOSPersistentVolumeSource.java index cbe32dbe75b..fde3f695be1 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/StorageOSPersistentVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/StorageOSPersistentVolumeSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -36,9 +37,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class StorageOSPersistentVolumeSource implements KubernetesResource +public class StorageOSPersistentVolumeSource implements Editable , KubernetesResource { @JsonProperty("fsType") @@ -120,6 +121,16 @@ public void setVolumeNamespace(String volumeNamespace) { this.volumeNamespace = volumeNamespace; } + @JsonIgnore + public StorageOSPersistentVolumeSourceBuilder edit() { + return new StorageOSPersistentVolumeSourceBuilder(this); + } + + @JsonIgnore + public StorageOSPersistentVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/StorageOSVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/StorageOSVolumeSource.java index cb68387c092..f579bc19c06 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/StorageOSVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/StorageOSVolumeSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -36,9 +37,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class StorageOSVolumeSource implements KubernetesResource +public class StorageOSVolumeSource implements Editable , KubernetesResource { @JsonProperty("fsType") @@ -120,6 +121,16 @@ public void setVolumeNamespace(String volumeNamespace) { this.volumeNamespace = volumeNamespace; } + @JsonIgnore + public StorageOSVolumeSourceBuilder edit() { + return new StorageOSVolumeSourceBuilder(this); + } + + @JsonIgnore + public StorageOSVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Sysctl.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Sysctl.java index 9b5a5d088fe..9e51cca440a 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Sysctl.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Sysctl.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class Sysctl implements KubernetesResource +public class Sysctl implements Editable , KubernetesResource { @JsonProperty("name") @@ -78,6 +79,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public SysctlBuilder edit() { + return new SysctlBuilder(this); + } + + @JsonIgnore + public SysctlBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TCPSocketAction.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TCPSocketAction.java index bfc9fd1b94e..57e7f4edca1 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TCPSocketAction.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TCPSocketAction.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class TCPSocketAction implements KubernetesResource +public class TCPSocketAction implements Editable , KubernetesResource { @JsonProperty("host") @@ -78,6 +79,16 @@ public void setPort(IntOrString port) { this.port = port; } + @JsonIgnore + public TCPSocketActionBuilder edit() { + return new TCPSocketActionBuilder(this); + } + + @JsonIgnore + public TCPSocketActionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Taint.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Taint.java index 01b78cdd4ec..02bd40a5371 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Taint.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Taint.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class Taint implements KubernetesResource +public class Taint implements Editable , KubernetesResource { @JsonProperty("effect") @@ -106,6 +107,16 @@ public void setValue(java.lang.String value) { this.value = value; } + @JsonIgnore + public TaintBuilder edit() { + return new TaintBuilder(this); + } + + @JsonIgnore + public TaintBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Toleration.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Toleration.java index acf57c39818..b563c6cc6eb 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Toleration.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Toleration.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -36,9 +37,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class Toleration implements KubernetesResource +public class Toleration implements Editable , KubernetesResource { @JsonProperty("effect") @@ -120,6 +121,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public TolerationBuilder edit() { + return new TolerationBuilder(this); + } + + @JsonIgnore + public TolerationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TopologySelectorLabelRequirement.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TopologySelectorLabelRequirement.java index 640015eed0a..1dc8c00d360 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TopologySelectorLabelRequirement.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TopologySelectorLabelRequirement.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class TopologySelectorLabelRequirement implements KubernetesResource +public class TopologySelectorLabelRequirement implements Editable , KubernetesResource { @JsonProperty("key") @@ -81,6 +82,16 @@ public void setValues(List values) { this.values = values; } + @JsonIgnore + public TopologySelectorLabelRequirementBuilder edit() { + return new TopologySelectorLabelRequirementBuilder(this); + } + + @JsonIgnore + public TopologySelectorLabelRequirementBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TopologySelectorTerm.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TopologySelectorTerm.java index 1d6fb4ae72d..2da719bfc59 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TopologySelectorTerm.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TopologySelectorTerm.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class TopologySelectorTerm implements KubernetesResource +public class TopologySelectorTerm implements Editable , KubernetesResource { @JsonProperty("matchLabelExpressions") @@ -67,6 +68,16 @@ public void setMatchLabelExpressions(List matc this.matchLabelExpressions = matchLabelExpressions; } + @JsonIgnore + public TopologySelectorTermBuilder edit() { + return new TopologySelectorTermBuilder(this); + } + + @JsonIgnore + public TopologySelectorTermBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TopologySpreadConstraint.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TopologySpreadConstraint.java index e43ce004306..97e7a1ff6d6 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TopologySpreadConstraint.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TopologySpreadConstraint.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -41,9 +42,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class TopologySpreadConstraint implements KubernetesResource +public class TopologySpreadConstraint implements Editable , KubernetesResource { @JsonProperty("labelSelector") @@ -165,6 +166,16 @@ public void setWhenUnsatisfiable(String whenUnsatisfiable) { this.whenUnsatisfiable = whenUnsatisfiable; } + @JsonIgnore + public TopologySpreadConstraintBuilder edit() { + return new TopologySpreadConstraintBuilder(this); + } + + @JsonIgnore + public TopologySpreadConstraintBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TypeMeta.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TypeMeta.java index 4c885030ca2..2fe14c0754f 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TypeMeta.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TypeMeta.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -31,9 +32,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class TypeMeta implements KubernetesResource +public class TypeMeta implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -76,6 +77,16 @@ public void setKind(String kind) { this.kind = kind; } + @JsonIgnore + public TypeMetaBuilder edit() { + return new TypeMetaBuilder(this); + } + + @JsonIgnore + public TypeMetaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TypedLocalObjectReference.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TypedLocalObjectReference.java index 1e593a358a2..669ccffed12 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TypedLocalObjectReference.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TypedLocalObjectReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class TypedLocalObjectReference implements KubernetesResource +public class TypedLocalObjectReference implements Editable , KubernetesResource { @JsonProperty("apiGroup") @@ -91,6 +92,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public TypedLocalObjectReferenceBuilder edit() { + return new TypedLocalObjectReferenceBuilder(this); + } + + @JsonIgnore + public TypedLocalObjectReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TypedObjectReference.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TypedObjectReference.java index 53218b0eac4..d504052a9a4 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TypedObjectReference.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TypedObjectReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class TypedObjectReference implements KubernetesResource +public class TypedObjectReference implements Editable , KubernetesResource { @JsonProperty("apiGroup") @@ -105,6 +106,16 @@ public void setNamespace(String namespace) { this.namespace = namespace; } + @JsonIgnore + public TypedObjectReferenceBuilder edit() { + return new TypedObjectReferenceBuilder(this); + } + + @JsonIgnore + public TypedObjectReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/UpdateOptions.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/UpdateOptions.java index de8a15424dd..f182a358d70 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/UpdateOptions.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/UpdateOptions.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -40,14 +41,14 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) @Version("v1") @Group("") @Generated("jsonschema2pojo") -public class UpdateOptions implements KubernetesResource +public class UpdateOptions implements Editable , KubernetesResource { /** @@ -160,6 +161,16 @@ public void setKind(String kind) { this.kind = kind; } + @JsonIgnore + public UpdateOptionsBuilder edit() { + return new UpdateOptionsBuilder(this); + } + + @JsonIgnore + public UpdateOptionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index 237a9be46cc..64bdb8f3884 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.version.Info; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; @@ -96,9 +97,10 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -946,6 +948,16 @@ public void setWatchEvent(WatchEvent watchEvent) { this.watchEvent = watchEvent; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Volume.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Volume.java index 212e2f47eda..8594cbe4183 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Volume.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Volume.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -61,9 +62,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class Volume implements KubernetesResource +public class Volume implements Editable , KubernetesResource { @JsonProperty("awsElasticBlockStore") @@ -470,6 +471,16 @@ public void setVsphereVolume(VsphereVirtualDiskVolumeSource vsphereVolume) { this.vsphereVolume = vsphereVolume; } + @JsonIgnore + public VolumeBuilder edit() { + return new VolumeBuilder(this); + } + + @JsonIgnore + public VolumeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/VolumeDevice.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/VolumeDevice.java index c6bdf07f593..1e88730e24a 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/VolumeDevice.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/VolumeDevice.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class VolumeDevice implements KubernetesResource +public class VolumeDevice implements Editable , KubernetesResource { @JsonProperty("devicePath") @@ -78,6 +79,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public VolumeDeviceBuilder edit() { + return new VolumeDeviceBuilder(this); + } + + @JsonIgnore + public VolumeDeviceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/VolumeMount.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/VolumeMount.java index 83fa6062764..f0a6f82da5c 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/VolumeMount.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/VolumeMount.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -37,9 +38,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class VolumeMount implements KubernetesResource +public class VolumeMount implements Editable , KubernetesResource { @JsonProperty("mountPath") @@ -134,6 +135,16 @@ public void setSubPathExpr(String subPathExpr) { this.subPathExpr = subPathExpr; } + @JsonIgnore + public VolumeMountBuilder edit() { + return new VolumeMountBuilder(this); + } + + @JsonIgnore + public VolumeMountBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/VolumeNodeAffinity.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/VolumeNodeAffinity.java index 00bf357a111..fb36642cc01 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/VolumeNodeAffinity.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/VolumeNodeAffinity.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -32,9 +33,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class VolumeNodeAffinity implements KubernetesResource +public class VolumeNodeAffinity implements Editable , KubernetesResource { @JsonProperty("required") @@ -64,6 +65,16 @@ public void setRequired(NodeSelector required) { this.required = required; } + @JsonIgnore + public VolumeNodeAffinityBuilder edit() { + return new VolumeNodeAffinityBuilder(this); + } + + @JsonIgnore + public VolumeNodeAffinityBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/VolumeProjection.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/VolumeProjection.java index 53c0b441ada..b4c49e8a309 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/VolumeProjection.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/VolumeProjection.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class VolumeProjection implements KubernetesResource +public class VolumeProjection implements Editable , KubernetesResource { @JsonProperty("configMap") @@ -106,6 +107,16 @@ public void setServiceAccountToken(ServiceAccountTokenProjection serviceAccountT this.serviceAccountToken = serviceAccountToken; } + @JsonIgnore + public VolumeProjectionBuilder edit() { + return new VolumeProjectionBuilder(this); + } + + @JsonIgnore + public VolumeProjectionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/VsphereVirtualDiskVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/VsphereVirtualDiskVolumeSource.java index b0229cd5252..9b1992d30d0 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/VsphereVirtualDiskVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/VsphereVirtualDiskVolumeSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class VsphereVirtualDiskVolumeSource implements KubernetesResource +public class VsphereVirtualDiskVolumeSource implements Editable , KubernetesResource { @JsonProperty("fsType") @@ -106,6 +107,16 @@ public void setVolumePath(String volumePath) { this.volumePath = volumePath; } + @JsonIgnore + public VsphereVirtualDiskVolumeSourceBuilder edit() { + return new VsphereVirtualDiskVolumeSourceBuilder(this); + } + + @JsonIgnore + public VsphereVirtualDiskVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/WatchEvent.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/WatchEvent.java index d74d9028002..e358cb28a58 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/WatchEvent.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/WatchEvent.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class WatchEvent implements io.fabric8.kubernetes.api.model.KubernetesResource +public class WatchEvent implements Editable , io.fabric8.kubernetes.api.model.KubernetesResource { @JsonProperty("object") @@ -78,6 +79,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public WatchEventBuilder edit() { + return new WatchEventBuilder(this); + } + + @JsonIgnore + public WatchEventBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/WeightedPodAffinityTerm.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/WeightedPodAffinityTerm.java index bc66a0de727..34417fc6708 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/WeightedPodAffinityTerm.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/WeightedPodAffinityTerm.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class WeightedPodAffinityTerm implements KubernetesResource +public class WeightedPodAffinityTerm implements Editable , KubernetesResource { @JsonProperty("podAffinityTerm") @@ -78,6 +79,16 @@ public void setWeight(Integer weight) { this.weight = weight; } + @JsonIgnore + public WeightedPodAffinityTermBuilder edit() { + return new WeightedPodAffinityTermBuilder(this); + } + + @JsonIgnore + public WeightedPodAffinityTermBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/WindowsSecurityContextOptions.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/WindowsSecurityContextOptions.java index cfe7dbc194b..580cc8a3163 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/WindowsSecurityContextOptions.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/WindowsSecurityContextOptions.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; import lombok.Setter; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class WindowsSecurityContextOptions implements KubernetesResource +public class WindowsSecurityContextOptions implements Editable , KubernetesResource { @JsonProperty("gmsaCredentialSpec") @@ -106,6 +107,16 @@ public void setRunAsUserName(String runAsUserName) { this.runAsUserName = runAsUserName; } + @JsonIgnore + public WindowsSecurityContextOptionsBuilder edit() { + return new WindowsSecurityContextOptionsBuilder(this); + } + + @JsonIgnore + public WindowsSecurityContextOptionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/version/Info.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/version/Info.java index 1030c1e20a6..aa7a28b59b2 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/version/Info.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/version/Info.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; @@ -41,9 +42,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class Info implements KubernetesResource +public class Info implements Editable , KubernetesResource { @JsonProperty("buildDate") @@ -177,6 +178,16 @@ public void setPlatform(String platform) { this.platform = platform; } + @JsonIgnore + public InfoBuilder edit() { + return new InfoBuilder(this); + } + + @JsonIgnore + public InfoBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/main/java/io/fabric8/kubernetes/api/model/AnyType.java b/kubernetes-model-generator/kubernetes-model-core/src/main/java/io/fabric8/kubernetes/api/model/AnyType.java index 4850c823141..3c0300f3b39 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/main/java/io/fabric8/kubernetes/api/model/AnyType.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/main/java/io/fabric8/kubernetes/api/model/AnyType.java @@ -40,7 +40,7 @@ @ToString @Setter @EqualsAndHashCode -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") public class AnyType implements Serializable { protected Object value; @@ -50,7 +50,7 @@ public AnyType() { @JsonCreator //Builders are generated for the first non-empty constructor found. - @Buildable(editableEnabled = false, generateBuilderPackage = true, builderPackage = "io.fabric8.kubernetes.api.builder") + @Buildable(editableEnabled = false, generateBuilderPackage = false, builderPackage = "io.fabric8.kubernetes.api.builder") public AnyType(Object value) { this.value = value; } diff --git a/kubernetes-model-generator/kubernetes-model-core/src/main/java/io/fabric8/kubernetes/api/model/GenericKubernetesResource.java b/kubernetes-model-generator/kubernetes-model-core/src/main/java/io/fabric8/kubernetes/api/model/GenericKubernetesResource.java index 684f1a6fa27..e4491dd27bf 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/main/java/io/fabric8/kubernetes/api/model/GenericKubernetesResource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/main/java/io/fabric8/kubernetes/api/model/GenericKubernetesResource.java @@ -46,7 +46,7 @@ @Setter @ToString @EqualsAndHashCode -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") public class GenericKubernetesResource implements HasMetadata { private static final ObjectMapper MAPPER = new ObjectMapper(); diff --git a/kubernetes-model-generator/kubernetes-model-core/src/main/java/io/fabric8/kubernetes/api/model/IntOrString.java b/kubernetes-model-generator/kubernetes-model-core/src/main/java/io/fabric8/kubernetes/api/model/IntOrString.java index 8638dc26438..a76779786fd 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/main/java/io/fabric8/kubernetes/api/model/IntOrString.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/main/java/io/fabric8/kubernetes/api/model/IntOrString.java @@ -25,7 +25,7 @@ public IntOrString() { @JsonCreator //Builders are generated for the first non-empty constructor found. - @Buildable(editableEnabled = false, generateBuilderPackage = true, builderPackage = "io.fabric8.kubernetes.api.builder") + @Buildable(editableEnabled = false, generateBuilderPackage = false, builderPackage = "io.fabric8.kubernetes.api.builder") public IntOrString(Object value) { setValue(value); } diff --git a/kubernetes-model-generator/kubernetes-model-core/src/main/java/io/fabric8/kubernetes/api/model/KubernetesList.java b/kubernetes-model-generator/kubernetes-model-core/src/main/java/io/fabric8/kubernetes/api/model/KubernetesList.java index fa003b8a928..b31f9210423 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/main/java/io/fabric8/kubernetes/api/model/KubernetesList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/main/java/io/fabric8/kubernetes/api/model/KubernetesList.java @@ -54,7 +54,7 @@ @Group("") @Kind("List") @JsonDeserialize(using = JsonDeserializer.None.class) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, builderPackage = "io.fabric8.kubernetes.api.builder") public class KubernetesList extends DefaultKubernetesResourceList implements KubernetesResource { @JsonIgnore diff --git a/kubernetes-model-generator/kubernetes-model-core/src/main/java/io/fabric8/kubernetes/api/model/Quantity.java b/kubernetes-model-generator/kubernetes-model-core/src/main/java/io/fabric8/kubernetes/api/model/Quantity.java index c79c998f8c1..598f1d0afed 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/main/java/io/fabric8/kubernetes/api/model/Quantity.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/main/java/io/fabric8/kubernetes/api/model/Quantity.java @@ -53,7 +53,7 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, builderPackage = "io.fabric8.kubernetes.api.builder") public class Quantity implements Serializable { private String amount; private String format = ""; @@ -156,7 +156,7 @@ public static BigDecimal getAmountInBytes(Quantity quantity) throws ArithmeticEx /** * Constructs a new Quantity from the provided amountInBytes. This amount is converted * to a value with the unit provided in desiredFormat. - * + * * @param amountInBytes * @param desiredFormat * @see #getNumericalAmount() diff --git a/kubernetes-model-generator/kubernetes-model-core/src/main/java/io/fabric8/kubernetes/api/model/runtime/RawExtension.java b/kubernetes-model-generator/kubernetes-model-core/src/main/java/io/fabric8/kubernetes/api/model/runtime/RawExtension.java index cd86f06bcd5..8ec14482753 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/main/java/io/fabric8/kubernetes/api/model/runtime/RawExtension.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/main/java/io/fabric8/kubernetes/api/model/runtime/RawExtension.java @@ -25,7 +25,7 @@ @ToString(callSuper = true) @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") public class RawExtension extends AnyType implements KubernetesResource { public RawExtension() { diff --git a/kubernetes-model-generator/kubernetes-model-core/src/main/resources/schema/kube-schema.json b/kubernetes-model-generator/kubernetes-model-core/src/main/resources/schema/kube-schema.json index f9b8072ae97..0ff04ee9910 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/main/resources/schema/kube-schema.json +++ b/kubernetes-model-generator/kubernetes-model-core/src/main/resources/schema/kube-schema.json @@ -2258,6 +2258,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -2889,6 +2892,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -3015,6 +3021,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -3508,6 +3517,19 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, + "kubernetes_core_HostIP": { + "type": "object", + "properties": { + "ip": { + "type": "string" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.HostIP", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, "kubernetes_core_HostPathVolumeSource": { "type": "object", "properties": { @@ -4666,6 +4688,13 @@ "type": "string" } }, + "allocatedResourceStatuses": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "existingJavaType": "java.util.Map\u003cString, String\u003e" + }, "allocatedResources": { "type": "object", "additionalProperties": { @@ -4692,9 +4721,6 @@ }, "phase": { "type": "string" - }, - "resizeStatus": { - "type": "string" } }, "additionalProperties": true, @@ -5007,6 +5033,10 @@ "kubernetes_core_PersistentVolumeStatus": { "type": "object", "properties": { + "lastPhaseTransitionTime": { + "$ref": "#/definitions/kubernetes_apimachinery_pkg_apis_Time", + "existingJavaType": "String" + }, "message": { "type": "string" }, @@ -5359,6 +5389,22 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, + "kubernetes_core_PodResourceClaimStatus": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "resourceClaimName": { + "type": "string" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.PodResourceClaimStatus", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, "kubernetes_core_PodSchedulingGate": { "type": "object", "properties": { @@ -5654,6 +5700,14 @@ "hostIP": { "type": "string" }, + "hostIPs": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/kubernetes_core_HostIP", + "existingJavaType": "io.fabric8.kubernetes.api.model.HostIP" + } + }, "initContainerStatuses": { "type": "array", "javaOmitEmpty": true, @@ -5691,6 +5745,14 @@ "resize": { "type": "string" }, + "resourceClaimStatuses": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/kubernetes_core_PodResourceClaimStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.PodResourceClaimStatus" + } + }, "startTime": { "$ref": "#/definitions/kubernetes_apimachinery_pkg_apis_Time", "existingJavaType": "String" diff --git a/kubernetes-model-generator/kubernetes-model-core/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/kubernetes-model-core/src/main/resources/schema/validation-schema.json index 4089a2a0345..18758bdb790 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/kubernetes-model-core/src/main/resources/schema/validation-schema.json @@ -2258,6 +2258,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -2889,6 +2892,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -3015,6 +3021,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -3508,6 +3517,19 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, + "kubernetes_core_HostIP": { + "type": "object", + "properties": { + "ip": { + "type": "string" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.HostIP", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, "kubernetes_core_HostPathVolumeSource": { "type": "object", "properties": { @@ -4666,6 +4688,13 @@ "type": "string" } }, + "allocatedResourceStatuses": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "existingJavaType": "java.util.Map\u003cString, String\u003e" + }, "allocatedResources": { "type": "object", "additionalProperties": { @@ -4692,9 +4721,6 @@ }, "phase": { "type": "string" - }, - "resizeStatus": { - "type": "string" } }, "additionalProperties": true, @@ -5007,6 +5033,10 @@ "kubernetes_core_PersistentVolumeStatus": { "type": "object", "properties": { + "lastPhaseTransitionTime": { + "$ref": "#/definitions/kubernetes_apimachinery_pkg_apis_Time", + "existingJavaType": "String" + }, "message": { "type": "string" }, @@ -5359,6 +5389,22 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, + "kubernetes_core_PodResourceClaimStatus": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "resourceClaimName": { + "type": "string" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.PodResourceClaimStatus", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, "kubernetes_core_PodSchedulingGate": { "type": "object", "properties": { @@ -5654,6 +5700,14 @@ "hostIP": { "type": "string" }, + "hostIPs": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/kubernetes_core_HostIP", + "existingJavaType": "io.fabric8.kubernetes.api.model.HostIP" + } + }, "initContainerStatuses": { "type": "array", "javaOmitEmpty": true, @@ -5691,6 +5745,14 @@ "resize": { "type": "string" }, + "resourceClaimStatuses": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/kubernetes_core_PodResourceClaimStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.PodResourceClaimStatus" + } + }, "startTime": { "$ref": "#/definitions/kubernetes_apimachinery_pkg_apis_Time", "existingJavaType": "String" @@ -8984,6 +9046,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -9658,6 +9723,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -9779,6 +9847,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -10254,6 +10325,14 @@ }, "additionalProperties": true }, + "hostip": { + "properties": { + "ip": { + "type": "string" + } + }, + "additionalProperties": true + }, "hostpathvolumesource": { "properties": { "path": { @@ -11631,6 +11710,13 @@ "type": "string" } }, + "allocatedResourceStatuses": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "existingJavaType": "java.util.Map\u003cString, String\u003e" + }, "allocatedResources": { "type": "object", "additionalProperties": { @@ -11657,9 +11743,6 @@ }, "phase": { "type": "string" - }, - "resizeStatus": { - "type": "string" } }, "additionalProperties": true @@ -11941,6 +12024,10 @@ }, "persistentvolumestatus": { "properties": { + "lastPhaseTransitionTime": { + "$ref": "#/definitions/kubernetes_apimachinery_pkg_apis_Time", + "existingJavaType": "String" + }, "message": { "type": "string" }, @@ -12217,6 +12304,17 @@ }, "additionalProperties": true }, + "podresourceclaimstatus": { + "properties": { + "name": { + "type": "string" + }, + "resourceClaimName": { + "type": "string" + } + }, + "additionalProperties": true + }, "podschedulinggate": { "properties": { "name": { @@ -12496,6 +12594,14 @@ "hostIP": { "type": "string" }, + "hostIPs": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/kubernetes_core_HostIP", + "existingJavaType": "io.fabric8.kubernetes.api.model.HostIP" + } + }, "initContainerStatuses": { "type": "array", "javaOmitEmpty": true, @@ -12533,6 +12639,14 @@ "resize": { "type": "string" }, + "resourceClaimStatuses": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/kubernetes_core_PodResourceClaimStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.PodResourceClaimStatus" + } + }, "startTime": { "$ref": "#/definitions/kubernetes_apimachinery_pkg_apis_Time", "existingJavaType": "String" diff --git a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index 485d292eddf..72f198ef7d0 100644 --- a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -76,7 +77,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -391,6 +393,16 @@ public void setV1EndpointSliceList(io.fabric8.kubernetes.api.model.discovery.v1. this.v1EndpointSliceList = v1EndpointSliceList; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index eb127ffd9db..9fe2ecaf5a9 100644 --- a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -76,7 +77,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -391,6 +393,16 @@ public void setV1EndpointSliceList(io.fabric8.kubernetes.api.model.discovery.v1. this.v1EndpointSliceList = v1EndpointSliceList; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/Endpoint.java b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/Endpoint.java index 1e52acff25c..d661f6b2496 100644 --- a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/Endpoint.java +++ b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/Endpoint.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -63,7 +64,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Endpoint implements KubernetesResource +public class Endpoint implements Editable , KubernetesResource { @JsonProperty("addresses") @@ -186,6 +187,16 @@ public void setZone(java.lang.String zone) { this.zone = zone; } + @JsonIgnore + public EndpointBuilder edit() { + return new EndpointBuilder(this); + } + + @JsonIgnore + public EndpointBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/EndpointConditions.java b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/EndpointConditions.java index e81133dfefc..c716d47db50 100644 --- a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/EndpointConditions.java +++ b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/EndpointConditions.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class EndpointConditions implements KubernetesResource +public class EndpointConditions implements Editable , KubernetesResource { @JsonProperty("ready") @@ -113,6 +114,16 @@ public void setTerminating(Boolean terminating) { this.terminating = terminating; } + @JsonIgnore + public EndpointConditionsBuilder edit() { + return new EndpointConditionsBuilder(this); + } + + @JsonIgnore + public EndpointConditionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/EndpointHints.java b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/EndpointHints.java index 02dbbe8682f..dc9d5ac18b7 100644 --- a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/EndpointHints.java +++ b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/EndpointHints.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class EndpointHints implements KubernetesResource +public class EndpointHints implements Editable , KubernetesResource { @JsonProperty("forZones") @@ -88,6 +89,16 @@ public void setForZones(List forZones) { this.forZones = forZones; } + @JsonIgnore + public EndpointHintsBuilder edit() { + return new EndpointHintsBuilder(this); + } + + @JsonIgnore + public EndpointHintsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/EndpointPort.java b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/EndpointPort.java index 1de180a0387..004dd2eaedb 100644 --- a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/EndpointPort.java +++ b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/EndpointPort.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class EndpointPort implements KubernetesResource +public class EndpointPort implements Editable , KubernetesResource { @JsonProperty("appProtocol") @@ -127,6 +128,16 @@ public void setProtocol(String protocol) { this.protocol = protocol; } + @JsonIgnore + public EndpointPortBuilder edit() { + return new EndpointPortBuilder(this); + } + + @JsonIgnore + public EndpointPortBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/EndpointSlice.java b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/EndpointSlice.java index e54afa25968..60c7eab3f5d 100644 --- a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/EndpointSlice.java +++ b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/EndpointSlice.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -68,7 +69,7 @@ @Version("v1") @Group("discovery.k8s.io") @Generated("jsonschema2pojo") -public class EndpointSlice implements HasMetadata, Namespaced +public class EndpointSlice implements Editable , HasMetadata, Namespaced { @JsonProperty("addressType") @@ -195,6 +196,16 @@ public void setPorts(List ports) { this.ports = ports; } + @JsonIgnore + public EndpointSliceBuilder edit() { + return new EndpointSliceBuilder(this); + } + + @JsonIgnore + public EndpointSliceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/EndpointSliceList.java b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/EndpointSliceList.java index 6c074f13444..88c110ece48 100644 --- a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/EndpointSliceList.java +++ b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/EndpointSliceList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("discovery.k8s.io") @Generated("jsonschema2pojo") -public class EndpointSliceList implements KubernetesResource, KubernetesResourceList +public class EndpointSliceList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public EndpointSliceListBuilder edit() { + return new EndpointSliceListBuilder(this); + } + + @JsonIgnore + public EndpointSliceListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/ForZone.java b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/ForZone.java index 5a2b2384e3c..123d4af1232 100644 --- a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/ForZone.java +++ b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/ForZone.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ForZone implements KubernetesResource +public class ForZone implements Editable , KubernetesResource { @JsonProperty("name") @@ -85,6 +86,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public ForZoneBuilder edit() { + return new ForZoneBuilder(this); + } + + @JsonIgnore + public ForZoneBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/Endpoint.java b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/Endpoint.java index 7578149b86a..d7cb12c052e 100644 --- a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/Endpoint.java +++ b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/Endpoint.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Endpoint implements KubernetesResource +public class Endpoint implements Editable , KubernetesResource { @JsonProperty("addresses") @@ -172,6 +173,16 @@ public void setTopology(Map topology) { this.topology = topology; } + @JsonIgnore + public EndpointBuilder edit() { + return new EndpointBuilder(this); + } + + @JsonIgnore + public EndpointBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/EndpointConditions.java b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/EndpointConditions.java index 06b2beb7b64..0d154e1173c 100644 --- a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/EndpointConditions.java +++ b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/EndpointConditions.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class EndpointConditions implements KubernetesResource +public class EndpointConditions implements Editable , KubernetesResource { @JsonProperty("ready") @@ -113,6 +114,16 @@ public void setTerminating(Boolean terminating) { this.terminating = terminating; } + @JsonIgnore + public EndpointConditionsBuilder edit() { + return new EndpointConditionsBuilder(this); + } + + @JsonIgnore + public EndpointConditionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/EndpointHints.java b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/EndpointHints.java index d4eb65764d4..af9027c5d3f 100644 --- a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/EndpointHints.java +++ b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/EndpointHints.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class EndpointHints implements KubernetesResource +public class EndpointHints implements Editable , KubernetesResource { @JsonProperty("forZones") @@ -88,6 +89,16 @@ public void setForZones(List forZones) { this.forZones = forZones; } + @JsonIgnore + public EndpointHintsBuilder edit() { + return new EndpointHintsBuilder(this); + } + + @JsonIgnore + public EndpointHintsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/EndpointPort.java b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/EndpointPort.java index f061f6c5886..07b766cb9ec 100644 --- a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/EndpointPort.java +++ b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/EndpointPort.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class EndpointPort implements KubernetesResource +public class EndpointPort implements Editable , KubernetesResource { @JsonProperty("appProtocol") @@ -127,6 +128,16 @@ public void setProtocol(String protocol) { this.protocol = protocol; } + @JsonIgnore + public EndpointPortBuilder edit() { + return new EndpointPortBuilder(this); + } + + @JsonIgnore + public EndpointPortBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/EndpointSlice.java b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/EndpointSlice.java index fe6b9a03a33..d7db167f769 100644 --- a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/EndpointSlice.java +++ b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/EndpointSlice.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("discovery.k8s.io") @Generated("jsonschema2pojo") -public class EndpointSlice implements HasMetadata, Namespaced +public class EndpointSlice implements Editable , HasMetadata, Namespaced { @JsonProperty("addressType") @@ -195,6 +196,16 @@ public void setPorts(List ports) { this.ports = ports; } + @JsonIgnore + public EndpointSliceBuilder edit() { + return new EndpointSliceBuilder(this); + } + + @JsonIgnore + public EndpointSliceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/EndpointSliceList.java b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/EndpointSliceList.java index 39a0f8a5186..3802daec567 100644 --- a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/EndpointSliceList.java +++ b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/EndpointSliceList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("discovery.k8s.io") @Generated("jsonschema2pojo") -public class EndpointSliceList implements KubernetesResource, KubernetesResourceList +public class EndpointSliceList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public EndpointSliceListBuilder edit() { + return new EndpointSliceListBuilder(this); + } + + @JsonIgnore + public EndpointSliceListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/ForZone.java b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/ForZone.java index 6b6fbccc090..42aabe052f5 100644 --- a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/ForZone.java +++ b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/ForZone.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ForZone implements KubernetesResource +public class ForZone implements Editable , KubernetesResource { @JsonProperty("name") @@ -85,6 +86,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public ForZoneBuilder edit() { + return new ForZoneBuilder(this); + } + + @JsonIgnore + public ForZoneBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-discovery/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/kubernetes-model-discovery/src/main/resources/schema/validation-schema.json index 5c9a7c5b8e7..4475268973d 100644 --- a/kubernetes-model-generator/kubernetes-model-discovery/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/kubernetes-model-discovery/src/main/resources/schema/validation-schema.json @@ -1390,12 +1390,19 @@ } }, "conditions": { - "$ref": "#/definitions/kubernetes_discovery_v1beta1_EndpointConditions", - "existingJavaType": "io.fabric8.kubernetes.api.model.discovery.v1beta1.EndpointConditions" + "$ref": "#/definitions/kubernetes_discovery_v1_EndpointConditions", + "existingJavaType": "io.fabric8.kubernetes.api.model.discovery.v1.EndpointConditions" + }, + "deprecatedTopology": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "existingJavaType": "java.util.Map\u003cString, String\u003e" }, "hints": { - "$ref": "#/definitions/kubernetes_discovery_v1beta1_EndpointHints", - "existingJavaType": "io.fabric8.kubernetes.api.model.discovery.v1beta1.EndpointHints" + "$ref": "#/definitions/kubernetes_discovery_v1_EndpointHints", + "existingJavaType": "io.fabric8.kubernetes.api.model.discovery.v1.EndpointHints" }, "hostname": { "type": "string" @@ -1407,12 +1414,8 @@ "$ref": "#/definitions/kubernetes_core_ObjectReference", "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectReference" }, - "topology": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "existingJavaType": "java.util.Map\u003cString, String\u003e" + "zone": { + "type": "string" } }, "additionalProperties": true @@ -1437,8 +1440,8 @@ "type": "array", "javaOmitEmpty": true, "items": { - "$ref": "#/definitions/kubernetes_discovery_v1_ForZone", - "existingJavaType": "io.fabric8.kubernetes.api.model.discovery.v1.ForZone" + "$ref": "#/definitions/kubernetes_discovery_v1beta1_ForZone", + "existingJavaType": "io.fabric8.kubernetes.api.model.discovery.v1beta1.ForZone" } } }, @@ -1503,14 +1506,14 @@ "properties": { "apiVersion": { "type": "string", - "default": "discovery.k8s.io/v1", + "default": "discovery.k8s.io/v1beta1", "required": true }, "items": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_discovery_v1_EndpointSlice", - "existingJavaType": "io.fabric8.kubernetes.api.model.discovery.v1.EndpointSlice" + "$ref": "#/definitions/kubernetes_discovery_v1beta1_EndpointSlice", + "existingJavaType": "io.fabric8.kubernetes.api.model.discovery.v1beta1.EndpointSlice" } }, "kind": { diff --git a/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index 495125ee772..af394dc517d 100644 --- a/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -76,7 +77,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -404,6 +406,16 @@ public void setV1EventSeries(io.fabric8.kubernetes.api.model.events.v1.EventSeri this.v1EventSeries = v1EventSeries; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index d73b2da3999..32c0e8b2651 100644 --- a/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -76,7 +77,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -404,6 +406,16 @@ public void setV1EventSeries(io.fabric8.kubernetes.api.model.events.v1.EventSeri this.v1EventSeries = v1EventSeries; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1/Event.java b/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1/Event.java index f1eadc0b206..f91ce1116f8 100644 --- a/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1/Event.java +++ b/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1/Event.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.EventSource; import io.fabric8.kubernetes.api.model.HasMetadata; @@ -78,7 +79,7 @@ @Version("v1") @Group("events.k8s.io") @Generated("jsonschema2pojo") -public class Event implements HasMetadata, Namespaced +public class Event implements Editable , HasMetadata, Namespaced { @JsonProperty("action") @@ -346,6 +347,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public EventBuilder edit() { + return new EventBuilder(this); + } + + @JsonIgnore + public EventBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1/EventList.java b/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1/EventList.java index 664b074bd4e..38e1bd8fbb0 100644 --- a/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1/EventList.java +++ b/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1/EventList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("events.k8s.io") @Generated("jsonschema2pojo") -public class EventList implements KubernetesResource, KubernetesResourceList +public class EventList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public EventListBuilder edit() { + return new EventListBuilder(this); + } + + @JsonIgnore + public EventListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1/EventSeries.java b/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1/EventSeries.java index 7ad471d9a2f..ba9ad10e717 100644 --- a/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1/EventSeries.java +++ b/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1/EventSeries.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class EventSeries implements KubernetesResource +public class EventSeries implements Editable , KubernetesResource { @JsonProperty("count") @@ -100,6 +101,16 @@ public void setLastObservedTime(MicroTime lastObservedTime) { this.lastObservedTime = lastObservedTime; } + @JsonIgnore + public EventSeriesBuilder edit() { + return new EventSeriesBuilder(this); + } + + @JsonIgnore + public EventSeriesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1beta1/Event.java b/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1beta1/Event.java index c2c9b4cce50..5a2752b608c 100644 --- a/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1beta1/Event.java +++ b/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1beta1/Event.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.EventSource; import io.fabric8.kubernetes.api.model.HasMetadata; @@ -78,7 +79,7 @@ @Version("v1beta1") @Group("events.k8s.io") @Generated("jsonschema2pojo") -public class Event implements HasMetadata, Namespaced +public class Event implements Editable , HasMetadata, Namespaced { @JsonProperty("action") @@ -346,6 +347,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public EventBuilder edit() { + return new EventBuilder(this); + } + + @JsonIgnore + public EventBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1beta1/EventList.java b/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1beta1/EventList.java index 621f0fdc108..cccdc8d919a 100644 --- a/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1beta1/EventList.java +++ b/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1beta1/EventList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("events.k8s.io") @Generated("jsonschema2pojo") -public class EventList implements KubernetesResource, KubernetesResourceList +public class EventList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public EventListBuilder edit() { + return new EventListBuilder(this); + } + + @JsonIgnore + public EventListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1beta1/EventSeries.java b/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1beta1/EventSeries.java index aa914a096b9..b8bfda07e1a 100644 --- a/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1beta1/EventSeries.java +++ b/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1beta1/EventSeries.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class EventSeries implements KubernetesResource +public class EventSeries implements Editable , KubernetesResource { @JsonProperty("count") @@ -100,6 +101,16 @@ public void setLastObservedTime(MicroTime lastObservedTime) { this.lastObservedTime = lastObservedTime; } + @JsonIgnore + public EventSeriesBuilder edit() { + return new EventSeriesBuilder(this); + } + + @JsonIgnore + public EventSeriesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index cd6d862b70a..8828c600b58 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -92,7 +93,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -485,6 +487,16 @@ public void setUpdateOptions(UpdateOptions updateOptions) { this.updateOptions = updateOptions; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index 70864e98b8e..4638233acd7 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -92,7 +93,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -485,6 +487,16 @@ public void setUpdateOptions(UpdateOptions updateOptions) { this.updateOptions = updateOptions; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DaemonSet.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DaemonSet.java index daf8e912219..7a5a4e38d12 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DaemonSet.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DaemonSet.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1beta1") @Group("extensions") @Generated("jsonschema2pojo") -public class DaemonSet implements HasMetadata, Namespaced +public class DaemonSet implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(DaemonSetStatus status) { this.status = status; } + @JsonIgnore + public DaemonSetBuilder edit() { + return new DaemonSetBuilder(this); + } + + @JsonIgnore + public DaemonSetBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DaemonSetCondition.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DaemonSetCondition.java index a74925a91ae..2bfb494e139 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DaemonSetCondition.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DaemonSetCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DaemonSetCondition implements KubernetesResource +public class DaemonSetCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public DaemonSetConditionBuilder edit() { + return new DaemonSetConditionBuilder(this); + } + + @JsonIgnore + public DaemonSetConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DaemonSetList.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DaemonSetList.java index 75d780cefb2..c3141dfdd28 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DaemonSetList.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DaemonSetList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("extensions") @Generated("jsonschema2pojo") -public class DaemonSetList implements KubernetesResource, KubernetesResourceList +public class DaemonSetList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public DaemonSetListBuilder edit() { + return new DaemonSetListBuilder(this); + } + + @JsonIgnore + public DaemonSetListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DaemonSetSpec.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DaemonSetSpec.java index 5aedd382f89..68efab22548 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DaemonSetSpec.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DaemonSetSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DaemonSetSpec implements KubernetesResource +public class DaemonSetSpec implements Editable , KubernetesResource { @JsonProperty("minReadySeconds") @@ -153,6 +154,16 @@ public void setUpdateStrategy(DaemonSetUpdateStrategy updateStrategy) { this.updateStrategy = updateStrategy; } + @JsonIgnore + public DaemonSetSpecBuilder edit() { + return new DaemonSetSpecBuilder(this); + } + + @JsonIgnore + public DaemonSetSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DaemonSetStatus.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DaemonSetStatus.java index 64b07cc9bb3..07ca24ecfb4 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DaemonSetStatus.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DaemonSetStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -66,7 +67,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DaemonSetStatus implements KubernetesResource +public class DaemonSetStatus implements Editable , KubernetesResource { @JsonProperty("collisionCount") @@ -214,6 +215,16 @@ public void setUpdatedNumberScheduled(Integer updatedNumberScheduled) { this.updatedNumberScheduled = updatedNumberScheduled; } + @JsonIgnore + public DaemonSetStatusBuilder edit() { + return new DaemonSetStatusBuilder(this); + } + + @JsonIgnore + public DaemonSetStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DaemonSetUpdateStrategy.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DaemonSetUpdateStrategy.java index ccbf8f007dc..38542c07970 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DaemonSetUpdateStrategy.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DaemonSetUpdateStrategy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DaemonSetUpdateStrategy implements KubernetesResource +public class DaemonSetUpdateStrategy implements Editable , KubernetesResource { @JsonProperty("rollingUpdate") @@ -99,6 +100,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public DaemonSetUpdateStrategyBuilder edit() { + return new DaemonSetUpdateStrategyBuilder(this); + } + + @JsonIgnore + public DaemonSetUpdateStrategyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/Deployment.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/Deployment.java index 1fb5cbbf548..2e37e76b32a 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/Deployment.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/Deployment.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1beta1") @Group("extensions") @Generated("jsonschema2pojo") -public class Deployment implements HasMetadata, Namespaced +public class Deployment implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(DeploymentStatus status) { this.status = status; } + @JsonIgnore + public DeploymentBuilder edit() { + return new DeploymentBuilder(this); + } + + @JsonIgnore + public DeploymentBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DeploymentCondition.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DeploymentCondition.java index e07f261317d..5f724ea7869 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DeploymentCondition.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DeploymentCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DeploymentCondition implements KubernetesResource +public class DeploymentCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -155,6 +156,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public DeploymentConditionBuilder edit() { + return new DeploymentConditionBuilder(this); + } + + @JsonIgnore + public DeploymentConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DeploymentList.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DeploymentList.java index 1b8ddfa7039..f5b3b380d54 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DeploymentList.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DeploymentList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("extensions") @Generated("jsonschema2pojo") -public class DeploymentList implements KubernetesResource, KubernetesResourceList +public class DeploymentList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public DeploymentListBuilder edit() { + return new DeploymentListBuilder(this); + } + + @JsonIgnore + public DeploymentListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DeploymentRollback.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DeploymentRollback.java index 47c4badb101..5816b430ad5 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DeploymentRollback.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DeploymentRollback.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -66,7 +67,7 @@ @Version("v1beta1") @Group("extensions") @Generated("jsonschema2pojo") -public class DeploymentRollback implements KubernetesResource +public class DeploymentRollback implements Editable , KubernetesResource { /** @@ -179,6 +180,16 @@ public void setUpdatedAnnotations(Map updatedAnnotations) { this.updatedAnnotations = updatedAnnotations; } + @JsonIgnore + public DeploymentRollbackBuilder edit() { + return new DeploymentRollbackBuilder(this); + } + + @JsonIgnore + public DeploymentRollbackBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DeploymentSpec.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DeploymentSpec.java index 56be7907c72..74ec044dddd 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DeploymentSpec.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DeploymentSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DeploymentSpec implements KubernetesResource +public class DeploymentSpec implements Editable , KubernetesResource { @JsonProperty("minReadySeconds") @@ -195,6 +196,16 @@ public void setTemplate(io.fabric8.kubernetes.api.model.PodTemplateSpec template this.template = template; } + @JsonIgnore + public DeploymentSpecBuilder edit() { + return new DeploymentSpecBuilder(this); + } + + @JsonIgnore + public DeploymentSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DeploymentStatus.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DeploymentStatus.java index 389136befd8..a822a44324a 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DeploymentStatus.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DeploymentStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DeploymentStatus implements KubernetesResource +public class DeploymentStatus implements Editable , KubernetesResource { @JsonProperty("availableReplicas") @@ -186,6 +187,16 @@ public void setUpdatedReplicas(Integer updatedReplicas) { this.updatedReplicas = updatedReplicas; } + @JsonIgnore + public DeploymentStatusBuilder edit() { + return new DeploymentStatusBuilder(this); + } + + @JsonIgnore + public DeploymentStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DeploymentStrategy.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DeploymentStrategy.java index 0c6861c7004..1dbd7e44cbf 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DeploymentStrategy.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DeploymentStrategy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DeploymentStrategy implements KubernetesResource +public class DeploymentStrategy implements Editable , KubernetesResource { @JsonProperty("rollingUpdate") @@ -99,6 +100,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public DeploymentStrategyBuilder edit() { + return new DeploymentStrategyBuilder(this); + } + + @JsonIgnore + public DeploymentStrategyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/HTTPIngressPath.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/HTTPIngressPath.java index 2f2ad05ee17..62d3bafd499 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/HTTPIngressPath.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/HTTPIngressPath.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HTTPIngressPath implements KubernetesResource +public class HTTPIngressPath implements Editable , KubernetesResource { @JsonProperty("backend") @@ -113,6 +114,16 @@ public void setPathType(String pathType) { this.pathType = pathType; } + @JsonIgnore + public HTTPIngressPathBuilder edit() { + return new HTTPIngressPathBuilder(this); + } + + @JsonIgnore + public HTTPIngressPathBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/HTTPIngressRuleValue.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/HTTPIngressRuleValue.java index fea52d0f539..af0d6fde04b 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/HTTPIngressRuleValue.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/HTTPIngressRuleValue.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HTTPIngressRuleValue implements KubernetesResource +public class HTTPIngressRuleValue implements Editable , KubernetesResource { @JsonProperty("paths") @@ -88,6 +89,16 @@ public void setPaths(List paths) { this.paths = paths; } + @JsonIgnore + public HTTPIngressRuleValueBuilder edit() { + return new HTTPIngressRuleValueBuilder(this); + } + + @JsonIgnore + public HTTPIngressRuleValueBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IPBlock.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IPBlock.java index 32f11dbd692..7b35e8b3679 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IPBlock.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IPBlock.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IPBlock implements KubernetesResource +public class IPBlock implements Editable , KubernetesResource { @JsonProperty("cidr") @@ -102,6 +103,16 @@ public void setExcept(List except) { this.except = except; } + @JsonIgnore + public IPBlockBuilder edit() { + return new IPBlockBuilder(this); + } + + @JsonIgnore + public IPBlockBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/Ingress.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/Ingress.java index c91d739b280..2b0d2b3b2dc 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/Ingress.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/Ingress.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1beta1") @Group("extensions") @Generated("jsonschema2pojo") -public class Ingress implements HasMetadata, Namespaced +public class Ingress implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(IngressStatus status) { this.status = status; } + @JsonIgnore + public IngressBuilder edit() { + return new IngressBuilder(this); + } + + @JsonIgnore + public IngressBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressBackend.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressBackend.java index 0c500b148e3..86de9025d0f 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressBackend.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressBackend.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressBackend implements KubernetesResource +public class IngressBackend implements Editable , KubernetesResource { @JsonProperty("resource") @@ -113,6 +114,16 @@ public void setServicePort(io.fabric8.kubernetes.api.model.IntOrString servicePo this.servicePort = servicePort; } + @JsonIgnore + public IngressBackendBuilder edit() { + return new IngressBackendBuilder(this); + } + + @JsonIgnore + public IngressBackendBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressList.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressList.java index 4b7b432af44..cfd6cd3aaf9 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressList.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("extensions") @Generated("jsonschema2pojo") -public class IngressList implements KubernetesResource, KubernetesResourceList +public class IngressList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public IngressListBuilder edit() { + return new IngressListBuilder(this); + } + + @JsonIgnore + public IngressListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressLoadBalancerIngress.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressLoadBalancerIngress.java index c8ee8bcfa9a..6c521267e80 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressLoadBalancerIngress.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressLoadBalancerIngress.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressLoadBalancerIngress implements KubernetesResource +public class IngressLoadBalancerIngress implements Editable , KubernetesResource { @JsonProperty("hostname") @@ -116,6 +117,16 @@ public void setPorts(List ports) { this.ports = ports; } + @JsonIgnore + public IngressLoadBalancerIngressBuilder edit() { + return new IngressLoadBalancerIngressBuilder(this); + } + + @JsonIgnore + public IngressLoadBalancerIngressBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressLoadBalancerStatus.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressLoadBalancerStatus.java index d14f52cf10e..d9e6a3de9ee 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressLoadBalancerStatus.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressLoadBalancerStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressLoadBalancerStatus implements KubernetesResource +public class IngressLoadBalancerStatus implements Editable , KubernetesResource { @JsonProperty("ingress") @@ -88,6 +89,16 @@ public void setIngress(List ingress) { this.ingress = ingress; } + @JsonIgnore + public IngressLoadBalancerStatusBuilder edit() { + return new IngressLoadBalancerStatusBuilder(this); + } + + @JsonIgnore + public IngressLoadBalancerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressPortStatus.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressPortStatus.java index 27772fb9c3f..62f99a1bbb9 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressPortStatus.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressPortStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressPortStatus implements KubernetesResource +public class IngressPortStatus implements Editable , KubernetesResource { @JsonProperty("error") @@ -113,6 +114,16 @@ public void setProtocol(String protocol) { this.protocol = protocol; } + @JsonIgnore + public IngressPortStatusBuilder edit() { + return new IngressPortStatusBuilder(this); + } + + @JsonIgnore + public IngressPortStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressRule.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressRule.java index 2ee7462f7f5..9c618838e67 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressRule.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressRule.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressRule implements KubernetesResource +public class IngressRule implements Editable , KubernetesResource { @JsonProperty("host") @@ -99,6 +100,16 @@ public void setHttp(HTTPIngressRuleValue http) { this.http = http; } + @JsonIgnore + public IngressRuleBuilder edit() { + return new IngressRuleBuilder(this); + } + + @JsonIgnore + public IngressRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressSpec.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressSpec.java index 864ab1dfed5..3961f8dcc50 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressSpec.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressSpec implements KubernetesResource +public class IngressSpec implements Editable , KubernetesResource { @JsonProperty("backend") @@ -131,6 +132,16 @@ public void setTls(List tls) { this.tls = tls; } + @JsonIgnore + public IngressSpecBuilder edit() { + return new IngressSpecBuilder(this); + } + + @JsonIgnore + public IngressSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressStatus.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressStatus.java index 608c32e6e44..a115744c755 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressStatus.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressStatus implements KubernetesResource +public class IngressStatus implements Editable , KubernetesResource { @JsonProperty("loadBalancer") @@ -85,6 +86,16 @@ public void setLoadBalancer(IngressLoadBalancerStatus loadBalancer) { this.loadBalancer = loadBalancer; } + @JsonIgnore + public IngressStatusBuilder edit() { + return new IngressStatusBuilder(this); + } + + @JsonIgnore + public IngressStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressTLS.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressTLS.java index 4d767130c9f..dd8a445e5d6 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressTLS.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressTLS.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressTLS implements KubernetesResource +public class IngressTLS implements Editable , KubernetesResource { @JsonProperty("hosts") @@ -102,6 +103,16 @@ public void setSecretName(String secretName) { this.secretName = secretName; } + @JsonIgnore + public IngressTLSBuilder edit() { + return new IngressTLSBuilder(this); + } + + @JsonIgnore + public IngressTLSBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicy.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicy.java index 27be7b00582..6cedfbf0b06 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicy.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -38,8 +39,7 @@ "apiVersion", "kind", "metadata", - "spec", - "status" + "spec" }) @ToString @EqualsAndHashCode @@ -65,7 +65,7 @@ @Version("v1beta1") @Group("extensions") @Generated("jsonschema2pojo") -public class NetworkPolicy implements HasMetadata, Namespaced +public class NetworkPolicy implements Editable , HasMetadata, Namespaced { /** @@ -86,8 +86,6 @@ public class NetworkPolicy implements HasMetadata, Namespaced private io.fabric8.kubernetes.api.model.ObjectMeta metadata; @JsonProperty("spec") private NetworkPolicySpec spec; - @JsonProperty("status") - private NetworkPolicyStatus status; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -98,13 +96,12 @@ public class NetworkPolicy implements HasMetadata, Namespaced public NetworkPolicy() { } - public NetworkPolicy(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, NetworkPolicySpec spec, NetworkPolicyStatus status) { + public NetworkPolicy(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, NetworkPolicySpec spec) { super(); this.apiVersion = apiVersion; this.kind = kind; this.metadata = metadata; this.spec = spec; - this.status = status; } /** @@ -167,14 +164,14 @@ public void setSpec(NetworkPolicySpec spec) { this.spec = spec; } - @JsonProperty("status") - public NetworkPolicyStatus getStatus() { - return status; + @JsonIgnore + public NetworkPolicyBuilder edit() { + return new NetworkPolicyBuilder(this); } - @JsonProperty("status") - public void setStatus(NetworkPolicyStatus status) { - this.status = status; + @JsonIgnore + public NetworkPolicyBuilder toBuilder() { + return edit(); } @JsonAnyGetter diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicyEgressRule.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicyEgressRule.java index 8ce0d5a60d2..10528ae258c 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicyEgressRule.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicyEgressRule.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NetworkPolicyEgressRule implements KubernetesResource +public class NetworkPolicyEgressRule implements Editable , KubernetesResource { @JsonProperty("ports") @@ -103,6 +104,16 @@ public void setTo(List to) { this.to = to; } + @JsonIgnore + public NetworkPolicyEgressRuleBuilder edit() { + return new NetworkPolicyEgressRuleBuilder(this); + } + + @JsonIgnore + public NetworkPolicyEgressRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicyIngressRule.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicyIngressRule.java index c561fdfed91..6e27d4fc5ba 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicyIngressRule.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicyIngressRule.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NetworkPolicyIngressRule implements KubernetesResource +public class NetworkPolicyIngressRule implements Editable , KubernetesResource { @JsonProperty("from") @@ -103,6 +104,16 @@ public void setPorts(List ports) { this.ports = ports; } + @JsonIgnore + public NetworkPolicyIngressRuleBuilder edit() { + return new NetworkPolicyIngressRuleBuilder(this); + } + + @JsonIgnore + public NetworkPolicyIngressRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicyList.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicyList.java index 75fbbf383a3..d92df0ddcd7 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicyList.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicyList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("extensions") @Generated("jsonschema2pojo") -public class NetworkPolicyList implements KubernetesResource, KubernetesResourceList +public class NetworkPolicyList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public NetworkPolicyListBuilder edit() { + return new NetworkPolicyListBuilder(this); + } + + @JsonIgnore + public NetworkPolicyListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicyPeer.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicyPeer.java index 2eb4ac27cb9..0b80eeec66d 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicyPeer.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicyPeer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NetworkPolicyPeer implements KubernetesResource +public class NetworkPolicyPeer implements Editable , KubernetesResource { @JsonProperty("ipBlock") @@ -112,6 +113,16 @@ public void setPodSelector(io.fabric8.kubernetes.api.model.LabelSelector podSele this.podSelector = podSelector; } + @JsonIgnore + public NetworkPolicyPeerBuilder edit() { + return new NetworkPolicyPeerBuilder(this); + } + + @JsonIgnore + public NetworkPolicyPeerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicyPort.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicyPort.java index 60f5c9403ff..c5411c6f344 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicyPort.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicyPort.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NetworkPolicyPort implements KubernetesResource +public class NetworkPolicyPort implements Editable , KubernetesResource { @JsonProperty("endPort") @@ -112,6 +113,16 @@ public void setProtocol(String protocol) { this.protocol = protocol; } + @JsonIgnore + public NetworkPolicyPortBuilder edit() { + return new NetworkPolicyPortBuilder(this); + } + + @JsonIgnore + public NetworkPolicyPortBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicySpec.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicySpec.java index 76adb849334..a03e2525950 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicySpec.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicySpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NetworkPolicySpec implements KubernetesResource +public class NetworkPolicySpec implements Editable , KubernetesResource { @JsonProperty("egress") @@ -131,6 +132,16 @@ public void setPolicyTypes(List policyTypes) { this.policyTypes = policyTypes; } + @JsonIgnore + public NetworkPolicySpecBuilder edit() { + return new NetworkPolicySpecBuilder(this); + } + + @JsonIgnore + public NetworkPolicySpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/ReplicaSet.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/ReplicaSet.java index e531153a513..3f0c3eb8a37 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/ReplicaSet.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/ReplicaSet.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1beta1") @Group("extensions") @Generated("jsonschema2pojo") -public class ReplicaSet implements HasMetadata, Namespaced +public class ReplicaSet implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(ReplicaSetStatus status) { this.status = status; } + @JsonIgnore + public ReplicaSetBuilder edit() { + return new ReplicaSetBuilder(this); + } + + @JsonIgnore + public ReplicaSetBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/ReplicaSetCondition.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/ReplicaSetCondition.java index 3cc25821489..ada676512fc 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/ReplicaSetCondition.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/ReplicaSetCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ReplicaSetCondition implements KubernetesResource +public class ReplicaSetCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public ReplicaSetConditionBuilder edit() { + return new ReplicaSetConditionBuilder(this); + } + + @JsonIgnore + public ReplicaSetConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/ReplicaSetList.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/ReplicaSetList.java index 95552c6932c..b09aa054450 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/ReplicaSetList.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/ReplicaSetList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("extensions") @Generated("jsonschema2pojo") -public class ReplicaSetList implements KubernetesResource, KubernetesResourceList +public class ReplicaSetList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ReplicaSetListBuilder edit() { + return new ReplicaSetListBuilder(this); + } + + @JsonIgnore + public ReplicaSetListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/ReplicaSetSpec.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/ReplicaSetSpec.java index 33b08bf9e30..9e273595148 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/ReplicaSetSpec.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/ReplicaSetSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ReplicaSetSpec implements KubernetesResource +public class ReplicaSetSpec implements Editable , KubernetesResource { @JsonProperty("minReadySeconds") @@ -125,6 +126,16 @@ public void setTemplate(io.fabric8.kubernetes.api.model.PodTemplateSpec template this.template = template; } + @JsonIgnore + public ReplicaSetSpecBuilder edit() { + return new ReplicaSetSpecBuilder(this); + } + + @JsonIgnore + public ReplicaSetSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/ReplicaSetStatus.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/ReplicaSetStatus.java index 3a74e19b77b..ff04193840e 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/ReplicaSetStatus.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/ReplicaSetStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ReplicaSetStatus implements KubernetesResource +public class ReplicaSetStatus implements Editable , KubernetesResource { @JsonProperty("availableReplicas") @@ -158,6 +159,16 @@ public void setReplicas(Integer replicas) { this.replicas = replicas; } + @JsonIgnore + public ReplicaSetStatusBuilder edit() { + return new ReplicaSetStatusBuilder(this); + } + + @JsonIgnore + public ReplicaSetStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/RollbackConfig.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/RollbackConfig.java index e067edfc51a..1fd72e8b92a 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/RollbackConfig.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/RollbackConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RollbackConfig implements KubernetesResource +public class RollbackConfig implements Editable , KubernetesResource { @JsonProperty("revision") @@ -85,6 +86,16 @@ public void setRevision(Long revision) { this.revision = revision; } + @JsonIgnore + public RollbackConfigBuilder edit() { + return new RollbackConfigBuilder(this); + } + + @JsonIgnore + public RollbackConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/RollingUpdateDaemonSet.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/RollingUpdateDaemonSet.java index 9c3de587eec..c12853ebe8e 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/RollingUpdateDaemonSet.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/RollingUpdateDaemonSet.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RollingUpdateDaemonSet implements KubernetesResource +public class RollingUpdateDaemonSet implements Editable , KubernetesResource { @JsonProperty("maxSurge") @@ -98,6 +99,16 @@ public void setMaxUnavailable(io.fabric8.kubernetes.api.model.IntOrString maxUna this.maxUnavailable = maxUnavailable; } + @JsonIgnore + public RollingUpdateDaemonSetBuilder edit() { + return new RollingUpdateDaemonSetBuilder(this); + } + + @JsonIgnore + public RollingUpdateDaemonSetBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/RollingUpdateDeployment.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/RollingUpdateDeployment.java index a780f0ef122..6181837918e 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/RollingUpdateDeployment.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/RollingUpdateDeployment.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RollingUpdateDeployment implements KubernetesResource +public class RollingUpdateDeployment implements Editable , KubernetesResource { @JsonProperty("maxSurge") @@ -98,6 +99,16 @@ public void setMaxUnavailable(io.fabric8.kubernetes.api.model.IntOrString maxUna this.maxUnavailable = maxUnavailable; } + @JsonIgnore + public RollingUpdateDeploymentBuilder edit() { + return new RollingUpdateDeploymentBuilder(this); + } + + @JsonIgnore + public RollingUpdateDeploymentBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/main/resources/schema/kube-schema.json b/kubernetes-model-generator/kubernetes-model-extensions/src/main/resources/schema/kube-schema.json index ca8f2a4f97d..680f2d2b3c6 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/main/resources/schema/kube-schema.json +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/main/resources/schema/kube-schema.json @@ -85,36 +85,6 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "kubernetes_apimachinery_Condition": { - "type": "object", - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/kubernetes_apimachinery_Time", - "existingJavaType": "String" - }, - "message": { - "type": "string" - }, - "observedGeneration": { - "type": "integer", - "existingJavaType": "Long" - }, - "reason": { - "type": "string" - }, - "status": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "additionalProperties": true, - "existingJavaType": "io.fabric8.kubernetes.api.model.Condition", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, "kubernetes_apimachinery_CreateOptions": { "type": "object", "properties": { @@ -1224,6 +1194,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -1538,6 +1511,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -1664,6 +1640,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -4584,10 +4563,6 @@ "spec": { "$ref": "#/definitions/kubernetes_extensions_NetworkPolicySpec", "existingJavaType": "io.fabric8.kubernetes.api.model.extensions.NetworkPolicySpec" - }, - "status": { - "$ref": "#/definitions/kubernetes_extensions_NetworkPolicyStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.extensions.NetworkPolicyStatus" } }, "additionalProperties": true, @@ -4760,24 +4735,6 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "kubernetes_extensions_NetworkPolicyStatus": { - "type": "object", - "properties": { - "conditions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/kubernetes_apimachinery_Condition", - "existingJavaType": "io.fabric8.kubernetes.api.model.Condition" - } - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.extensions.NetworkPolicyStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, "kubernetes_extensions_ReplicaSet": { "type": "object", "properties": { diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/kubernetes-model-extensions/src/main/resources/schema/validation-schema.json index 337e168c89e..0b68ba867e6 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/main/resources/schema/validation-schema.json @@ -85,36 +85,6 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "kubernetes_apimachinery_Condition": { - "type": "object", - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/kubernetes_apimachinery_Time", - "existingJavaType": "String" - }, - "message": { - "type": "string" - }, - "observedGeneration": { - "type": "integer", - "existingJavaType": "Long" - }, - "reason": { - "type": "string" - }, - "status": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "additionalProperties": true, - "existingJavaType": "io.fabric8.kubernetes.api.model.Condition", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, "kubernetes_apimachinery_CreateOptions": { "type": "object", "properties": { @@ -1224,6 +1194,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -1538,6 +1511,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -1664,6 +1640,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -4584,10 +4563,6 @@ "spec": { "$ref": "#/definitions/kubernetes_extensions_NetworkPolicySpec", "existingJavaType": "io.fabric8.kubernetes.api.model.extensions.NetworkPolicySpec" - }, - "status": { - "$ref": "#/definitions/kubernetes_extensions_NetworkPolicyStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.extensions.NetworkPolicyStatus" } }, "additionalProperties": true, @@ -4760,24 +4735,6 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "kubernetes_extensions_NetworkPolicyStatus": { - "type": "object", - "properties": { - "conditions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/kubernetes_apimachinery_Condition", - "existingJavaType": "io.fabric8.kubernetes.api.model.Condition" - } - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.extensions.NetworkPolicyStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, "kubernetes_extensions_ReplicaSet": { "type": "object", "properties": { @@ -5304,31 +5261,6 @@ }, "additionalProperties": true }, - "condition": { - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/kubernetes_apimachinery_Time", - "existingJavaType": "String" - }, - "message": { - "type": "string" - }, - "observedGeneration": { - "type": "integer", - "existingJavaType": "Long" - }, - "reason": { - "type": "string" - }, - "status": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "additionalProperties": true - }, "configmapenvsource": { "properties": { "name": { @@ -5470,6 +5402,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -6167,6 +6102,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -6288,6 +6226,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -7117,10 +7058,6 @@ "spec": { "$ref": "#/definitions/kubernetes_extensions_NetworkPolicySpec", "existingJavaType": "io.fabric8.kubernetes.api.model.extensions.NetworkPolicySpec" - }, - "status": { - "$ref": "#/definitions/kubernetes_extensions_NetworkPolicyStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.extensions.NetworkPolicyStatus" } }, "additionalProperties": true @@ -7257,19 +7194,6 @@ }, "additionalProperties": true }, - "networkpolicystatus": { - "properties": { - "conditions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/kubernetes_apimachinery_Condition", - "existingJavaType": "io.fabric8.kubernetes.api.model.Condition" - } - } - }, - "additionalProperties": true - }, "nfsvolumesource": { "properties": { "path": { diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index 7a833cd2e90..d11c4c11f34 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -73,7 +74,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("V1Alpha1StorageVersion") private StorageVersion v1Alpha1StorageVersion; @@ -323,6 +325,16 @@ public void setV1beta3PriorityLevelConfigurationList(io.fabric8.kubernetes.api.m this.v1beta3PriorityLevelConfigurationList = v1beta3PriorityLevelConfigurationList; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index 0e2856bc26c..16cf9cd08af 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -73,7 +74,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("V1Alpha1StorageVersion") private StorageVersion v1Alpha1StorageVersion; @@ -323,6 +325,16 @@ public void setV1beta3PriorityLevelConfigurationList(io.fabric8.kubernetes.api.m this.v1beta3PriorityLevelConfigurationList = v1beta3PriorityLevelConfigurationList; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/ExemptPriorityLevelConfiguration.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/ExemptPriorityLevelConfiguration.java new file mode 100644 index 00000000000..1a612d7367d --- /dev/null +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/ExemptPriorityLevelConfiguration.java @@ -0,0 +1,123 @@ + +package io.fabric8.kubernetes.api.model.flowcontrol.v1alpha1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.Setter; +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", + "lendablePercent", + "nominalConcurrencyShares" +}) +@ToString +@EqualsAndHashCode +@Setter +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ExemptPriorityLevelConfiguration implements Editable , KubernetesResource +{ + + @JsonProperty("lendablePercent") + private Integer lendablePercent; + @JsonProperty("nominalConcurrencyShares") + private Integer nominalConcurrencyShares; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ExemptPriorityLevelConfiguration() { + } + + public ExemptPriorityLevelConfiguration(Integer lendablePercent, Integer nominalConcurrencyShares) { + super(); + this.lendablePercent = lendablePercent; + this.nominalConcurrencyShares = nominalConcurrencyShares; + } + + @JsonProperty("lendablePercent") + public Integer getLendablePercent() { + return lendablePercent; + } + + @JsonProperty("lendablePercent") + public void setLendablePercent(Integer lendablePercent) { + this.lendablePercent = lendablePercent; + } + + @JsonProperty("nominalConcurrencyShares") + public Integer getNominalConcurrencyShares() { + return nominalConcurrencyShares; + } + + @JsonProperty("nominalConcurrencyShares") + public void setNominalConcurrencyShares(Integer nominalConcurrencyShares) { + this.nominalConcurrencyShares = nominalConcurrencyShares; + } + + @JsonIgnore + public ExemptPriorityLevelConfigurationBuilder edit() { + return new ExemptPriorityLevelConfigurationBuilder(this); + } + + @JsonIgnore + public ExemptPriorityLevelConfigurationBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + +} diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/FlowDistinguisherMethod.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/FlowDistinguisherMethod.java index e417958b10d..8e8d0aab53b 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/FlowDistinguisherMethod.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/FlowDistinguisherMethod.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class FlowDistinguisherMethod implements KubernetesResource +public class FlowDistinguisherMethod implements Editable , KubernetesResource { @JsonProperty("type") @@ -85,6 +86,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public FlowDistinguisherMethodBuilder edit() { + return new FlowDistinguisherMethodBuilder(this); + } + + @JsonIgnore + public FlowDistinguisherMethodBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/FlowSchema.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/FlowSchema.java index f45d2d2d38d..9ad123356c9 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/FlowSchema.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/FlowSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1alpha1") @Group("flowcontrol.apiserver.k8s.io") @Generated("jsonschema2pojo") -public class FlowSchema implements HasMetadata, Namespaced +public class FlowSchema implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(FlowSchemaStatus status) { this.status = status; } + @JsonIgnore + public FlowSchemaBuilder edit() { + return new FlowSchemaBuilder(this); + } + + @JsonIgnore + public FlowSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/FlowSchemaCondition.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/FlowSchemaCondition.java index 46c20fbdbe7..ced9f38b469 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/FlowSchemaCondition.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/FlowSchemaCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class FlowSchemaCondition implements KubernetesResource +public class FlowSchemaCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public FlowSchemaConditionBuilder edit() { + return new FlowSchemaConditionBuilder(this); + } + + @JsonIgnore + public FlowSchemaConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/FlowSchemaList.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/FlowSchemaList.java index 70685fa8fa8..ba0e8e17d27 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/FlowSchemaList.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/FlowSchemaList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha1") @Group("flowcontrol.apiserver.k8s.io") @Generated("jsonschema2pojo") -public class FlowSchemaList implements KubernetesResource, KubernetesResourceList +public class FlowSchemaList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public FlowSchemaListBuilder edit() { + return new FlowSchemaListBuilder(this); + } + + @JsonIgnore + public FlowSchemaListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/FlowSchemaSpec.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/FlowSchemaSpec.java index 23e9c6fa664..f81550cbaf3 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/FlowSchemaSpec.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/FlowSchemaSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class FlowSchemaSpec implements KubernetesResource +public class FlowSchemaSpec implements Editable , KubernetesResource { @JsonProperty("distinguisherMethod") @@ -130,6 +131,16 @@ public void setRules(List rules) { this.rules = rules; } + @JsonIgnore + public FlowSchemaSpecBuilder edit() { + return new FlowSchemaSpecBuilder(this); + } + + @JsonIgnore + public FlowSchemaSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/FlowSchemaStatus.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/FlowSchemaStatus.java index f72719689a3..3e7726cc75d 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/FlowSchemaStatus.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/FlowSchemaStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class FlowSchemaStatus implements KubernetesResource +public class FlowSchemaStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -88,6 +89,16 @@ public void setConditions(List conditions) { this.conditions = conditions; } + @JsonIgnore + public FlowSchemaStatusBuilder edit() { + return new FlowSchemaStatusBuilder(this); + } + + @JsonIgnore + public FlowSchemaStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/GroupSubject.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/GroupSubject.java index dff59af5b44..2c83f588655 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/GroupSubject.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/GroupSubject.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GroupSubject implements KubernetesResource +public class GroupSubject implements Editable , KubernetesResource { @JsonProperty("name") @@ -85,6 +86,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public GroupSubjectBuilder edit() { + return new GroupSubjectBuilder(this); + } + + @JsonIgnore + public GroupSubjectBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/LimitResponse.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/LimitResponse.java index 3ed1edf80e9..310860ab131 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/LimitResponse.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/LimitResponse.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class LimitResponse implements KubernetesResource +public class LimitResponse implements Editable , KubernetesResource { @JsonProperty("queuing") @@ -99,6 +100,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public LimitResponseBuilder edit() { + return new LimitResponseBuilder(this); + } + + @JsonIgnore + public LimitResponseBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/LimitedPriorityLevelConfiguration.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/LimitedPriorityLevelConfiguration.java index 0c5b74c3894..8d5a5ed1a4a 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/LimitedPriorityLevelConfiguration.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/LimitedPriorityLevelConfiguration.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class LimitedPriorityLevelConfiguration implements KubernetesResource +public class LimitedPriorityLevelConfiguration implements Editable , KubernetesResource { @JsonProperty("assuredConcurrencyShares") @@ -127,6 +128,16 @@ public void setLimitResponse(LimitResponse limitResponse) { this.limitResponse = limitResponse; } + @JsonIgnore + public LimitedPriorityLevelConfigurationBuilder edit() { + return new LimitedPriorityLevelConfigurationBuilder(this); + } + + @JsonIgnore + public LimitedPriorityLevelConfigurationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/NonResourcePolicyRule.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/NonResourcePolicyRule.java index 50899a7c7ac..5eac26d2193 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/NonResourcePolicyRule.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/NonResourcePolicyRule.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NonResourcePolicyRule implements KubernetesResource +public class NonResourcePolicyRule implements Editable , KubernetesResource { @JsonProperty("nonResourceURLs") @@ -103,6 +104,16 @@ public void setVerbs(List verbs) { this.verbs = verbs; } + @JsonIgnore + public NonResourcePolicyRuleBuilder edit() { + return new NonResourcePolicyRuleBuilder(this); + } + + @JsonIgnore + public NonResourcePolicyRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PolicyRulesWithSubjects.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PolicyRulesWithSubjects.java index ec674f3fa02..76b52e67b65 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PolicyRulesWithSubjects.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PolicyRulesWithSubjects.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PolicyRulesWithSubjects implements KubernetesResource +public class PolicyRulesWithSubjects implements Editable , KubernetesResource { @JsonProperty("nonResourceRules") @@ -118,6 +119,16 @@ public void setSubjects(List subjects) { this.subjects = subjects; } + @JsonIgnore + public PolicyRulesWithSubjectsBuilder edit() { + return new PolicyRulesWithSubjectsBuilder(this); + } + + @JsonIgnore + public PolicyRulesWithSubjectsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PriorityLevelConfiguration.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PriorityLevelConfiguration.java index ba5f2bdd7e5..744549a9f8c 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PriorityLevelConfiguration.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PriorityLevelConfiguration.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1alpha1") @Group("flowcontrol.apiserver.k8s.io") @Generated("jsonschema2pojo") -public class PriorityLevelConfiguration implements HasMetadata, Namespaced +public class PriorityLevelConfiguration implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(PriorityLevelConfigurationStatus status) { this.status = status; } + @JsonIgnore + public PriorityLevelConfigurationBuilder edit() { + return new PriorityLevelConfigurationBuilder(this); + } + + @JsonIgnore + public PriorityLevelConfigurationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PriorityLevelConfigurationCondition.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PriorityLevelConfigurationCondition.java index f8f90d58f13..b707c0ce81d 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PriorityLevelConfigurationCondition.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PriorityLevelConfigurationCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PriorityLevelConfigurationCondition implements KubernetesResource +public class PriorityLevelConfigurationCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public PriorityLevelConfigurationConditionBuilder edit() { + return new PriorityLevelConfigurationConditionBuilder(this); + } + + @JsonIgnore + public PriorityLevelConfigurationConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PriorityLevelConfigurationList.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PriorityLevelConfigurationList.java index 700a6b3a930..8a226c3f1e9 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PriorityLevelConfigurationList.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PriorityLevelConfigurationList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha1") @Group("flowcontrol.apiserver.k8s.io") @Generated("jsonschema2pojo") -public class PriorityLevelConfigurationList implements KubernetesResource, KubernetesResourceList +public class PriorityLevelConfigurationList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PriorityLevelConfigurationListBuilder edit() { + return new PriorityLevelConfigurationListBuilder(this); + } + + @JsonIgnore + public PriorityLevelConfigurationListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PriorityLevelConfigurationReference.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PriorityLevelConfigurationReference.java index 3120ac0af80..f95562cf9a6 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PriorityLevelConfigurationReference.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PriorityLevelConfigurationReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PriorityLevelConfigurationReference implements KubernetesResource +public class PriorityLevelConfigurationReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -85,6 +86,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public PriorityLevelConfigurationReferenceBuilder edit() { + return new PriorityLevelConfigurationReferenceBuilder(this); + } + + @JsonIgnore + public PriorityLevelConfigurationReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PriorityLevelConfigurationSpec.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PriorityLevelConfigurationSpec.java index 74caaaa92e7..bebc08c0389 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PriorityLevelConfigurationSpec.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PriorityLevelConfigurationSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -34,6 +35,7 @@ "apiVersion", "kind", "metadata", + "exempt", "limited", "type" }) @@ -56,9 +58,11 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PriorityLevelConfigurationSpec implements KubernetesResource +public class PriorityLevelConfigurationSpec implements Editable , KubernetesResource { + @JsonProperty("exempt") + private ExemptPriorityLevelConfiguration exempt; @JsonProperty("limited") private LimitedPriorityLevelConfiguration limited; @JsonProperty("type") @@ -73,12 +77,23 @@ public class PriorityLevelConfigurationSpec implements KubernetesResource public PriorityLevelConfigurationSpec() { } - public PriorityLevelConfigurationSpec(LimitedPriorityLevelConfiguration limited, String type) { + public PriorityLevelConfigurationSpec(ExemptPriorityLevelConfiguration exempt, LimitedPriorityLevelConfiguration limited, String type) { super(); + this.exempt = exempt; this.limited = limited; this.type = type; } + @JsonProperty("exempt") + public ExemptPriorityLevelConfiguration getExempt() { + return exempt; + } + + @JsonProperty("exempt") + public void setExempt(ExemptPriorityLevelConfiguration exempt) { + this.exempt = exempt; + } + @JsonProperty("limited") public LimitedPriorityLevelConfiguration getLimited() { return limited; @@ -99,6 +114,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public PriorityLevelConfigurationSpecBuilder edit() { + return new PriorityLevelConfigurationSpecBuilder(this); + } + + @JsonIgnore + public PriorityLevelConfigurationSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PriorityLevelConfigurationStatus.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PriorityLevelConfigurationStatus.java index edbd4da315c..1f2196ef944 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PriorityLevelConfigurationStatus.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PriorityLevelConfigurationStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PriorityLevelConfigurationStatus implements KubernetesResource +public class PriorityLevelConfigurationStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -88,6 +89,16 @@ public void setConditions(List conditions) this.conditions = conditions; } + @JsonIgnore + public PriorityLevelConfigurationStatusBuilder edit() { + return new PriorityLevelConfigurationStatusBuilder(this); + } + + @JsonIgnore + public PriorityLevelConfigurationStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/QueuingConfiguration.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/QueuingConfiguration.java index c6d68003b05..6ca9b60bb16 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/QueuingConfiguration.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/QueuingConfiguration.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class QueuingConfiguration implements KubernetesResource +public class QueuingConfiguration implements Editable , KubernetesResource { @JsonProperty("handSize") @@ -113,6 +114,16 @@ public void setQueues(Integer queues) { this.queues = queues; } + @JsonIgnore + public QueuingConfigurationBuilder edit() { + return new QueuingConfigurationBuilder(this); + } + + @JsonIgnore + public QueuingConfigurationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/ResourcePolicyRule.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/ResourcePolicyRule.java index 170a6cd9ff9..791c14bb18b 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/ResourcePolicyRule.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/ResourcePolicyRule.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ResourcePolicyRule implements KubernetesResource +public class ResourcePolicyRule implements Editable , KubernetesResource { @JsonProperty("apiGroups") @@ -147,6 +148,16 @@ public void setVerbs(List verbs) { this.verbs = verbs; } + @JsonIgnore + public ResourcePolicyRuleBuilder edit() { + return new ResourcePolicyRuleBuilder(this); + } + + @JsonIgnore + public ResourcePolicyRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/ServiceAccountSubject.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/ServiceAccountSubject.java index a7cdc425c13..06ac5f33ec4 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/ServiceAccountSubject.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/ServiceAccountSubject.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ServiceAccountSubject implements KubernetesResource +public class ServiceAccountSubject implements Editable , KubernetesResource { @JsonProperty("name") @@ -99,6 +100,16 @@ public void setNamespace(String namespace) { this.namespace = namespace; } + @JsonIgnore + public ServiceAccountSubjectBuilder edit() { + return new ServiceAccountSubjectBuilder(this); + } + + @JsonIgnore + public ServiceAccountSubjectBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/Subject.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/Subject.java index 6cf620d59b8..3ce60f93f7e 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/Subject.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/Subject.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Subject implements KubernetesResource +public class Subject implements Editable , KubernetesResource { @JsonProperty("group") @@ -126,6 +127,16 @@ public void setUser(UserSubject user) { this.user = user; } + @JsonIgnore + public SubjectBuilder edit() { + return new SubjectBuilder(this); + } + + @JsonIgnore + public SubjectBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/UserSubject.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/UserSubject.java index 87aa397e8d4..8e0fb52c78d 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/UserSubject.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/UserSubject.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class UserSubject implements KubernetesResource +public class UserSubject implements Editable , KubernetesResource { @JsonProperty("name") @@ -85,6 +86,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public UserSubjectBuilder edit() { + return new UserSubjectBuilder(this); + } + + @JsonIgnore + public UserSubjectBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/ExemptPriorityLevelConfiguration.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/ExemptPriorityLevelConfiguration.java new file mode 100644 index 00000000000..1c353316efc --- /dev/null +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/ExemptPriorityLevelConfiguration.java @@ -0,0 +1,123 @@ + +package io.fabric8.kubernetes.api.model.flowcontrol.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.Setter; +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", + "lendablePercent", + "nominalConcurrencyShares" +}) +@ToString +@EqualsAndHashCode +@Setter +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ExemptPriorityLevelConfiguration implements Editable , KubernetesResource +{ + + @JsonProperty("lendablePercent") + private Integer lendablePercent; + @JsonProperty("nominalConcurrencyShares") + private Integer nominalConcurrencyShares; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ExemptPriorityLevelConfiguration() { + } + + public ExemptPriorityLevelConfiguration(Integer lendablePercent, Integer nominalConcurrencyShares) { + super(); + this.lendablePercent = lendablePercent; + this.nominalConcurrencyShares = nominalConcurrencyShares; + } + + @JsonProperty("lendablePercent") + public Integer getLendablePercent() { + return lendablePercent; + } + + @JsonProperty("lendablePercent") + public void setLendablePercent(Integer lendablePercent) { + this.lendablePercent = lendablePercent; + } + + @JsonProperty("nominalConcurrencyShares") + public Integer getNominalConcurrencyShares() { + return nominalConcurrencyShares; + } + + @JsonProperty("nominalConcurrencyShares") + public void setNominalConcurrencyShares(Integer nominalConcurrencyShares) { + this.nominalConcurrencyShares = nominalConcurrencyShares; + } + + @JsonIgnore + public ExemptPriorityLevelConfigurationBuilder edit() { + return new ExemptPriorityLevelConfigurationBuilder(this); + } + + @JsonIgnore + public ExemptPriorityLevelConfigurationBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + +} diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/FlowDistinguisherMethod.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/FlowDistinguisherMethod.java index 627a66878db..756316b003d 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/FlowDistinguisherMethod.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/FlowDistinguisherMethod.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class FlowDistinguisherMethod implements KubernetesResource +public class FlowDistinguisherMethod implements Editable , KubernetesResource { @JsonProperty("type") @@ -85,6 +86,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public FlowDistinguisherMethodBuilder edit() { + return new FlowDistinguisherMethodBuilder(this); + } + + @JsonIgnore + public FlowDistinguisherMethodBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/FlowSchema.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/FlowSchema.java index 413f3102bb6..db4de7ed989 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/FlowSchema.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/FlowSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1beta1") @Group("flowcontrol.apiserver.k8s.io") @Generated("jsonschema2pojo") -public class FlowSchema implements HasMetadata +public class FlowSchema implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(FlowSchemaStatus status) { this.status = status; } + @JsonIgnore + public FlowSchemaBuilder edit() { + return new FlowSchemaBuilder(this); + } + + @JsonIgnore + public FlowSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/FlowSchemaCondition.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/FlowSchemaCondition.java index 22fc8948281..9ca1ab3d8f3 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/FlowSchemaCondition.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/FlowSchemaCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class FlowSchemaCondition implements KubernetesResource +public class FlowSchemaCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public FlowSchemaConditionBuilder edit() { + return new FlowSchemaConditionBuilder(this); + } + + @JsonIgnore + public FlowSchemaConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/FlowSchemaList.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/FlowSchemaList.java index 8450aabd5c4..cc87c14a30d 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/FlowSchemaList.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/FlowSchemaList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("flowcontrol.apiserver.k8s.io") @Generated("jsonschema2pojo") -public class FlowSchemaList implements KubernetesResource, KubernetesResourceList +public class FlowSchemaList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public FlowSchemaListBuilder edit() { + return new FlowSchemaListBuilder(this); + } + + @JsonIgnore + public FlowSchemaListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/FlowSchemaSpec.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/FlowSchemaSpec.java index ad21f21b774..0d37c24eaa0 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/FlowSchemaSpec.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/FlowSchemaSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class FlowSchemaSpec implements KubernetesResource +public class FlowSchemaSpec implements Editable , KubernetesResource { @JsonProperty("distinguisherMethod") @@ -130,6 +131,16 @@ public void setRules(List rules) { this.rules = rules; } + @JsonIgnore + public FlowSchemaSpecBuilder edit() { + return new FlowSchemaSpecBuilder(this); + } + + @JsonIgnore + public FlowSchemaSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/FlowSchemaStatus.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/FlowSchemaStatus.java index ab29b524e93..fee3974e3c2 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/FlowSchemaStatus.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/FlowSchemaStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class FlowSchemaStatus implements KubernetesResource +public class FlowSchemaStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -88,6 +89,16 @@ public void setConditions(List conditions) { this.conditions = conditions; } + @JsonIgnore + public FlowSchemaStatusBuilder edit() { + return new FlowSchemaStatusBuilder(this); + } + + @JsonIgnore + public FlowSchemaStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/GroupSubject.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/GroupSubject.java index 9ba4cf7f498..4a48e7f0cfe 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/GroupSubject.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/GroupSubject.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GroupSubject implements KubernetesResource +public class GroupSubject implements Editable , KubernetesResource { @JsonProperty("name") @@ -85,6 +86,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public GroupSubjectBuilder edit() { + return new GroupSubjectBuilder(this); + } + + @JsonIgnore + public GroupSubjectBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/LimitResponse.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/LimitResponse.java index bd61e676b96..d07c031672b 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/LimitResponse.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/LimitResponse.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class LimitResponse implements KubernetesResource +public class LimitResponse implements Editable , KubernetesResource { @JsonProperty("queuing") @@ -99,6 +100,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public LimitResponseBuilder edit() { + return new LimitResponseBuilder(this); + } + + @JsonIgnore + public LimitResponseBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/LimitedPriorityLevelConfiguration.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/LimitedPriorityLevelConfiguration.java index 2246eba1bc2..7c95ff5be53 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/LimitedPriorityLevelConfiguration.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/LimitedPriorityLevelConfiguration.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class LimitedPriorityLevelConfiguration implements KubernetesResource +public class LimitedPriorityLevelConfiguration implements Editable , KubernetesResource { @JsonProperty("assuredConcurrencyShares") @@ -127,6 +128,16 @@ public void setLimitResponse(LimitResponse limitResponse) { this.limitResponse = limitResponse; } + @JsonIgnore + public LimitedPriorityLevelConfigurationBuilder edit() { + return new LimitedPriorityLevelConfigurationBuilder(this); + } + + @JsonIgnore + public LimitedPriorityLevelConfigurationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/NonResourcePolicyRule.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/NonResourcePolicyRule.java index e54701d855f..e3f20595cf1 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/NonResourcePolicyRule.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/NonResourcePolicyRule.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NonResourcePolicyRule implements KubernetesResource +public class NonResourcePolicyRule implements Editable , KubernetesResource { @JsonProperty("nonResourceURLs") @@ -103,6 +104,16 @@ public void setVerbs(List verbs) { this.verbs = verbs; } + @JsonIgnore + public NonResourcePolicyRuleBuilder edit() { + return new NonResourcePolicyRuleBuilder(this); + } + + @JsonIgnore + public NonResourcePolicyRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PolicyRulesWithSubjects.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PolicyRulesWithSubjects.java index e313067ef2b..8a34be324fc 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PolicyRulesWithSubjects.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PolicyRulesWithSubjects.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PolicyRulesWithSubjects implements KubernetesResource +public class PolicyRulesWithSubjects implements Editable , KubernetesResource { @JsonProperty("nonResourceRules") @@ -118,6 +119,16 @@ public void setSubjects(List subjects) { this.subjects = subjects; } + @JsonIgnore + public PolicyRulesWithSubjectsBuilder edit() { + return new PolicyRulesWithSubjectsBuilder(this); + } + + @JsonIgnore + public PolicyRulesWithSubjectsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PriorityLevelConfiguration.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PriorityLevelConfiguration.java index c7fb51113a1..ec94d3db382 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PriorityLevelConfiguration.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PriorityLevelConfiguration.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1beta1") @Group("flowcontrol.apiserver.k8s.io") @Generated("jsonschema2pojo") -public class PriorityLevelConfiguration implements HasMetadata +public class PriorityLevelConfiguration implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(PriorityLevelConfigurationStatus status) { this.status = status; } + @JsonIgnore + public PriorityLevelConfigurationBuilder edit() { + return new PriorityLevelConfigurationBuilder(this); + } + + @JsonIgnore + public PriorityLevelConfigurationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PriorityLevelConfigurationCondition.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PriorityLevelConfigurationCondition.java index de3a8b1950b..481f0453e79 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PriorityLevelConfigurationCondition.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PriorityLevelConfigurationCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PriorityLevelConfigurationCondition implements KubernetesResource +public class PriorityLevelConfigurationCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public PriorityLevelConfigurationConditionBuilder edit() { + return new PriorityLevelConfigurationConditionBuilder(this); + } + + @JsonIgnore + public PriorityLevelConfigurationConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PriorityLevelConfigurationList.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PriorityLevelConfigurationList.java index ab012615fb9..0c664e99582 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PriorityLevelConfigurationList.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PriorityLevelConfigurationList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("flowcontrol.apiserver.k8s.io") @Generated("jsonschema2pojo") -public class PriorityLevelConfigurationList implements KubernetesResource, KubernetesResourceList +public class PriorityLevelConfigurationList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PriorityLevelConfigurationListBuilder edit() { + return new PriorityLevelConfigurationListBuilder(this); + } + + @JsonIgnore + public PriorityLevelConfigurationListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PriorityLevelConfigurationReference.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PriorityLevelConfigurationReference.java index 90e6da3fd9e..11b32cfabf8 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PriorityLevelConfigurationReference.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PriorityLevelConfigurationReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PriorityLevelConfigurationReference implements KubernetesResource +public class PriorityLevelConfigurationReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -85,6 +86,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public PriorityLevelConfigurationReferenceBuilder edit() { + return new PriorityLevelConfigurationReferenceBuilder(this); + } + + @JsonIgnore + public PriorityLevelConfigurationReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PriorityLevelConfigurationSpec.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PriorityLevelConfigurationSpec.java index 289203a7562..a55366f6443 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PriorityLevelConfigurationSpec.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PriorityLevelConfigurationSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -34,6 +35,7 @@ "apiVersion", "kind", "metadata", + "exempt", "limited", "type" }) @@ -56,9 +58,11 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PriorityLevelConfigurationSpec implements KubernetesResource +public class PriorityLevelConfigurationSpec implements Editable , KubernetesResource { + @JsonProperty("exempt") + private ExemptPriorityLevelConfiguration exempt; @JsonProperty("limited") private LimitedPriorityLevelConfiguration limited; @JsonProperty("type") @@ -73,12 +77,23 @@ public class PriorityLevelConfigurationSpec implements KubernetesResource public PriorityLevelConfigurationSpec() { } - public PriorityLevelConfigurationSpec(LimitedPriorityLevelConfiguration limited, String type) { + public PriorityLevelConfigurationSpec(ExemptPriorityLevelConfiguration exempt, LimitedPriorityLevelConfiguration limited, String type) { super(); + this.exempt = exempt; this.limited = limited; this.type = type; } + @JsonProperty("exempt") + public ExemptPriorityLevelConfiguration getExempt() { + return exempt; + } + + @JsonProperty("exempt") + public void setExempt(ExemptPriorityLevelConfiguration exempt) { + this.exempt = exempt; + } + @JsonProperty("limited") public LimitedPriorityLevelConfiguration getLimited() { return limited; @@ -99,6 +114,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public PriorityLevelConfigurationSpecBuilder edit() { + return new PriorityLevelConfigurationSpecBuilder(this); + } + + @JsonIgnore + public PriorityLevelConfigurationSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PriorityLevelConfigurationStatus.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PriorityLevelConfigurationStatus.java index bb928a631bb..5f6bf6c805f 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PriorityLevelConfigurationStatus.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PriorityLevelConfigurationStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PriorityLevelConfigurationStatus implements KubernetesResource +public class PriorityLevelConfigurationStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -88,6 +89,16 @@ public void setConditions(List conditions) this.conditions = conditions; } + @JsonIgnore + public PriorityLevelConfigurationStatusBuilder edit() { + return new PriorityLevelConfigurationStatusBuilder(this); + } + + @JsonIgnore + public PriorityLevelConfigurationStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/QueuingConfiguration.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/QueuingConfiguration.java index 113c6761b33..4864975c448 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/QueuingConfiguration.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/QueuingConfiguration.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class QueuingConfiguration implements KubernetesResource +public class QueuingConfiguration implements Editable , KubernetesResource { @JsonProperty("handSize") @@ -113,6 +114,16 @@ public void setQueues(Integer queues) { this.queues = queues; } + @JsonIgnore + public QueuingConfigurationBuilder edit() { + return new QueuingConfigurationBuilder(this); + } + + @JsonIgnore + public QueuingConfigurationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/ResourcePolicyRule.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/ResourcePolicyRule.java index 4df6ab38d22..9b80b1ed5e9 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/ResourcePolicyRule.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/ResourcePolicyRule.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ResourcePolicyRule implements KubernetesResource +public class ResourcePolicyRule implements Editable , KubernetesResource { @JsonProperty("apiGroups") @@ -147,6 +148,16 @@ public void setVerbs(List verbs) { this.verbs = verbs; } + @JsonIgnore + public ResourcePolicyRuleBuilder edit() { + return new ResourcePolicyRuleBuilder(this); + } + + @JsonIgnore + public ResourcePolicyRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/ServiceAccountSubject.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/ServiceAccountSubject.java index 28f7ead5c13..7e4e7b368e0 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/ServiceAccountSubject.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/ServiceAccountSubject.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ServiceAccountSubject implements KubernetesResource +public class ServiceAccountSubject implements Editable , KubernetesResource { @JsonProperty("name") @@ -99,6 +100,16 @@ public void setNamespace(String namespace) { this.namespace = namespace; } + @JsonIgnore + public ServiceAccountSubjectBuilder edit() { + return new ServiceAccountSubjectBuilder(this); + } + + @JsonIgnore + public ServiceAccountSubjectBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/Subject.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/Subject.java index 52fbbb1f3b7..6b1fd0a51fd 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/Subject.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/Subject.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Subject implements KubernetesResource +public class Subject implements Editable , KubernetesResource { @JsonProperty("group") @@ -126,6 +127,16 @@ public void setUser(UserSubject user) { this.user = user; } + @JsonIgnore + public SubjectBuilder edit() { + return new SubjectBuilder(this); + } + + @JsonIgnore + public SubjectBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/UserSubject.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/UserSubject.java index c3e87bda6cf..085f81ec900 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/UserSubject.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/UserSubject.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class UserSubject implements KubernetesResource +public class UserSubject implements Editable , KubernetesResource { @JsonProperty("name") @@ -85,6 +86,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public UserSubjectBuilder edit() { + return new UserSubjectBuilder(this); + } + + @JsonIgnore + public UserSubjectBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/ExemptPriorityLevelConfiguration.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/ExemptPriorityLevelConfiguration.java new file mode 100644 index 00000000000..8087737f3d2 --- /dev/null +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/ExemptPriorityLevelConfiguration.java @@ -0,0 +1,123 @@ + +package io.fabric8.kubernetes.api.model.flowcontrol.v1beta2; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.Setter; +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", + "lendablePercent", + "nominalConcurrencyShares" +}) +@ToString +@EqualsAndHashCode +@Setter +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ExemptPriorityLevelConfiguration implements Editable , KubernetesResource +{ + + @JsonProperty("lendablePercent") + private Integer lendablePercent; + @JsonProperty("nominalConcurrencyShares") + private Integer nominalConcurrencyShares; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ExemptPriorityLevelConfiguration() { + } + + public ExemptPriorityLevelConfiguration(Integer lendablePercent, Integer nominalConcurrencyShares) { + super(); + this.lendablePercent = lendablePercent; + this.nominalConcurrencyShares = nominalConcurrencyShares; + } + + @JsonProperty("lendablePercent") + public Integer getLendablePercent() { + return lendablePercent; + } + + @JsonProperty("lendablePercent") + public void setLendablePercent(Integer lendablePercent) { + this.lendablePercent = lendablePercent; + } + + @JsonProperty("nominalConcurrencyShares") + public Integer getNominalConcurrencyShares() { + return nominalConcurrencyShares; + } + + @JsonProperty("nominalConcurrencyShares") + public void setNominalConcurrencyShares(Integer nominalConcurrencyShares) { + this.nominalConcurrencyShares = nominalConcurrencyShares; + } + + @JsonIgnore + public ExemptPriorityLevelConfigurationBuilder edit() { + return new ExemptPriorityLevelConfigurationBuilder(this); + } + + @JsonIgnore + public ExemptPriorityLevelConfigurationBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + +} diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/FlowDistinguisherMethod.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/FlowDistinguisherMethod.java index 394b62e8f96..32c5254d97f 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/FlowDistinguisherMethod.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/FlowDistinguisherMethod.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class FlowDistinguisherMethod implements KubernetesResource +public class FlowDistinguisherMethod implements Editable , KubernetesResource { @JsonProperty("type") @@ -85,6 +86,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public FlowDistinguisherMethodBuilder edit() { + return new FlowDistinguisherMethodBuilder(this); + } + + @JsonIgnore + public FlowDistinguisherMethodBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/FlowSchema.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/FlowSchema.java index dfa619ceafb..22a1ad38db4 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/FlowSchema.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/FlowSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1beta2") @Group("flowcontrol.apiserver.k8s.io") @Generated("jsonschema2pojo") -public class FlowSchema implements HasMetadata +public class FlowSchema implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(FlowSchemaStatus status) { this.status = status; } + @JsonIgnore + public FlowSchemaBuilder edit() { + return new FlowSchemaBuilder(this); + } + + @JsonIgnore + public FlowSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/FlowSchemaCondition.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/FlowSchemaCondition.java index fbfc32de51b..3224c5b86fa 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/FlowSchemaCondition.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/FlowSchemaCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class FlowSchemaCondition implements KubernetesResource +public class FlowSchemaCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public FlowSchemaConditionBuilder edit() { + return new FlowSchemaConditionBuilder(this); + } + + @JsonIgnore + public FlowSchemaConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/FlowSchemaList.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/FlowSchemaList.java index f1c041ae0be..1072afacf1c 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/FlowSchemaList.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/FlowSchemaList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta2") @Group("flowcontrol.apiserver.k8s.io") @Generated("jsonschema2pojo") -public class FlowSchemaList implements KubernetesResource, KubernetesResourceList +public class FlowSchemaList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public FlowSchemaListBuilder edit() { + return new FlowSchemaListBuilder(this); + } + + @JsonIgnore + public FlowSchemaListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/FlowSchemaSpec.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/FlowSchemaSpec.java index aef92bc987a..53345ba2c48 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/FlowSchemaSpec.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/FlowSchemaSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class FlowSchemaSpec implements KubernetesResource +public class FlowSchemaSpec implements Editable , KubernetesResource { @JsonProperty("distinguisherMethod") @@ -130,6 +131,16 @@ public void setRules(List rules) { this.rules = rules; } + @JsonIgnore + public FlowSchemaSpecBuilder edit() { + return new FlowSchemaSpecBuilder(this); + } + + @JsonIgnore + public FlowSchemaSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/FlowSchemaStatus.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/FlowSchemaStatus.java index 2084e303959..69f12e248bd 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/FlowSchemaStatus.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/FlowSchemaStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class FlowSchemaStatus implements KubernetesResource +public class FlowSchemaStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -88,6 +89,16 @@ public void setConditions(List conditions) { this.conditions = conditions; } + @JsonIgnore + public FlowSchemaStatusBuilder edit() { + return new FlowSchemaStatusBuilder(this); + } + + @JsonIgnore + public FlowSchemaStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/GroupSubject.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/GroupSubject.java index 38d1815b16b..165c36394a1 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/GroupSubject.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/GroupSubject.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GroupSubject implements KubernetesResource +public class GroupSubject implements Editable , KubernetesResource { @JsonProperty("name") @@ -85,6 +86,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public GroupSubjectBuilder edit() { + return new GroupSubjectBuilder(this); + } + + @JsonIgnore + public GroupSubjectBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/LimitResponse.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/LimitResponse.java index e21fea3e21e..622f3ccd13f 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/LimitResponse.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/LimitResponse.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class LimitResponse implements KubernetesResource +public class LimitResponse implements Editable , KubernetesResource { @JsonProperty("queuing") @@ -99,6 +100,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public LimitResponseBuilder edit() { + return new LimitResponseBuilder(this); + } + + @JsonIgnore + public LimitResponseBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/LimitedPriorityLevelConfiguration.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/LimitedPriorityLevelConfiguration.java index ece5cd582f5..f62904cf296 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/LimitedPriorityLevelConfiguration.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/LimitedPriorityLevelConfiguration.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class LimitedPriorityLevelConfiguration implements KubernetesResource +public class LimitedPriorityLevelConfiguration implements Editable , KubernetesResource { @JsonProperty("assuredConcurrencyShares") @@ -127,6 +128,16 @@ public void setLimitResponse(LimitResponse limitResponse) { this.limitResponse = limitResponse; } + @JsonIgnore + public LimitedPriorityLevelConfigurationBuilder edit() { + return new LimitedPriorityLevelConfigurationBuilder(this); + } + + @JsonIgnore + public LimitedPriorityLevelConfigurationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/NonResourcePolicyRule.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/NonResourcePolicyRule.java index abe4c3e4f88..ba93da79c2c 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/NonResourcePolicyRule.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/NonResourcePolicyRule.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NonResourcePolicyRule implements KubernetesResource +public class NonResourcePolicyRule implements Editable , KubernetesResource { @JsonProperty("nonResourceURLs") @@ -103,6 +104,16 @@ public void setVerbs(List verbs) { this.verbs = verbs; } + @JsonIgnore + public NonResourcePolicyRuleBuilder edit() { + return new NonResourcePolicyRuleBuilder(this); + } + + @JsonIgnore + public NonResourcePolicyRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PolicyRulesWithSubjects.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PolicyRulesWithSubjects.java index e9396463f2e..79e29f7dbbe 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PolicyRulesWithSubjects.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PolicyRulesWithSubjects.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PolicyRulesWithSubjects implements KubernetesResource +public class PolicyRulesWithSubjects implements Editable , KubernetesResource { @JsonProperty("nonResourceRules") @@ -118,6 +119,16 @@ public void setSubjects(List subjects) { this.subjects = subjects; } + @JsonIgnore + public PolicyRulesWithSubjectsBuilder edit() { + return new PolicyRulesWithSubjectsBuilder(this); + } + + @JsonIgnore + public PolicyRulesWithSubjectsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PriorityLevelConfiguration.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PriorityLevelConfiguration.java index c033f25c256..08ef7455aff 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PriorityLevelConfiguration.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PriorityLevelConfiguration.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1beta2") @Group("flowcontrol.apiserver.k8s.io") @Generated("jsonschema2pojo") -public class PriorityLevelConfiguration implements HasMetadata +public class PriorityLevelConfiguration implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(PriorityLevelConfigurationStatus status) { this.status = status; } + @JsonIgnore + public PriorityLevelConfigurationBuilder edit() { + return new PriorityLevelConfigurationBuilder(this); + } + + @JsonIgnore + public PriorityLevelConfigurationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PriorityLevelConfigurationCondition.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PriorityLevelConfigurationCondition.java index 3a4e072f8cd..c9a40484cd6 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PriorityLevelConfigurationCondition.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PriorityLevelConfigurationCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PriorityLevelConfigurationCondition implements KubernetesResource +public class PriorityLevelConfigurationCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public PriorityLevelConfigurationConditionBuilder edit() { + return new PriorityLevelConfigurationConditionBuilder(this); + } + + @JsonIgnore + public PriorityLevelConfigurationConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PriorityLevelConfigurationList.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PriorityLevelConfigurationList.java index ef1f11116b8..8c5eb1eb710 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PriorityLevelConfigurationList.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PriorityLevelConfigurationList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta2") @Group("flowcontrol.apiserver.k8s.io") @Generated("jsonschema2pojo") -public class PriorityLevelConfigurationList implements KubernetesResource, KubernetesResourceList +public class PriorityLevelConfigurationList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PriorityLevelConfigurationListBuilder edit() { + return new PriorityLevelConfigurationListBuilder(this); + } + + @JsonIgnore + public PriorityLevelConfigurationListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PriorityLevelConfigurationReference.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PriorityLevelConfigurationReference.java index 747a1c5a086..2f77e33be59 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PriorityLevelConfigurationReference.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PriorityLevelConfigurationReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PriorityLevelConfigurationReference implements KubernetesResource +public class PriorityLevelConfigurationReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -85,6 +86,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public PriorityLevelConfigurationReferenceBuilder edit() { + return new PriorityLevelConfigurationReferenceBuilder(this); + } + + @JsonIgnore + public PriorityLevelConfigurationReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PriorityLevelConfigurationSpec.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PriorityLevelConfigurationSpec.java index 33e60adf03e..7e4939cf6a3 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PriorityLevelConfigurationSpec.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PriorityLevelConfigurationSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -34,6 +35,7 @@ "apiVersion", "kind", "metadata", + "exempt", "limited", "type" }) @@ -56,9 +58,11 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PriorityLevelConfigurationSpec implements KubernetesResource +public class PriorityLevelConfigurationSpec implements Editable , KubernetesResource { + @JsonProperty("exempt") + private ExemptPriorityLevelConfiguration exempt; @JsonProperty("limited") private LimitedPriorityLevelConfiguration limited; @JsonProperty("type") @@ -73,12 +77,23 @@ public class PriorityLevelConfigurationSpec implements KubernetesResource public PriorityLevelConfigurationSpec() { } - public PriorityLevelConfigurationSpec(LimitedPriorityLevelConfiguration limited, String type) { + public PriorityLevelConfigurationSpec(ExemptPriorityLevelConfiguration exempt, LimitedPriorityLevelConfiguration limited, String type) { super(); + this.exempt = exempt; this.limited = limited; this.type = type; } + @JsonProperty("exempt") + public ExemptPriorityLevelConfiguration getExempt() { + return exempt; + } + + @JsonProperty("exempt") + public void setExempt(ExemptPriorityLevelConfiguration exempt) { + this.exempt = exempt; + } + @JsonProperty("limited") public LimitedPriorityLevelConfiguration getLimited() { return limited; @@ -99,6 +114,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public PriorityLevelConfigurationSpecBuilder edit() { + return new PriorityLevelConfigurationSpecBuilder(this); + } + + @JsonIgnore + public PriorityLevelConfigurationSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PriorityLevelConfigurationStatus.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PriorityLevelConfigurationStatus.java index ca4855c6f34..f640fcf9ba6 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PriorityLevelConfigurationStatus.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PriorityLevelConfigurationStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PriorityLevelConfigurationStatus implements KubernetesResource +public class PriorityLevelConfigurationStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -88,6 +89,16 @@ public void setConditions(List conditions) this.conditions = conditions; } + @JsonIgnore + public PriorityLevelConfigurationStatusBuilder edit() { + return new PriorityLevelConfigurationStatusBuilder(this); + } + + @JsonIgnore + public PriorityLevelConfigurationStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/QueuingConfiguration.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/QueuingConfiguration.java index bd83b98b61b..a3644746f18 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/QueuingConfiguration.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/QueuingConfiguration.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class QueuingConfiguration implements KubernetesResource +public class QueuingConfiguration implements Editable , KubernetesResource { @JsonProperty("handSize") @@ -113,6 +114,16 @@ public void setQueues(Integer queues) { this.queues = queues; } + @JsonIgnore + public QueuingConfigurationBuilder edit() { + return new QueuingConfigurationBuilder(this); + } + + @JsonIgnore + public QueuingConfigurationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/ResourcePolicyRule.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/ResourcePolicyRule.java index cb5b0f8dc6f..5719fe85dfb 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/ResourcePolicyRule.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/ResourcePolicyRule.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ResourcePolicyRule implements KubernetesResource +public class ResourcePolicyRule implements Editable , KubernetesResource { @JsonProperty("apiGroups") @@ -147,6 +148,16 @@ public void setVerbs(List verbs) { this.verbs = verbs; } + @JsonIgnore + public ResourcePolicyRuleBuilder edit() { + return new ResourcePolicyRuleBuilder(this); + } + + @JsonIgnore + public ResourcePolicyRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/ServiceAccountSubject.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/ServiceAccountSubject.java index e5b95774650..de902633e52 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/ServiceAccountSubject.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/ServiceAccountSubject.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ServiceAccountSubject implements KubernetesResource +public class ServiceAccountSubject implements Editable , KubernetesResource { @JsonProperty("name") @@ -99,6 +100,16 @@ public void setNamespace(String namespace) { this.namespace = namespace; } + @JsonIgnore + public ServiceAccountSubjectBuilder edit() { + return new ServiceAccountSubjectBuilder(this); + } + + @JsonIgnore + public ServiceAccountSubjectBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/Subject.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/Subject.java index 9e748593221..b35a3c2627c 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/Subject.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/Subject.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Subject implements KubernetesResource +public class Subject implements Editable , KubernetesResource { @JsonProperty("group") @@ -126,6 +127,16 @@ public void setUser(UserSubject user) { this.user = user; } + @JsonIgnore + public SubjectBuilder edit() { + return new SubjectBuilder(this); + } + + @JsonIgnore + public SubjectBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/UserSubject.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/UserSubject.java index 1c8a72e7454..a10cbb96d3a 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/UserSubject.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/UserSubject.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class UserSubject implements KubernetesResource +public class UserSubject implements Editable , KubernetesResource { @JsonProperty("name") @@ -85,6 +86,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public UserSubjectBuilder edit() { + return new UserSubjectBuilder(this); + } + + @JsonIgnore + public UserSubjectBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/ExemptPriorityLevelConfiguration.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/ExemptPriorityLevelConfiguration.java new file mode 100644 index 00000000000..39c6fdab858 --- /dev/null +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/ExemptPriorityLevelConfiguration.java @@ -0,0 +1,123 @@ + +package io.fabric8.kubernetes.api.model.flowcontrol.v1beta3; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.Setter; +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", + "lendablePercent", + "nominalConcurrencyShares" +}) +@ToString +@EqualsAndHashCode +@Setter +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ExemptPriorityLevelConfiguration implements Editable , KubernetesResource +{ + + @JsonProperty("lendablePercent") + private Integer lendablePercent; + @JsonProperty("nominalConcurrencyShares") + private Integer nominalConcurrencyShares; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ExemptPriorityLevelConfiguration() { + } + + public ExemptPriorityLevelConfiguration(Integer lendablePercent, Integer nominalConcurrencyShares) { + super(); + this.lendablePercent = lendablePercent; + this.nominalConcurrencyShares = nominalConcurrencyShares; + } + + @JsonProperty("lendablePercent") + public Integer getLendablePercent() { + return lendablePercent; + } + + @JsonProperty("lendablePercent") + public void setLendablePercent(Integer lendablePercent) { + this.lendablePercent = lendablePercent; + } + + @JsonProperty("nominalConcurrencyShares") + public Integer getNominalConcurrencyShares() { + return nominalConcurrencyShares; + } + + @JsonProperty("nominalConcurrencyShares") + public void setNominalConcurrencyShares(Integer nominalConcurrencyShares) { + this.nominalConcurrencyShares = nominalConcurrencyShares; + } + + @JsonIgnore + public ExemptPriorityLevelConfigurationBuilder edit() { + return new ExemptPriorityLevelConfigurationBuilder(this); + } + + @JsonIgnore + public ExemptPriorityLevelConfigurationBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + +} diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/FlowDistinguisherMethod.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/FlowDistinguisherMethod.java index 41a83371cc2..c74f5107034 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/FlowDistinguisherMethod.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/FlowDistinguisherMethod.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class FlowDistinguisherMethod implements KubernetesResource +public class FlowDistinguisherMethod implements Editable , KubernetesResource { @JsonProperty("type") @@ -85,6 +86,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public FlowDistinguisherMethodBuilder edit() { + return new FlowDistinguisherMethodBuilder(this); + } + + @JsonIgnore + public FlowDistinguisherMethodBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/FlowSchema.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/FlowSchema.java index 99823222fcc..59338c4a8f5 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/FlowSchema.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/FlowSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1beta3") @Group("flowcontrol.apiserver.k8s.io") @Generated("jsonschema2pojo") -public class FlowSchema implements HasMetadata +public class FlowSchema implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(FlowSchemaStatus status) { this.status = status; } + @JsonIgnore + public FlowSchemaBuilder edit() { + return new FlowSchemaBuilder(this); + } + + @JsonIgnore + public FlowSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/FlowSchemaCondition.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/FlowSchemaCondition.java index e0076e13cd2..56afd3030c3 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/FlowSchemaCondition.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/FlowSchemaCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class FlowSchemaCondition implements KubernetesResource +public class FlowSchemaCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public FlowSchemaConditionBuilder edit() { + return new FlowSchemaConditionBuilder(this); + } + + @JsonIgnore + public FlowSchemaConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/FlowSchemaList.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/FlowSchemaList.java index ce4e9f6a79b..5e1bd742e30 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/FlowSchemaList.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/FlowSchemaList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta3") @Group("flowcontrol.apiserver.k8s.io") @Generated("jsonschema2pojo") -public class FlowSchemaList implements KubernetesResource, KubernetesResourceList +public class FlowSchemaList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public FlowSchemaListBuilder edit() { + return new FlowSchemaListBuilder(this); + } + + @JsonIgnore + public FlowSchemaListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/FlowSchemaSpec.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/FlowSchemaSpec.java index 3c8c4b46d25..84043971e49 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/FlowSchemaSpec.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/FlowSchemaSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class FlowSchemaSpec implements KubernetesResource +public class FlowSchemaSpec implements Editable , KubernetesResource { @JsonProperty("distinguisherMethod") @@ -130,6 +131,16 @@ public void setRules(List rules) { this.rules = rules; } + @JsonIgnore + public FlowSchemaSpecBuilder edit() { + return new FlowSchemaSpecBuilder(this); + } + + @JsonIgnore + public FlowSchemaSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/FlowSchemaStatus.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/FlowSchemaStatus.java index 0b9132a5b1f..c76068768e3 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/FlowSchemaStatus.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/FlowSchemaStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class FlowSchemaStatus implements KubernetesResource +public class FlowSchemaStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -88,6 +89,16 @@ public void setConditions(List conditions) { this.conditions = conditions; } + @JsonIgnore + public FlowSchemaStatusBuilder edit() { + return new FlowSchemaStatusBuilder(this); + } + + @JsonIgnore + public FlowSchemaStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/GroupSubject.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/GroupSubject.java index 3eb9931cd20..6a96b1059a5 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/GroupSubject.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/GroupSubject.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GroupSubject implements KubernetesResource +public class GroupSubject implements Editable , KubernetesResource { @JsonProperty("name") @@ -85,6 +86,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public GroupSubjectBuilder edit() { + return new GroupSubjectBuilder(this); + } + + @JsonIgnore + public GroupSubjectBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/LimitResponse.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/LimitResponse.java index 3185d9b57df..877e094f917 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/LimitResponse.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/LimitResponse.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class LimitResponse implements KubernetesResource +public class LimitResponse implements Editable , KubernetesResource { @JsonProperty("queuing") @@ -99,6 +100,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public LimitResponseBuilder edit() { + return new LimitResponseBuilder(this); + } + + @JsonIgnore + public LimitResponseBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/LimitedPriorityLevelConfiguration.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/LimitedPriorityLevelConfiguration.java index b24635386a3..03ebf5a4bdc 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/LimitedPriorityLevelConfiguration.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/LimitedPriorityLevelConfiguration.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class LimitedPriorityLevelConfiguration implements KubernetesResource +public class LimitedPriorityLevelConfiguration implements Editable , KubernetesResource { @JsonProperty("borrowingLimitPercent") @@ -127,6 +128,16 @@ public void setNominalConcurrencyShares(Integer nominalConcurrencyShares) { this.nominalConcurrencyShares = nominalConcurrencyShares; } + @JsonIgnore + public LimitedPriorityLevelConfigurationBuilder edit() { + return new LimitedPriorityLevelConfigurationBuilder(this); + } + + @JsonIgnore + public LimitedPriorityLevelConfigurationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/NonResourcePolicyRule.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/NonResourcePolicyRule.java index 4e26ae4aa33..878ff4b0e9b 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/NonResourcePolicyRule.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/NonResourcePolicyRule.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NonResourcePolicyRule implements KubernetesResource +public class NonResourcePolicyRule implements Editable , KubernetesResource { @JsonProperty("nonResourceURLs") @@ -103,6 +104,16 @@ public void setVerbs(List verbs) { this.verbs = verbs; } + @JsonIgnore + public NonResourcePolicyRuleBuilder edit() { + return new NonResourcePolicyRuleBuilder(this); + } + + @JsonIgnore + public NonResourcePolicyRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PolicyRulesWithSubjects.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PolicyRulesWithSubjects.java index 3cc92e3d519..91bd4c92af8 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PolicyRulesWithSubjects.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PolicyRulesWithSubjects.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PolicyRulesWithSubjects implements KubernetesResource +public class PolicyRulesWithSubjects implements Editable , KubernetesResource { @JsonProperty("nonResourceRules") @@ -118,6 +119,16 @@ public void setSubjects(List subjects) { this.subjects = subjects; } + @JsonIgnore + public PolicyRulesWithSubjectsBuilder edit() { + return new PolicyRulesWithSubjectsBuilder(this); + } + + @JsonIgnore + public PolicyRulesWithSubjectsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PriorityLevelConfiguration.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PriorityLevelConfiguration.java index cacc5fe6486..82b84d9ef78 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PriorityLevelConfiguration.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PriorityLevelConfiguration.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1beta3") @Group("flowcontrol.apiserver.k8s.io") @Generated("jsonschema2pojo") -public class PriorityLevelConfiguration implements HasMetadata +public class PriorityLevelConfiguration implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(PriorityLevelConfigurationStatus status) { this.status = status; } + @JsonIgnore + public PriorityLevelConfigurationBuilder edit() { + return new PriorityLevelConfigurationBuilder(this); + } + + @JsonIgnore + public PriorityLevelConfigurationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PriorityLevelConfigurationCondition.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PriorityLevelConfigurationCondition.java index fef28b49f8a..0f79db7c9e8 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PriorityLevelConfigurationCondition.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PriorityLevelConfigurationCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PriorityLevelConfigurationCondition implements KubernetesResource +public class PriorityLevelConfigurationCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public PriorityLevelConfigurationConditionBuilder edit() { + return new PriorityLevelConfigurationConditionBuilder(this); + } + + @JsonIgnore + public PriorityLevelConfigurationConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PriorityLevelConfigurationList.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PriorityLevelConfigurationList.java index 7b08a7f89b8..9b607d742cb 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PriorityLevelConfigurationList.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PriorityLevelConfigurationList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta3") @Group("flowcontrol.apiserver.k8s.io") @Generated("jsonschema2pojo") -public class PriorityLevelConfigurationList implements KubernetesResource, KubernetesResourceList +public class PriorityLevelConfigurationList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PriorityLevelConfigurationListBuilder edit() { + return new PriorityLevelConfigurationListBuilder(this); + } + + @JsonIgnore + public PriorityLevelConfigurationListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PriorityLevelConfigurationReference.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PriorityLevelConfigurationReference.java index 141ad8eb0cc..fed27451373 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PriorityLevelConfigurationReference.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PriorityLevelConfigurationReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PriorityLevelConfigurationReference implements KubernetesResource +public class PriorityLevelConfigurationReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -85,6 +86,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public PriorityLevelConfigurationReferenceBuilder edit() { + return new PriorityLevelConfigurationReferenceBuilder(this); + } + + @JsonIgnore + public PriorityLevelConfigurationReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PriorityLevelConfigurationSpec.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PriorityLevelConfigurationSpec.java index 2cda254e458..c6719d572b9 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PriorityLevelConfigurationSpec.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PriorityLevelConfigurationSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -34,6 +35,7 @@ "apiVersion", "kind", "metadata", + "exempt", "limited", "type" }) @@ -56,9 +58,11 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PriorityLevelConfigurationSpec implements KubernetesResource +public class PriorityLevelConfigurationSpec implements Editable , KubernetesResource { + @JsonProperty("exempt") + private ExemptPriorityLevelConfiguration exempt; @JsonProperty("limited") private LimitedPriorityLevelConfiguration limited; @JsonProperty("type") @@ -73,12 +77,23 @@ public class PriorityLevelConfigurationSpec implements KubernetesResource public PriorityLevelConfigurationSpec() { } - public PriorityLevelConfigurationSpec(LimitedPriorityLevelConfiguration limited, String type) { + public PriorityLevelConfigurationSpec(ExemptPriorityLevelConfiguration exempt, LimitedPriorityLevelConfiguration limited, String type) { super(); + this.exempt = exempt; this.limited = limited; this.type = type; } + @JsonProperty("exempt") + public ExemptPriorityLevelConfiguration getExempt() { + return exempt; + } + + @JsonProperty("exempt") + public void setExempt(ExemptPriorityLevelConfiguration exempt) { + this.exempt = exempt; + } + @JsonProperty("limited") public LimitedPriorityLevelConfiguration getLimited() { return limited; @@ -99,6 +114,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public PriorityLevelConfigurationSpecBuilder edit() { + return new PriorityLevelConfigurationSpecBuilder(this); + } + + @JsonIgnore + public PriorityLevelConfigurationSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PriorityLevelConfigurationStatus.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PriorityLevelConfigurationStatus.java index ccbf4618273..5e5ca1d0f2f 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PriorityLevelConfigurationStatus.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PriorityLevelConfigurationStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PriorityLevelConfigurationStatus implements KubernetesResource +public class PriorityLevelConfigurationStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -88,6 +89,16 @@ public void setConditions(List conditions) this.conditions = conditions; } + @JsonIgnore + public PriorityLevelConfigurationStatusBuilder edit() { + return new PriorityLevelConfigurationStatusBuilder(this); + } + + @JsonIgnore + public PriorityLevelConfigurationStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/QueuingConfiguration.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/QueuingConfiguration.java index a24fef5dba6..e2240cb146b 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/QueuingConfiguration.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/QueuingConfiguration.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class QueuingConfiguration implements KubernetesResource +public class QueuingConfiguration implements Editable , KubernetesResource { @JsonProperty("handSize") @@ -113,6 +114,16 @@ public void setQueues(Integer queues) { this.queues = queues; } + @JsonIgnore + public QueuingConfigurationBuilder edit() { + return new QueuingConfigurationBuilder(this); + } + + @JsonIgnore + public QueuingConfigurationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/ResourcePolicyRule.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/ResourcePolicyRule.java index 3c24ac77dc0..297fbe1e209 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/ResourcePolicyRule.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/ResourcePolicyRule.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ResourcePolicyRule implements KubernetesResource +public class ResourcePolicyRule implements Editable , KubernetesResource { @JsonProperty("apiGroups") @@ -147,6 +148,16 @@ public void setVerbs(List verbs) { this.verbs = verbs; } + @JsonIgnore + public ResourcePolicyRuleBuilder edit() { + return new ResourcePolicyRuleBuilder(this); + } + + @JsonIgnore + public ResourcePolicyRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/ServiceAccountSubject.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/ServiceAccountSubject.java index 57c3d94cbc2..a9299b59296 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/ServiceAccountSubject.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/ServiceAccountSubject.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ServiceAccountSubject implements KubernetesResource +public class ServiceAccountSubject implements Editable , KubernetesResource { @JsonProperty("name") @@ -99,6 +100,16 @@ public void setNamespace(String namespace) { this.namespace = namespace; } + @JsonIgnore + public ServiceAccountSubjectBuilder edit() { + return new ServiceAccountSubjectBuilder(this); + } + + @JsonIgnore + public ServiceAccountSubjectBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/Subject.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/Subject.java index 075433facb4..bfcd098b462 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/Subject.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/Subject.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Subject implements KubernetesResource +public class Subject implements Editable , KubernetesResource { @JsonProperty("group") @@ -126,6 +127,16 @@ public void setUser(UserSubject user) { this.user = user; } + @JsonIgnore + public SubjectBuilder edit() { + return new SubjectBuilder(this); + } + + @JsonIgnore + public SubjectBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/UserSubject.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/UserSubject.java index be59174026c..fb15b3bc616 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/UserSubject.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/UserSubject.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class UserSubject implements KubernetesResource +public class UserSubject implements Editable , KubernetesResource { @JsonProperty("name") @@ -85,6 +86,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public UserSubjectBuilder edit() { + return new UserSubjectBuilder(this); + } + + @JsonIgnore + public UserSubjectBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/internal/apiserver/v1alpha1/ServerStorageVersion.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/internal/apiserver/v1alpha1/ServerStorageVersion.java index 8a4de691100..4519cf0879e 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/internal/apiserver/v1alpha1/ServerStorageVersion.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/internal/apiserver/v1alpha1/ServerStorageVersion.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -38,7 +39,8 @@ "metadata", "apiServerID", "decodableVersions", - "encodingVersion" + "encodingVersion", + "servedVersions" }) @ToString @EqualsAndHashCode @@ -59,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ServerStorageVersion implements KubernetesResource +public class ServerStorageVersion implements Editable , KubernetesResource { @JsonProperty("apiServerID") @@ -69,6 +71,9 @@ public class ServerStorageVersion implements KubernetesResource private List decodableVersions = new ArrayList(); @JsonProperty("encodingVersion") private String encodingVersion; + @JsonProperty("servedVersions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List servedVersions = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -79,11 +84,12 @@ public class ServerStorageVersion implements KubernetesResource public ServerStorageVersion() { } - public ServerStorageVersion(String apiServerID, List decodableVersions, String encodingVersion) { + public ServerStorageVersion(String apiServerID, List decodableVersions, String encodingVersion, List servedVersions) { super(); this.apiServerID = apiServerID; this.decodableVersions = decodableVersions; this.encodingVersion = encodingVersion; + this.servedVersions = servedVersions; } @JsonProperty("apiServerID") @@ -116,6 +122,26 @@ public void setEncodingVersion(String encodingVersion) { this.encodingVersion = encodingVersion; } + @JsonProperty("servedVersions") + public List getServedVersions() { + return servedVersions; + } + + @JsonProperty("servedVersions") + public void setServedVersions(List servedVersions) { + this.servedVersions = servedVersions; + } + + @JsonIgnore + public ServerStorageVersionBuilder edit() { + return new ServerStorageVersionBuilder(this); + } + + @JsonIgnore + public ServerStorageVersionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/internal/apiserver/v1alpha1/StorageVersion.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/internal/apiserver/v1alpha1/StorageVersion.java index 16713a10fb7..278b3b0462b 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/internal/apiserver/v1alpha1/StorageVersion.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/internal/apiserver/v1alpha1/StorageVersion.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1alpha1") @Group("internal.apiserver.k8s.io") @Generated("jsonschema2pojo") -public class StorageVersion implements HasMetadata +public class StorageVersion implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(StorageVersionStatus status) { this.status = status; } + @JsonIgnore + public StorageVersionBuilder edit() { + return new StorageVersionBuilder(this); + } + + @JsonIgnore + public StorageVersionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/internal/apiserver/v1alpha1/StorageVersionCondition.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/internal/apiserver/v1alpha1/StorageVersionCondition.java index 52f3260b5a6..81f1aed42db 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/internal/apiserver/v1alpha1/StorageVersionCondition.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/internal/apiserver/v1alpha1/StorageVersionCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class StorageVersionCondition implements KubernetesResource +public class StorageVersionCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -155,6 +156,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public StorageVersionConditionBuilder edit() { + return new StorageVersionConditionBuilder(this); + } + + @JsonIgnore + public StorageVersionConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/internal/apiserver/v1alpha1/StorageVersionList.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/internal/apiserver/v1alpha1/StorageVersionList.java index df6a2b909d1..e01d4224813 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/internal/apiserver/v1alpha1/StorageVersionList.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/internal/apiserver/v1alpha1/StorageVersionList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha1") @Group("internal.apiserver.k8s.io") @Generated("jsonschema2pojo") -public class StorageVersionList implements KubernetesResource, KubernetesResourceList +public class StorageVersionList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public StorageVersionListBuilder edit() { + return new StorageVersionListBuilder(this); + } + + @JsonIgnore + public StorageVersionListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/internal/apiserver/v1alpha1/StorageVersionSpec.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/internal/apiserver/v1alpha1/StorageVersionSpec.java index 30656a0b27a..c14c9d9f248 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/internal/apiserver/v1alpha1/StorageVersionSpec.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/internal/apiserver/v1alpha1/StorageVersionSpec.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class StorageVersionSpec implements KubernetesResource +public class StorageVersionSpec implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public StorageVersionSpecBuilder edit() { + return new StorageVersionSpecBuilder(this); + } + + @JsonIgnore + public StorageVersionSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/internal/apiserver/v1alpha1/StorageVersionStatus.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/internal/apiserver/v1alpha1/StorageVersionStatus.java index 60a916efe74..2326f153d9f 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/internal/apiserver/v1alpha1/StorageVersionStatus.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/internal/apiserver/v1alpha1/StorageVersionStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class StorageVersionStatus implements KubernetesResource +public class StorageVersionStatus implements Editable , KubernetesResource { @JsonProperty("commonEncodingVersion") @@ -117,6 +118,16 @@ public void setStorageVersions(List storageVersions) { this.storageVersions = storageVersions; } + @JsonIgnore + public StorageVersionStatusBuilder edit() { + return new StorageVersionStatusBuilder(this); + } + + @JsonIgnore + public StorageVersionStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/main/resources/schema/kube-schema.json b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/main/resources/schema/kube-schema.json index 22c3dc9eaf2..a1ead9ef63b 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/main/resources/schema/kube-schema.json +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/main/resources/schema/kube-schema.json @@ -207,6 +207,22 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, + "kubernetes_flowcontrol_v1alpha1_ExemptPriorityLevelConfiguration": { + "type": "object", + "properties": { + "lendablePercent": { + "type": "integer" + }, + "nominalConcurrencyShares": { + "type": "integer" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1alpha1.ExemptPriorityLevelConfiguration", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, "kubernetes_flowcontrol_v1alpha1_FlowDistinguisherMethod": { "type": "object", "properties": { @@ -573,6 +589,10 @@ "kubernetes_flowcontrol_v1alpha1_PriorityLevelConfigurationSpec": { "type": "object", "properties": { + "exempt": { + "$ref": "#/definitions/kubernetes_flowcontrol_v1alpha1_ExemptPriorityLevelConfiguration", + "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1alpha1.ExemptPriorityLevelConfiguration" + }, "limited": { "$ref": "#/definitions/kubernetes_flowcontrol_v1alpha1_LimitedPriorityLevelConfiguration", "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1alpha1.LimitedPriorityLevelConfiguration" @@ -715,6 +735,22 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, + "kubernetes_flowcontrol_v1beta1_ExemptPriorityLevelConfiguration": { + "type": "object", + "properties": { + "lendablePercent": { + "type": "integer" + }, + "nominalConcurrencyShares": { + "type": "integer" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.ExemptPriorityLevelConfiguration", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, "kubernetes_flowcontrol_v1beta1_FlowDistinguisherMethod": { "type": "object", "properties": { @@ -1079,6 +1115,10 @@ "kubernetes_flowcontrol_v1beta1_PriorityLevelConfigurationSpec": { "type": "object", "properties": { + "exempt": { + "$ref": "#/definitions/kubernetes_flowcontrol_v1beta1_ExemptPriorityLevelConfiguration", + "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.ExemptPriorityLevelConfiguration" + }, "limited": { "$ref": "#/definitions/kubernetes_flowcontrol_v1beta1_LimitedPriorityLevelConfiguration", "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.LimitedPriorityLevelConfiguration" @@ -1221,6 +1261,22 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, + "kubernetes_flowcontrol_v1beta2_ExemptPriorityLevelConfiguration": { + "type": "object", + "properties": { + "lendablePercent": { + "type": "integer" + }, + "nominalConcurrencyShares": { + "type": "integer" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta2.ExemptPriorityLevelConfiguration", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, "kubernetes_flowcontrol_v1beta2_FlowDistinguisherMethod": { "type": "object", "properties": { @@ -1585,6 +1641,10 @@ "kubernetes_flowcontrol_v1beta2_PriorityLevelConfigurationSpec": { "type": "object", "properties": { + "exempt": { + "$ref": "#/definitions/kubernetes_flowcontrol_v1beta2_ExemptPriorityLevelConfiguration", + "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta2.ExemptPriorityLevelConfiguration" + }, "limited": { "$ref": "#/definitions/kubernetes_flowcontrol_v1beta2_LimitedPriorityLevelConfiguration", "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta2.LimitedPriorityLevelConfiguration" @@ -1727,6 +1787,22 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, + "kubernetes_flowcontrol_v1beta3_ExemptPriorityLevelConfiguration": { + "type": "object", + "properties": { + "lendablePercent": { + "type": "integer" + }, + "nominalConcurrencyShares": { + "type": "integer" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta3.ExemptPriorityLevelConfiguration", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, "kubernetes_flowcontrol_v1beta3_FlowDistinguisherMethod": { "type": "object", "properties": { @@ -2091,6 +2167,10 @@ "kubernetes_flowcontrol_v1beta3_PriorityLevelConfigurationSpec": { "type": "object", "properties": { + "exempt": { + "$ref": "#/definitions/kubernetes_flowcontrol_v1beta3_ExemptPriorityLevelConfiguration", + "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta3.ExemptPriorityLevelConfiguration" + }, "limited": { "$ref": "#/definitions/kubernetes_flowcontrol_v1beta3_LimitedPriorityLevelConfiguration", "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta3.LimitedPriorityLevelConfiguration" @@ -2248,6 +2328,13 @@ }, "encodingVersion": { "type": "string" + }, + "servedVersions": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "type": "string" + } } }, "additionalProperties": true, diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/main/resources/schema/validation-schema.json index aab780b4157..477ef19465d 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/main/resources/schema/validation-schema.json @@ -207,6 +207,22 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, + "kubernetes_flowcontrol_v1alpha1_ExemptPriorityLevelConfiguration": { + "type": "object", + "properties": { + "lendablePercent": { + "type": "integer" + }, + "nominalConcurrencyShares": { + "type": "integer" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1alpha1.ExemptPriorityLevelConfiguration", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, "kubernetes_flowcontrol_v1alpha1_FlowDistinguisherMethod": { "type": "object", "properties": { @@ -573,6 +589,10 @@ "kubernetes_flowcontrol_v1alpha1_PriorityLevelConfigurationSpec": { "type": "object", "properties": { + "exempt": { + "$ref": "#/definitions/kubernetes_flowcontrol_v1alpha1_ExemptPriorityLevelConfiguration", + "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1alpha1.ExemptPriorityLevelConfiguration" + }, "limited": { "$ref": "#/definitions/kubernetes_flowcontrol_v1alpha1_LimitedPriorityLevelConfiguration", "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1alpha1.LimitedPriorityLevelConfiguration" @@ -715,6 +735,22 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, + "kubernetes_flowcontrol_v1beta1_ExemptPriorityLevelConfiguration": { + "type": "object", + "properties": { + "lendablePercent": { + "type": "integer" + }, + "nominalConcurrencyShares": { + "type": "integer" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.ExemptPriorityLevelConfiguration", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, "kubernetes_flowcontrol_v1beta1_FlowDistinguisherMethod": { "type": "object", "properties": { @@ -1079,6 +1115,10 @@ "kubernetes_flowcontrol_v1beta1_PriorityLevelConfigurationSpec": { "type": "object", "properties": { + "exempt": { + "$ref": "#/definitions/kubernetes_flowcontrol_v1beta1_ExemptPriorityLevelConfiguration", + "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.ExemptPriorityLevelConfiguration" + }, "limited": { "$ref": "#/definitions/kubernetes_flowcontrol_v1beta1_LimitedPriorityLevelConfiguration", "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.LimitedPriorityLevelConfiguration" @@ -1221,6 +1261,22 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, + "kubernetes_flowcontrol_v1beta2_ExemptPriorityLevelConfiguration": { + "type": "object", + "properties": { + "lendablePercent": { + "type": "integer" + }, + "nominalConcurrencyShares": { + "type": "integer" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta2.ExemptPriorityLevelConfiguration", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, "kubernetes_flowcontrol_v1beta2_FlowDistinguisherMethod": { "type": "object", "properties": { @@ -1585,6 +1641,10 @@ "kubernetes_flowcontrol_v1beta2_PriorityLevelConfigurationSpec": { "type": "object", "properties": { + "exempt": { + "$ref": "#/definitions/kubernetes_flowcontrol_v1beta2_ExemptPriorityLevelConfiguration", + "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta2.ExemptPriorityLevelConfiguration" + }, "limited": { "$ref": "#/definitions/kubernetes_flowcontrol_v1beta2_LimitedPriorityLevelConfiguration", "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta2.LimitedPriorityLevelConfiguration" @@ -1727,6 +1787,22 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, + "kubernetes_flowcontrol_v1beta3_ExemptPriorityLevelConfiguration": { + "type": "object", + "properties": { + "lendablePercent": { + "type": "integer" + }, + "nominalConcurrencyShares": { + "type": "integer" + } + }, + "additionalProperties": true, + "javaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta3.ExemptPriorityLevelConfiguration", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, "kubernetes_flowcontrol_v1beta3_FlowDistinguisherMethod": { "type": "object", "properties": { @@ -2091,6 +2167,10 @@ "kubernetes_flowcontrol_v1beta3_PriorityLevelConfigurationSpec": { "type": "object", "properties": { + "exempt": { + "$ref": "#/definitions/kubernetes_flowcontrol_v1beta3_ExemptPriorityLevelConfiguration", + "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta3.ExemptPriorityLevelConfiguration" + }, "limited": { "$ref": "#/definitions/kubernetes_flowcontrol_v1beta3_LimitedPriorityLevelConfiguration", "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta3.LimitedPriorityLevelConfiguration" @@ -2248,6 +2328,13 @@ }, "encodingVersion": { "type": "string" + }, + "servedVersions": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "type": "string" + } } }, "additionalProperties": true, @@ -2465,6 +2552,17 @@ }, "additionalProperties": true, "resources": { + "exemptprioritylevelconfiguration": { + "properties": { + "lendablePercent": { + "type": "integer" + }, + "nominalConcurrencyShares": { + "type": "integer" + } + }, + "additionalProperties": true + }, "fieldsv1": { "additionalProperties": true }, @@ -2480,7 +2578,7 @@ "properties": { "apiVersion": { "type": "string", - "default": "flowcontrol.apiserver.k8s.io/v1beta1", + "default": "flowcontrol.apiserver.k8s.io/v1beta3", "required": true }, "kind": { @@ -2493,12 +2591,12 @@ "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" }, "spec": { - "$ref": "#/definitions/kubernetes_flowcontrol_v1beta1_FlowSchemaSpec", - "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.FlowSchemaSpec" + "$ref": "#/definitions/kubernetes_flowcontrol_v1beta3_FlowSchemaSpec", + "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta3.FlowSchemaSpec" }, "status": { - "$ref": "#/definitions/kubernetes_flowcontrol_v1beta1_FlowSchemaStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.FlowSchemaStatus" + "$ref": "#/definitions/kubernetes_flowcontrol_v1beta3_FlowSchemaStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta3.FlowSchemaStatus" } }, "additionalProperties": true @@ -2553,22 +2651,22 @@ "flowschemaspec": { "properties": { "distinguisherMethod": { - "$ref": "#/definitions/kubernetes_flowcontrol_v1alpha1_FlowDistinguisherMethod", - "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1alpha1.FlowDistinguisherMethod" + "$ref": "#/definitions/kubernetes_flowcontrol_v1beta3_FlowDistinguisherMethod", + "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta3.FlowDistinguisherMethod" }, "matchingPrecedence": { "type": "integer" }, "priorityLevelConfiguration": { - "$ref": "#/definitions/kubernetes_flowcontrol_v1alpha1_PriorityLevelConfigurationReference", - "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1alpha1.PriorityLevelConfigurationReference" + "$ref": "#/definitions/kubernetes_flowcontrol_v1beta3_PriorityLevelConfigurationReference", + "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta3.PriorityLevelConfigurationReference" }, "rules": { "type": "array", "javaOmitEmpty": true, "items": { - "$ref": "#/definitions/kubernetes_flowcontrol_v1alpha1_PolicyRulesWithSubjects", - "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1alpha1.PolicyRulesWithSubjects" + "$ref": "#/definitions/kubernetes_flowcontrol_v1beta3_PolicyRulesWithSubjects", + "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta3.PolicyRulesWithSubjects" } } }, @@ -2580,8 +2678,8 @@ "type": "array", "javaOmitEmpty": true, "items": { - "$ref": "#/definitions/kubernetes_flowcontrol_v1alpha1_FlowSchemaCondition", - "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1alpha1.FlowSchemaCondition" + "$ref": "#/definitions/kubernetes_flowcontrol_v1beta3_FlowSchemaCondition", + "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta3.FlowSchemaCondition" } } }, @@ -2616,8 +2714,8 @@ "limitresponse": { "properties": { "queuing": { - "$ref": "#/definitions/kubernetes_flowcontrol_v1beta3_QueuingConfiguration", - "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta3.QueuingConfiguration" + "$ref": "#/definitions/kubernetes_flowcontrol_v1beta1_QueuingConfiguration", + "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.QueuingConfiguration" }, "type": { "type": "string" @@ -2795,23 +2893,23 @@ "type": "array", "javaOmitEmpty": true, "items": { - "$ref": "#/definitions/kubernetes_flowcontrol_v1beta2_NonResourcePolicyRule", - "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta2.NonResourcePolicyRule" + "$ref": "#/definitions/kubernetes_flowcontrol_v1beta3_NonResourcePolicyRule", + "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta3.NonResourcePolicyRule" } }, "resourceRules": { "type": "array", "javaOmitEmpty": true, "items": { - "$ref": "#/definitions/kubernetes_flowcontrol_v1beta2_ResourcePolicyRule", - "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta2.ResourcePolicyRule" + "$ref": "#/definitions/kubernetes_flowcontrol_v1beta3_ResourcePolicyRule", + "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta3.ResourcePolicyRule" } }, "subjects": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_flowcontrol_v1beta2_Subject", - "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta2.Subject" + "$ref": "#/definitions/kubernetes_flowcontrol_v1beta3_Subject", + "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta3.Subject" } } }, @@ -2821,7 +2919,7 @@ "properties": { "apiVersion": { "type": "string", - "default": "flowcontrol.apiserver.k8s.io/v1beta2", + "default": "flowcontrol.apiserver.k8s.io/v1beta1", "required": true }, "kind": { @@ -2834,12 +2932,12 @@ "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" }, "spec": { - "$ref": "#/definitions/kubernetes_flowcontrol_v1beta2_PriorityLevelConfigurationSpec", - "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta2.PriorityLevelConfigurationSpec" + "$ref": "#/definitions/kubernetes_flowcontrol_v1beta1_PriorityLevelConfigurationSpec", + "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.PriorityLevelConfigurationSpec" }, "status": { - "$ref": "#/definitions/kubernetes_flowcontrol_v1beta2_PriorityLevelConfigurationStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta2.PriorityLevelConfigurationStatus" + "$ref": "#/definitions/kubernetes_flowcontrol_v1beta1_PriorityLevelConfigurationStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.PriorityLevelConfigurationStatus" } }, "additionalProperties": true @@ -2901,9 +2999,13 @@ }, "prioritylevelconfigurationspec": { "properties": { + "exempt": { + "$ref": "#/definitions/kubernetes_flowcontrol_v1alpha1_ExemptPriorityLevelConfiguration", + "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1alpha1.ExemptPriorityLevelConfiguration" + }, "limited": { - "$ref": "#/definitions/kubernetes_flowcontrol_v1beta3_LimitedPriorityLevelConfiguration", - "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta3.LimitedPriorityLevelConfiguration" + "$ref": "#/definitions/kubernetes_flowcontrol_v1alpha1_LimitedPriorityLevelConfiguration", + "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1alpha1.LimitedPriorityLevelConfiguration" }, "type": { "type": "string" @@ -2984,6 +3086,13 @@ }, "encodingVersion": { "type": "string" + }, + "servedVersions": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "type": "string" + } } }, "additionalProperties": true @@ -3107,19 +3216,19 @@ "subject": { "properties": { "group": { - "$ref": "#/definitions/kubernetes_flowcontrol_v1beta1_GroupSubject", - "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.GroupSubject" + "$ref": "#/definitions/kubernetes_flowcontrol_v1beta3_GroupSubject", + "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta3.GroupSubject" }, "kind": { "type": "string" }, "serviceAccount": { - "$ref": "#/definitions/kubernetes_flowcontrol_v1beta1_ServiceAccountSubject", - "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.ServiceAccountSubject" + "$ref": "#/definitions/kubernetes_flowcontrol_v1beta3_ServiceAccountSubject", + "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta3.ServiceAccountSubject" }, "user": { - "$ref": "#/definitions/kubernetes_flowcontrol_v1beta1_UserSubject", - "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.UserSubject" + "$ref": "#/definitions/kubernetes_flowcontrol_v1beta3_UserSubject", + "existingJavaType": "io.fabric8.kubernetes.api.model.flowcontrol.v1beta3.UserSubject" } }, "additionalProperties": true diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index bf640db7add..86b2e345247 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -85,7 +86,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("GRPCRoute") private GRPCRoute gRPCRoute; @@ -413,6 +415,16 @@ public void setV1Beta1ReferenceGrantList(io.fabric8.kubernetes.api.model.gateway this.v1Beta1ReferenceGrantList = v1Beta1ReferenceGrantList; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index a4fa4f13d22..4ce7085b4cb 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -85,7 +86,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("GRPCRoute") private GRPCRoute gRPCRoute; @@ -413,6 +415,16 @@ public void setV1Beta1ReferenceGrantList(io.fabric8.kubernetes.api.model.gateway this.v1Beta1ReferenceGrantList = v1Beta1ReferenceGrantList; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCBackendRef.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCBackendRef.java index fa7848c13bb..02fe211f18b 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCBackendRef.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCBackendRef.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GRPCBackendRef implements KubernetesResource +public class GRPCBackendRef implements Editable , KubernetesResource { @JsonProperty("filters") @@ -186,6 +187,16 @@ public void setWeight(Integer weight) { this.weight = weight; } + @JsonIgnore + public GRPCBackendRefBuilder edit() { + return new GRPCBackendRefBuilder(this); + } + + @JsonIgnore + public GRPCBackendRefBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCHeaderMatch.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCHeaderMatch.java index 1af1f205317..89f906deb2f 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCHeaderMatch.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCHeaderMatch.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GRPCHeaderMatch implements KubernetesResource +public class GRPCHeaderMatch implements Editable , KubernetesResource { @JsonProperty("name") @@ -113,6 +114,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public GRPCHeaderMatchBuilder edit() { + return new GRPCHeaderMatchBuilder(this); + } + + @JsonIgnore + public GRPCHeaderMatchBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCMethodMatch.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCMethodMatch.java index 9f86cc17724..ce0aafa6e9a 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCMethodMatch.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCMethodMatch.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GRPCMethodMatch implements KubernetesResource +public class GRPCMethodMatch implements Editable , KubernetesResource { @JsonProperty("method") @@ -113,6 +114,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public GRPCMethodMatchBuilder edit() { + return new GRPCMethodMatchBuilder(this); + } + + @JsonIgnore + public GRPCMethodMatchBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRoute.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRoute.java index 6024f5111a1..09a14abbe21 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRoute.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRoute.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1alpha2") @Group("gateway.networking.k8s.io") @Generated("jsonschema2pojo") -public class GRPCRoute implements HasMetadata, Namespaced +public class GRPCRoute implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(GRPCRouteStatus status) { this.status = status; } + @JsonIgnore + public GRPCRouteBuilder edit() { + return new GRPCRouteBuilder(this); + } + + @JsonIgnore + public GRPCRouteBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteFilter.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteFilter.java index ff599baf508..01de91bafc2 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteFilter.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteFilter.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GRPCRouteFilter implements KubernetesResource +public class GRPCRouteFilter implements Editable , KubernetesResource { @JsonProperty("extensionRef") @@ -142,6 +143,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public GRPCRouteFilterBuilder edit() { + return new GRPCRouteFilterBuilder(this); + } + + @JsonIgnore + public GRPCRouteFilterBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteList.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteList.java index a8156683ed9..1cad534ab23 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteList.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha2") @Group("gateway.networking.k8s.io") @Generated("jsonschema2pojo") -public class GRPCRouteList implements KubernetesResource, KubernetesResourceList +public class GRPCRouteList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public GRPCRouteListBuilder edit() { + return new GRPCRouteListBuilder(this); + } + + @JsonIgnore + public GRPCRouteListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteMatch.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteMatch.java index f9a3e6253be..f82522f15ac 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteMatch.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteMatch.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GRPCRouteMatch implements KubernetesResource +public class GRPCRouteMatch implements Editable , KubernetesResource { @JsonProperty("headers") @@ -102,6 +103,16 @@ public void setMethod(GRPCMethodMatch method) { this.method = method; } + @JsonIgnore + public GRPCRouteMatchBuilder edit() { + return new GRPCRouteMatchBuilder(this); + } + + @JsonIgnore + public GRPCRouteMatchBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteRule.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteRule.java index c5c7f8b18d8..48aca88092b 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteRule.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteRule.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GRPCRouteRule implements KubernetesResource +public class GRPCRouteRule implements Editable , KubernetesResource { @JsonProperty("backendRefs") @@ -118,6 +119,16 @@ public void setMatches(List matches) { this.matches = matches; } + @JsonIgnore + public GRPCRouteRuleBuilder edit() { + return new GRPCRouteRuleBuilder(this); + } + + @JsonIgnore + public GRPCRouteRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteSpec.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteSpec.java index f0e3d6fba69..d3c6e883cfb 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteSpec.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GRPCRouteSpec implements KubernetesResource +public class GRPCRouteSpec implements Editable , KubernetesResource { @JsonProperty("hostnames") @@ -119,6 +120,16 @@ public void setRules(List rules) { this.rules = rules; } + @JsonIgnore + public GRPCRouteSpecBuilder edit() { + return new GRPCRouteSpecBuilder(this); + } + + @JsonIgnore + public GRPCRouteSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteStatus.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteStatus.java index 2cbec1273e7..18603c9976f 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteStatus.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GRPCRouteStatus implements KubernetesResource +public class GRPCRouteStatus implements Editable , KubernetesResource { @JsonProperty("parents") @@ -89,6 +90,16 @@ public void setParents(List parents) { this.parents = parents; } + @JsonIgnore + public GRPCRouteStatusBuilder edit() { + return new GRPCRouteStatusBuilder(this); + } + + @JsonIgnore + public GRPCRouteStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/Gateway.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/Gateway.java index d0dd74d7634..cf65cf82be6 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/Gateway.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/Gateway.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -67,7 +68,7 @@ @Version("v1alpha2") @Group("gateway.networking.k8s.io") @Generated("jsonschema2pojo") -public class Gateway implements HasMetadata, Namespaced +public class Gateway implements Editable , HasMetadata, Namespaced { /** @@ -179,6 +180,16 @@ public void setStatus(GatewayStatus status) { this.status = status; } + @JsonIgnore + public GatewayBuilder edit() { + return new GatewayBuilder(this); + } + + @JsonIgnore + public GatewayBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GatewayClass.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GatewayClass.java index 5d6c63c96b3..09240379453 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GatewayClass.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GatewayClass.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -66,7 +67,7 @@ @Version("v1alpha2") @Group("gateway.networking.k8s.io") @Generated("jsonschema2pojo") -public class GatewayClass implements HasMetadata +public class GatewayClass implements Editable , HasMetadata { /** @@ -178,6 +179,16 @@ public void setStatus(GatewayClassStatus status) { this.status = status; } + @JsonIgnore + public GatewayClassBuilder edit() { + return new GatewayClassBuilder(this); + } + + @JsonIgnore + public GatewayClassBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GatewayClassList.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GatewayClassList.java index 93658b14456..d49502fabd3 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GatewayClassList.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GatewayClassList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha2") @Group("gateway.networking.k8s.io") @Generated("jsonschema2pojo") -public class GatewayClassList implements KubernetesResource, KubernetesResourceList +public class GatewayClassList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public GatewayClassListBuilder edit() { + return new GatewayClassListBuilder(this); + } + + @JsonIgnore + public GatewayClassListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GatewayList.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GatewayList.java index 941cc0ef32c..4eb37a324fe 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GatewayList.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GatewayList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha2") @Group("gateway.networking.k8s.io") @Generated("jsonschema2pojo") -public class GatewayList implements KubernetesResource, KubernetesResourceList +public class GatewayList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public GatewayListBuilder edit() { + return new GatewayListBuilder(this); + } + + @JsonIgnore + public GatewayListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/HTTPRoute.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/HTTPRoute.java index 35130a4f8c5..9e02c6f8c93 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/HTTPRoute.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/HTTPRoute.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -67,7 +68,7 @@ @Version("v1alpha2") @Group("gateway.networking.k8s.io") @Generated("jsonschema2pojo") -public class HTTPRoute implements HasMetadata, Namespaced +public class HTTPRoute implements Editable , HasMetadata, Namespaced { /** @@ -179,6 +180,16 @@ public void setStatus(HTTPRouteStatus status) { this.status = status; } + @JsonIgnore + public HTTPRouteBuilder edit() { + return new HTTPRouteBuilder(this); + } + + @JsonIgnore + public HTTPRouteBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/HTTPRouteList.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/HTTPRouteList.java index 1813b7ff3ab..89b2e11037a 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/HTTPRouteList.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/HTTPRouteList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha2") @Group("gateway.networking.k8s.io") @Generated("jsonschema2pojo") -public class HTTPRouteList implements KubernetesResource, KubernetesResourceList +public class HTTPRouteList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public HTTPRouteListBuilder edit() { + return new HTTPRouteListBuilder(this); + } + + @JsonIgnore + public HTTPRouteListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/ReferenceGrant.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/ReferenceGrant.java index a49e7a6d4ea..0d487c3dce7 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/ReferenceGrant.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/ReferenceGrant.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1alpha2") @Group("gateway.networking.k8s.io") @Generated("jsonschema2pojo") -public class ReferenceGrant implements HasMetadata, Namespaced +public class ReferenceGrant implements Editable , HasMetadata, Namespaced { /** @@ -164,6 +165,16 @@ public void setSpec(ReferenceGrantSpec spec) { this.spec = spec; } + @JsonIgnore + public ReferenceGrantBuilder edit() { + return new ReferenceGrantBuilder(this); + } + + @JsonIgnore + public ReferenceGrantBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/ReferenceGrantList.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/ReferenceGrantList.java index a34cc7cde49..4456a9a9946 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/ReferenceGrantList.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/ReferenceGrantList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha2") @Group("gateway.networking.k8s.io") @Generated("jsonschema2pojo") -public class ReferenceGrantList implements KubernetesResource, KubernetesResourceList +public class ReferenceGrantList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ReferenceGrantListBuilder edit() { + return new ReferenceGrantListBuilder(this); + } + + @JsonIgnore + public ReferenceGrantListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRoute.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRoute.java index 9f96b06a589..117e834a38f 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRoute.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRoute.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1alpha2") @Group("gateway.networking.k8s.io") @Generated("jsonschema2pojo") -public class TCPRoute implements HasMetadata, Namespaced +public class TCPRoute implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(TCPRouteStatus status) { this.status = status; } + @JsonIgnore + public TCPRouteBuilder edit() { + return new TCPRouteBuilder(this); + } + + @JsonIgnore + public TCPRouteBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRouteList.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRouteList.java index c6867404695..8e724dded35 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRouteList.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRouteList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha2") @Group("gateway.networking.k8s.io") @Generated("jsonschema2pojo") -public class TCPRouteList implements KubernetesResource, KubernetesResourceList +public class TCPRouteList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public TCPRouteListBuilder edit() { + return new TCPRouteListBuilder(this); + } + + @JsonIgnore + public TCPRouteListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRouteRule.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRouteRule.java index 41a014df531..76332e023fb 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRouteRule.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRouteRule.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TCPRouteRule implements KubernetesResource +public class TCPRouteRule implements Editable , KubernetesResource { @JsonProperty("backendRefs") @@ -89,6 +90,16 @@ public void setBackendRefs(List backendRefs) { this.backendRefs = backendRefs; } + @JsonIgnore + public TCPRouteRuleBuilder edit() { + return new TCPRouteRuleBuilder(this); + } + + @JsonIgnore + public TCPRouteRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRouteSpec.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRouteSpec.java index 2cd830393f3..1840692525f 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRouteSpec.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRouteSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TCPRouteSpec implements KubernetesResource +public class TCPRouteSpec implements Editable , KubernetesResource { @JsonProperty("parentRefs") @@ -104,6 +105,16 @@ public void setRules(List rules) { this.rules = rules; } + @JsonIgnore + public TCPRouteSpecBuilder edit() { + return new TCPRouteSpecBuilder(this); + } + + @JsonIgnore + public TCPRouteSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRouteStatus.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRouteStatus.java index d4201c880c1..dda360426c8 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRouteStatus.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRouteStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TCPRouteStatus implements KubernetesResource +public class TCPRouteStatus implements Editable , KubernetesResource { @JsonProperty("parents") @@ -89,6 +90,16 @@ public void setParents(List parents) { this.parents = parents; } + @JsonIgnore + public TCPRouteStatusBuilder edit() { + return new TCPRouteStatusBuilder(this); + } + + @JsonIgnore + public TCPRouteStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRoute.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRoute.java index 9de96c0f511..eab5e7f43b1 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRoute.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRoute.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1alpha2") @Group("gateway.networking.k8s.io") @Generated("jsonschema2pojo") -public class TLSRoute implements HasMetadata, Namespaced +public class TLSRoute implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(TLSRouteStatus status) { this.status = status; } + @JsonIgnore + public TLSRouteBuilder edit() { + return new TLSRouteBuilder(this); + } + + @JsonIgnore + public TLSRouteBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRouteList.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRouteList.java index dfcd4d6e011..5be47851db2 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRouteList.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRouteList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha2") @Group("gateway.networking.k8s.io") @Generated("jsonschema2pojo") -public class TLSRouteList implements KubernetesResource, KubernetesResourceList +public class TLSRouteList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public TLSRouteListBuilder edit() { + return new TLSRouteListBuilder(this); + } + + @JsonIgnore + public TLSRouteListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRouteRule.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRouteRule.java index ddcf36232fb..34ac7c46665 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRouteRule.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRouteRule.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TLSRouteRule implements KubernetesResource +public class TLSRouteRule implements Editable , KubernetesResource { @JsonProperty("backendRefs") @@ -89,6 +90,16 @@ public void setBackendRefs(List backendRefs) { this.backendRefs = backendRefs; } + @JsonIgnore + public TLSRouteRuleBuilder edit() { + return new TLSRouteRuleBuilder(this); + } + + @JsonIgnore + public TLSRouteRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRouteSpec.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRouteSpec.java index 86d2c9b7ee2..3668eda7e1e 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRouteSpec.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRouteSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TLSRouteSpec implements KubernetesResource +public class TLSRouteSpec implements Editable , KubernetesResource { @JsonProperty("hostnames") @@ -119,6 +120,16 @@ public void setRules(List rules) { this.rules = rules; } + @JsonIgnore + public TLSRouteSpecBuilder edit() { + return new TLSRouteSpecBuilder(this); + } + + @JsonIgnore + public TLSRouteSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRouteStatus.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRouteStatus.java index 0d7414b8cc1..322ca4ef18f 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRouteStatus.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRouteStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TLSRouteStatus implements KubernetesResource +public class TLSRouteStatus implements Editable , KubernetesResource { @JsonProperty("parents") @@ -89,6 +90,16 @@ public void setParents(List parents) { this.parents = parents; } + @JsonIgnore + public TLSRouteStatusBuilder edit() { + return new TLSRouteStatusBuilder(this); + } + + @JsonIgnore + public TLSRouteStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRoute.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRoute.java index f15ca32190c..2db180b3a12 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRoute.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRoute.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1alpha2") @Group("gateway.networking.k8s.io") @Generated("jsonschema2pojo") -public class UDPRoute implements HasMetadata, Namespaced +public class UDPRoute implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(UDPRouteStatus status) { this.status = status; } + @JsonIgnore + public UDPRouteBuilder edit() { + return new UDPRouteBuilder(this); + } + + @JsonIgnore + public UDPRouteBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRouteList.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRouteList.java index 269b8d21b8f..ba06422bb7d 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRouteList.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRouteList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha2") @Group("gateway.networking.k8s.io") @Generated("jsonschema2pojo") -public class UDPRouteList implements KubernetesResource, KubernetesResourceList +public class UDPRouteList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public UDPRouteListBuilder edit() { + return new UDPRouteListBuilder(this); + } + + @JsonIgnore + public UDPRouteListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRouteRule.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRouteRule.java index 1ce6bcb7f76..0ba7a878206 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRouteRule.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRouteRule.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class UDPRouteRule implements KubernetesResource +public class UDPRouteRule implements Editable , KubernetesResource { @JsonProperty("backendRefs") @@ -89,6 +90,16 @@ public void setBackendRefs(List backendRefs) { this.backendRefs = backendRefs; } + @JsonIgnore + public UDPRouteRuleBuilder edit() { + return new UDPRouteRuleBuilder(this); + } + + @JsonIgnore + public UDPRouteRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRouteSpec.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRouteSpec.java index 1bc5caf5569..6bca04557f5 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRouteSpec.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRouteSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class UDPRouteSpec implements KubernetesResource +public class UDPRouteSpec implements Editable , KubernetesResource { @JsonProperty("parentRefs") @@ -104,6 +105,16 @@ public void setRules(List rules) { this.rules = rules; } + @JsonIgnore + public UDPRouteSpecBuilder edit() { + return new UDPRouteSpecBuilder(this); + } + + @JsonIgnore + public UDPRouteSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRouteStatus.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRouteStatus.java index 4e49fa7957f..a578b499332 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRouteStatus.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRouteStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class UDPRouteStatus implements KubernetesResource +public class UDPRouteStatus implements Editable , KubernetesResource { @JsonProperty("parents") @@ -89,6 +90,16 @@ public void setParents(List parents) { this.parents = parents; } + @JsonIgnore + public UDPRouteStatusBuilder edit() { + return new UDPRouteStatusBuilder(this); + } + + @JsonIgnore + public UDPRouteStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/AllowedRoutes.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/AllowedRoutes.java index 20f68aa81a5..0c557c44498 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/AllowedRoutes.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/AllowedRoutes.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AllowedRoutes implements KubernetesResource +public class AllowedRoutes implements Editable , KubernetesResource { @JsonProperty("kinds") @@ -102,6 +103,16 @@ public void setNamespaces(RouteNamespaces namespaces) { this.namespaces = namespaces; } + @JsonIgnore + public AllowedRoutesBuilder edit() { + return new AllowedRoutesBuilder(this); + } + + @JsonIgnore + public AllowedRoutesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/BackendObjectReference.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/BackendObjectReference.java index c97150afdbd..6c96b90e479 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/BackendObjectReference.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/BackendObjectReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BackendObjectReference implements KubernetesResource +public class BackendObjectReference implements Editable , KubernetesResource { @JsonProperty("group") @@ -140,6 +141,16 @@ public void setPort(Integer port) { this.port = port; } + @JsonIgnore + public BackendObjectReferenceBuilder edit() { + return new BackendObjectReferenceBuilder(this); + } + + @JsonIgnore + public BackendObjectReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/BackendRef.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/BackendRef.java index c9e918d989a..8de3ea09046 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/BackendRef.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/BackendRef.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BackendRef implements KubernetesResource +public class BackendRef implements Editable , KubernetesResource { @JsonProperty("group") @@ -169,6 +170,16 @@ public void setWeight(Integer weight) { this.weight = weight; } + @JsonIgnore + public BackendRefBuilder edit() { + return new BackendRefBuilder(this); + } + + @JsonIgnore + public BackendRefBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/Gateway.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/Gateway.java index 08f5acfd22d..021f0aa37e7 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/Gateway.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/Gateway.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1beta1") @Group("gateway.networking.k8s.io") @Generated("jsonschema2pojo") -public class Gateway implements HasMetadata, Namespaced +public class Gateway implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(GatewayStatus status) { this.status = status; } + @JsonIgnore + public GatewayBuilder edit() { + return new GatewayBuilder(this); + } + + @JsonIgnore + public GatewayBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayAddress.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayAddress.java index 178dd1ca515..bad2c4a6ed2 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayAddress.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayAddress.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GatewayAddress implements KubernetesResource +public class GatewayAddress implements Editable , KubernetesResource { @JsonProperty("type") @@ -99,6 +100,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public GatewayAddressBuilder edit() { + return new GatewayAddressBuilder(this); + } + + @JsonIgnore + public GatewayAddressBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayClass.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayClass.java index 53d7c20b4d7..a936a282642 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayClass.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayClass.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1beta1") @Group("gateway.networking.k8s.io") @Generated("jsonschema2pojo") -public class GatewayClass implements HasMetadata +public class GatewayClass implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(GatewayClassStatus status) { this.status = status; } + @JsonIgnore + public GatewayClassBuilder edit() { + return new GatewayClassBuilder(this); + } + + @JsonIgnore + public GatewayClassBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayClassList.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayClassList.java index 2918da4d96a..41722b34ad6 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayClassList.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayClassList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("gateway.networking.k8s.io") @Generated("jsonschema2pojo") -public class GatewayClassList implements KubernetesResource, KubernetesResourceList +public class GatewayClassList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public GatewayClassListBuilder edit() { + return new GatewayClassListBuilder(this); + } + + @JsonIgnore + public GatewayClassListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayClassSpec.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayClassSpec.java index a4419588a21..887ecd15ea8 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayClassSpec.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayClassSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GatewayClassSpec implements KubernetesResource +public class GatewayClassSpec implements Editable , KubernetesResource { @JsonProperty("controllerName") @@ -113,6 +114,16 @@ public void setParametersRef(ParametersReference parametersRef) { this.parametersRef = parametersRef; } + @JsonIgnore + public GatewayClassSpecBuilder edit() { + return new GatewayClassSpecBuilder(this); + } + + @JsonIgnore + public GatewayClassSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayClassStatus.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayClassStatus.java index b88a9d721b8..1ace20dc3a6 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayClassStatus.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayClassStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GatewayClassStatus implements KubernetesResource +public class GatewayClassStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -89,6 +90,16 @@ public void setConditions(List conditions) { this.conditions = conditions; } + @JsonIgnore + public GatewayClassStatusBuilder edit() { + return new GatewayClassStatusBuilder(this); + } + + @JsonIgnore + public GatewayClassStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayList.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayList.java index 9bcd5254948..ce9c2af6be6 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayList.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("gateway.networking.k8s.io") @Generated("jsonschema2pojo") -public class GatewayList implements KubernetesResource, KubernetesResourceList +public class GatewayList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public GatewayListBuilder edit() { + return new GatewayListBuilder(this); + } + + @JsonIgnore + public GatewayListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewaySpec.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewaySpec.java index f8b13eeda8d..697f4d237df 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewaySpec.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewaySpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GatewaySpec implements KubernetesResource +public class GatewaySpec implements Editable , KubernetesResource { @JsonProperty("addresses") @@ -117,6 +118,16 @@ public void setListeners(List listeners) { this.listeners = listeners; } + @JsonIgnore + public GatewaySpecBuilder edit() { + return new GatewaySpecBuilder(this); + } + + @JsonIgnore + public GatewaySpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayStatus.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayStatus.java index aae9856c2f7..6a5cc469af3 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayStatus.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GatewayStatus implements KubernetesResource +public class GatewayStatus implements Editable , KubernetesResource { @JsonProperty("addresses") @@ -119,6 +120,16 @@ public void setListeners(List listeners) { this.listeners = listeners; } + @JsonIgnore + public GatewayStatusBuilder edit() { + return new GatewayStatusBuilder(this); + } + + @JsonIgnore + public GatewayStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayTLSConfig.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayTLSConfig.java index 3c598a03eb2..3ddac5db7c4 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayTLSConfig.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayTLSConfig.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GatewayTLSConfig implements KubernetesResource +public class GatewayTLSConfig implements Editable , KubernetesResource { @JsonProperty("certificateRefs") @@ -117,6 +118,16 @@ public void setOptions(Map options) { this.options = options; } + @JsonIgnore + public GatewayTLSConfigBuilder edit() { + return new GatewayTLSConfigBuilder(this); + } + + @JsonIgnore + public GatewayTLSConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPBackendRef.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPBackendRef.java index c1b3fb69564..6f816ae6208 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPBackendRef.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPBackendRef.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HTTPBackendRef implements KubernetesResource +public class HTTPBackendRef implements Editable , KubernetesResource { @JsonProperty("filters") @@ -186,6 +187,16 @@ public void setWeight(Integer weight) { this.weight = weight; } + @JsonIgnore + public HTTPBackendRefBuilder edit() { + return new HTTPBackendRefBuilder(this); + } + + @JsonIgnore + public HTTPBackendRefBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPHeader.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPHeader.java index 4ed08d8dddb..a94b56cb1ea 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPHeader.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPHeader.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HTTPHeader implements KubernetesResource +public class HTTPHeader implements Editable , KubernetesResource { @JsonProperty("name") @@ -99,6 +100,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public HTTPHeaderBuilder edit() { + return new HTTPHeaderBuilder(this); + } + + @JsonIgnore + public HTTPHeaderBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPHeaderFilter.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPHeaderFilter.java index 4f6de29b39d..5ecde49e4c4 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPHeaderFilter.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPHeaderFilter.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HTTPHeaderFilter implements KubernetesResource +public class HTTPHeaderFilter implements Editable , KubernetesResource { @JsonProperty("add") @@ -118,6 +119,16 @@ public void setSet(List set) { this.set = set; } + @JsonIgnore + public HTTPHeaderFilterBuilder edit() { + return new HTTPHeaderFilterBuilder(this); + } + + @JsonIgnore + public HTTPHeaderFilterBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPHeaderMatch.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPHeaderMatch.java index 9fc98230b61..0c69f8457e6 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPHeaderMatch.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPHeaderMatch.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HTTPHeaderMatch implements KubernetesResource +public class HTTPHeaderMatch implements Editable , KubernetesResource { @JsonProperty("name") @@ -113,6 +114,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public HTTPHeaderMatchBuilder edit() { + return new HTTPHeaderMatchBuilder(this); + } + + @JsonIgnore + public HTTPHeaderMatchBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPPathMatch.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPPathMatch.java index e20dff0344e..69c377aaaf7 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPPathMatch.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPPathMatch.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HTTPPathMatch implements KubernetesResource +public class HTTPPathMatch implements Editable , KubernetesResource { @JsonProperty("type") @@ -99,6 +100,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public HTTPPathMatchBuilder edit() { + return new HTTPPathMatchBuilder(this); + } + + @JsonIgnore + public HTTPPathMatchBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPPathModifier.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPPathModifier.java index e316be4bbff..15df56e7919 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPPathModifier.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPPathModifier.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HTTPPathModifier implements KubernetesResource +public class HTTPPathModifier implements Editable , KubernetesResource { @JsonProperty("replaceFullPath") @@ -113,6 +114,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public HTTPPathModifierBuilder edit() { + return new HTTPPathModifierBuilder(this); + } + + @JsonIgnore + public HTTPPathModifierBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPQueryParamMatch.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPQueryParamMatch.java index 595375bf320..ca61fb20a87 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPQueryParamMatch.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPQueryParamMatch.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HTTPQueryParamMatch implements KubernetesResource +public class HTTPQueryParamMatch implements Editable , KubernetesResource { @JsonProperty("name") @@ -113,6 +114,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public HTTPQueryParamMatchBuilder edit() { + return new HTTPQueryParamMatchBuilder(this); + } + + @JsonIgnore + public HTTPQueryParamMatchBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRequestMirrorFilter.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRequestMirrorFilter.java index a844b79d3b2..8d7350cb086 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRequestMirrorFilter.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRequestMirrorFilter.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HTTPRequestMirrorFilter implements KubernetesResource +public class HTTPRequestMirrorFilter implements Editable , KubernetesResource { @JsonProperty("backendRef") @@ -85,6 +86,16 @@ public void setBackendRef(BackendObjectReference backendRef) { this.backendRef = backendRef; } + @JsonIgnore + public HTTPRequestMirrorFilterBuilder edit() { + return new HTTPRequestMirrorFilterBuilder(this); + } + + @JsonIgnore + public HTTPRequestMirrorFilterBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRequestRedirectFilter.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRequestRedirectFilter.java index 0e28468e93b..077b71b7433 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRequestRedirectFilter.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRequestRedirectFilter.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HTTPRequestRedirectFilter implements KubernetesResource +public class HTTPRequestRedirectFilter implements Editable , KubernetesResource { @JsonProperty("hostname") @@ -141,6 +142,16 @@ public void setStatusCode(Integer statusCode) { this.statusCode = statusCode; } + @JsonIgnore + public HTTPRequestRedirectFilterBuilder edit() { + return new HTTPRequestRedirectFilterBuilder(this); + } + + @JsonIgnore + public HTTPRequestRedirectFilterBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRoute.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRoute.java index 8c0635ce3e9..f7d5f5437c8 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRoute.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRoute.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1beta1") @Group("gateway.networking.k8s.io") @Generated("jsonschema2pojo") -public class HTTPRoute implements HasMetadata, Namespaced +public class HTTPRoute implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(HTTPRouteStatus status) { this.status = status; } + @JsonIgnore + public HTTPRouteBuilder edit() { + return new HTTPRouteBuilder(this); + } + + @JsonIgnore + public HTTPRouteBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteFilter.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteFilter.java index 9fd731f49cd..c95cf12463d 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteFilter.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteFilter.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HTTPRouteFilter implements KubernetesResource +public class HTTPRouteFilter implements Editable , KubernetesResource { @JsonProperty("extensionRef") @@ -168,6 +169,16 @@ public void setUrlRewrite(HTTPURLRewriteFilter urlRewrite) { this.urlRewrite = urlRewrite; } + @JsonIgnore + public HTTPRouteFilterBuilder edit() { + return new HTTPRouteFilterBuilder(this); + } + + @JsonIgnore + public HTTPRouteFilterBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteList.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteList.java index 8633345c077..35150ef493e 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteList.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("gateway.networking.k8s.io") @Generated("jsonschema2pojo") -public class HTTPRouteList implements KubernetesResource, KubernetesResourceList +public class HTTPRouteList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public HTTPRouteListBuilder edit() { + return new HTTPRouteListBuilder(this); + } + + @JsonIgnore + public HTTPRouteListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteMatch.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteMatch.java index 655f21b964b..7168dd2f00d 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteMatch.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteMatch.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HTTPRouteMatch implements KubernetesResource +public class HTTPRouteMatch implements Editable , KubernetesResource { @JsonProperty("headers") @@ -131,6 +132,16 @@ public void setQueryParams(List queryParams) { this.queryParams = queryParams; } + @JsonIgnore + public HTTPRouteMatchBuilder edit() { + return new HTTPRouteMatchBuilder(this); + } + + @JsonIgnore + public HTTPRouteMatchBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteRule.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteRule.java index 180520cefba..a66284df340 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteRule.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteRule.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HTTPRouteRule implements KubernetesResource +public class HTTPRouteRule implements Editable , KubernetesResource { @JsonProperty("backendRefs") @@ -118,6 +119,16 @@ public void setMatches(List matches) { this.matches = matches; } + @JsonIgnore + public HTTPRouteRuleBuilder edit() { + return new HTTPRouteRuleBuilder(this); + } + + @JsonIgnore + public HTTPRouteRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteSpec.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteSpec.java index c0b38dbdc4f..beffa2457e2 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteSpec.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HTTPRouteSpec implements KubernetesResource +public class HTTPRouteSpec implements Editable , KubernetesResource { @JsonProperty("hostnames") @@ -118,6 +119,16 @@ public void setRules(List rules) { this.rules = rules; } + @JsonIgnore + public HTTPRouteSpecBuilder edit() { + return new HTTPRouteSpecBuilder(this); + } + + @JsonIgnore + public HTTPRouteSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteStatus.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteStatus.java index 562ec8b1329..ae55ae77e55 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteStatus.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HTTPRouteStatus implements KubernetesResource +public class HTTPRouteStatus implements Editable , KubernetesResource { @JsonProperty("parents") @@ -88,6 +89,16 @@ public void setParents(List parents) { this.parents = parents; } + @JsonIgnore + public HTTPRouteStatusBuilder edit() { + return new HTTPRouteStatusBuilder(this); + } + + @JsonIgnore + public HTTPRouteStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPURLRewriteFilter.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPURLRewriteFilter.java index 8750e25dff4..5bd90d614f3 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPURLRewriteFilter.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPURLRewriteFilter.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HTTPURLRewriteFilter implements KubernetesResource +public class HTTPURLRewriteFilter implements Editable , KubernetesResource { @JsonProperty("hostname") @@ -99,6 +100,16 @@ public void setPath(HTTPPathModifier path) { this.path = path; } + @JsonIgnore + public HTTPURLRewriteFilterBuilder edit() { + return new HTTPURLRewriteFilterBuilder(this); + } + + @JsonIgnore + public HTTPURLRewriteFilterBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/Listener.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/Listener.java index 1d717288286..10da9064bb1 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/Listener.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/Listener.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Listener implements KubernetesResource +public class Listener implements Editable , KubernetesResource { @JsonProperty("allowedRoutes") @@ -155,6 +156,16 @@ public void setTls(GatewayTLSConfig tls) { this.tls = tls; } + @JsonIgnore + public ListenerBuilder edit() { + return new ListenerBuilder(this); + } + + @JsonIgnore + public ListenerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ListenerStatus.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ListenerStatus.java index 4ba70508043..641be5bf832 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ListenerStatus.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ListenerStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ListenerStatus implements KubernetesResource +public class ListenerStatus implements Editable , KubernetesResource { @JsonProperty("attachedRoutes") @@ -132,6 +133,16 @@ public void setSupportedKinds(List supportedKinds) { this.supportedKinds = supportedKinds; } + @JsonIgnore + public ListenerStatusBuilder edit() { + return new ListenerStatusBuilder(this); + } + + @JsonIgnore + public ListenerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/LocalObjectReference.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/LocalObjectReference.java index 90248fa9a0b..1a67b3d61aa 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/LocalObjectReference.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/LocalObjectReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class LocalObjectReference implements KubernetesResource +public class LocalObjectReference implements Editable , KubernetesResource { @JsonProperty("group") @@ -111,6 +112,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public LocalObjectReferenceBuilder edit() { + return new LocalObjectReferenceBuilder(this); + } + + @JsonIgnore + public LocalObjectReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ParametersReference.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ParametersReference.java index 441d26a37b6..b73b51b4250 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ParametersReference.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ParametersReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ParametersReference implements KubernetesResource +public class ParametersReference implements Editable , KubernetesResource { @JsonProperty("group") @@ -126,6 +127,16 @@ public void setNamespace(String namespace) { this.namespace = namespace; } + @JsonIgnore + public ParametersReferenceBuilder edit() { + return new ParametersReferenceBuilder(this); + } + + @JsonIgnore + public ParametersReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ParentReference.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ParentReference.java index c5c90d5579d..3060fcd46b3 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ParentReference.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ParentReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ParentReference implements KubernetesResource +public class ParentReference implements Editable , KubernetesResource { @JsonProperty("group") @@ -154,6 +155,16 @@ public void setSectionName(String sectionName) { this.sectionName = sectionName; } + @JsonIgnore + public ParentReferenceBuilder edit() { + return new ParentReferenceBuilder(this); + } + + @JsonIgnore + public ParentReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ReferenceGrant.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ReferenceGrant.java index df95bdd9840..c77f6a88d0a 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ReferenceGrant.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ReferenceGrant.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1beta1") @Group("gateway.networking.k8s.io") @Generated("jsonschema2pojo") -public class ReferenceGrant implements HasMetadata, Namespaced +public class ReferenceGrant implements Editable , HasMetadata, Namespaced { /** @@ -163,6 +164,16 @@ public void setSpec(ReferenceGrantSpec spec) { this.spec = spec; } + @JsonIgnore + public ReferenceGrantBuilder edit() { + return new ReferenceGrantBuilder(this); + } + + @JsonIgnore + public ReferenceGrantBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ReferenceGrantFrom.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ReferenceGrantFrom.java index 53baf8d624c..8ac9665fc91 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ReferenceGrantFrom.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ReferenceGrantFrom.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ReferenceGrantFrom implements KubernetesResource +public class ReferenceGrantFrom implements Editable , KubernetesResource { @JsonProperty("group") @@ -112,6 +113,16 @@ public void setNamespace(String namespace) { this.namespace = namespace; } + @JsonIgnore + public ReferenceGrantFromBuilder edit() { + return new ReferenceGrantFromBuilder(this); + } + + @JsonIgnore + public ReferenceGrantFromBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ReferenceGrantList.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ReferenceGrantList.java index 3eea3a7bc18..5bf40afc611 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ReferenceGrantList.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ReferenceGrantList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("gateway.networking.k8s.io") @Generated("jsonschema2pojo") -public class ReferenceGrantList implements KubernetesResource, KubernetesResourceList +public class ReferenceGrantList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ReferenceGrantListBuilder edit() { + return new ReferenceGrantListBuilder(this); + } + + @JsonIgnore + public ReferenceGrantListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ReferenceGrantSpec.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ReferenceGrantSpec.java index eb464d54ec0..5c16f9d1631 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ReferenceGrantSpec.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ReferenceGrantSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ReferenceGrantSpec implements KubernetesResource +public class ReferenceGrantSpec implements Editable , KubernetesResource { @JsonProperty("from") @@ -103,6 +104,16 @@ public void setTo(List to) { this.to = to; } + @JsonIgnore + public ReferenceGrantSpecBuilder edit() { + return new ReferenceGrantSpecBuilder(this); + } + + @JsonIgnore + public ReferenceGrantSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ReferenceGrantTo.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ReferenceGrantTo.java index 76722277dac..0b0bdf562a5 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ReferenceGrantTo.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ReferenceGrantTo.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ReferenceGrantTo implements KubernetesResource +public class ReferenceGrantTo implements Editable , KubernetesResource { @JsonProperty("group") @@ -112,6 +113,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public ReferenceGrantToBuilder edit() { + return new ReferenceGrantToBuilder(this); + } + + @JsonIgnore + public ReferenceGrantToBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/RouteGroupKind.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/RouteGroupKind.java index ee9249ae6f1..465d95fd6d1 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/RouteGroupKind.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/RouteGroupKind.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RouteGroupKind implements KubernetesResource +public class RouteGroupKind implements Editable , KubernetesResource { @JsonProperty("group") @@ -98,6 +99,16 @@ public void setKind(String kind) { this.kind = kind; } + @JsonIgnore + public RouteGroupKindBuilder edit() { + return new RouteGroupKindBuilder(this); + } + + @JsonIgnore + public RouteGroupKindBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/RouteNamespaces.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/RouteNamespaces.java index e9b03f8ac93..43654d5aa88 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/RouteNamespaces.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/RouteNamespaces.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RouteNamespaces implements KubernetesResource +public class RouteNamespaces implements Editable , KubernetesResource { @JsonProperty("from") @@ -98,6 +99,16 @@ public void setSelector(io.fabric8.kubernetes.api.model.LabelSelector selector) this.selector = selector; } + @JsonIgnore + public RouteNamespacesBuilder edit() { + return new RouteNamespacesBuilder(this); + } + + @JsonIgnore + public RouteNamespacesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/RouteParentStatus.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/RouteParentStatus.java index dfd91f97317..673efd5e02a 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/RouteParentStatus.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/RouteParentStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RouteParentStatus implements KubernetesResource +public class RouteParentStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -117,6 +118,16 @@ public void setParentRef(ParentReference parentRef) { this.parentRef = parentRef; } + @JsonIgnore + public RouteParentStatusBuilder edit() { + return new RouteParentStatusBuilder(this); + } + + @JsonIgnore + public RouteParentStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/SecretObjectReference.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/SecretObjectReference.java index f0bab9dbb38..a824b94be05 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/SecretObjectReference.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/SecretObjectReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SecretObjectReference implements KubernetesResource +public class SecretObjectReference implements Editable , KubernetesResource { @JsonProperty("group") @@ -126,6 +127,16 @@ public void setNamespace(String namespace) { this.namespace = namespace; } + @JsonIgnore + public SecretObjectReferenceBuilder edit() { + return new SecretObjectReferenceBuilder(this); + } + + @JsonIgnore + public SecretObjectReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/main/resources/schema/validation-schema.json index ec152485a4c..a01161de9a2 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/main/resources/schema/validation-schema.json @@ -2625,14 +2625,14 @@ "properties": { "apiVersion": { "type": "string", - "default": "gateway.networking.k8s.io/v1alpha2", + "default": "gateway.networking.k8s.io/v1beta1", "required": true }, "items": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_sigs_gatewayapi_v1alpha2_GatewayClass", - "existingJavaType": "io.fabric8.kubernetes.api.model.gatewayapi.v1alpha2.GatewayClass" + "$ref": "#/definitions/kubernetes_sigs_gatewayapi_v1beta1_GatewayClass", + "existingJavaType": "io.fabric8.kubernetes.api.model.gatewayapi.v1beta1.GatewayClass" } }, "kind": { @@ -3642,7 +3642,7 @@ "properties": { "apiVersion": { "type": "string", - "default": "gateway.networking.k8s.io/v1beta1", + "default": "gateway.networking.k8s.io/v1alpha2", "required": true }, "kind": { @@ -3679,14 +3679,14 @@ "properties": { "apiVersion": { "type": "string", - "default": "gateway.networking.k8s.io/v1alpha2", + "default": "gateway.networking.k8s.io/v1beta1", "required": true }, "items": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_sigs_gatewayapi_v1alpha2_ReferenceGrant", - "existingJavaType": "io.fabric8.kubernetes.api.model.gatewayapi.v1alpha2.ReferenceGrant" + "$ref": "#/definitions/kubernetes_sigs_gatewayapi_v1beta1_ReferenceGrant", + "existingJavaType": "io.fabric8.kubernetes.api.model.gatewayapi.v1beta1.ReferenceGrant" } }, "kind": { diff --git a/kubernetes-model-generator/kubernetes-model-jsonschema2pojo/src/main/java/io/fabric8/kubernetes/jsonschema2pojo/KubernetesCoreTypeAnnotator.java b/kubernetes-model-generator/kubernetes-model-jsonschema2pojo/src/main/java/io/fabric8/kubernetes/jsonschema2pojo/KubernetesCoreTypeAnnotator.java index 4bdae804efd..40692049ef2 100644 --- a/kubernetes-model-generator/kubernetes-model-jsonschema2pojo/src/main/java/io/fabric8/kubernetes/jsonschema2pojo/KubernetesCoreTypeAnnotator.java +++ b/kubernetes-model-generator/kubernetes-model-jsonschema2pojo/src/main/java/io/fabric8/kubernetes/jsonschema2pojo/KubernetesCoreTypeAnnotator.java @@ -15,6 +15,7 @@ */ package io.fabric8.kubernetes.jsonschema2pojo; +import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonUnwrapped; @@ -24,12 +25,18 @@ import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.sun.codemodel.JAnnotationArrayMember; import com.sun.codemodel.JAnnotationUse; +import com.sun.codemodel.JClass; import com.sun.codemodel.JClassAlreadyExistsException; import com.sun.codemodel.JCodeModel; import com.sun.codemodel.JDefinedClass; +import com.sun.codemodel.JExpr; import com.sun.codemodel.JExpressionImpl; import com.sun.codemodel.JFieldVar; import com.sun.codemodel.JFormatter; +import com.sun.codemodel.JInvocation; +import com.sun.codemodel.JMethod; +import com.sun.codemodel.JMod; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.fabric8.kubernetes.model.jackson.JsonUnwrappedDeserializer; @@ -55,6 +62,8 @@ public class KubernetesCoreTypeAnnotator extends Jackson2Annotator { + private static final String BUILDER_PACKAGE = "io.fabric8.kubernetes.api.builder"; + public static final String BUILDABLE_REFERENCE_VALUE = "value"; protected static final String ANNOTATION_VALUE = "value"; @@ -97,6 +106,7 @@ public void propertyOrder(JDefinedClass clazz, JsonNode propertiesNode) { clazz.annotate(EqualsAndHashCode.class); clazz.annotate(Setter.class); clazz.annotate(Accessors.class).paramArray("prefix").param("_").param(""); + makeEditable(clazz); processBuildable(clazz); final Map fields = clazz.fields(); @@ -135,6 +145,19 @@ public void propertyOrder(JDefinedClass clazz, JsonNode propertiesNode) { } } + private void makeEditable(JDefinedClass clazz) { + JClass builderType = clazz.owner().ref(clazz.fullName() + "Builder"); + JClass editableType = clazz.owner().ref(Editable.class).narrow(builderType); + clazz._implements(editableType); + JMethod editMethod = clazz.method(JMod.PUBLIC, builderType, "edit"); + editMethod.annotate(JsonIgnore.class); + JInvocation newBuilder = JExpr._new(builderType).arg(JExpr._this()); + editMethod.body()._return(newBuilder); + JMethod toBuilderMethod = clazz.method(JMod.PUBLIC, builderType, "toBuilder"); + toBuilderMethod.annotate(JsonIgnore.class); + toBuilderMethod.body()._return(JExpr.invoke("edit")); + } + private void annotate(JDefinedClass clazz, String apiVersion, String apiGroup) { clazz.annotate(Version.class).param(ANNOTATION_VALUE, apiVersion); clazz.annotate(Group.class).param(ANNOTATION_VALUE, apiGroup); @@ -199,7 +222,7 @@ protected void processBuildable(JDefinedClass clazz) { .param("validationEnabled", false) .param("generateBuilderPackage", generateBuilderPackage()) .param("lazyCollectionInitEnabled", false) - .param("builderPackage", "io.fabric8.kubernetes.api.builder"); + .param("builderPackage", BUILDER_PACKAGE); List types = new ArrayList<>(); addBuildableTypes(clazz, types); @@ -217,7 +240,7 @@ protected void processBuildable(JDefinedClass clazz) { } protected boolean generateBuilderPackage() { - return true; + return false; } protected void addBuildableTypes(JDefinedClass clazz, List types) { diff --git a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index 2b1fa82cea4..85c3a7fa791 100644 --- a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.kustomize.v1beta1.Kustomization; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; @@ -33,9 +34,10 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("Kustomization") private Kustomization kustomization; @@ -64,6 +66,16 @@ public void setKustomization(Kustomization kustomization) { this.kustomization = kustomization; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index fb48d99bd43..7dfbe3f76a2 100644 --- a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.kustomize.v1beta1.Kustomization; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; @@ -33,9 +34,10 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("Kustomization") private Kustomization kustomization; @@ -64,6 +66,16 @@ public void setKustomization(Kustomization kustomization) { this.kustomization = kustomization; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/ConfigMapArgs.java b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/ConfigMapArgs.java index 2df5ee3655c..74cac00184d 100644 --- a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/ConfigMapArgs.java +++ b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/ConfigMapArgs.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; @@ -42,9 +43,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ConfigMapArgs implements KubernetesResource +public class ConfigMapArgs implements Editable , KubernetesResource { @JsonProperty("behavior") @@ -168,6 +169,16 @@ public void setOptions(GeneratorOptions options) { this.options = options; } + @JsonIgnore + public ConfigMapArgsBuilder edit() { + return new ConfigMapArgsBuilder(this); + } + + @JsonIgnore + public ConfigMapArgsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/FieldOptions.java b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/FieldOptions.java index b3cef6bbaa8..68345acb6ab 100644 --- a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/FieldOptions.java +++ b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/FieldOptions.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; @@ -36,9 +37,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class FieldOptions implements KubernetesResource +public class FieldOptions implements Editable , KubernetesResource { @JsonProperty("create") @@ -107,6 +108,16 @@ public void setIndex(Integer index) { this.index = index; } + @JsonIgnore + public FieldOptionsBuilder edit() { + return new FieldOptionsBuilder(this); + } + + @JsonIgnore + public FieldOptionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/FieldSelector.java b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/FieldSelector.java index 88ffebcf0b5..d46bc3b40f8 100644 --- a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/FieldSelector.java +++ b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/FieldSelector.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; @@ -33,9 +34,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class FieldSelector implements KubernetesResource +public class FieldSelector implements Editable , KubernetesResource { @JsonProperty("fieldPath") @@ -65,6 +66,16 @@ public void setFieldPath(String fieldPath) { this.fieldPath = fieldPath; } + @JsonIgnore + public FieldSelectorBuilder edit() { + return new FieldSelectorBuilder(this); + } + + @JsonIgnore + public FieldSelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/FieldSpec.java b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/FieldSpec.java index eecaa28e798..753417be3c3 100644 --- a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/FieldSpec.java +++ b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/FieldSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; @@ -36,9 +37,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class FieldSpec implements KubernetesResource +public class FieldSpec implements Editable , KubernetesResource { @JsonProperty("create") @@ -135,6 +136,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public FieldSpecBuilder edit() { + return new FieldSpecBuilder(this); + } + + @JsonIgnore + public FieldSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/GeneratorOptions.java b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/GeneratorOptions.java index 052d6ecd3b6..e93aed385e2 100644 --- a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/GeneratorOptions.java +++ b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/GeneratorOptions.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; @@ -36,9 +37,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class GeneratorOptions implements KubernetesResource +public class GeneratorOptions implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -109,6 +110,16 @@ public void setLabels(Map labels) { this.labels = labels; } + @JsonIgnore + public GeneratorOptionsBuilder edit() { + return new GeneratorOptionsBuilder(this); + } + + @JsonIgnore + public GeneratorOptionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/HelmChart.java b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/HelmChart.java index abdf41d3c18..1123cfc51f8 100644 --- a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/HelmChart.java +++ b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/HelmChart.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; @@ -48,9 +49,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class HelmChart implements KubernetesResource +public class HelmChart implements Editable , KubernetesResource { @JsonProperty("additionalValuesFiles") @@ -252,6 +253,16 @@ public void setVersion(java.lang.String version) { this.version = version; } + @JsonIgnore + public HelmChartBuilder edit() { + return new HelmChartBuilder(this); + } + + @JsonIgnore + public HelmChartBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/HelmChartArgs.java b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/HelmChartArgs.java index 95304e58301..2e4dc7c8e3e 100644 --- a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/HelmChartArgs.java +++ b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/HelmChartArgs.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; @@ -47,9 +48,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class HelmChartArgs implements KubernetesResource +public class HelmChartArgs implements Editable , KubernetesResource { @JsonProperty("chartHome") @@ -237,6 +238,16 @@ public void setValuesMerge(java.lang.String valuesMerge) { this.valuesMerge = valuesMerge; } + @JsonIgnore + public HelmChartArgsBuilder edit() { + return new HelmChartArgsBuilder(this); + } + + @JsonIgnore + public HelmChartArgsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/HelmGlobals.java b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/HelmGlobals.java index 93089a5c870..cab73754314 100644 --- a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/HelmGlobals.java +++ b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/HelmGlobals.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class HelmGlobals implements KubernetesResource +public class HelmGlobals implements Editable , KubernetesResource { @JsonProperty("chartHome") @@ -79,6 +80,16 @@ public void setConfigHome(String configHome) { this.configHome = configHome; } + @JsonIgnore + public HelmGlobalsBuilder edit() { + return new HelmGlobalsBuilder(this); + } + + @JsonIgnore + public HelmGlobalsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Image.java b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Image.java index be829216ec9..ba944fc1bd4 100644 --- a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Image.java +++ b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Image.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; @@ -37,9 +38,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class Image implements KubernetesResource +public class Image implements Editable , KubernetesResource { @JsonProperty("digest") @@ -121,6 +122,16 @@ public void setTagSuffix(String tagSuffix) { this.tagSuffix = tagSuffix; } + @JsonIgnore + public ImageBuilder edit() { + return new ImageBuilder(this); + } + + @JsonIgnore + public ImageBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Kustomization.java b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Kustomization.java index 57a9eef68be..1750e32d416 100644 --- a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Kustomization.java +++ b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Kustomization.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; @@ -65,9 +66,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class Kustomization implements KubernetesResource +public class Kustomization implements Editable , KubernetesResource { /** @@ -581,6 +582,16 @@ public void setVars(List vars) { this.vars = vars; } + @JsonIgnore + public KustomizationBuilder edit() { + return new KustomizationBuilder(this); + } + + @JsonIgnore + public KustomizationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Label.java b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Label.java index 263f685e2b6..0e83fedfd59 100644 --- a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Label.java +++ b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Label.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; @@ -38,9 +39,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class Label implements KubernetesResource +public class Label implements Editable , KubernetesResource { @JsonProperty("fields") @@ -111,6 +112,16 @@ public void setPairs(Map pairs) { this.pairs = pairs; } + @JsonIgnore + public LabelBuilder edit() { + return new LabelBuilder(this); + } + + @JsonIgnore + public LabelBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/LegacySortOptions.java b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/LegacySortOptions.java index fea55cb5c8b..a9a32f247ce 100644 --- a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/LegacySortOptions.java +++ b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/LegacySortOptions.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; @@ -36,9 +37,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class LegacySortOptions implements KubernetesResource +public class LegacySortOptions implements Editable , KubernetesResource { @JsonProperty("orderFirst") @@ -83,6 +84,16 @@ public void setOrderLast(List orderLast) { this.orderLast = orderLast; } + @JsonIgnore + public LegacySortOptionsBuilder edit() { + return new LegacySortOptionsBuilder(this); + } + + @JsonIgnore + public LegacySortOptionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/ObjectMeta.java b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/ObjectMeta.java index b74fff2dbaf..ad7c1104035 100644 --- a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/ObjectMeta.java +++ b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/ObjectMeta.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; @@ -36,9 +37,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ObjectMeta implements KubernetesResource +public class ObjectMeta implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -109,6 +110,16 @@ public void setNamespace(java.lang.String namespace) { this.namespace = namespace; } + @JsonIgnore + public ObjectMetaBuilder edit() { + return new ObjectMetaBuilder(this); + } + + @JsonIgnore + public ObjectMetaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Patch.java b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Patch.java index ba87008d094..2727f0f4da7 100644 --- a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Patch.java +++ b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Patch.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; @@ -36,9 +37,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class Patch implements KubernetesResource +public class Patch implements Editable , KubernetesResource { @JsonProperty("options") @@ -108,6 +109,16 @@ public void setTarget(Selector target) { this.target = target; } + @JsonIgnore + public PatchBuilder edit() { + return new PatchBuilder(this); + } + + @JsonIgnore + public PatchBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/ReplacementField.java b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/ReplacementField.java index 905df7f7212..0de49c81b2f 100644 --- a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/ReplacementField.java +++ b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/ReplacementField.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; @@ -37,9 +38,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class ReplacementField implements KubernetesResource +public class ReplacementField implements Editable , KubernetesResource { @JsonProperty("path") @@ -96,6 +97,16 @@ public void setTargets(List targets) { this.targets = targets; } + @JsonIgnore + public ReplacementFieldBuilder edit() { + return new ReplacementFieldBuilder(this); + } + + @JsonIgnore + public ReplacementFieldBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Replica.java b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Replica.java index ff728387d5c..390bb5141e3 100644 --- a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Replica.java +++ b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Replica.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class Replica implements KubernetesResource +public class Replica implements Editable , KubernetesResource { @JsonProperty("count") @@ -79,6 +80,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public ReplicaBuilder edit() { + return new ReplicaBuilder(this); + } + + @JsonIgnore + public ReplicaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/SecretArgs.java b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/SecretArgs.java index b36b5f2315c..7048761a52e 100644 --- a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/SecretArgs.java +++ b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/SecretArgs.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; @@ -43,9 +44,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class SecretArgs implements KubernetesResource +public class SecretArgs implements Editable , KubernetesResource { @JsonProperty("behavior") @@ -182,6 +183,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public SecretArgsBuilder edit() { + return new SecretArgsBuilder(this); + } + + @JsonIgnore + public SecretArgsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Selector.java b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Selector.java index b2848b20e05..d5e98942c4a 100644 --- a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Selector.java +++ b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Selector.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; @@ -38,9 +39,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class Selector implements KubernetesResource +public class Selector implements Editable , KubernetesResource { @JsonProperty("annotationSelector") @@ -163,6 +164,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public SelectorBuilder edit() { + return new SelectorBuilder(this); + } + + @JsonIgnore + public SelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/SortOptions.java b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/SortOptions.java index d35b06c5f02..10994c9a6dd 100644 --- a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/SortOptions.java +++ b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/SortOptions.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; @@ -34,9 +35,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class SortOptions implements KubernetesResource +public class SortOptions implements Editable , KubernetesResource { @JsonProperty("legacySortOptions") @@ -79,6 +80,16 @@ public void setOrder(String order) { this.order = order; } + @JsonIgnore + public SortOptionsBuilder edit() { + return new SortOptionsBuilder(this); + } + + @JsonIgnore + public SortOptionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/SourceSelector.java b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/SourceSelector.java index f2828e609f8..c4974c91cbe 100644 --- a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/SourceSelector.java +++ b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/SourceSelector.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; @@ -38,9 +39,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class SourceSelector implements KubernetesResource +public class SourceSelector implements Editable , KubernetesResource { @JsonProperty("fieldPath") @@ -163,6 +164,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public SourceSelectorBuilder edit() { + return new SourceSelectorBuilder(this); + } + + @JsonIgnore + public SourceSelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Target.java b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Target.java index 0df778e4e0a..e2acf8c221a 100644 --- a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Target.java +++ b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Target.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; @@ -36,9 +37,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class Target implements KubernetesResource +public class Target implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -148,6 +149,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public TargetBuilder edit() { + return new TargetBuilder(this); + } + + @JsonIgnore + public TargetBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/TargetSelector.java b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/TargetSelector.java index 0ac627561b6..a6ae1ce27e0 100644 --- a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/TargetSelector.java +++ b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/TargetSelector.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; @@ -38,9 +39,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class TargetSelector implements KubernetesResource +public class TargetSelector implements Editable , KubernetesResource { @JsonProperty("fieldPaths") @@ -111,6 +112,16 @@ public void setSelect(Selector select) { this.select = select; } + @JsonIgnore + public TargetSelectorBuilder edit() { + return new TargetSelectorBuilder(this); + } + + @JsonIgnore + public TargetSelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Var.java b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Var.java index 75be32dee8d..a5abce4e36a 100644 --- a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Var.java +++ b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/Var.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; @@ -35,9 +36,9 @@ "_", "" }) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") @Generated("jsonschema2pojo") -public class Var implements KubernetesResource +public class Var implements Editable , KubernetesResource { @JsonProperty("fieldref") @@ -93,6 +94,16 @@ public void setObjref(Target objref) { this.objref = objref; } + @JsonIgnore + public VarBuilder edit() { + return new VarBuilder(this); + } + + @JsonIgnore + public VarBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index 0ca85af7c9c..a85488338f7 100644 --- a/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -78,7 +79,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -380,6 +382,16 @@ public void setUpdateOptions(UpdateOptions updateOptions) { this.updateOptions = updateOptions; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index d2a975102f0..6ef0c1b7805 100644 --- a/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -78,7 +79,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -380,6 +382,16 @@ public void setUpdateOptions(UpdateOptions updateOptions) { this.updateOptions = updateOptions; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/ContainerMetrics.java b/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/ContainerMetrics.java index 66247391b60..580881a0bce 100644 --- a/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/ContainerMetrics.java +++ b/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/ContainerMetrics.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ContainerMetrics implements KubernetesResource +public class ContainerMetrics implements Editable , KubernetesResource { @JsonProperty("name") @@ -101,6 +102,16 @@ public void setUsage(Map usage) { this.usage = usage; } + @JsonIgnore + public ContainerMetricsBuilder edit() { + return new ContainerMetricsBuilder(this); + } + + @JsonIgnore + public ContainerMetricsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/NodeMetrics.java b/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/NodeMetrics.java index af87dc28dd2..ea44a4e8234 100644 --- a/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/NodeMetrics.java +++ b/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/NodeMetrics.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.Duration; import io.fabric8.kubernetes.api.model.HasMetadata; @@ -67,7 +68,7 @@ @Version("v1beta1") @Group("metrics.k8s.io") @Generated("jsonschema2pojo") -public class NodeMetrics implements HasMetadata +public class NodeMetrics implements Editable , HasMetadata { /** @@ -193,6 +194,16 @@ public void setWindow(Duration window) { this.window = window; } + @JsonIgnore + public NodeMetricsBuilder edit() { + return new NodeMetricsBuilder(this); + } + + @JsonIgnore + public NodeMetricsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/NodeMetricsList.java b/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/NodeMetricsList.java index 6771906abb4..ea70b69a95d 100644 --- a/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/NodeMetricsList.java +++ b/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/NodeMetricsList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("metrics.k8s.io") @Generated("jsonschema2pojo") -public class NodeMetricsList implements KubernetesResource, KubernetesResourceList +public class NodeMetricsList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public NodeMetricsListBuilder edit() { + return new NodeMetricsListBuilder(this); + } + + @JsonIgnore + public NodeMetricsListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/PodMetrics.java b/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/PodMetrics.java index eb8645b20f7..cdcd5f05af8 100644 --- a/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/PodMetrics.java +++ b/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/PodMetrics.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.Duration; import io.fabric8.kubernetes.api.model.HasMetadata; @@ -69,7 +70,7 @@ @Version("v1beta1") @Group("metrics.k8s.io") @Generated("jsonschema2pojo") -public class PodMetrics implements HasMetadata, Namespaced +public class PodMetrics implements Editable , HasMetadata, Namespaced { /** @@ -195,6 +196,16 @@ public void setWindow(Duration window) { this.window = window; } + @JsonIgnore + public PodMetricsBuilder edit() { + return new PodMetricsBuilder(this); + } + + @JsonIgnore + public PodMetricsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/PodMetricsList.java b/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/PodMetricsList.java index fe59543167d..192d491de19 100644 --- a/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/PodMetricsList.java +++ b/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/PodMetricsList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("metrics.k8s.io") @Generated("jsonschema2pojo") -public class PodMetricsList implements KubernetesResource, KubernetesResourceList +public class PodMetricsList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PodMetricsListBuilder edit() { + return new PodMetricsListBuilder(this); + } + + @JsonIgnore + public PodMetricsListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index bd49e73b023..26ed9c38120 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -90,7 +91,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -522,6 +524,16 @@ public void setV1IngressList(io.fabric8.kubernetes.api.model.networking.v1.Ingre this.v1IngressList = v1IngressList; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index 3d4aa8d0990..9df69884a0b 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -90,7 +91,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -522,6 +524,16 @@ public void setV1IngressList(io.fabric8.kubernetes.api.model.networking.v1.Ingre this.v1IngressList = v1IngressList; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/HTTPIngressPath.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/HTTPIngressPath.java index 9ccd2d63f18..5c2663378fd 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/HTTPIngressPath.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/HTTPIngressPath.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HTTPIngressPath implements KubernetesResource +public class HTTPIngressPath implements Editable , KubernetesResource { @JsonProperty("backend") @@ -113,6 +114,16 @@ public void setPathType(String pathType) { this.pathType = pathType; } + @JsonIgnore + public HTTPIngressPathBuilder edit() { + return new HTTPIngressPathBuilder(this); + } + + @JsonIgnore + public HTTPIngressPathBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/HTTPIngressRuleValue.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/HTTPIngressRuleValue.java index 9f46b5a3259..aa3ca8d71f6 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/HTTPIngressRuleValue.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/HTTPIngressRuleValue.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HTTPIngressRuleValue implements KubernetesResource +public class HTTPIngressRuleValue implements Editable , KubernetesResource { @JsonProperty("paths") @@ -88,6 +89,16 @@ public void setPaths(List paths) { this.paths = paths; } + @JsonIgnore + public HTTPIngressRuleValueBuilder edit() { + return new HTTPIngressRuleValueBuilder(this); + } + + @JsonIgnore + public HTTPIngressRuleValueBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IPBlock.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IPBlock.java index 71c0e61ff40..17878b81a20 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IPBlock.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IPBlock.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IPBlock implements KubernetesResource +public class IPBlock implements Editable , KubernetesResource { @JsonProperty("cidr") @@ -102,6 +103,16 @@ public void setExcept(List except) { this.except = except; } + @JsonIgnore + public IPBlockBuilder edit() { + return new IPBlockBuilder(this); + } + + @JsonIgnore + public IPBlockBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/Ingress.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/Ingress.java index 2cb5ffc8c17..e3026081979 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/Ingress.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/Ingress.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("networking.k8s.io") @Generated("jsonschema2pojo") -public class Ingress implements HasMetadata, Namespaced +public class Ingress implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(IngressStatus status) { this.status = status; } + @JsonIgnore + public IngressBuilder edit() { + return new IngressBuilder(this); + } + + @JsonIgnore + public IngressBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressBackend.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressBackend.java index 2bc8dde9481..d696041db66 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressBackend.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressBackend.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressBackend implements KubernetesResource +public class IngressBackend implements Editable , KubernetesResource { @JsonProperty("resource") @@ -100,6 +101,16 @@ public void setService(IngressServiceBackend service) { this.service = service; } + @JsonIgnore + public IngressBackendBuilder edit() { + return new IngressBackendBuilder(this); + } + + @JsonIgnore + public IngressBackendBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressClass.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressClass.java index 49d666d3d3c..1fdd73e1d3b 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressClass.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressClass.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -63,7 +64,7 @@ @Version("v1") @Group("networking.k8s.io") @Generated("jsonschema2pojo") -public class IngressClass implements HasMetadata +public class IngressClass implements Editable , HasMetadata { /** @@ -162,6 +163,16 @@ public void setSpec(IngressClassSpec spec) { this.spec = spec; } + @JsonIgnore + public IngressClassBuilder edit() { + return new IngressClassBuilder(this); + } + + @JsonIgnore + public IngressClassBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressClassList.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressClassList.java index cfa86ee6792..da862467e2f 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressClassList.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressClassList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("networking.k8s.io") @Generated("jsonschema2pojo") -public class IngressClassList implements KubernetesResource, KubernetesResourceList +public class IngressClassList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public IngressClassListBuilder edit() { + return new IngressClassListBuilder(this); + } + + @JsonIgnore + public IngressClassListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressClassParametersReference.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressClassParametersReference.java index b9c76c6aa61..a9441c65b82 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressClassParametersReference.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressClassParametersReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressClassParametersReference implements KubernetesResource +public class IngressClassParametersReference implements Editable , KubernetesResource { @JsonProperty("apiGroup") @@ -140,6 +141,16 @@ public void setScope(String scope) { this.scope = scope; } + @JsonIgnore + public IngressClassParametersReferenceBuilder edit() { + return new IngressClassParametersReferenceBuilder(this); + } + + @JsonIgnore + public IngressClassParametersReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressClassSpec.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressClassSpec.java index a146be62853..8b933f90f0c 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressClassSpec.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressClassSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressClassSpec implements KubernetesResource +public class IngressClassSpec implements Editable , KubernetesResource { @JsonProperty("controller") @@ -99,6 +100,16 @@ public void setParameters(IngressClassParametersReference parameters) { this.parameters = parameters; } + @JsonIgnore + public IngressClassSpecBuilder edit() { + return new IngressClassSpecBuilder(this); + } + + @JsonIgnore + public IngressClassSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressList.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressList.java index a8db82354e0..f82da5094fc 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressList.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("networking.k8s.io") @Generated("jsonschema2pojo") -public class IngressList implements KubernetesResource, KubernetesResourceList +public class IngressList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public IngressListBuilder edit() { + return new IngressListBuilder(this); + } + + @JsonIgnore + public IngressListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressLoadBalancerIngress.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressLoadBalancerIngress.java index ee3420db185..4a17ba4aa2c 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressLoadBalancerIngress.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressLoadBalancerIngress.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressLoadBalancerIngress implements KubernetesResource +public class IngressLoadBalancerIngress implements Editable , KubernetesResource { @JsonProperty("hostname") @@ -116,6 +117,16 @@ public void setPorts(List ports) { this.ports = ports; } + @JsonIgnore + public IngressLoadBalancerIngressBuilder edit() { + return new IngressLoadBalancerIngressBuilder(this); + } + + @JsonIgnore + public IngressLoadBalancerIngressBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressLoadBalancerStatus.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressLoadBalancerStatus.java index 0a68b4915a7..d977629d3ab 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressLoadBalancerStatus.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressLoadBalancerStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressLoadBalancerStatus implements KubernetesResource +public class IngressLoadBalancerStatus implements Editable , KubernetesResource { @JsonProperty("ingress") @@ -88,6 +89,16 @@ public void setIngress(List ingress) { this.ingress = ingress; } + @JsonIgnore + public IngressLoadBalancerStatusBuilder edit() { + return new IngressLoadBalancerStatusBuilder(this); + } + + @JsonIgnore + public IngressLoadBalancerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressPortStatus.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressPortStatus.java index 2f45e8a82b4..1c0d8a77bc7 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressPortStatus.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressPortStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressPortStatus implements KubernetesResource +public class IngressPortStatus implements Editable , KubernetesResource { @JsonProperty("error") @@ -113,6 +114,16 @@ public void setProtocol(String protocol) { this.protocol = protocol; } + @JsonIgnore + public IngressPortStatusBuilder edit() { + return new IngressPortStatusBuilder(this); + } + + @JsonIgnore + public IngressPortStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressRule.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressRule.java index 62e40dd44f0..70a18285202 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressRule.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressRule.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressRule implements KubernetesResource +public class IngressRule implements Editable , KubernetesResource { @JsonProperty("host") @@ -99,6 +100,16 @@ public void setHttp(HTTPIngressRuleValue http) { this.http = http; } + @JsonIgnore + public IngressRuleBuilder edit() { + return new IngressRuleBuilder(this); + } + + @JsonIgnore + public IngressRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressServiceBackend.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressServiceBackend.java index edf0231c358..0828fb2b100 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressServiceBackend.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressServiceBackend.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressServiceBackend implements KubernetesResource +public class IngressServiceBackend implements Editable , KubernetesResource { @JsonProperty("name") @@ -99,6 +100,16 @@ public void setPort(ServiceBackendPort port) { this.port = port; } + @JsonIgnore + public IngressServiceBackendBuilder edit() { + return new IngressServiceBackendBuilder(this); + } + + @JsonIgnore + public IngressServiceBackendBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressSpec.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressSpec.java index 6f65d5ca16b..21fa631ae37 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressSpec.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressSpec implements KubernetesResource +public class IngressSpec implements Editable , KubernetesResource { @JsonProperty("defaultBackend") @@ -131,6 +132,16 @@ public void setTls(List tls) { this.tls = tls; } + @JsonIgnore + public IngressSpecBuilder edit() { + return new IngressSpecBuilder(this); + } + + @JsonIgnore + public IngressSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressStatus.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressStatus.java index f695f79ba25..50df9849f42 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressStatus.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressStatus implements KubernetesResource +public class IngressStatus implements Editable , KubernetesResource { @JsonProperty("loadBalancer") @@ -85,6 +86,16 @@ public void setLoadBalancer(IngressLoadBalancerStatus loadBalancer) { this.loadBalancer = loadBalancer; } + @JsonIgnore + public IngressStatusBuilder edit() { + return new IngressStatusBuilder(this); + } + + @JsonIgnore + public IngressStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressTLS.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressTLS.java index 400749eb199..0c83e7114e2 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressTLS.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressTLS.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressTLS implements KubernetesResource +public class IngressTLS implements Editable , KubernetesResource { @JsonProperty("hosts") @@ -102,6 +103,16 @@ public void setSecretName(String secretName) { this.secretName = secretName; } + @JsonIgnore + public IngressTLSBuilder edit() { + return new IngressTLSBuilder(this); + } + + @JsonIgnore + public IngressTLSBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicy.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicy.java index 3f5b8f59037..a686bffc5e8 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicy.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -38,8 +39,7 @@ "apiVersion", "kind", "metadata", - "spec", - "status" + "spec" }) @ToString @EqualsAndHashCode @@ -65,7 +65,7 @@ @Version("v1") @Group("networking.k8s.io") @Generated("jsonschema2pojo") -public class NetworkPolicy implements HasMetadata, Namespaced +public class NetworkPolicy implements Editable , HasMetadata, Namespaced { /** @@ -86,8 +86,6 @@ public class NetworkPolicy implements HasMetadata, Namespaced private io.fabric8.kubernetes.api.model.ObjectMeta metadata; @JsonProperty("spec") private NetworkPolicySpec spec; - @JsonProperty("status") - private NetworkPolicyStatus status; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -98,13 +96,12 @@ public class NetworkPolicy implements HasMetadata, Namespaced public NetworkPolicy() { } - public NetworkPolicy(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, NetworkPolicySpec spec, NetworkPolicyStatus status) { + public NetworkPolicy(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, NetworkPolicySpec spec) { super(); this.apiVersion = apiVersion; this.kind = kind; this.metadata = metadata; this.spec = spec; - this.status = status; } /** @@ -167,14 +164,14 @@ public void setSpec(NetworkPolicySpec spec) { this.spec = spec; } - @JsonProperty("status") - public NetworkPolicyStatus getStatus() { - return status; + @JsonIgnore + public NetworkPolicyBuilder edit() { + return new NetworkPolicyBuilder(this); } - @JsonProperty("status") - public void setStatus(NetworkPolicyStatus status) { - this.status = status; + @JsonIgnore + public NetworkPolicyBuilder toBuilder() { + return edit(); } @JsonAnyGetter diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicyEgressRule.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicyEgressRule.java index 5bb61f77990..15a82577310 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicyEgressRule.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicyEgressRule.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NetworkPolicyEgressRule implements KubernetesResource +public class NetworkPolicyEgressRule implements Editable , KubernetesResource { @JsonProperty("ports") @@ -103,6 +104,16 @@ public void setTo(List to) { this.to = to; } + @JsonIgnore + public NetworkPolicyEgressRuleBuilder edit() { + return new NetworkPolicyEgressRuleBuilder(this); + } + + @JsonIgnore + public NetworkPolicyEgressRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicyIngressRule.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicyIngressRule.java index baf1f6c5663..4ae66e32c74 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicyIngressRule.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicyIngressRule.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NetworkPolicyIngressRule implements KubernetesResource +public class NetworkPolicyIngressRule implements Editable , KubernetesResource { @JsonProperty("from") @@ -103,6 +104,16 @@ public void setPorts(List ports) { this.ports = ports; } + @JsonIgnore + public NetworkPolicyIngressRuleBuilder edit() { + return new NetworkPolicyIngressRuleBuilder(this); + } + + @JsonIgnore + public NetworkPolicyIngressRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicyList.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicyList.java index 100ebe72542..0654e97ac85 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicyList.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicyList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("networking.k8s.io") @Generated("jsonschema2pojo") -public class NetworkPolicyList implements KubernetesResource, KubernetesResourceList +public class NetworkPolicyList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public NetworkPolicyListBuilder edit() { + return new NetworkPolicyListBuilder(this); + } + + @JsonIgnore + public NetworkPolicyListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicyPeer.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicyPeer.java index ad17bdec2ac..5a6b68fa4f2 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicyPeer.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicyPeer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NetworkPolicyPeer implements KubernetesResource +public class NetworkPolicyPeer implements Editable , KubernetesResource { @JsonProperty("ipBlock") @@ -112,6 +113,16 @@ public void setPodSelector(io.fabric8.kubernetes.api.model.LabelSelector podSele this.podSelector = podSelector; } + @JsonIgnore + public NetworkPolicyPeerBuilder edit() { + return new NetworkPolicyPeerBuilder(this); + } + + @JsonIgnore + public NetworkPolicyPeerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicyPort.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicyPort.java index d89736771ef..4f045b6bcdb 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicyPort.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicyPort.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NetworkPolicyPort implements KubernetesResource +public class NetworkPolicyPort implements Editable , KubernetesResource { @JsonProperty("endPort") @@ -112,6 +113,16 @@ public void setProtocol(String protocol) { this.protocol = protocol; } + @JsonIgnore + public NetworkPolicyPortBuilder edit() { + return new NetworkPolicyPortBuilder(this); + } + + @JsonIgnore + public NetworkPolicyPortBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicySpec.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicySpec.java index f0e07c0f19b..d24843f5079 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicySpec.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicySpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NetworkPolicySpec implements KubernetesResource +public class NetworkPolicySpec implements Editable , KubernetesResource { @JsonProperty("egress") @@ -131,6 +132,16 @@ public void setPolicyTypes(List policyTypes) { this.policyTypes = policyTypes; } + @JsonIgnore + public NetworkPolicySpecBuilder edit() { + return new NetworkPolicySpecBuilder(this); + } + + @JsonIgnore + public NetworkPolicySpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/ServiceBackendPort.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/ServiceBackendPort.java index b1eb4fdb060..9022e28ef20 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/ServiceBackendPort.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/ServiceBackendPort.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ServiceBackendPort implements KubernetesResource +public class ServiceBackendPort implements Editable , KubernetesResource { @JsonProperty("name") @@ -99,6 +100,16 @@ public void setNumber(Integer number) { this.number = number; } + @JsonIgnore + public ServiceBackendPortBuilder edit() { + return new ServiceBackendPortBuilder(this); + } + + @JsonIgnore + public ServiceBackendPortBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/ClusterCIDR.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/ClusterCIDR.java index 080413f7043..a1f103c3f20 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/ClusterCIDR.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/ClusterCIDR.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -63,7 +64,7 @@ @Version("v1alpha1") @Group("networking.k8s.io") @Generated("jsonschema2pojo") -public class ClusterCIDR implements HasMetadata +public class ClusterCIDR implements Editable , HasMetadata { /** @@ -162,6 +163,16 @@ public void setSpec(ClusterCIDRSpec spec) { this.spec = spec; } + @JsonIgnore + public ClusterCIDRBuilder edit() { + return new ClusterCIDRBuilder(this); + } + + @JsonIgnore + public ClusterCIDRBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/ClusterCIDRList.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/ClusterCIDRList.java index f12f846fd3d..6145508acf8 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/ClusterCIDRList.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/ClusterCIDRList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha1") @Group("networking.k8s.io") @Generated("jsonschema2pojo") -public class ClusterCIDRList implements KubernetesResource, KubernetesResourceList +public class ClusterCIDRList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterCIDRListBuilder edit() { + return new ClusterCIDRListBuilder(this); + } + + @JsonIgnore + public ClusterCIDRListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/ClusterCIDRSpec.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/ClusterCIDRSpec.java index 6fcaafee439..d77135e98db 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/ClusterCIDRSpec.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/ClusterCIDRSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterCIDRSpec implements KubernetesResource +public class ClusterCIDRSpec implements Editable , KubernetesResource { @JsonProperty("ipv4") @@ -128,6 +129,16 @@ public void setPerNodeHostBits(Integer perNodeHostBits) { this.perNodeHostBits = perNodeHostBits; } + @JsonIgnore + public ClusterCIDRSpecBuilder edit() { + return new ClusterCIDRSpecBuilder(this); + } + + @JsonIgnore + public ClusterCIDRSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/IPAddress.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/IPAddress.java index c46a7e4fb5c..79ae5b9ec5a 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/IPAddress.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/IPAddress.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -63,7 +64,7 @@ @Version("v1alpha1") @Group("networking.k8s.io") @Generated("jsonschema2pojo") -public class IPAddress implements HasMetadata +public class IPAddress implements Editable , HasMetadata { /** @@ -162,6 +163,16 @@ public void setSpec(IPAddressSpec spec) { this.spec = spec; } + @JsonIgnore + public IPAddressBuilder edit() { + return new IPAddressBuilder(this); + } + + @JsonIgnore + public IPAddressBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/IPAddressList.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/IPAddressList.java index 50a7820fe72..ffb97d31c96 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/IPAddressList.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/IPAddressList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha1") @Group("networking.k8s.io") @Generated("jsonschema2pojo") -public class IPAddressList implements KubernetesResource, KubernetesResourceList +public class IPAddressList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public IPAddressListBuilder edit() { + return new IPAddressListBuilder(this); + } + + @JsonIgnore + public IPAddressListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/IPAddressSpec.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/IPAddressSpec.java index 02449dd0a88..74a9245a02a 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/IPAddressSpec.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/IPAddressSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IPAddressSpec implements KubernetesResource +public class IPAddressSpec implements Editable , KubernetesResource { @JsonProperty("parentRef") @@ -85,6 +86,16 @@ public void setParentRef(ParentReference parentRef) { this.parentRef = parentRef; } + @JsonIgnore + public IPAddressSpecBuilder edit() { + return new IPAddressSpecBuilder(this); + } + + @JsonIgnore + public IPAddressSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/ParentReference.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/ParentReference.java index 01a15d46951..26207359bfe 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/ParentReference.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/ParentReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ParentReference implements KubernetesResource +public class ParentReference implements Editable , KubernetesResource { @JsonProperty("group") @@ -141,6 +142,16 @@ public void setUid(String uid) { this.uid = uid; } + @JsonIgnore + public ParentReferenceBuilder edit() { + return new ParentReferenceBuilder(this); + } + + @JsonIgnore + public ParentReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/HTTPIngressPath.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/HTTPIngressPath.java index fb77fadd614..53906b3b1a7 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/HTTPIngressPath.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/HTTPIngressPath.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HTTPIngressPath implements KubernetesResource +public class HTTPIngressPath implements Editable , KubernetesResource { @JsonProperty("backend") @@ -113,6 +114,16 @@ public void setPathType(String pathType) { this.pathType = pathType; } + @JsonIgnore + public HTTPIngressPathBuilder edit() { + return new HTTPIngressPathBuilder(this); + } + + @JsonIgnore + public HTTPIngressPathBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/HTTPIngressRuleValue.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/HTTPIngressRuleValue.java index df44e6c3a32..bd4b0f36985 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/HTTPIngressRuleValue.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/HTTPIngressRuleValue.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HTTPIngressRuleValue implements KubernetesResource +public class HTTPIngressRuleValue implements Editable , KubernetesResource { @JsonProperty("paths") @@ -88,6 +89,16 @@ public void setPaths(List paths) { this.paths = paths; } + @JsonIgnore + public HTTPIngressRuleValueBuilder edit() { + return new HTTPIngressRuleValueBuilder(this); + } + + @JsonIgnore + public HTTPIngressRuleValueBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/Ingress.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/Ingress.java index 1e5f62d9e6f..703a1204f71 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/Ingress.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/Ingress.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1beta1") @Group("networking.k8s.io") @Generated("jsonschema2pojo") -public class Ingress implements HasMetadata, Namespaced +public class Ingress implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(IngressStatus status) { this.status = status; } + @JsonIgnore + public IngressBuilder edit() { + return new IngressBuilder(this); + } + + @JsonIgnore + public IngressBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressBackend.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressBackend.java index 6262ff19117..488427822ac 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressBackend.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressBackend.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressBackend implements KubernetesResource +public class IngressBackend implements Editable , KubernetesResource { @JsonProperty("resource") @@ -113,6 +114,16 @@ public void setServicePort(io.fabric8.kubernetes.api.model.IntOrString servicePo this.servicePort = servicePort; } + @JsonIgnore + public IngressBackendBuilder edit() { + return new IngressBackendBuilder(this); + } + + @JsonIgnore + public IngressBackendBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressClass.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressClass.java index fbf8dcb0afb..281329ebb98 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressClass.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressClass.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -63,7 +64,7 @@ @Version("v1beta1") @Group("networking.k8s.io") @Generated("jsonschema2pojo") -public class IngressClass implements HasMetadata +public class IngressClass implements Editable , HasMetadata { /** @@ -162,6 +163,16 @@ public void setSpec(IngressClassSpec spec) { this.spec = spec; } + @JsonIgnore + public IngressClassBuilder edit() { + return new IngressClassBuilder(this); + } + + @JsonIgnore + public IngressClassBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressClassList.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressClassList.java index e5fb8026ffc..59b4067740e 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressClassList.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressClassList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("networking.k8s.io") @Generated("jsonschema2pojo") -public class IngressClassList implements KubernetesResource, KubernetesResourceList +public class IngressClassList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public IngressClassListBuilder edit() { + return new IngressClassListBuilder(this); + } + + @JsonIgnore + public IngressClassListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressClassParametersReference.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressClassParametersReference.java index ff0aace25d3..a648cf91fbc 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressClassParametersReference.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressClassParametersReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressClassParametersReference implements KubernetesResource +public class IngressClassParametersReference implements Editable , KubernetesResource { @JsonProperty("apiGroup") @@ -140,6 +141,16 @@ public void setScope(String scope) { this.scope = scope; } + @JsonIgnore + public IngressClassParametersReferenceBuilder edit() { + return new IngressClassParametersReferenceBuilder(this); + } + + @JsonIgnore + public IngressClassParametersReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressClassSpec.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressClassSpec.java index ecc1e7c5c04..bffcf344ff4 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressClassSpec.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressClassSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressClassSpec implements KubernetesResource +public class IngressClassSpec implements Editable , KubernetesResource { @JsonProperty("controller") @@ -99,6 +100,16 @@ public void setParameters(IngressClassParametersReference parameters) { this.parameters = parameters; } + @JsonIgnore + public IngressClassSpecBuilder edit() { + return new IngressClassSpecBuilder(this); + } + + @JsonIgnore + public IngressClassSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressList.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressList.java index bddecff478f..0ec7130af42 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressList.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("networking.k8s.io") @Generated("jsonschema2pojo") -public class IngressList implements KubernetesResource, KubernetesResourceList +public class IngressList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public IngressListBuilder edit() { + return new IngressListBuilder(this); + } + + @JsonIgnore + public IngressListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressLoadBalancerIngress.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressLoadBalancerIngress.java index eeaf4b0156c..e2c74aa54b9 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressLoadBalancerIngress.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressLoadBalancerIngress.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressLoadBalancerIngress implements KubernetesResource +public class IngressLoadBalancerIngress implements Editable , KubernetesResource { @JsonProperty("hostname") @@ -116,6 +117,16 @@ public void setPorts(List ports) { this.ports = ports; } + @JsonIgnore + public IngressLoadBalancerIngressBuilder edit() { + return new IngressLoadBalancerIngressBuilder(this); + } + + @JsonIgnore + public IngressLoadBalancerIngressBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressLoadBalancerStatus.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressLoadBalancerStatus.java index f47486af0bd..af796a987bd 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressLoadBalancerStatus.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressLoadBalancerStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressLoadBalancerStatus implements KubernetesResource +public class IngressLoadBalancerStatus implements Editable , KubernetesResource { @JsonProperty("ingress") @@ -88,6 +89,16 @@ public void setIngress(List ingress) { this.ingress = ingress; } + @JsonIgnore + public IngressLoadBalancerStatusBuilder edit() { + return new IngressLoadBalancerStatusBuilder(this); + } + + @JsonIgnore + public IngressLoadBalancerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressPortStatus.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressPortStatus.java index c4c579ce1b6..15363cfecf5 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressPortStatus.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressPortStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressPortStatus implements KubernetesResource +public class IngressPortStatus implements Editable , KubernetesResource { @JsonProperty("error") @@ -113,6 +114,16 @@ public void setProtocol(String protocol) { this.protocol = protocol; } + @JsonIgnore + public IngressPortStatusBuilder edit() { + return new IngressPortStatusBuilder(this); + } + + @JsonIgnore + public IngressPortStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressRule.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressRule.java index 12be613c907..775a27c28ab 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressRule.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressRule.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressRule implements KubernetesResource +public class IngressRule implements Editable , KubernetesResource { @JsonProperty("host") @@ -99,6 +100,16 @@ public void setHttp(HTTPIngressRuleValue http) { this.http = http; } + @JsonIgnore + public IngressRuleBuilder edit() { + return new IngressRuleBuilder(this); + } + + @JsonIgnore + public IngressRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressSpec.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressSpec.java index cb642eb4754..c0fe04bf0b5 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressSpec.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressSpec implements KubernetesResource +public class IngressSpec implements Editable , KubernetesResource { @JsonProperty("backend") @@ -131,6 +132,16 @@ public void setTls(List tls) { this.tls = tls; } + @JsonIgnore + public IngressSpecBuilder edit() { + return new IngressSpecBuilder(this); + } + + @JsonIgnore + public IngressSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressStatus.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressStatus.java index 6ed77119549..723614746c8 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressStatus.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressStatus implements KubernetesResource +public class IngressStatus implements Editable , KubernetesResource { @JsonProperty("loadBalancer") @@ -85,6 +86,16 @@ public void setLoadBalancer(IngressLoadBalancerStatus loadBalancer) { this.loadBalancer = loadBalancer; } + @JsonIgnore + public IngressStatusBuilder edit() { + return new IngressStatusBuilder(this); + } + + @JsonIgnore + public IngressStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressTLS.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressTLS.java index c44ed43e134..ef05dec005a 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressTLS.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressTLS.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressTLS implements KubernetesResource +public class IngressTLS implements Editable , KubernetesResource { @JsonProperty("hosts") @@ -102,6 +103,16 @@ public void setSecretName(String secretName) { this.secretName = secretName; } + @JsonIgnore + public IngressTLSBuilder edit() { + return new IngressTLSBuilder(this); + } + + @JsonIgnore + public IngressTLSBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/main/resources/schema/kube-schema.json b/kubernetes-model-generator/kubernetes-model-networking/src/main/resources/schema/kube-schema.json index f1f8a3dd09a..5a773233ff2 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/main/resources/schema/kube-schema.json +++ b/kubernetes-model-generator/kubernetes-model-networking/src/main/resources/schema/kube-schema.json @@ -85,36 +85,6 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "kubernetes_apimachinery_Condition": { - "type": "object", - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/kubernetes_apimachinery_Time", - "existingJavaType": "String" - }, - "message": { - "type": "string" - }, - "observedGeneration": { - "type": "integer", - "existingJavaType": "Long" - }, - "reason": { - "type": "string" - }, - "status": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "additionalProperties": true, - "existingJavaType": "io.fabric8.kubernetes.api.model.Condition", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, "kubernetes_apimachinery_CreateOptions": { "type": "object", "properties": { @@ -1400,10 +1370,6 @@ "spec": { "$ref": "#/definitions/kubernetes_networking_v1_NetworkPolicySpec", "existingJavaType": "io.fabric8.kubernetes.api.model.networking.v1.NetworkPolicySpec" - }, - "status": { - "$ref": "#/definitions/kubernetes_networking_v1_NetworkPolicyStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.networking.v1.NetworkPolicyStatus" } }, "additionalProperties": true, @@ -1576,24 +1542,6 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "kubernetes_networking_v1_NetworkPolicyStatus": { - "type": "object", - "properties": { - "conditions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/kubernetes_apimachinery_Condition", - "existingJavaType": "io.fabric8.kubernetes.api.model.Condition" - } - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.networking.v1.NetworkPolicyStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, "kubernetes_networking_v1_ServiceBackendPort": { "type": "object", "properties": { diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/kubernetes-model-networking/src/main/resources/schema/validation-schema.json index c346959d29d..503e1df6fde 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/kubernetes-model-networking/src/main/resources/schema/validation-schema.json @@ -85,36 +85,6 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "kubernetes_apimachinery_Condition": { - "type": "object", - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/kubernetes_apimachinery_Time", - "existingJavaType": "String" - }, - "message": { - "type": "string" - }, - "observedGeneration": { - "type": "integer", - "existingJavaType": "Long" - }, - "reason": { - "type": "string" - }, - "status": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "additionalProperties": true, - "existingJavaType": "io.fabric8.kubernetes.api.model.Condition", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, "kubernetes_apimachinery_CreateOptions": { "type": "object", "properties": { @@ -1400,10 +1370,6 @@ "spec": { "$ref": "#/definitions/kubernetes_networking_v1_NetworkPolicySpec", "existingJavaType": "io.fabric8.kubernetes.api.model.networking.v1.NetworkPolicySpec" - }, - "status": { - "$ref": "#/definitions/kubernetes_networking_v1_NetworkPolicyStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.networking.v1.NetworkPolicyStatus" } }, "additionalProperties": true, @@ -1576,24 +1542,6 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "kubernetes_networking_v1_NetworkPolicyStatus": { - "type": "object", - "properties": { - "conditions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/kubernetes_apimachinery_Condition", - "existingJavaType": "io.fabric8.kubernetes.api.model.Condition" - } - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.networking.v1.NetworkPolicyStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, "kubernetes_networking_v1_ServiceBackendPort": { "type": "object", "properties": { @@ -2436,31 +2384,6 @@ }, "additionalProperties": true }, - "condition": { - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/kubernetes_apimachinery_Time", - "existingJavaType": "String" - }, - "message": { - "type": "string" - }, - "observedGeneration": { - "type": "integer", - "existingJavaType": "Long" - }, - "reason": { - "type": "string" - }, - "status": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "additionalProperties": true - }, "createoptions": { "properties": { "apiVersion": { @@ -2620,7 +2543,7 @@ "properties": { "apiVersion": { "type": "string", - "default": "networking.k8s.io/v1", + "default": "networking.k8s.io/v1beta1", "required": true }, "kind": { @@ -2633,12 +2556,12 @@ "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" }, "spec": { - "$ref": "#/definitions/kubernetes_networking_v1_IngressSpec", - "existingJavaType": "io.fabric8.kubernetes.api.model.networking.v1.IngressSpec" + "$ref": "#/definitions/kubernetes_networking_v1beta1_IngressSpec", + "existingJavaType": "io.fabric8.kubernetes.api.model.networking.v1beta1.IngressSpec" }, "status": { - "$ref": "#/definitions/kubernetes_networking_v1_IngressStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.networking.v1.IngressStatus" + "$ref": "#/definitions/kubernetes_networking_v1beta1_IngressStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.networking.v1beta1.IngressStatus" } }, "additionalProperties": true @@ -2649,9 +2572,12 @@ "$ref": "#/definitions/kubernetes_core_TypedLocalObjectReference", "existingJavaType": "io.fabric8.kubernetes.api.model.TypedLocalObjectReference" }, - "service": { - "$ref": "#/definitions/kubernetes_networking_v1_IngressServiceBackend", - "existingJavaType": "io.fabric8.kubernetes.api.model.networking.v1.IngressServiceBackend" + "serviceName": { + "type": "string" + }, + "servicePort": { + "$ref": "#/definitions/kubernetes_apimachinery_pkg_util_intstr_IntOrString", + "existingJavaType": "io.fabric8.kubernetes.api.model.IntOrString" } }, "additionalProperties": true @@ -2660,7 +2586,7 @@ "properties": { "apiVersion": { "type": "string", - "default": "networking.k8s.io/v1", + "default": "networking.k8s.io/v1beta1", "required": true }, "kind": { @@ -2673,8 +2599,8 @@ "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" }, "spec": { - "$ref": "#/definitions/kubernetes_networking_v1_IngressClassSpec", - "existingJavaType": "io.fabric8.kubernetes.api.model.networking.v1.IngressClassSpec" + "$ref": "#/definitions/kubernetes_networking_v1beta1_IngressClassSpec", + "existingJavaType": "io.fabric8.kubernetes.api.model.networking.v1beta1.IngressClassSpec" } }, "additionalProperties": true @@ -2731,8 +2657,8 @@ "type": "string" }, "parameters": { - "$ref": "#/definitions/kubernetes_networking_v1_IngressClassParametersReference", - "existingJavaType": "io.fabric8.kubernetes.api.model.networking.v1.IngressClassParametersReference" + "$ref": "#/definitions/kubernetes_networking_v1beta1_IngressClassParametersReference", + "existingJavaType": "io.fabric8.kubernetes.api.model.networking.v1beta1.IngressClassParametersReference" } }, "additionalProperties": true @@ -2788,8 +2714,8 @@ "type": "array", "javaOmitEmpty": true, "items": { - "$ref": "#/definitions/kubernetes_networking_v1_IngressLoadBalancerIngress", - "existingJavaType": "io.fabric8.kubernetes.api.model.networking.v1.IngressLoadBalancerIngress" + "$ref": "#/definitions/kubernetes_networking_v1beta1_IngressLoadBalancerIngress", + "existingJavaType": "io.fabric8.kubernetes.api.model.networking.v1beta1.IngressLoadBalancerIngress" } } }, @@ -2815,8 +2741,8 @@ "type": "string" }, "http": { - "$ref": "#/definitions/kubernetes_networking_v1beta1_HTTPIngressRuleValue", - "existingJavaType": "io.fabric8.kubernetes.api.model.networking.v1beta1.HTTPIngressRuleValue" + "$ref": "#/definitions/kubernetes_networking_v1_HTTPIngressRuleValue", + "existingJavaType": "io.fabric8.kubernetes.api.model.networking.v1.HTTPIngressRuleValue" } }, "additionalProperties": true @@ -2824,8 +2750,8 @@ "ingressrulevalue": { "properties": { "http": { - "$ref": "#/definitions/kubernetes_networking_v1beta1_HTTPIngressRuleValue", - "existingJavaType": "io.fabric8.kubernetes.api.model.networking.v1beta1.HTTPIngressRuleValue" + "$ref": "#/definitions/kubernetes_networking_v1_HTTPIngressRuleValue", + "existingJavaType": "io.fabric8.kubernetes.api.model.networking.v1.HTTPIngressRuleValue" } }, "additionalProperties": true @@ -3158,10 +3084,6 @@ "spec": { "$ref": "#/definitions/kubernetes_networking_v1_NetworkPolicySpec", "existingJavaType": "io.fabric8.kubernetes.api.model.networking.v1.NetworkPolicySpec" - }, - "status": { - "$ref": "#/definitions/kubernetes_networking_v1_NetworkPolicyStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.networking.v1.NetworkPolicyStatus" } }, "additionalProperties": true @@ -3298,19 +3220,6 @@ }, "additionalProperties": true }, - "networkpolicystatus": { - "properties": { - "conditions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/kubernetes_apimachinery_Condition", - "existingJavaType": "io.fabric8.kubernetes.api.model.Condition" - } - } - }, - "additionalProperties": true - }, "nodeselector": { "properties": { "nodeSelectorTerms": { diff --git a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index fcfbe092662..489891a4ac3 100644 --- a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -65,7 +66,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("BaseKubernetesList") private KubernetesList baseKubernetesList; @@ -250,6 +252,16 @@ public void setV1beta1RuntimeClassList(io.fabric8.kubernetes.api.model.node.v1be this.v1beta1RuntimeClassList = v1beta1RuntimeClassList; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index 4361a969efc..dc8bb2985be 100644 --- a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -65,7 +66,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("BaseKubernetesList") private KubernetesList baseKubernetesList; @@ -250,6 +252,16 @@ public void setV1beta1RuntimeClassList(io.fabric8.kubernetes.api.model.node.v1be this.v1beta1RuntimeClassList = v1beta1RuntimeClassList; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1/Overhead.java b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1/Overhead.java index 7457fbb5260..9cbe614d6bc 100644 --- a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1/Overhead.java +++ b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1/Overhead.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Overhead implements KubernetesResource +public class Overhead implements Editable , KubernetesResource { @JsonProperty("podFixed") @@ -87,6 +88,16 @@ public void setPodFixed(Map podFixed) { this.podFixed = podFixed; } + @JsonIgnore + public OverheadBuilder edit() { + return new OverheadBuilder(this); + } + + @JsonIgnore + public OverheadBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1/RuntimeClass.java b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1/RuntimeClass.java index 4008d180d23..69257a7ff41 100644 --- a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1/RuntimeClass.java +++ b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1/RuntimeClass.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("node.k8s.io") @Generated("jsonschema2pojo") -public class RuntimeClass implements HasMetadata +public class RuntimeClass implements Editable , HasMetadata { /** @@ -190,6 +191,16 @@ public void setScheduling(Scheduling scheduling) { this.scheduling = scheduling; } + @JsonIgnore + public RuntimeClassBuilder edit() { + return new RuntimeClassBuilder(this); + } + + @JsonIgnore + public RuntimeClassBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1/RuntimeClassList.java b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1/RuntimeClassList.java index 455d9940f69..46099852b78 100644 --- a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1/RuntimeClassList.java +++ b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1/RuntimeClassList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("node.k8s.io") @Generated("jsonschema2pojo") -public class RuntimeClassList implements KubernetesResource, KubernetesResourceList +public class RuntimeClassList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public RuntimeClassListBuilder edit() { + return new RuntimeClassListBuilder(this); + } + + @JsonIgnore + public RuntimeClassListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1/Scheduling.java b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1/Scheduling.java index f7b141f92f1..df352a5f319 100644 --- a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1/Scheduling.java +++ b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1/Scheduling.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Scheduling implements KubernetesResource +public class Scheduling implements Editable , KubernetesResource { @JsonProperty("nodeSelector") @@ -104,6 +105,16 @@ public void setTolerations(List tolerations) { this.tolerations = tolerations; } + @JsonIgnore + public SchedulingBuilder edit() { + return new SchedulingBuilder(this); + } + + @JsonIgnore + public SchedulingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1alpha1/Overhead.java b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1alpha1/Overhead.java index 628fb9f3487..d47c05bfd67 100644 --- a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1alpha1/Overhead.java +++ b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1alpha1/Overhead.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Overhead implements KubernetesResource +public class Overhead implements Editable , KubernetesResource { @JsonProperty("podFixed") @@ -87,6 +88,16 @@ public void setPodFixed(Map podFixed) { this.podFixed = podFixed; } + @JsonIgnore + public OverheadBuilder edit() { + return new OverheadBuilder(this); + } + + @JsonIgnore + public OverheadBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1alpha1/RuntimeClass.java b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1alpha1/RuntimeClass.java index 5d05294f0f8..7187cb00b7f 100644 --- a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1alpha1/RuntimeClass.java +++ b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1alpha1/RuntimeClass.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -63,7 +64,7 @@ @Version("v1alpha1") @Group("node.k8s.io") @Generated("jsonschema2pojo") -public class RuntimeClass implements HasMetadata +public class RuntimeClass implements Editable , HasMetadata { /** @@ -162,6 +163,16 @@ public void setSpec(RuntimeClassSpec spec) { this.spec = spec; } + @JsonIgnore + public RuntimeClassBuilder edit() { + return new RuntimeClassBuilder(this); + } + + @JsonIgnore + public RuntimeClassBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1alpha1/RuntimeClassList.java b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1alpha1/RuntimeClassList.java index 8407e09e458..fee7b9c26df 100644 --- a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1alpha1/RuntimeClassList.java +++ b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1alpha1/RuntimeClassList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha1") @Group("node.k8s.io") @Generated("jsonschema2pojo") -public class RuntimeClassList implements KubernetesResource, KubernetesResourceList +public class RuntimeClassList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public RuntimeClassListBuilder edit() { + return new RuntimeClassListBuilder(this); + } + + @JsonIgnore + public RuntimeClassListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1alpha1/RuntimeClassSpec.java b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1alpha1/RuntimeClassSpec.java index 129dd86d1d4..f9efdfc038f 100644 --- a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1alpha1/RuntimeClassSpec.java +++ b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1alpha1/RuntimeClassSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RuntimeClassSpec implements KubernetesResource +public class RuntimeClassSpec implements Editable , KubernetesResource { @JsonProperty("overhead") @@ -113,6 +114,16 @@ public void setScheduling(Scheduling scheduling) { this.scheduling = scheduling; } + @JsonIgnore + public RuntimeClassSpecBuilder edit() { + return new RuntimeClassSpecBuilder(this); + } + + @JsonIgnore + public RuntimeClassSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1alpha1/Scheduling.java b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1alpha1/Scheduling.java index db061550094..b30254d986b 100644 --- a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1alpha1/Scheduling.java +++ b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1alpha1/Scheduling.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Scheduling implements KubernetesResource +public class Scheduling implements Editable , KubernetesResource { @JsonProperty("nodeSelector") @@ -104,6 +105,16 @@ public void setTolerations(List tolerations) { this.tolerations = tolerations; } + @JsonIgnore + public SchedulingBuilder edit() { + return new SchedulingBuilder(this); + } + + @JsonIgnore + public SchedulingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1beta1/Overhead.java b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1beta1/Overhead.java index 68b25988473..959671796f7 100644 --- a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1beta1/Overhead.java +++ b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1beta1/Overhead.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Overhead implements KubernetesResource +public class Overhead implements Editable , KubernetesResource { @JsonProperty("podFixed") @@ -87,6 +88,16 @@ public void setPodFixed(Map podFixed) { this.podFixed = podFixed; } + @JsonIgnore + public OverheadBuilder edit() { + return new OverheadBuilder(this); + } + + @JsonIgnore + public OverheadBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1beta1/RuntimeClass.java b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1beta1/RuntimeClass.java index 0ebaeb55273..af83c5fdf34 100644 --- a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1beta1/RuntimeClass.java +++ b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1beta1/RuntimeClass.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1beta1") @Group("node.k8s.io") @Generated("jsonschema2pojo") -public class RuntimeClass implements HasMetadata +public class RuntimeClass implements Editable , HasMetadata { /** @@ -190,6 +191,16 @@ public void setScheduling(Scheduling scheduling) { this.scheduling = scheduling; } + @JsonIgnore + public RuntimeClassBuilder edit() { + return new RuntimeClassBuilder(this); + } + + @JsonIgnore + public RuntimeClassBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1beta1/RuntimeClassList.java b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1beta1/RuntimeClassList.java index bb5a142832e..2da7de56b4a 100644 --- a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1beta1/RuntimeClassList.java +++ b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1beta1/RuntimeClassList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("node.k8s.io") @Generated("jsonschema2pojo") -public class RuntimeClassList implements KubernetesResource, KubernetesResourceList +public class RuntimeClassList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public RuntimeClassListBuilder edit() { + return new RuntimeClassListBuilder(this); + } + + @JsonIgnore + public RuntimeClassListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1beta1/Scheduling.java b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1beta1/Scheduling.java index b89b1f6f8ba..881e4ef8587 100644 --- a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1beta1/Scheduling.java +++ b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1beta1/Scheduling.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Scheduling implements KubernetesResource +public class Scheduling implements Editable , KubernetesResource { @JsonProperty("nodeSelector") @@ -104,6 +105,16 @@ public void setTolerations(List tolerations) { this.tolerations = tolerations; } + @JsonIgnore + public SchedulingBuilder edit() { + return new SchedulingBuilder(this); + } + + @JsonIgnore + public SchedulingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-node/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/kubernetes-model-node/src/main/resources/schema/validation-schema.json index 6d0a562243c..e346b7da3ba 100644 --- a/kubernetes-model-generator/kubernetes-model-node/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/kubernetes-model-node/src/main/resources/schema/validation-schema.json @@ -1133,14 +1133,14 @@ "properties": { "apiVersion": { "type": "string", - "default": "node.k8s.io/v1beta1", + "default": "node.k8s.io/v1alpha1", "required": true }, "items": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_node_v1beta1_RuntimeClass", - "existingJavaType": "io.fabric8.kubernetes.api.model.node.v1beta1.RuntimeClass" + "$ref": "#/definitions/kubernetes_node_v1alpha_RuntimeClass", + "existingJavaType": "io.fabric8.kubernetes.api.model.node.v1alpha1.RuntimeClass" } }, "kind": { diff --git a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index daab88c702d..48e7abd2e24 100644 --- a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -82,7 +83,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -449,6 +451,16 @@ public void setV1PodDisruptionBudgetList(io.fabric8.kubernetes.api.model.policy. this.v1PodDisruptionBudgetList = v1PodDisruptionBudgetList; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index 8b93e36900a..151e51f226e 100644 --- a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -82,7 +83,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -449,6 +451,16 @@ public void setV1PodDisruptionBudgetList(io.fabric8.kubernetes.api.model.policy. this.v1PodDisruptionBudgetList = v1PodDisruptionBudgetList; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1/Eviction.java b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1/Eviction.java index 1c0075c825e..43ed0637a55 100644 --- a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1/Eviction.java +++ b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1/Eviction.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.DeleteOptions; import io.fabric8.kubernetes.api.model.HasMetadata; @@ -65,7 +66,7 @@ @Version("v1") @Group("policy") @Generated("jsonschema2pojo") -public class Eviction implements HasMetadata, Namespaced +public class Eviction implements Editable , HasMetadata, Namespaced { /** @@ -164,6 +165,16 @@ public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public EvictionBuilder edit() { + return new EvictionBuilder(this); + } + + @JsonIgnore + public EvictionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1/PodDisruptionBudget.java b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1/PodDisruptionBudget.java index 86e318607a7..7efa649f41c 100644 --- a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1/PodDisruptionBudget.java +++ b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1/PodDisruptionBudget.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("policy") @Generated("jsonschema2pojo") -public class PodDisruptionBudget implements HasMetadata, Namespaced +public class PodDisruptionBudget implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(PodDisruptionBudgetStatus status) { this.status = status; } + @JsonIgnore + public PodDisruptionBudgetBuilder edit() { + return new PodDisruptionBudgetBuilder(this); + } + + @JsonIgnore + public PodDisruptionBudgetBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1/PodDisruptionBudgetList.java b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1/PodDisruptionBudgetList.java index b63643a33e2..da1cfce83a1 100644 --- a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1/PodDisruptionBudgetList.java +++ b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1/PodDisruptionBudgetList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("policy") @Generated("jsonschema2pojo") -public class PodDisruptionBudgetList implements KubernetesResource, KubernetesResourceList +public class PodDisruptionBudgetList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PodDisruptionBudgetListBuilder edit() { + return new PodDisruptionBudgetListBuilder(this); + } + + @JsonIgnore + public PodDisruptionBudgetListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1/PodDisruptionBudgetSpec.java b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1/PodDisruptionBudgetSpec.java index 54e7e80f2cd..2592a681375 100644 --- a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1/PodDisruptionBudgetSpec.java +++ b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1/PodDisruptionBudgetSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LocalObjectReference; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PodDisruptionBudgetSpec implements KubernetesResource +public class PodDisruptionBudgetSpec implements Editable , KubernetesResource { @JsonProperty("maxUnavailable") @@ -125,6 +126,16 @@ public void setUnhealthyPodEvictionPolicy(String unhealthyPodEvictionPolicy) { this.unhealthyPodEvictionPolicy = unhealthyPodEvictionPolicy; } + @JsonIgnore + public PodDisruptionBudgetSpecBuilder edit() { + return new PodDisruptionBudgetSpecBuilder(this); + } + + @JsonIgnore + public PodDisruptionBudgetSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1/PodDisruptionBudgetStatus.java b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1/PodDisruptionBudgetStatus.java index 7fac25185f8..269feaf9a8e 100644 --- a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1/PodDisruptionBudgetStatus.java +++ b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1/PodDisruptionBudgetStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PodDisruptionBudgetStatus implements KubernetesResource +public class PodDisruptionBudgetStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -174,6 +175,16 @@ public void setObservedGeneration(Long observedGeneration) { this.observedGeneration = observedGeneration; } + @JsonIgnore + public PodDisruptionBudgetStatusBuilder edit() { + return new PodDisruptionBudgetStatusBuilder(this); + } + + @JsonIgnore + public PodDisruptionBudgetStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/AllowedCSIDriver.java b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/AllowedCSIDriver.java index cc01b509f53..d7bd93749aa 100644 --- a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/AllowedCSIDriver.java +++ b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/AllowedCSIDriver.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AllowedCSIDriver implements KubernetesResource +public class AllowedCSIDriver implements Editable , KubernetesResource { @JsonProperty("name") @@ -85,6 +86,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public AllowedCSIDriverBuilder edit() { + return new AllowedCSIDriverBuilder(this); + } + + @JsonIgnore + public AllowedCSIDriverBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/AllowedFlexVolume.java b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/AllowedFlexVolume.java index 96216942d88..66cf6c5c760 100644 --- a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/AllowedFlexVolume.java +++ b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/AllowedFlexVolume.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AllowedFlexVolume implements KubernetesResource +public class AllowedFlexVolume implements Editable , KubernetesResource { @JsonProperty("driver") @@ -85,6 +86,16 @@ public void setDriver(String driver) { this.driver = driver; } + @JsonIgnore + public AllowedFlexVolumeBuilder edit() { + return new AllowedFlexVolumeBuilder(this); + } + + @JsonIgnore + public AllowedFlexVolumeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/AllowedHostPath.java b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/AllowedHostPath.java index d46f3cd6210..953008c7fe9 100644 --- a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/AllowedHostPath.java +++ b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/AllowedHostPath.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AllowedHostPath implements KubernetesResource +public class AllowedHostPath implements Editable , KubernetesResource { @JsonProperty("pathPrefix") @@ -99,6 +100,16 @@ public void setReadOnly(Boolean readOnly) { this.readOnly = readOnly; } + @JsonIgnore + public AllowedHostPathBuilder edit() { + return new AllowedHostPathBuilder(this); + } + + @JsonIgnore + public AllowedHostPathBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/Eviction.java b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/Eviction.java index 3fda3c57c2d..dba69be3551 100644 --- a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/Eviction.java +++ b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/Eviction.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.DeleteOptions; import io.fabric8.kubernetes.api.model.HasMetadata; @@ -65,7 +66,7 @@ @Version("v1beta1") @Group("policy") @Generated("jsonschema2pojo") -public class Eviction implements HasMetadata, Namespaced +public class Eviction implements Editable , HasMetadata, Namespaced { /** @@ -164,6 +165,16 @@ public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public EvictionBuilder edit() { + return new EvictionBuilder(this); + } + + @JsonIgnore + public EvictionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/FSGroupStrategyOptions.java b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/FSGroupStrategyOptions.java index 5208f3144d8..0835ac46510 100644 --- a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/FSGroupStrategyOptions.java +++ b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/FSGroupStrategyOptions.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class FSGroupStrategyOptions implements KubernetesResource +public class FSGroupStrategyOptions implements Editable , KubernetesResource { @JsonProperty("ranges") @@ -102,6 +103,16 @@ public void setRule(String rule) { this.rule = rule; } + @JsonIgnore + public FSGroupStrategyOptionsBuilder edit() { + return new FSGroupStrategyOptionsBuilder(this); + } + + @JsonIgnore + public FSGroupStrategyOptionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/HostPortRange.java b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/HostPortRange.java index 94ea6b2d594..b2094e3d0a6 100644 --- a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/HostPortRange.java +++ b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/HostPortRange.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HostPortRange implements KubernetesResource +public class HostPortRange implements Editable , KubernetesResource { @JsonProperty("max") @@ -99,6 +100,16 @@ public void setMin(Integer min) { this.min = min; } + @JsonIgnore + public HostPortRangeBuilder edit() { + return new HostPortRangeBuilder(this); + } + + @JsonIgnore + public HostPortRangeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/IDRange.java b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/IDRange.java index f447a5efc8b..4954eb9cfad 100644 --- a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/IDRange.java +++ b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/IDRange.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IDRange implements KubernetesResource +public class IDRange implements Editable , KubernetesResource { @JsonProperty("max") @@ -99,6 +100,16 @@ public void setMin(Long min) { this.min = min; } + @JsonIgnore + public IDRangeBuilder edit() { + return new IDRangeBuilder(this); + } + + @JsonIgnore + public IDRangeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodDisruptionBudget.java b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodDisruptionBudget.java index 42bfe809b03..2bdda271a8b 100644 --- a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodDisruptionBudget.java +++ b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodDisruptionBudget.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1beta1") @Group("policy") @Generated("jsonschema2pojo") -public class PodDisruptionBudget implements HasMetadata, Namespaced +public class PodDisruptionBudget implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(PodDisruptionBudgetStatus status) { this.status = status; } + @JsonIgnore + public PodDisruptionBudgetBuilder edit() { + return new PodDisruptionBudgetBuilder(this); + } + + @JsonIgnore + public PodDisruptionBudgetBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodDisruptionBudgetList.java b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodDisruptionBudgetList.java index 3cdce298b85..8936fab9837 100644 --- a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodDisruptionBudgetList.java +++ b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodDisruptionBudgetList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("policy") @Generated("jsonschema2pojo") -public class PodDisruptionBudgetList implements KubernetesResource, KubernetesResourceList +public class PodDisruptionBudgetList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PodDisruptionBudgetListBuilder edit() { + return new PodDisruptionBudgetListBuilder(this); + } + + @JsonIgnore + public PodDisruptionBudgetListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodDisruptionBudgetSpec.java b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodDisruptionBudgetSpec.java index a271e2afa8d..1d1ee40c5d9 100644 --- a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodDisruptionBudgetSpec.java +++ b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodDisruptionBudgetSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LocalObjectReference; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PodDisruptionBudgetSpec implements KubernetesResource +public class PodDisruptionBudgetSpec implements Editable , KubernetesResource { @JsonProperty("maxUnavailable") @@ -125,6 +126,16 @@ public void setUnhealthyPodEvictionPolicy(String unhealthyPodEvictionPolicy) { this.unhealthyPodEvictionPolicy = unhealthyPodEvictionPolicy; } + @JsonIgnore + public PodDisruptionBudgetSpecBuilder edit() { + return new PodDisruptionBudgetSpecBuilder(this); + } + + @JsonIgnore + public PodDisruptionBudgetSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodDisruptionBudgetStatus.java b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodDisruptionBudgetStatus.java index 3779be6c059..065610176de 100644 --- a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodDisruptionBudgetStatus.java +++ b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodDisruptionBudgetStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PodDisruptionBudgetStatus implements KubernetesResource +public class PodDisruptionBudgetStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -174,6 +175,16 @@ public void setObservedGeneration(Long observedGeneration) { this.observedGeneration = observedGeneration; } + @JsonIgnore + public PodDisruptionBudgetStatusBuilder edit() { + return new PodDisruptionBudgetStatusBuilder(this); + } + + @JsonIgnore + public PodDisruptionBudgetStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodSecurityPolicy.java b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodSecurityPolicy.java index 1620d7c878a..cb26d374056 100644 --- a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodSecurityPolicy.java +++ b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodSecurityPolicy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -63,7 +64,7 @@ @Version("v1beta1") @Group("policy") @Generated("jsonschema2pojo") -public class PodSecurityPolicy implements HasMetadata +public class PodSecurityPolicy implements Editable , HasMetadata { /** @@ -162,6 +163,16 @@ public void setSpec(PodSecurityPolicySpec spec) { this.spec = spec; } + @JsonIgnore + public PodSecurityPolicyBuilder edit() { + return new PodSecurityPolicyBuilder(this); + } + + @JsonIgnore + public PodSecurityPolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodSecurityPolicyList.java b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodSecurityPolicyList.java index e9cd8b22407..97d03c72ce9 100644 --- a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodSecurityPolicyList.java +++ b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodSecurityPolicyList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("policy") @Generated("jsonschema2pojo") -public class PodSecurityPolicyList implements KubernetesResource, KubernetesResourceList +public class PodSecurityPolicyList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PodSecurityPolicyListBuilder edit() { + return new PodSecurityPolicyListBuilder(this); + } + + @JsonIgnore + public PodSecurityPolicyListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodSecurityPolicySpec.java b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodSecurityPolicySpec.java index 07f951bcf25..9d4b46093fa 100644 --- a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodSecurityPolicySpec.java +++ b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodSecurityPolicySpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -80,7 +81,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PodSecurityPolicySpec implements KubernetesResource +public class PodSecurityPolicySpec implements Editable , KubernetesResource { @JsonProperty("allowPrivilegeEscalation") @@ -420,6 +421,16 @@ public void setVolumes(List volumes) { this.volumes = volumes; } + @JsonIgnore + public PodSecurityPolicySpecBuilder edit() { + return new PodSecurityPolicySpecBuilder(this); + } + + @JsonIgnore + public PodSecurityPolicySpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/RunAsGroupStrategyOptions.java b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/RunAsGroupStrategyOptions.java index f1cf985e5c0..af72dcc7c58 100644 --- a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/RunAsGroupStrategyOptions.java +++ b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/RunAsGroupStrategyOptions.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RunAsGroupStrategyOptions implements KubernetesResource +public class RunAsGroupStrategyOptions implements Editable , KubernetesResource { @JsonProperty("ranges") @@ -102,6 +103,16 @@ public void setRule(String rule) { this.rule = rule; } + @JsonIgnore + public RunAsGroupStrategyOptionsBuilder edit() { + return new RunAsGroupStrategyOptionsBuilder(this); + } + + @JsonIgnore + public RunAsGroupStrategyOptionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/RunAsUserStrategyOptions.java b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/RunAsUserStrategyOptions.java index d2432adbdd2..84066ec809d 100644 --- a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/RunAsUserStrategyOptions.java +++ b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/RunAsUserStrategyOptions.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RunAsUserStrategyOptions implements KubernetesResource +public class RunAsUserStrategyOptions implements Editable , KubernetesResource { @JsonProperty("ranges") @@ -102,6 +103,16 @@ public void setRule(String rule) { this.rule = rule; } + @JsonIgnore + public RunAsUserStrategyOptionsBuilder edit() { + return new RunAsUserStrategyOptionsBuilder(this); + } + + @JsonIgnore + public RunAsUserStrategyOptionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/RuntimeClassStrategyOptions.java b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/RuntimeClassStrategyOptions.java index cabcf338d1d..f834323e217 100644 --- a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/RuntimeClassStrategyOptions.java +++ b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/RuntimeClassStrategyOptions.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RuntimeClassStrategyOptions implements KubernetesResource +public class RuntimeClassStrategyOptions implements Editable , KubernetesResource { @JsonProperty("allowedRuntimeClassNames") @@ -102,6 +103,16 @@ public void setDefaultRuntimeClassName(String defaultRuntimeClassName) { this.defaultRuntimeClassName = defaultRuntimeClassName; } + @JsonIgnore + public RuntimeClassStrategyOptionsBuilder edit() { + return new RuntimeClassStrategyOptionsBuilder(this); + } + + @JsonIgnore + public RuntimeClassStrategyOptionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/SELinuxStrategyOptions.java b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/SELinuxStrategyOptions.java index cd4a510c85e..d567f9df3d8 100644 --- a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/SELinuxStrategyOptions.java +++ b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/SELinuxStrategyOptions.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SELinuxStrategyOptions implements KubernetesResource +public class SELinuxStrategyOptions implements Editable , KubernetesResource { @JsonProperty("rule") @@ -100,6 +101,16 @@ public void setSeLinuxOptions(SELinuxOptions seLinuxOptions) { this.seLinuxOptions = seLinuxOptions; } + @JsonIgnore + public SELinuxStrategyOptionsBuilder edit() { + return new SELinuxStrategyOptionsBuilder(this); + } + + @JsonIgnore + public SELinuxStrategyOptionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/SupplementalGroupsStrategyOptions.java b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/SupplementalGroupsStrategyOptions.java index 8266d1f00bd..cc2af5cc959 100644 --- a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/SupplementalGroupsStrategyOptions.java +++ b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/SupplementalGroupsStrategyOptions.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SupplementalGroupsStrategyOptions implements KubernetesResource +public class SupplementalGroupsStrategyOptions implements Editable , KubernetesResource { @JsonProperty("ranges") @@ -102,6 +103,16 @@ public void setRule(String rule) { this.rule = rule; } + @JsonIgnore + public SupplementalGroupsStrategyOptionsBuilder edit() { + return new SupplementalGroupsStrategyOptionsBuilder(this); + } + + @JsonIgnore + public SupplementalGroupsStrategyOptionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index 79ca82d8270..201217c2c2b 100644 --- a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -71,7 +72,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("AggregationRule") private AggregationRule aggregationRule; @@ -204,6 +206,16 @@ public void setRoleList(RoleList roleList) { this.roleList = roleList; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index 26814e53bcc..9a4249a88b9 100644 --- a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -71,7 +72,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("AggregationRule") private AggregationRule aggregationRule; @@ -204,6 +206,16 @@ public void setRoleList(RoleList roleList) { this.roleList = roleList; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/AggregationRule.java b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/AggregationRule.java index c712340b817..319a37caf97 100644 --- a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/AggregationRule.java +++ b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/AggregationRule.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AggregationRule implements KubernetesResource +public class AggregationRule implements Editable , KubernetesResource { @JsonProperty("clusterRoleSelectors") @@ -87,6 +88,16 @@ public void setClusterRoleSelectors(List getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/ClusterRole.java b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/ClusterRole.java index 48f65f9f954..c96293cc7e6 100644 --- a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/ClusterRole.java +++ b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/ClusterRole.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -66,7 +67,7 @@ @Version("v1") @Group("rbac.authorization.k8s.io") @Generated("jsonschema2pojo") -public class ClusterRole implements HasMetadata +public class ClusterRole implements Editable , HasMetadata { @JsonProperty("aggregationRule") @@ -179,6 +180,16 @@ public void setRules(List rules) { this.rules = rules; } + @JsonIgnore + public ClusterRoleBuilder edit() { + return new ClusterRoleBuilder(this); + } + + @JsonIgnore + public ClusterRoleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/ClusterRoleBinding.java b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/ClusterRoleBinding.java index 305143bcd58..0c2f5b4328f 100644 --- a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/ClusterRoleBinding.java +++ b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/ClusterRoleBinding.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -66,7 +67,7 @@ @Version("v1") @Group("rbac.authorization.k8s.io") @Generated("jsonschema2pojo") -public class ClusterRoleBinding implements HasMetadata +public class ClusterRoleBinding implements Editable , HasMetadata { /** @@ -179,6 +180,16 @@ public void setSubjects(List subjects) { this.subjects = subjects; } + @JsonIgnore + public ClusterRoleBindingBuilder edit() { + return new ClusterRoleBindingBuilder(this); + } + + @JsonIgnore + public ClusterRoleBindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/ClusterRoleBindingList.java b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/ClusterRoleBindingList.java index 059943c29b0..1cbaa90abf3 100644 --- a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/ClusterRoleBindingList.java +++ b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/ClusterRoleBindingList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("rbac.authorization.k8s.io") @Generated("jsonschema2pojo") -public class ClusterRoleBindingList implements KubernetesResource, KubernetesResourceList +public class ClusterRoleBindingList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterRoleBindingListBuilder edit() { + return new ClusterRoleBindingListBuilder(this); + } + + @JsonIgnore + public ClusterRoleBindingListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/ClusterRoleList.java b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/ClusterRoleList.java index fc1c72e48ad..8e5150305e2 100644 --- a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/ClusterRoleList.java +++ b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/ClusterRoleList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("rbac.authorization.k8s.io") @Generated("jsonschema2pojo") -public class ClusterRoleList implements KubernetesResource, KubernetesResourceList +public class ClusterRoleList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterRoleListBuilder edit() { + return new ClusterRoleListBuilder(this); + } + + @JsonIgnore + public ClusterRoleListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/PolicyRule.java b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/PolicyRule.java index b7638e8d9e1..8189ed3e453 100644 --- a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/PolicyRule.java +++ b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/PolicyRule.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PolicyRule implements KubernetesResource +public class PolicyRule implements Editable , KubernetesResource { @JsonProperty("apiGroups") @@ -148,6 +149,16 @@ public void setVerbs(List verbs) { this.verbs = verbs; } + @JsonIgnore + public PolicyRuleBuilder edit() { + return new PolicyRuleBuilder(this); + } + + @JsonIgnore + public PolicyRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/Role.java b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/Role.java index 3eb4cb6c7b9..4f1f0e1793b 100644 --- a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/Role.java +++ b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/Role.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -66,7 +67,7 @@ @Version("v1") @Group("rbac.authorization.k8s.io") @Generated("jsonschema2pojo") -public class Role implements HasMetadata, Namespaced +public class Role implements Editable , HasMetadata, Namespaced { /** @@ -166,6 +167,16 @@ public void setRules(List rules) { this.rules = rules; } + @JsonIgnore + public RoleBuilder edit() { + return new RoleBuilder(this); + } + + @JsonIgnore + public RoleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/RoleBinding.java b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/RoleBinding.java index 73aa4b7441b..705dca1a3e0 100644 --- a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/RoleBinding.java +++ b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/RoleBinding.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -67,7 +68,7 @@ @Version("v1") @Group("rbac.authorization.k8s.io") @Generated("jsonschema2pojo") -public class RoleBinding implements HasMetadata, Namespaced +public class RoleBinding implements Editable , HasMetadata, Namespaced { /** @@ -180,6 +181,16 @@ public void setSubjects(List subjects) { this.subjects = subjects; } + @JsonIgnore + public RoleBindingBuilder edit() { + return new RoleBindingBuilder(this); + } + + @JsonIgnore + public RoleBindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/RoleBindingList.java b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/RoleBindingList.java index ec359813d96..e1e232c6247 100644 --- a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/RoleBindingList.java +++ b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/RoleBindingList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("rbac.authorization.k8s.io") @Generated("jsonschema2pojo") -public class RoleBindingList implements KubernetesResource, KubernetesResourceList +public class RoleBindingList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public RoleBindingListBuilder edit() { + return new RoleBindingListBuilder(this); + } + + @JsonIgnore + public RoleBindingListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/RoleList.java b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/RoleList.java index e7ff343d911..1c2c1d98992 100644 --- a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/RoleList.java +++ b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/RoleList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("rbac.authorization.k8s.io") @Generated("jsonschema2pojo") -public class RoleList implements KubernetesResource, KubernetesResourceList +public class RoleList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public RoleListBuilder edit() { + return new RoleListBuilder(this); + } + + @JsonIgnore + public RoleListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/RoleRef.java b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/RoleRef.java index 0af11209016..bbc7cbfcacc 100644 --- a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/RoleRef.java +++ b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/RoleRef.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RoleRef implements KubernetesResource +public class RoleRef implements Editable , KubernetesResource { @JsonProperty("apiGroup") @@ -112,6 +113,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public RoleRefBuilder edit() { + return new RoleRefBuilder(this); + } + + @JsonIgnore + public RoleRefBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/Subject.java b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/Subject.java index ed91c5a07a7..5d17751277f 100644 --- a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/Subject.java +++ b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/Subject.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Subject implements KubernetesResource +public class Subject implements Editable , KubernetesResource { @JsonProperty("apiGroup") @@ -126,6 +127,16 @@ public void setNamespace(String namespace) { this.namespace = namespace; } + @JsonIgnore + public SubjectBuilder edit() { + return new SubjectBuilder(this); + } + + @JsonIgnore + public SubjectBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index 31ad782d4dd..688f7de73c3 100644 --- a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -68,7 +69,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("PodSchedulingContext") private PodSchedulingContext podSchedulingContext; @@ -188,6 +190,16 @@ public void setResourceClassList(ResourceClassList resourceClassList) { this.resourceClassList = resourceClassList; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index 875ca996069..ad38634d573 100644 --- a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -68,7 +69,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("PodSchedulingContext") private PodSchedulingContext podSchedulingContext; @@ -188,6 +190,16 @@ public void setResourceClassList(ResourceClassList resourceClassList) { this.resourceClassList = resourceClassList; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/AllocationResult.java b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/AllocationResult.java index 27a15c75cb3..d8fbdfb74e0 100644 --- a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/AllocationResult.java +++ b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/AllocationResult.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AllocationResult implements KubernetesResource +public class AllocationResult implements Editable , KubernetesResource { @JsonProperty("availableOnNodes") @@ -117,6 +118,16 @@ public void setShareable(Boolean shareable) { this.shareable = shareable; } + @JsonIgnore + public AllocationResultBuilder edit() { + return new AllocationResultBuilder(this); + } + + @JsonIgnore + public AllocationResultBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/PodSchedulingContext.java b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/PodSchedulingContext.java index 4aa9221417f..3e648679d9d 100644 --- a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/PodSchedulingContext.java +++ b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/PodSchedulingContext.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1alpha2") @Group("resource.k8s.io") @Generated("jsonschema2pojo") -public class PodSchedulingContext implements HasMetadata, Namespaced +public class PodSchedulingContext implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(PodSchedulingContextStatus status) { this.status = status; } + @JsonIgnore + public PodSchedulingContextBuilder edit() { + return new PodSchedulingContextBuilder(this); + } + + @JsonIgnore + public PodSchedulingContextBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/PodSchedulingContextList.java b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/PodSchedulingContextList.java index 4990978cd97..c39aee1da45 100644 --- a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/PodSchedulingContextList.java +++ b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/PodSchedulingContextList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha2") @Group("resource.k8s.io") @Generated("jsonschema2pojo") -public class PodSchedulingContextList implements KubernetesResource, KubernetesResourceList +public class PodSchedulingContextList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PodSchedulingContextListBuilder edit() { + return new PodSchedulingContextListBuilder(this); + } + + @JsonIgnore + public PodSchedulingContextListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/PodSchedulingContextSpec.java b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/PodSchedulingContextSpec.java index ceb0a238039..eca41573637 100644 --- a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/PodSchedulingContextSpec.java +++ b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/PodSchedulingContextSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PodSchedulingContextSpec implements KubernetesResource +public class PodSchedulingContextSpec implements Editable , KubernetesResource { @JsonProperty("potentialNodes") @@ -102,6 +103,16 @@ public void setSelectedNode(String selectedNode) { this.selectedNode = selectedNode; } + @JsonIgnore + public PodSchedulingContextSpecBuilder edit() { + return new PodSchedulingContextSpecBuilder(this); + } + + @JsonIgnore + public PodSchedulingContextSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/PodSchedulingContextStatus.java b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/PodSchedulingContextStatus.java index 9b1c8464675..b552dd9f27f 100644 --- a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/PodSchedulingContextStatus.java +++ b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/PodSchedulingContextStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PodSchedulingContextStatus implements KubernetesResource +public class PodSchedulingContextStatus implements Editable , KubernetesResource { @JsonProperty("resourceClaims") @@ -88,6 +89,16 @@ public void setResourceClaims(List resourceClaims this.resourceClaims = resourceClaims; } + @JsonIgnore + public PodSchedulingContextStatusBuilder edit() { + return new PodSchedulingContextStatusBuilder(this); + } + + @JsonIgnore + public PodSchedulingContextStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaim.java b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaim.java index a4606efeaa4..bfd172ba267 100644 --- a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaim.java +++ b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaim.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1alpha2") @Group("resource.k8s.io") @Generated("jsonschema2pojo") -public class ResourceClaim implements HasMetadata, Namespaced +public class ResourceClaim implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(ResourceClaimStatus status) { this.status = status; } + @JsonIgnore + public ResourceClaimBuilder edit() { + return new ResourceClaimBuilder(this); + } + + @JsonIgnore + public ResourceClaimBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimConsumerReference.java b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimConsumerReference.java index 51c44ce5827..f0131a1f174 100644 --- a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimConsumerReference.java +++ b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimConsumerReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ResourceClaimConsumerReference implements KubernetesResource +public class ResourceClaimConsumerReference implements Editable , KubernetesResource { @JsonProperty("apiGroup") @@ -127,6 +128,16 @@ public void setUid(String uid) { this.uid = uid; } + @JsonIgnore + public ResourceClaimConsumerReferenceBuilder edit() { + return new ResourceClaimConsumerReferenceBuilder(this); + } + + @JsonIgnore + public ResourceClaimConsumerReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimList.java b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimList.java index cbd3077ba83..59503b39995 100644 --- a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimList.java +++ b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha2") @Group("resource.k8s.io") @Generated("jsonschema2pojo") -public class ResourceClaimList implements KubernetesResource, KubernetesResourceList +public class ResourceClaimList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ResourceClaimListBuilder edit() { + return new ResourceClaimListBuilder(this); + } + + @JsonIgnore + public ResourceClaimListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimParametersReference.java b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimParametersReference.java index b5e4b048171..c0d7e8acb93 100644 --- a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimParametersReference.java +++ b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimParametersReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ResourceClaimParametersReference implements KubernetesResource +public class ResourceClaimParametersReference implements Editable , KubernetesResource { @JsonProperty("apiGroup") @@ -112,6 +113,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public ResourceClaimParametersReferenceBuilder edit() { + return new ResourceClaimParametersReferenceBuilder(this); + } + + @JsonIgnore + public ResourceClaimParametersReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimSchedulingStatus.java b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimSchedulingStatus.java index 02c19feb74f..c99fb0016a1 100644 --- a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimSchedulingStatus.java +++ b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimSchedulingStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ResourceClaimSchedulingStatus implements KubernetesResource +public class ResourceClaimSchedulingStatus implements Editable , KubernetesResource { @JsonProperty("name") @@ -102,6 +103,16 @@ public void setUnsuitableNodes(List unsuitableNodes) { this.unsuitableNodes = unsuitableNodes; } + @JsonIgnore + public ResourceClaimSchedulingStatusBuilder edit() { + return new ResourceClaimSchedulingStatusBuilder(this); + } + + @JsonIgnore + public ResourceClaimSchedulingStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimSpec.java b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimSpec.java index c08b9e35bcf..7ce7f7f4573 100644 --- a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimSpec.java +++ b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ResourceClaimSpec implements KubernetesResource +public class ResourceClaimSpec implements Editable , KubernetesResource { @JsonProperty("allocationMode") @@ -113,6 +114,16 @@ public void setResourceClassName(String resourceClassName) { this.resourceClassName = resourceClassName; } + @JsonIgnore + public ResourceClaimSpecBuilder edit() { + return new ResourceClaimSpecBuilder(this); + } + + @JsonIgnore + public ResourceClaimSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimStatus.java b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimStatus.java index b63bdf15a46..56fad930ac0 100644 --- a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimStatus.java +++ b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ResourceClaimStatus implements KubernetesResource +public class ResourceClaimStatus implements Editable , KubernetesResource { @JsonProperty("allocation") @@ -130,6 +131,16 @@ public void setReservedFor(List reservedFor) { this.reservedFor = reservedFor; } + @JsonIgnore + public ResourceClaimStatusBuilder edit() { + return new ResourceClaimStatusBuilder(this); + } + + @JsonIgnore + public ResourceClaimStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimTemplate.java b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimTemplate.java index e1d9f9d00d2..d2647445ad8 100644 --- a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimTemplate.java +++ b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimTemplate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1alpha2") @Group("resource.k8s.io") @Generated("jsonschema2pojo") -public class ResourceClaimTemplate implements HasMetadata, Namespaced +public class ResourceClaimTemplate implements Editable , HasMetadata, Namespaced { /** @@ -163,6 +164,16 @@ public void setSpec(ResourceClaimTemplateSpec spec) { this.spec = spec; } + @JsonIgnore + public ResourceClaimTemplateBuilder edit() { + return new ResourceClaimTemplateBuilder(this); + } + + @JsonIgnore + public ResourceClaimTemplateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimTemplateList.java b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimTemplateList.java index c738a3decc1..b7671f6ec13 100644 --- a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimTemplateList.java +++ b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimTemplateList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha2") @Group("resource.k8s.io") @Generated("jsonschema2pojo") -public class ResourceClaimTemplateList implements KubernetesResource, KubernetesResourceList +public class ResourceClaimTemplateList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ResourceClaimTemplateListBuilder edit() { + return new ResourceClaimTemplateListBuilder(this); + } + + @JsonIgnore + public ResourceClaimTemplateListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimTemplateSpec.java b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimTemplateSpec.java index bcc04f72e8b..a9ee62f642d 100644 --- a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimTemplateSpec.java +++ b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimTemplateSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -54,7 +55,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ResourceClaimTemplateSpec implements KubernetesResource +public class ResourceClaimTemplateSpec implements Editable , KubernetesResource { @JsonProperty("metadata") @@ -97,6 +98,16 @@ public void setSpec(ResourceClaimSpec spec) { this.spec = spec; } + @JsonIgnore + public ResourceClaimTemplateSpecBuilder edit() { + return new ResourceClaimTemplateSpecBuilder(this); + } + + @JsonIgnore + public ResourceClaimTemplateSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClass.java b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClass.java index fb20806d729..a79d88f5e3f 100644 --- a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClass.java +++ b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClass.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -66,7 +67,7 @@ @Version("v1alpha2") @Group("resource.k8s.io") @Generated("jsonschema2pojo") -public class ResourceClass implements HasMetadata +public class ResourceClass implements Editable , HasMetadata { /** @@ -191,6 +192,16 @@ public void setSuitableNodes(NodeSelector suitableNodes) { this.suitableNodes = suitableNodes; } + @JsonIgnore + public ResourceClassBuilder edit() { + return new ResourceClassBuilder(this); + } + + @JsonIgnore + public ResourceClassBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClassList.java b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClassList.java index 0252e78c244..c84c616eca9 100644 --- a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClassList.java +++ b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClassList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha2") @Group("resource.k8s.io") @Generated("jsonschema2pojo") -public class ResourceClassList implements KubernetesResource, KubernetesResourceList +public class ResourceClassList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ResourceClassListBuilder edit() { + return new ResourceClassListBuilder(this); + } + + @JsonIgnore + public ResourceClassListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClassParametersReference.java b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClassParametersReference.java index 7a32239c2f3..5efc20c139b 100644 --- a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClassParametersReference.java +++ b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClassParametersReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ResourceClassParametersReference implements KubernetesResource +public class ResourceClassParametersReference implements Editable , KubernetesResource { @JsonProperty("apiGroup") @@ -126,6 +127,16 @@ public void setNamespace(String namespace) { this.namespace = namespace; } + @JsonIgnore + public ResourceClassParametersReferenceBuilder edit() { + return new ResourceClassParametersReferenceBuilder(this); + } + + @JsonIgnore + public ResourceClassParametersReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceHandle.java b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceHandle.java index 25533956f82..fcd254c793c 100644 --- a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceHandle.java +++ b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceHandle.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ResourceHandle implements KubernetesResource +public class ResourceHandle implements Editable , KubernetesResource { @JsonProperty("data") @@ -99,6 +100,16 @@ public void setDriverName(String driverName) { this.driverName = driverName; } + @JsonIgnore + public ResourceHandleBuilder edit() { + return new ResourceHandleBuilder(this); + } + + @JsonIgnore + public ResourceHandleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index a37da1ce883..2c5df210f3f 100644 --- a/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -74,7 +75,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -376,6 +378,16 @@ public void setV1PriorityClassList(io.fabric8.kubernetes.api.model.scheduling.v1 this.v1PriorityClassList = v1PriorityClassList; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index f312280b21c..4afaf9b8275 100644 --- a/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -74,7 +75,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -376,6 +378,16 @@ public void setV1PriorityClassList(io.fabric8.kubernetes.api.model.scheduling.v1 this.v1PriorityClassList = v1PriorityClassList; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/scheduling/v1/PriorityClass.java b/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/scheduling/v1/PriorityClass.java index 1fbab0a6495..68462d0b7e4 100644 --- a/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/scheduling/v1/PriorityClass.java +++ b/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/scheduling/v1/PriorityClass.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -66,7 +67,7 @@ @Version("v1") @Group("scheduling.k8s.io") @Generated("jsonschema2pojo") -public class PriorityClass implements HasMetadata +public class PriorityClass implements Editable , HasMetadata { /** @@ -204,6 +205,16 @@ public void setValue(Integer value) { this.value = value; } + @JsonIgnore + public PriorityClassBuilder edit() { + return new PriorityClassBuilder(this); + } + + @JsonIgnore + public PriorityClassBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/scheduling/v1/PriorityClassList.java b/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/scheduling/v1/PriorityClassList.java index 428594242cc..560c0b34f8c 100644 --- a/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/scheduling/v1/PriorityClassList.java +++ b/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/scheduling/v1/PriorityClassList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("scheduling.k8s.io") @Generated("jsonschema2pojo") -public class PriorityClassList implements KubernetesResource, KubernetesResourceList +public class PriorityClassList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PriorityClassListBuilder edit() { + return new PriorityClassListBuilder(this); + } + + @JsonIgnore + public PriorityClassListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/scheduling/v1beta1/PriorityClass.java b/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/scheduling/v1beta1/PriorityClass.java index f9cea52b90a..8f554cfbb55 100644 --- a/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/scheduling/v1beta1/PriorityClass.java +++ b/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/scheduling/v1beta1/PriorityClass.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -66,7 +67,7 @@ @Version("v1beta1") @Group("scheduling.k8s.io") @Generated("jsonschema2pojo") -public class PriorityClass implements HasMetadata +public class PriorityClass implements Editable , HasMetadata { /** @@ -204,6 +205,16 @@ public void setValue(Integer value) { this.value = value; } + @JsonIgnore + public PriorityClassBuilder edit() { + return new PriorityClassBuilder(this); + } + + @JsonIgnore + public PriorityClassBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/scheduling/v1beta1/PriorityClassList.java b/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/scheduling/v1beta1/PriorityClassList.java index 9bf99e94541..074b50ade47 100644 --- a/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/scheduling/v1beta1/PriorityClassList.java +++ b/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/scheduling/v1beta1/PriorityClassList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("scheduling.k8s.io") @Generated("jsonschema2pojo") -public class PriorityClassList implements KubernetesResource, KubernetesResourceList +public class PriorityClassList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PriorityClassListBuilder edit() { + return new PriorityClassListBuilder(this); + } + + @JsonIgnore + public PriorityClassListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-scheduling/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/kubernetes-model-scheduling/src/main/resources/schema/validation-schema.json index 21b96a4a973..c7722ee5b0e 100644 --- a/kubernetes-model-generator/kubernetes-model-scheduling/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/kubernetes-model-scheduling/src/main/resources/schema/validation-schema.json @@ -1522,14 +1522,14 @@ "properties": { "apiVersion": { "type": "string", - "default": "scheduling.k8s.io/v1beta1", + "default": "scheduling.k8s.io/v1", "required": true }, "items": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_scheduling_v1beta1_PriorityClass", - "existingJavaType": "io.fabric8.kubernetes.api.model.scheduling.v1beta1.PriorityClass" + "$ref": "#/definitions/kubernetes_scheduling_v1_PriorityClass", + "existingJavaType": "io.fabric8.kubernetes.api.model.scheduling.v1.PriorityClass" } }, "kind": { diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index bf01ea006b2..798e54aa937 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -90,7 +91,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -548,6 +550,16 @@ public void setVolumeAttachmentList(VolumeAttachmentList volumeAttachmentList) { this.volumeAttachmentList = volumeAttachmentList; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index f42950c9f06..488f143299d 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -90,7 +91,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -548,6 +550,16 @@ public void setVolumeAttachmentList(VolumeAttachmentList volumeAttachmentList) { this.volumeAttachmentList = volumeAttachmentList; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSIDriver.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSIDriver.java index 08ee66f2238..aac82e0d726 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSIDriver.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSIDriver.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -63,7 +64,7 @@ @Version("v1") @Group("storage.k8s.io") @Generated("jsonschema2pojo") -public class CSIDriver implements HasMetadata +public class CSIDriver implements Editable , HasMetadata { /** @@ -162,6 +163,16 @@ public void setSpec(CSIDriverSpec spec) { this.spec = spec; } + @JsonIgnore + public CSIDriverBuilder edit() { + return new CSIDriverBuilder(this); + } + + @JsonIgnore + public CSIDriverBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSIDriverList.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSIDriverList.java index aa941d773c6..8852959de08 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSIDriverList.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSIDriverList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("storage.k8s.io") @Generated("jsonschema2pojo") -public class CSIDriverList implements KubernetesResource, KubernetesResourceList +public class CSIDriverList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public CSIDriverListBuilder edit() { + return new CSIDriverListBuilder(this); + } + + @JsonIgnore + public CSIDriverListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSIDriverSpec.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSIDriverSpec.java index a26208af9f9..232c368195e 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSIDriverSpec.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSIDriverSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CSIDriverSpec implements KubernetesResource +public class CSIDriverSpec implements Editable , KubernetesResource { @JsonProperty("attachRequired") @@ -187,6 +188,16 @@ public void setVolumeLifecycleModes(List volumeLifecycleModes) { this.volumeLifecycleModes = volumeLifecycleModes; } + @JsonIgnore + public CSIDriverSpecBuilder edit() { + return new CSIDriverSpecBuilder(this); + } + + @JsonIgnore + public CSIDriverSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSINode.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSINode.java index 3237ad1cb4d..f9e33f7cb9e 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSINode.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSINode.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -63,7 +64,7 @@ @Version("v1") @Group("storage.k8s.io") @Generated("jsonschema2pojo") -public class CSINode implements HasMetadata +public class CSINode implements Editable , HasMetadata { /** @@ -162,6 +163,16 @@ public void setSpec(CSINodeSpec spec) { this.spec = spec; } + @JsonIgnore + public CSINodeBuilder edit() { + return new CSINodeBuilder(this); + } + + @JsonIgnore + public CSINodeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSINodeDriver.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSINodeDriver.java index 16752171a3b..9cad6e8352f 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSINodeDriver.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSINodeDriver.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CSINodeDriver implements KubernetesResource +public class CSINodeDriver implements Editable , KubernetesResource { @JsonProperty("allocatable") @@ -130,6 +131,16 @@ public void setTopologyKeys(List topologyKeys) { this.topologyKeys = topologyKeys; } + @JsonIgnore + public CSINodeDriverBuilder edit() { + return new CSINodeDriverBuilder(this); + } + + @JsonIgnore + public CSINodeDriverBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSINodeList.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSINodeList.java index 6df3da4c650..0b2e02d27f3 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSINodeList.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSINodeList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("storage.k8s.io") @Generated("jsonschema2pojo") -public class CSINodeList implements KubernetesResource, KubernetesResourceList +public class CSINodeList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public CSINodeListBuilder edit() { + return new CSINodeListBuilder(this); + } + + @JsonIgnore + public CSINodeListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSINodeSpec.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSINodeSpec.java index 741543b0551..637dff556f8 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSINodeSpec.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSINodeSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CSINodeSpec implements KubernetesResource +public class CSINodeSpec implements Editable , KubernetesResource { @JsonProperty("drivers") @@ -88,6 +89,16 @@ public void setDrivers(List drivers) { this.drivers = drivers; } + @JsonIgnore + public CSINodeSpecBuilder edit() { + return new CSINodeSpecBuilder(this); + } + + @JsonIgnore + public CSINodeSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSIStorageCapacity.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSIStorageCapacity.java index 79c38d44322..7d9dbf6ba47 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSIStorageCapacity.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSIStorageCapacity.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -67,7 +68,7 @@ @Version("v1") @Group("storage.k8s.io") @Generated("jsonschema2pojo") -public class CSIStorageCapacity implements HasMetadata, Namespaced +public class CSIStorageCapacity implements Editable , HasMetadata, Namespaced { /** @@ -205,6 +206,16 @@ public void setStorageClassName(String storageClassName) { this.storageClassName = storageClassName; } + @JsonIgnore + public CSIStorageCapacityBuilder edit() { + return new CSIStorageCapacityBuilder(this); + } + + @JsonIgnore + public CSIStorageCapacityBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSIStorageCapacityList.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSIStorageCapacityList.java index d9756be82dc..150e75c9d08 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSIStorageCapacityList.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSIStorageCapacityList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("storage.k8s.io") @Generated("jsonschema2pojo") -public class CSIStorageCapacityList implements KubernetesResource, KubernetesResourceList +public class CSIStorageCapacityList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public CSIStorageCapacityListBuilder edit() { + return new CSIStorageCapacityListBuilder(this); + } + + @JsonIgnore + public CSIStorageCapacityListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/StorageClass.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/StorageClass.java index eb7579b9ad5..26fd84af36b 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/StorageClass.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/StorageClass.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -72,7 +73,7 @@ @Version("v1") @Group("storage.k8s.io") @Generated("jsonschema2pojo") -public class StorageClass implements HasMetadata +public class StorageClass implements Editable , HasMetadata { @JsonProperty("allowVolumeExpansion") @@ -252,6 +253,16 @@ public void setVolumeBindingMode(java.lang.String volumeBindingMode) { this.volumeBindingMode = volumeBindingMode; } + @JsonIgnore + public StorageClassBuilder edit() { + return new StorageClassBuilder(this); + } + + @JsonIgnore + public StorageClassBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/StorageClassList.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/StorageClassList.java index 17c7cb9934b..9e730bd846d 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/StorageClassList.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/StorageClassList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("storage.k8s.io") @Generated("jsonschema2pojo") -public class StorageClassList implements KubernetesResource, KubernetesResourceList +public class StorageClassList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public StorageClassListBuilder edit() { + return new StorageClassListBuilder(this); + } + + @JsonIgnore + public StorageClassListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/TokenRequest.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/TokenRequest.java index e7fa45fa188..2387bed96e1 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/TokenRequest.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/TokenRequest.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TokenRequest implements KubernetesResource +public class TokenRequest implements Editable , KubernetesResource { @JsonProperty("audience") @@ -99,6 +100,16 @@ public void setExpirationSeconds(Long expirationSeconds) { this.expirationSeconds = expirationSeconds; } + @JsonIgnore + public TokenRequestBuilder edit() { + return new TokenRequestBuilder(this); + } + + @JsonIgnore + public TokenRequestBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeAttachment.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeAttachment.java index ea476b527ba..d584af42b36 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeAttachment.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeAttachment.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("storage.k8s.io") @Generated("jsonschema2pojo") -public class VolumeAttachment implements HasMetadata +public class VolumeAttachment implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(VolumeAttachmentStatus status) { this.status = status; } + @JsonIgnore + public VolumeAttachmentBuilder edit() { + return new VolumeAttachmentBuilder(this); + } + + @JsonIgnore + public VolumeAttachmentBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeAttachmentList.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeAttachmentList.java index 5dc75d35892..0c3f831e0ee 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeAttachmentList.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeAttachmentList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("storage.k8s.io") @Generated("jsonschema2pojo") -public class VolumeAttachmentList implements KubernetesResource, KubernetesResourceList +public class VolumeAttachmentList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public VolumeAttachmentListBuilder edit() { + return new VolumeAttachmentListBuilder(this); + } + + @JsonIgnore + public VolumeAttachmentListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeAttachmentSource.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeAttachmentSource.java index 4af05bcab36..818cf9eeea0 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeAttachmentSource.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeAttachmentSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class VolumeAttachmentSource implements KubernetesResource +public class VolumeAttachmentSource implements Editable , KubernetesResource { @JsonProperty("inlineVolumeSpec") @@ -100,6 +101,16 @@ public void setPersistentVolumeName(String persistentVolumeName) { this.persistentVolumeName = persistentVolumeName; } + @JsonIgnore + public VolumeAttachmentSourceBuilder edit() { + return new VolumeAttachmentSourceBuilder(this); + } + + @JsonIgnore + public VolumeAttachmentSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeAttachmentSpec.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeAttachmentSpec.java index 6e9b441772d..679927321cc 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeAttachmentSpec.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeAttachmentSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class VolumeAttachmentSpec implements KubernetesResource +public class VolumeAttachmentSpec implements Editable , KubernetesResource { @JsonProperty("attacher") @@ -113,6 +114,16 @@ public void setSource(VolumeAttachmentSource source) { this.source = source; } + @JsonIgnore + public VolumeAttachmentSpecBuilder edit() { + return new VolumeAttachmentSpecBuilder(this); + } + + @JsonIgnore + public VolumeAttachmentSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeAttachmentStatus.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeAttachmentStatus.java index f24a1341c96..80bfb4779c1 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeAttachmentStatus.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeAttachmentStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class VolumeAttachmentStatus implements KubernetesResource +public class VolumeAttachmentStatus implements Editable , KubernetesResource { @JsonProperty("attachError") @@ -128,6 +129,16 @@ public void setDetachError(VolumeError detachError) { this.detachError = detachError; } + @JsonIgnore + public VolumeAttachmentStatusBuilder edit() { + return new VolumeAttachmentStatusBuilder(this); + } + + @JsonIgnore + public VolumeAttachmentStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeError.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeError.java index df103d1b48b..c7442b79050 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeError.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeError.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class VolumeError implements KubernetesResource +public class VolumeError implements Editable , KubernetesResource { @JsonProperty("message") @@ -99,6 +100,16 @@ public void setTime(String time) { this.time = time; } + @JsonIgnore + public VolumeErrorBuilder edit() { + return new VolumeErrorBuilder(this); + } + + @JsonIgnore + public VolumeErrorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeNodeResources.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeNodeResources.java index a62bf5b552a..5339b717c92 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeNodeResources.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeNodeResources.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class VolumeNodeResources implements KubernetesResource +public class VolumeNodeResources implements Editable , KubernetesResource { @JsonProperty("count") @@ -85,6 +86,16 @@ public void setCount(Integer count) { this.count = count; } + @JsonIgnore + public VolumeNodeResourcesBuilder edit() { + return new VolumeNodeResourcesBuilder(this); + } + + @JsonIgnore + public VolumeNodeResourcesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSIDriver.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSIDriver.java index 2bfa9d993d9..9f6d8dfebf5 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSIDriver.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSIDriver.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -63,7 +64,7 @@ @Version("v1beta1") @Group("storage.k8s.io") @Generated("jsonschema2pojo") -public class CSIDriver implements HasMetadata +public class CSIDriver implements Editable , HasMetadata { /** @@ -162,6 +163,16 @@ public void setSpec(CSIDriverSpec spec) { this.spec = spec; } + @JsonIgnore + public CSIDriverBuilder edit() { + return new CSIDriverBuilder(this); + } + + @JsonIgnore + public CSIDriverBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSIDriverList.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSIDriverList.java index 049d8781921..12576dc7ba4 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSIDriverList.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSIDriverList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("storage.k8s.io") @Generated("jsonschema2pojo") -public class CSIDriverList implements KubernetesResource, KubernetesResourceList +public class CSIDriverList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public CSIDriverListBuilder edit() { + return new CSIDriverListBuilder(this); + } + + @JsonIgnore + public CSIDriverListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSIDriverSpec.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSIDriverSpec.java index 0d1db239828..70a7b60654a 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSIDriverSpec.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSIDriverSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CSIDriverSpec implements KubernetesResource +public class CSIDriverSpec implements Editable , KubernetesResource { @JsonProperty("attachRequired") @@ -187,6 +188,16 @@ public void setVolumeLifecycleModes(List volumeLifecycleModes) { this.volumeLifecycleModes = volumeLifecycleModes; } + @JsonIgnore + public CSIDriverSpecBuilder edit() { + return new CSIDriverSpecBuilder(this); + } + + @JsonIgnore + public CSIDriverSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSINode.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSINode.java index 47c660d0115..6bfccb362a2 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSINode.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSINode.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -63,7 +64,7 @@ @Version("v1beta1") @Group("storage.k8s.io") @Generated("jsonschema2pojo") -public class CSINode implements HasMetadata +public class CSINode implements Editable , HasMetadata { /** @@ -162,6 +163,16 @@ public void setSpec(CSINodeSpec spec) { this.spec = spec; } + @JsonIgnore + public CSINodeBuilder edit() { + return new CSINodeBuilder(this); + } + + @JsonIgnore + public CSINodeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSINodeDriver.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSINodeDriver.java index 68bcffa240f..1268199e7ee 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSINodeDriver.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSINodeDriver.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CSINodeDriver implements KubernetesResource +public class CSINodeDriver implements Editable , KubernetesResource { @JsonProperty("allocatable") @@ -130,6 +131,16 @@ public void setTopologyKeys(List topologyKeys) { this.topologyKeys = topologyKeys; } + @JsonIgnore + public CSINodeDriverBuilder edit() { + return new CSINodeDriverBuilder(this); + } + + @JsonIgnore + public CSINodeDriverBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSINodeList.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSINodeList.java index 3b961d4e984..db1cf1f78ab 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSINodeList.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSINodeList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("storage.k8s.io") @Generated("jsonschema2pojo") -public class CSINodeList implements KubernetesResource, KubernetesResourceList +public class CSINodeList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public CSINodeListBuilder edit() { + return new CSINodeListBuilder(this); + } + + @JsonIgnore + public CSINodeListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSINodeSpec.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSINodeSpec.java index 64d5890480a..a8cc5f77c4e 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSINodeSpec.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSINodeSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CSINodeSpec implements KubernetesResource +public class CSINodeSpec implements Editable , KubernetesResource { @JsonProperty("drivers") @@ -88,6 +89,16 @@ public void setDrivers(List drivers) { this.drivers = drivers; } + @JsonIgnore + public CSINodeSpecBuilder edit() { + return new CSINodeSpecBuilder(this); + } + + @JsonIgnore + public CSINodeSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSIStorageCapacity.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSIStorageCapacity.java index 167889d06fd..a6e86517147 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSIStorageCapacity.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSIStorageCapacity.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -67,7 +68,7 @@ @Version("v1beta1") @Group("storage.k8s.io") @Generated("jsonschema2pojo") -public class CSIStorageCapacity implements HasMetadata, Namespaced +public class CSIStorageCapacity implements Editable , HasMetadata, Namespaced { /** @@ -205,6 +206,16 @@ public void setStorageClassName(String storageClassName) { this.storageClassName = storageClassName; } + @JsonIgnore + public CSIStorageCapacityBuilder edit() { + return new CSIStorageCapacityBuilder(this); + } + + @JsonIgnore + public CSIStorageCapacityBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSIStorageCapacityList.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSIStorageCapacityList.java index bacccef0732..c2b5f5adce4 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSIStorageCapacityList.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSIStorageCapacityList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("storage.k8s.io") @Generated("jsonschema2pojo") -public class CSIStorageCapacityList implements KubernetesResource, KubernetesResourceList +public class CSIStorageCapacityList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public CSIStorageCapacityListBuilder edit() { + return new CSIStorageCapacityListBuilder(this); + } + + @JsonIgnore + public CSIStorageCapacityListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/TokenRequest.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/TokenRequest.java index 0a6d97e5d95..d87a540d81b 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/TokenRequest.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/TokenRequest.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TokenRequest implements KubernetesResource +public class TokenRequest implements Editable , KubernetesResource { @JsonProperty("audience") @@ -99,6 +100,16 @@ public void setExpirationSeconds(Long expirationSeconds) { this.expirationSeconds = expirationSeconds; } + @JsonIgnore + public TokenRequestBuilder edit() { + return new TokenRequestBuilder(this); + } + + @JsonIgnore + public TokenRequestBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/VolumeNodeResources.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/VolumeNodeResources.java index 444264085b4..7bcdc3b3c14 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/VolumeNodeResources.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/VolumeNodeResources.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class VolumeNodeResources implements KubernetesResource +public class VolumeNodeResources implements Editable , KubernetesResource { @JsonProperty("count") @@ -85,6 +86,16 @@ public void setCount(Integer count) { this.count = count; } + @JsonIgnore + public VolumeNodeResourcesBuilder edit() { + return new VolumeNodeResourcesBuilder(this); + } + + @JsonIgnore + public VolumeNodeResourcesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/kubernetes-model-storageclass/src/main/resources/schema/validation-schema.json index 187fa95b0ee..6cb4761de21 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/main/resources/schema/validation-schema.json @@ -2970,7 +2970,7 @@ "properties": { "apiVersion": { "type": "string", - "default": "storage.k8s.io/v1", + "default": "storage.k8s.io/v1beta1", "required": true }, "kind": { @@ -2983,8 +2983,8 @@ "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" }, "spec": { - "$ref": "#/definitions/kubernetes_storageclass_CSIDriverSpec", - "existingJavaType": "io.fabric8.kubernetes.api.model.storage.CSIDriverSpec" + "$ref": "#/definitions/kubernetes_storageclass_v1beta1_CSIDriverSpec", + "existingJavaType": "io.fabric8.kubernetes.api.model.storage.v1beta1.CSIDriverSpec" } }, "additionalProperties": true @@ -3079,8 +3079,8 @@ "csinodedriver": { "properties": { "allocatable": { - "$ref": "#/definitions/kubernetes_storageclass_VolumeNodeResources", - "existingJavaType": "io.fabric8.kubernetes.api.model.storage.VolumeNodeResources" + "$ref": "#/definitions/kubernetes_storageclass_v1beta1_VolumeNodeResources", + "existingJavaType": "io.fabric8.kubernetes.api.model.storage.v1beta1.VolumeNodeResources" }, "name": { "type": "string" @@ -3101,14 +3101,14 @@ "properties": { "apiVersion": { "type": "string", - "default": "storage.k8s.io/v1beta1", + "default": "storage.k8s.io/v1", "required": true }, "items": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_storageclass_v1beta1_CSINode", - "existingJavaType": "io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode" + "$ref": "#/definitions/kubernetes_storageclass_CSINode", + "existingJavaType": "io.fabric8.kubernetes.api.model.storage.CSINode" } }, "kind": { @@ -3128,8 +3128,8 @@ "drivers": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_storageclass_v1beta1_CSINodeDriver", - "existingJavaType": "io.fabric8.kubernetes.api.model.storage.v1beta1.CSINodeDriver" + "$ref": "#/definitions/kubernetes_storageclass_CSINodeDriver", + "existingJavaType": "io.fabric8.kubernetes.api.model.storage.CSINodeDriver" } } }, @@ -3217,14 +3217,14 @@ "properties": { "apiVersion": { "type": "string", - "default": "storage.k8s.io/v1beta1", + "default": "storage.k8s.io/v1", "required": true }, "items": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_storageclass_v1beta1_CSIStorageCapacity", - "existingJavaType": "io.fabric8.kubernetes.api.model.storage.v1beta1.CSIStorageCapacity" + "$ref": "#/definitions/kubernetes_storageclass_CSIStorageCapacity", + "existingJavaType": "io.fabric8.kubernetes.api.model.storage.CSIStorageCapacity" } }, "kind": { diff --git a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index 491b71dc234..257c2752c3e 100644 --- a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -70,7 +71,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -255,6 +257,16 @@ public void setV1beta1MachineAutoscalerList(MachineAutoscalerList v1beta1Machine this.v1beta1MachineAutoscalerList = v1beta1MachineAutoscalerList; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index 5edbbf7270e..dd2df8c5e88 100644 --- a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -70,7 +71,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -255,6 +257,16 @@ public void setV1beta1MachineAutoscalerList(MachineAutoscalerList v1beta1Machine this.v1beta1MachineAutoscalerList = v1beta1MachineAutoscalerList; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ClusterAutoscaler.java b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ClusterAutoscaler.java index 3894bc9a48b..168096e8e23 100644 --- a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ClusterAutoscaler.java +++ b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ClusterAutoscaler.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("autoscaling.openshift.io") @Generated("jsonschema2pojo") -public class ClusterAutoscaler implements HasMetadata +public class ClusterAutoscaler implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(ClusterAutoscalerStatus status) { this.status = status; } + @JsonIgnore + public ClusterAutoscalerBuilder edit() { + return new ClusterAutoscalerBuilder(this); + } + + @JsonIgnore + public ClusterAutoscalerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ClusterAutoscalerList.java b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ClusterAutoscalerList.java index d0008942782..5e75791d511 100644 --- a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ClusterAutoscalerList.java +++ b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ClusterAutoscalerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("autoscaling.openshift.io") @Generated("jsonschema2pojo") -public class ClusterAutoscalerList implements KubernetesResource, KubernetesResourceList +public class ClusterAutoscalerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterAutoscalerListBuilder edit() { + return new ClusterAutoscalerListBuilder(this); + } + + @JsonIgnore + public ClusterAutoscalerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ClusterAutoscalerSpec.java b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ClusterAutoscalerSpec.java index 7f4c82106f9..c6bd4adc0d2 100644 --- a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ClusterAutoscalerSpec.java +++ b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ClusterAutoscalerSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterAutoscalerSpec implements KubernetesResource +public class ClusterAutoscalerSpec implements Editable , KubernetesResource { @JsonProperty("balanceSimilarNodeGroups") @@ -183,6 +184,16 @@ public void setSkipNodesWithLocalStorage(Boolean skipNodesWithLocalStorage) { this.skipNodesWithLocalStorage = skipNodesWithLocalStorage; } + @JsonIgnore + public ClusterAutoscalerSpecBuilder edit() { + return new ClusterAutoscalerSpecBuilder(this); + } + + @JsonIgnore + public ClusterAutoscalerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ClusterAutoscalerStatus.java b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ClusterAutoscalerStatus.java index e5682c95013..d1059276967 100644 --- a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ClusterAutoscalerStatus.java +++ b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ClusterAutoscalerStatus.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterAutoscalerStatus implements KubernetesResource +public class ClusterAutoscalerStatus implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public ClusterAutoscalerStatusBuilder edit() { + return new ClusterAutoscalerStatusBuilder(this); + } + + @JsonIgnore + public ClusterAutoscalerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/GPULimit.java b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/GPULimit.java index 4ffa5e44ee9..c6278f5cf89 100644 --- a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/GPULimit.java +++ b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/GPULimit.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GPULimit implements KubernetesResource +public class GPULimit implements Editable , KubernetesResource { @JsonProperty("max") @@ -113,6 +114,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public GPULimitBuilder edit() { + return new GPULimitBuilder(this); + } + + @JsonIgnore + public GPULimitBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ResourceLimits.java b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ResourceLimits.java index cd20510f1a7..04446798239 100644 --- a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ResourceLimits.java +++ b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ResourceLimits.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ResourceLimits implements KubernetesResource +public class ResourceLimits implements Editable , KubernetesResource { @JsonProperty("cores") @@ -130,6 +131,16 @@ public void setMemory(ResourceRange memory) { this.memory = memory; } + @JsonIgnore + public ResourceLimitsBuilder edit() { + return new ResourceLimitsBuilder(this); + } + + @JsonIgnore + public ResourceLimitsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ResourceRange.java b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ResourceRange.java index 8fdd7774f5c..d24a765f350 100644 --- a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ResourceRange.java +++ b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ResourceRange.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ResourceRange implements KubernetesResource +public class ResourceRange implements Editable , KubernetesResource { @JsonProperty("max") @@ -99,6 +100,16 @@ public void setMin(Integer min) { this.min = min; } + @JsonIgnore + public ResourceRangeBuilder edit() { + return new ResourceRangeBuilder(this); + } + + @JsonIgnore + public ResourceRangeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ScaleDownConfig.java b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ScaleDownConfig.java index 71a46f4827b..86d3fb6bc6a 100644 --- a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ScaleDownConfig.java +++ b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ScaleDownConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ScaleDownConfig implements KubernetesResource +public class ScaleDownConfig implements Editable , KubernetesResource { @JsonProperty("delayAfterAdd") @@ -141,6 +142,16 @@ public void setUnneededTime(String unneededTime) { this.unneededTime = unneededTime; } + @JsonIgnore + public ScaleDownConfigBuilder edit() { + return new ScaleDownConfigBuilder(this); + } + + @JsonIgnore + public ScaleDownConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1beta1/CrossVersionObjectReference.java b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1beta1/CrossVersionObjectReference.java index 91d75cdba65..4eff410d37e 100644 --- a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1beta1/CrossVersionObjectReference.java +++ b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1beta1/CrossVersionObjectReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CrossVersionObjectReference implements KubernetesResource +public class CrossVersionObjectReference implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -111,6 +112,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public CrossVersionObjectReferenceBuilder edit() { + return new CrossVersionObjectReferenceBuilder(this); + } + + @JsonIgnore + public CrossVersionObjectReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1beta1/MachineAutoscaler.java b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1beta1/MachineAutoscaler.java index 57c2d7c8d1f..858bb7435d0 100644 --- a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1beta1/MachineAutoscaler.java +++ b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1beta1/MachineAutoscaler.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1beta1") @Group("autoscaling.openshift.io") @Generated("jsonschema2pojo") -public class MachineAutoscaler implements HasMetadata, Namespaced +public class MachineAutoscaler implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(MachineAutoscalerStatus status) { this.status = status; } + @JsonIgnore + public MachineAutoscalerBuilder edit() { + return new MachineAutoscalerBuilder(this); + } + + @JsonIgnore + public MachineAutoscalerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1beta1/MachineAutoscalerList.java b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1beta1/MachineAutoscalerList.java index 85f48661485..5412980cac5 100644 --- a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1beta1/MachineAutoscalerList.java +++ b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1beta1/MachineAutoscalerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("autoscaling.openshift.io") @Generated("jsonschema2pojo") -public class MachineAutoscalerList implements KubernetesResource, KubernetesResourceList +public class MachineAutoscalerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public MachineAutoscalerListBuilder edit() { + return new MachineAutoscalerListBuilder(this); + } + + @JsonIgnore + public MachineAutoscalerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1beta1/MachineAutoscalerSpec.java b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1beta1/MachineAutoscalerSpec.java index fff1ec28d99..d0a3ea58ec5 100644 --- a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1beta1/MachineAutoscalerSpec.java +++ b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1beta1/MachineAutoscalerSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachineAutoscalerSpec implements KubernetesResource +public class MachineAutoscalerSpec implements Editable , KubernetesResource { @JsonProperty("maxReplicas") @@ -113,6 +114,16 @@ public void setScaleTargetRef(CrossVersionObjectReference scaleTargetRef) { this.scaleTargetRef = scaleTargetRef; } + @JsonIgnore + public MachineAutoscalerSpecBuilder edit() { + return new MachineAutoscalerSpecBuilder(this); + } + + @JsonIgnore + public MachineAutoscalerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1beta1/MachineAutoscalerStatus.java b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1beta1/MachineAutoscalerStatus.java index 38850ea8590..fba080a538d 100644 --- a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1beta1/MachineAutoscalerStatus.java +++ b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1beta1/MachineAutoscalerStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachineAutoscalerStatus implements KubernetesResource +public class MachineAutoscalerStatus implements Editable , KubernetesResource { @JsonProperty("lastTargetRef") @@ -85,6 +86,16 @@ public void setLastTargetRef(CrossVersionObjectReference lastTargetRef) { this.lastTargetRef = lastTargetRef; } + @JsonIgnore + public MachineAutoscalerStatusBuilder edit() { + return new MachineAutoscalerStatusBuilder(this); + } + + @JsonIgnore + public MachineAutoscalerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index 24461207f24..087b9226050 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -144,7 +145,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -810,6 +812,16 @@ public void setTypeMeta(TypeMeta typeMeta) { this.typeMeta = typeMeta; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index 7d179d63d04..53ff6089161 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -144,7 +145,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -810,6 +812,16 @@ public void setTypeMeta(TypeMeta typeMeta) { this.typeMeta = typeMeta; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServer.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServer.java index a44b97ffe8c..95d3945f2fc 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServer.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class APIServer implements HasMetadata +public class APIServer implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(APIServerStatus status) { this.status = status; } + @JsonIgnore + public APIServerBuilder edit() { + return new APIServerBuilder(this); + } + + @JsonIgnore + public APIServerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerEncryption.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerEncryption.java index 19c3fdb6c90..7c145292224 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerEncryption.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerEncryption.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class APIServerEncryption implements KubernetesResource +public class APIServerEncryption implements Editable , KubernetesResource { @JsonProperty("type") @@ -85,6 +86,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public APIServerEncryptionBuilder edit() { + return new APIServerEncryptionBuilder(this); + } + + @JsonIgnore + public APIServerEncryptionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerList.java index 327aeb6d680..11dfcd4412f 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class APIServerList implements KubernetesResource, KubernetesResourceList +public class APIServerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public APIServerListBuilder edit() { + return new APIServerListBuilder(this); + } + + @JsonIgnore + public APIServerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerNamedServingCert.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerNamedServingCert.java index 9602fe6f9cc..be7465f5fd1 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerNamedServingCert.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerNamedServingCert.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class APIServerNamedServingCert implements KubernetesResource +public class APIServerNamedServingCert implements Editable , KubernetesResource { @JsonProperty("names") @@ -102,6 +103,16 @@ public void setServingCertificate(SecretNameReference servingCertificate) { this.servingCertificate = servingCertificate; } + @JsonIgnore + public APIServerNamedServingCertBuilder edit() { + return new APIServerNamedServingCertBuilder(this); + } + + @JsonIgnore + public APIServerNamedServingCertBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerServingCerts.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerServingCerts.java index 50932ab58d8..fd1a1b3025b 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerServingCerts.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerServingCerts.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class APIServerServingCerts implements KubernetesResource +public class APIServerServingCerts implements Editable , KubernetesResource { @JsonProperty("namedCertificates") @@ -88,6 +89,16 @@ public void setNamedCertificates(List namedCertificat this.namedCertificates = namedCertificates; } + @JsonIgnore + public APIServerServingCertsBuilder edit() { + return new APIServerServingCertsBuilder(this); + } + + @JsonIgnore + public APIServerServingCertsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerSpec.java index b6fbc745571..52e8332d65d 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class APIServerSpec implements KubernetesResource +public class APIServerSpec implements Editable , KubernetesResource { @JsonProperty("additionalCORSAllowedOrigins") @@ -158,6 +159,16 @@ public void setTlsSecurityProfile(TLSSecurityProfile tlsSecurityProfile) { this.tlsSecurityProfile = tlsSecurityProfile; } + @JsonIgnore + public APIServerSpecBuilder edit() { + return new APIServerSpecBuilder(this); + } + + @JsonIgnore + public APIServerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerStatus.java index d7d593538f4..8498d1ec41d 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerStatus.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class APIServerStatus implements KubernetesResource +public class APIServerStatus implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public APIServerStatusBuilder edit() { + return new APIServerStatusBuilder(this); + } + + @JsonIgnore + public APIServerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSDNSSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSDNSSpec.java index d049044b174..56e03377c85 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSDNSSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSDNSSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AWSDNSSpec implements KubernetesResource +public class AWSDNSSpec implements Editable , KubernetesResource { @JsonProperty("privateZoneIAMRole") @@ -85,6 +86,16 @@ public void setPrivateZoneIAMRole(String privateZoneIAMRole) { this.privateZoneIAMRole = privateZoneIAMRole; } + @JsonIgnore + public AWSDNSSpecBuilder edit() { + return new AWSDNSSpecBuilder(this); + } + + @JsonIgnore + public AWSDNSSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSIngressSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSIngressSpec.java index 316f10b104a..919131a79ba 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSIngressSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSIngressSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AWSIngressSpec implements KubernetesResource +public class AWSIngressSpec implements Editable , KubernetesResource { @JsonProperty("type") @@ -85,6 +86,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public AWSIngressSpecBuilder edit() { + return new AWSIngressSpecBuilder(this); + } + + @JsonIgnore + public AWSIngressSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSPlatformSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSPlatformSpec.java index 6bb79f111eb..e35ef74d11c 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSPlatformSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSPlatformSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AWSPlatformSpec implements KubernetesResource +public class AWSPlatformSpec implements Editable , KubernetesResource { @JsonProperty("serviceEndpoints") @@ -88,6 +89,16 @@ public void setServiceEndpoints(List serviceEndpoints) { this.serviceEndpoints = serviceEndpoints; } + @JsonIgnore + public AWSPlatformSpecBuilder edit() { + return new AWSPlatformSpecBuilder(this); + } + + @JsonIgnore + public AWSPlatformSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSPlatformStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSPlatformStatus.java index 5f9c8ebceab..c918e192a53 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSPlatformStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSPlatformStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AWSPlatformStatus implements KubernetesResource +public class AWSPlatformStatus implements Editable , KubernetesResource { @JsonProperty("region") @@ -117,6 +118,16 @@ public void setServiceEndpoints(List serviceEndpoints) { this.serviceEndpoints = serviceEndpoints; } + @JsonIgnore + public AWSPlatformStatusBuilder edit() { + return new AWSPlatformStatusBuilder(this); + } + + @JsonIgnore + public AWSPlatformStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSResourceTag.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSResourceTag.java index ac9497a231c..54bba1e46cc 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSResourceTag.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSResourceTag.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AWSResourceTag implements KubernetesResource +public class AWSResourceTag implements Editable , KubernetesResource { @JsonProperty("key") @@ -99,6 +100,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public AWSResourceTagBuilder edit() { + return new AWSResourceTagBuilder(this); + } + + @JsonIgnore + public AWSResourceTagBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSServiceEndpoint.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSServiceEndpoint.java index a91a83d32d2..8b6cb627fcd 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSServiceEndpoint.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSServiceEndpoint.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AWSServiceEndpoint implements KubernetesResource +public class AWSServiceEndpoint implements Editable , KubernetesResource { @JsonProperty("name") @@ -99,6 +100,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public AWSServiceEndpointBuilder edit() { + return new AWSServiceEndpointBuilder(this); + } + + @JsonIgnore + public AWSServiceEndpointBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AlibabaCloudPlatformSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AlibabaCloudPlatformSpec.java index ec465ae9173..2ec947a59a6 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AlibabaCloudPlatformSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AlibabaCloudPlatformSpec.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AlibabaCloudPlatformSpec implements KubernetesResource +public class AlibabaCloudPlatformSpec implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public AlibabaCloudPlatformSpecBuilder edit() { + return new AlibabaCloudPlatformSpecBuilder(this); + } + + @JsonIgnore + public AlibabaCloudPlatformSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AlibabaCloudPlatformStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AlibabaCloudPlatformStatus.java index d096d2d4f7f..32bc550af58 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AlibabaCloudPlatformStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AlibabaCloudPlatformStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AlibabaCloudPlatformStatus implements KubernetesResource +public class AlibabaCloudPlatformStatus implements Editable , KubernetesResource { @JsonProperty("region") @@ -116,6 +117,16 @@ public void setResourceTags(List resourceTags) { this.resourceTags = resourceTags; } + @JsonIgnore + public AlibabaCloudPlatformStatusBuilder edit() { + return new AlibabaCloudPlatformStatusBuilder(this); + } + + @JsonIgnore + public AlibabaCloudPlatformStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AlibabaCloudResourceTag.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AlibabaCloudResourceTag.java index e50e4dfd00d..52bed3309ef 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AlibabaCloudResourceTag.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AlibabaCloudResourceTag.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AlibabaCloudResourceTag implements KubernetesResource +public class AlibabaCloudResourceTag implements Editable , KubernetesResource { @JsonProperty("key") @@ -99,6 +100,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public AlibabaCloudResourceTagBuilder edit() { + return new AlibabaCloudResourceTagBuilder(this); + } + + @JsonIgnore + public AlibabaCloudResourceTagBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Audit.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Audit.java index a5c7a765f9a..9cca744bec3 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Audit.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Audit.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Audit implements KubernetesResource +public class Audit implements Editable , KubernetesResource { @JsonProperty("customRules") @@ -102,6 +103,16 @@ public void setProfile(String profile) { this.profile = profile; } + @JsonIgnore + public AuditBuilder edit() { + return new AuditBuilder(this); + } + + @JsonIgnore + public AuditBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuditCustomRule.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuditCustomRule.java index bc424448aee..e0cbc411a99 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuditCustomRule.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuditCustomRule.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AuditCustomRule implements KubernetesResource +public class AuditCustomRule implements Editable , KubernetesResource { @JsonProperty("group") @@ -99,6 +100,16 @@ public void setProfile(String profile) { this.profile = profile; } + @JsonIgnore + public AuditCustomRuleBuilder edit() { + return new AuditCustomRuleBuilder(this); + } + + @JsonIgnore + public AuditCustomRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Authentication.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Authentication.java index 7485cf762ef..1e37c508190 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Authentication.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Authentication.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class Authentication implements HasMetadata +public class Authentication implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(AuthenticationStatus status) { this.status = status; } + @JsonIgnore + public AuthenticationBuilder edit() { + return new AuthenticationBuilder(this); + } + + @JsonIgnore + public AuthenticationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuthenticationList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuthenticationList.java index 10b24d1da5d..7ae02087e98 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuthenticationList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuthenticationList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class AuthenticationList implements KubernetesResource, KubernetesResourceList +public class AuthenticationList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public AuthenticationListBuilder edit() { + return new AuthenticationListBuilder(this); + } + + @JsonIgnore + public AuthenticationListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuthenticationSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuthenticationSpec.java index 27e899849e6..c89a1e4191f 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuthenticationSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuthenticationSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AuthenticationSpec implements KubernetesResource +public class AuthenticationSpec implements Editable , KubernetesResource { @JsonProperty("oauthMetadata") @@ -144,6 +145,16 @@ public void setWebhookTokenAuthenticators(List getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuthenticationStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuthenticationStatus.java index 4ee8816a907..09aed08457e 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuthenticationStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuthenticationStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AuthenticationStatus implements KubernetesResource +public class AuthenticationStatus implements Editable , KubernetesResource { @JsonProperty("integratedOAuthMetadata") @@ -85,6 +86,16 @@ public void setIntegratedOAuthMetadata(ConfigMapNameReference integratedOAuthMet this.integratedOAuthMetadata = integratedOAuthMetadata; } + @JsonIgnore + public AuthenticationStatusBuilder edit() { + return new AuthenticationStatusBuilder(this); + } + + @JsonIgnore + public AuthenticationStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AzurePlatformSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AzurePlatformSpec.java index 37d4a81c1e4..3da36c4ea86 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AzurePlatformSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AzurePlatformSpec.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AzurePlatformSpec implements KubernetesResource +public class AzurePlatformSpec implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public AzurePlatformSpecBuilder edit() { + return new AzurePlatformSpecBuilder(this); + } + + @JsonIgnore + public AzurePlatformSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AzurePlatformStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AzurePlatformStatus.java index 9957806def8..f4211d66a28 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AzurePlatformStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AzurePlatformStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AzurePlatformStatus implements KubernetesResource +public class AzurePlatformStatus implements Editable , KubernetesResource { @JsonProperty("armEndpoint") @@ -144,6 +145,16 @@ public void setResourceTags(List resourceTags) { this.resourceTags = resourceTags; } + @JsonIgnore + public AzurePlatformStatusBuilder edit() { + return new AzurePlatformStatusBuilder(this); + } + + @JsonIgnore + public AzurePlatformStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AzureResourceTag.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AzureResourceTag.java index de1e88c9328..c3b88840dea 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AzureResourceTag.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AzureResourceTag.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AzureResourceTag implements KubernetesResource +public class AzureResourceTag implements Editable , KubernetesResource { @JsonProperty("key") @@ -99,6 +100,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public AzureResourceTagBuilder edit() { + return new AzureResourceTagBuilder(this); + } + + @JsonIgnore + public AzureResourceTagBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BareMetalPlatformLoadBalancer.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BareMetalPlatformLoadBalancer.java index b80f8dcec30..cce3bea8258 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BareMetalPlatformLoadBalancer.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BareMetalPlatformLoadBalancer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BareMetalPlatformLoadBalancer implements KubernetesResource +public class BareMetalPlatformLoadBalancer implements Editable , KubernetesResource { @JsonProperty("type") @@ -85,6 +86,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public BareMetalPlatformLoadBalancerBuilder edit() { + return new BareMetalPlatformLoadBalancerBuilder(this); + } + + @JsonIgnore + public BareMetalPlatformLoadBalancerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BareMetalPlatformSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BareMetalPlatformSpec.java index 7e53e5fefe3..9639d0cd590 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BareMetalPlatformSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BareMetalPlatformSpec.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BareMetalPlatformSpec implements KubernetesResource +public class BareMetalPlatformSpec implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public BareMetalPlatformSpecBuilder edit() { + return new BareMetalPlatformSpecBuilder(this); + } + + @JsonIgnore + public BareMetalPlatformSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BareMetalPlatformStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BareMetalPlatformStatus.java index 96f98afbf02..2178f437a53 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BareMetalPlatformStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BareMetalPlatformStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BareMetalPlatformStatus implements KubernetesResource +public class BareMetalPlatformStatus implements Editable , KubernetesResource { @JsonProperty("apiServerInternalIP") @@ -159,6 +160,16 @@ public void setNodeDNSIP(String nodeDNSIP) { this.nodeDNSIP = nodeDNSIP; } + @JsonIgnore + public BareMetalPlatformStatusBuilder edit() { + return new BareMetalPlatformStatusBuilder(this); + } + + @JsonIgnore + public BareMetalPlatformStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BasicAuthIdentityProvider.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BasicAuthIdentityProvider.java index 483b95aa8fa..64e003cc821 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BasicAuthIdentityProvider.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BasicAuthIdentityProvider.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BasicAuthIdentityProvider implements KubernetesResource +public class BasicAuthIdentityProvider implements Editable , KubernetesResource { @JsonProperty("ca") @@ -127,6 +128,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public BasicAuthIdentityProviderBuilder edit() { + return new BasicAuthIdentityProviderBuilder(this); + } + + @JsonIgnore + public BasicAuthIdentityProviderBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Build.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Build.java index b99e55cf8d0..71fcae36bdb 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Build.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Build.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -63,7 +64,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class Build implements HasMetadata +public class Build implements Editable , HasMetadata { /** @@ -162,6 +163,16 @@ public void setSpec(BuildSpec spec) { this.spec = spec; } + @JsonIgnore + public BuildBuilder edit() { + return new BuildBuilder(this); + } + + @JsonIgnore + public BuildBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BuildDefaults.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BuildDefaults.java index c92a2a0802a..14753fc6958 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BuildDefaults.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BuildDefaults.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BuildDefaults implements KubernetesResource +public class BuildDefaults implements Editable , KubernetesResource { @JsonProperty("defaultProxy") @@ -145,6 +146,16 @@ public void setResources(io.fabric8.kubernetes.api.model.ResourceRequirements re this.resources = resources; } + @JsonIgnore + public BuildDefaultsBuilder edit() { + return new BuildDefaultsBuilder(this); + } + + @JsonIgnore + public BuildDefaultsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BuildList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BuildList.java index c323a264c95..56bb7118cf6 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BuildList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BuildList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class BuildList implements KubernetesResource, KubernetesResourceList +public class BuildList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public BuildListBuilder edit() { + return new BuildListBuilder(this); + } + + @JsonIgnore + public BuildListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BuildOverrides.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BuildOverrides.java index 3d08a00d9db..214301167da 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BuildOverrides.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BuildOverrides.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BuildOverrides implements KubernetesResource +public class BuildOverrides implements Editable , KubernetesResource { @JsonProperty("forcePull") @@ -133,6 +134,16 @@ public void setTolerations(List tolerations) { this.tolerations = tolerations; } + @JsonIgnore + public BuildOverridesBuilder edit() { + return new BuildOverridesBuilder(this); + } + + @JsonIgnore + public BuildOverridesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BuildSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BuildSpec.java index 40fa265d635..a7e9d315cee 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BuildSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BuildSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BuildSpec implements KubernetesResource +public class BuildSpec implements Editable , KubernetesResource { @JsonProperty("additionalTrustedCA") @@ -113,6 +114,16 @@ public void setBuildOverrides(BuildOverrides buildOverrides) { this.buildOverrides = buildOverrides; } + @JsonIgnore + public BuildSpecBuilder edit() { + return new BuildSpecBuilder(this); + } + + @JsonIgnore + public BuildSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/CloudControllerManagerStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/CloudControllerManagerStatus.java index 0eb3cbfa137..6a125544877 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/CloudControllerManagerStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/CloudControllerManagerStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CloudControllerManagerStatus implements KubernetesResource +public class CloudControllerManagerStatus implements Editable , KubernetesResource { @JsonProperty("state") @@ -85,6 +86,16 @@ public void setState(String state) { this.state = state; } + @JsonIgnore + public CloudControllerManagerStatusBuilder edit() { + return new CloudControllerManagerStatusBuilder(this); + } + + @JsonIgnore + public CloudControllerManagerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterCondition.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterCondition.java index 092b8f7dadd..a62035a1e51 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterCondition.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterCondition implements KubernetesResource +public class ClusterCondition implements Editable , KubernetesResource { @JsonProperty("promql") @@ -99,6 +100,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public ClusterConditionBuilder edit() { + return new ClusterConditionBuilder(this); + } + + @JsonIgnore + public ClusterConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterNetworkEntry.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterNetworkEntry.java index 527d51e5bda..cca8059ce76 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterNetworkEntry.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterNetworkEntry.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterNetworkEntry implements KubernetesResource +public class ClusterNetworkEntry implements Editable , KubernetesResource { @JsonProperty("cidr") @@ -99,6 +100,16 @@ public void setHostPrefix(Integer hostPrefix) { this.hostPrefix = hostPrefix; } + @JsonIgnore + public ClusterNetworkEntryBuilder edit() { + return new ClusterNetworkEntryBuilder(this); + } + + @JsonIgnore + public ClusterNetworkEntryBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterOperator.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterOperator.java index aabe10b7bbe..23410b090d1 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterOperator.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterOperator.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class ClusterOperator implements HasMetadata +public class ClusterOperator implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(ClusterOperatorStatus status) { this.status = status; } + @JsonIgnore + public ClusterOperatorBuilder edit() { + return new ClusterOperatorBuilder(this); + } + + @JsonIgnore + public ClusterOperatorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterOperatorList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterOperatorList.java index 5b69d8a1325..1dfc4e8885b 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterOperatorList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterOperatorList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class ClusterOperatorList implements KubernetesResource, KubernetesResourceList +public class ClusterOperatorList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterOperatorListBuilder edit() { + return new ClusterOperatorListBuilder(this); + } + + @JsonIgnore + public ClusterOperatorListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterOperatorSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterOperatorSpec.java index cf2e0837e58..c14dca642b0 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterOperatorSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterOperatorSpec.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterOperatorSpec implements KubernetesResource +public class ClusterOperatorSpec implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public ClusterOperatorSpecBuilder edit() { + return new ClusterOperatorSpecBuilder(this); + } + + @JsonIgnore + public ClusterOperatorSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterOperatorStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterOperatorStatus.java index b0665b8f493..98286ecbbc4 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterOperatorStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterOperatorStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterOperatorStatus implements KubernetesResource +public class ClusterOperatorStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -132,6 +133,16 @@ public void setVersions(List versions) { this.versions = versions; } + @JsonIgnore + public ClusterOperatorStatusBuilder edit() { + return new ClusterOperatorStatusBuilder(this); + } + + @JsonIgnore + public ClusterOperatorStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterOperatorStatusCondition.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterOperatorStatusCondition.java index bac87042cd5..b34ef3c90b1 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterOperatorStatusCondition.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterOperatorStatusCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterOperatorStatusCondition implements KubernetesResource +public class ClusterOperatorStatusCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public ClusterOperatorStatusConditionBuilder edit() { + return new ClusterOperatorStatusConditionBuilder(this); + } + + @JsonIgnore + public ClusterOperatorStatusConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersion.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersion.java index 7f3b27e95f6..4ae0da6a5da 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersion.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersion.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class ClusterVersion implements HasMetadata +public class ClusterVersion implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(ClusterVersionStatus status) { this.status = status; } + @JsonIgnore + public ClusterVersionBuilder edit() { + return new ClusterVersionBuilder(this); + } + + @JsonIgnore + public ClusterVersionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersionCapabilitiesSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersionCapabilitiesSpec.java index b69b784cd51..ba285384e6a 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersionCapabilitiesSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersionCapabilitiesSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterVersionCapabilitiesSpec implements KubernetesResource +public class ClusterVersionCapabilitiesSpec implements Editable , KubernetesResource { @JsonProperty("additionalEnabledCapabilities") @@ -102,6 +103,16 @@ public void setBaselineCapabilitySet(String baselineCapabilitySet) { this.baselineCapabilitySet = baselineCapabilitySet; } + @JsonIgnore + public ClusterVersionCapabilitiesSpecBuilder edit() { + return new ClusterVersionCapabilitiesSpecBuilder(this); + } + + @JsonIgnore + public ClusterVersionCapabilitiesSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersionCapabilitiesStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersionCapabilitiesStatus.java index 5eb5b4f9f53..8fd46bb6a06 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersionCapabilitiesStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersionCapabilitiesStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterVersionCapabilitiesStatus implements KubernetesResource +public class ClusterVersionCapabilitiesStatus implements Editable , KubernetesResource { @JsonProperty("enabledCapabilities") @@ -103,6 +104,16 @@ public void setKnownCapabilities(List knownCapabilities) { this.knownCapabilities = knownCapabilities; } + @JsonIgnore + public ClusterVersionCapabilitiesStatusBuilder edit() { + return new ClusterVersionCapabilitiesStatusBuilder(this); + } + + @JsonIgnore + public ClusterVersionCapabilitiesStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersionList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersionList.java index c2772beaca2..1a49657d953 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersionList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersionList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class ClusterVersionList implements KubernetesResource, KubernetesResourceList +public class ClusterVersionList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterVersionListBuilder edit() { + return new ClusterVersionListBuilder(this); + } + + @JsonIgnore + public ClusterVersionListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersionSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersionSpec.java index 30b0bc40d9e..03ee9e8483c 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersionSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersionSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterVersionSpec implements KubernetesResource +public class ClusterVersionSpec implements Editable , KubernetesResource { @JsonProperty("capabilities") @@ -158,6 +159,16 @@ public void setUpstream(String upstream) { this.upstream = upstream; } + @JsonIgnore + public ClusterVersionSpecBuilder edit() { + return new ClusterVersionSpecBuilder(this); + } + + @JsonIgnore + public ClusterVersionSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersionStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersionStatus.java index 985c23db028..dd7883f9d56 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersionStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersionStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterVersionStatus implements KubernetesResource +public class ClusterVersionStatus implements Editable , KubernetesResource { @JsonProperty("availableUpdates") @@ -189,6 +190,16 @@ public void setVersionHash(String versionHash) { this.versionHash = versionHash; } + @JsonIgnore + public ClusterVersionStatusBuilder edit() { + return new ClusterVersionStatusBuilder(this); + } + + @JsonIgnore + public ClusterVersionStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ComponentOverride.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ComponentOverride.java index 7d14f44e8e9..4a5c98c6b7a 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ComponentOverride.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ComponentOverride.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ComponentOverride implements KubernetesResource +public class ComponentOverride implements Editable , KubernetesResource { @JsonProperty("group") @@ -140,6 +141,16 @@ public void setUnmanaged(Boolean unmanaged) { this.unmanaged = unmanaged; } + @JsonIgnore + public ComponentOverrideBuilder edit() { + return new ComponentOverrideBuilder(this); + } + + @JsonIgnore + public ComponentOverrideBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ComponentRouteSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ComponentRouteSpec.java index fb8e7cf4553..a3ee26bb199 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ComponentRouteSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ComponentRouteSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ComponentRouteSpec implements KubernetesResource +public class ComponentRouteSpec implements Editable , KubernetesResource { @JsonProperty("hostname") @@ -127,6 +128,16 @@ public void setServingCertKeyPairSecret(SecretNameReference servingCertKeyPairSe this.servingCertKeyPairSecret = servingCertKeyPairSecret; } + @JsonIgnore + public ComponentRouteSpecBuilder edit() { + return new ComponentRouteSpecBuilder(this); + } + + @JsonIgnore + public ComponentRouteSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ComponentRouteStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ComponentRouteStatus.java index 4154503b6e1..acf534f5414 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ComponentRouteStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ComponentRouteStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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; @@ -63,7 +64,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ComponentRouteStatus implements KubernetesResource +public class ComponentRouteStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -175,6 +176,16 @@ public void setRelatedObjects(List getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConditionalUpdate.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConditionalUpdate.java index 6d8e6819978..44b4d15911f 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConditionalUpdate.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConditionalUpdate.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ConditionalUpdate implements KubernetesResource +public class ConditionalUpdate implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -118,6 +119,16 @@ public void setRisks(List risks) { this.risks = risks; } + @JsonIgnore + public ConditionalUpdateBuilder edit() { + return new ConditionalUpdateBuilder(this); + } + + @JsonIgnore + public ConditionalUpdateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConditionalUpdateRisk.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConditionalUpdateRisk.java index 932469c1cfc..f6b9319ffc6 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConditionalUpdateRisk.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConditionalUpdateRisk.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ConditionalUpdateRisk implements KubernetesResource +public class ConditionalUpdateRisk implements Editable , KubernetesResource { @JsonProperty("matchingRules") @@ -130,6 +131,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public ConditionalUpdateRiskBuilder edit() { + return new ConditionalUpdateRiskBuilder(this); + } + + @JsonIgnore + public ConditionalUpdateRiskBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConfigMapFileReference.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConfigMapFileReference.java index eb0a41336be..8dc36e33326 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConfigMapFileReference.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConfigMapFileReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ConfigMapFileReference implements KubernetesResource +public class ConfigMapFileReference implements Editable , KubernetesResource { @JsonProperty("key") @@ -99,6 +100,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public ConfigMapFileReferenceBuilder edit() { + return new ConfigMapFileReferenceBuilder(this); + } + + @JsonIgnore + public ConfigMapFileReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConfigMapNameReference.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConfigMapNameReference.java index 84e35433119..49a7901a59f 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConfigMapNameReference.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConfigMapNameReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ConfigMapNameReference implements KubernetesResource +public class ConfigMapNameReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -85,6 +86,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public ConfigMapNameReferenceBuilder edit() { + return new ConfigMapNameReferenceBuilder(this); + } + + @JsonIgnore + public ConfigMapNameReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Console.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Console.java index 48c85b318f9..7e574549200 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Console.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Console.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class Console implements HasMetadata +public class Console implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(ConsoleStatus status) { this.status = status; } + @JsonIgnore + public ConsoleBuilder edit() { + return new ConsoleBuilder(this); + } + + @JsonIgnore + public ConsoleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConsoleAuthentication.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConsoleAuthentication.java index 0d053b9d8c1..d44a4141830 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConsoleAuthentication.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConsoleAuthentication.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ConsoleAuthentication implements KubernetesResource +public class ConsoleAuthentication implements Editable , KubernetesResource { @JsonProperty("logoutRedirect") @@ -85,6 +86,16 @@ public void setLogoutRedirect(String logoutRedirect) { this.logoutRedirect = logoutRedirect; } + @JsonIgnore + public ConsoleAuthenticationBuilder edit() { + return new ConsoleAuthenticationBuilder(this); + } + + @JsonIgnore + public ConsoleAuthenticationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConsoleList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConsoleList.java index 29df277fbd4..394d37136fa 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConsoleList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConsoleList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class ConsoleList implements KubernetesResource, KubernetesResourceList +public class ConsoleList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ConsoleListBuilder edit() { + return new ConsoleListBuilder(this); + } + + @JsonIgnore + public ConsoleListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConsoleSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConsoleSpec.java index 89a2191d53d..178916f930e 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConsoleSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConsoleSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ConsoleSpec implements KubernetesResource +public class ConsoleSpec implements Editable , KubernetesResource { @JsonProperty("authentication") @@ -85,6 +86,16 @@ public void setAuthentication(ConsoleAuthentication authentication) { this.authentication = authentication; } + @JsonIgnore + public ConsoleSpecBuilder edit() { + return new ConsoleSpecBuilder(this); + } + + @JsonIgnore + public ConsoleSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConsoleStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConsoleStatus.java index 14ac525ffe0..d15229b65cd 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConsoleStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConsoleStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ConsoleStatus implements KubernetesResource +public class ConsoleStatus implements Editable , KubernetesResource { @JsonProperty("consoleURL") @@ -85,6 +86,16 @@ public void setConsoleURL(String consoleURL) { this.consoleURL = consoleURL; } + @JsonIgnore + public ConsoleStatusBuilder edit() { + return new ConsoleStatusBuilder(this); + } + + @JsonIgnore + public ConsoleStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/CustomFeatureGates.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/CustomFeatureGates.java index 59d45fb1356..315b10be3d1 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/CustomFeatureGates.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/CustomFeatureGates.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CustomFeatureGates implements KubernetesResource +public class CustomFeatureGates implements Editable , KubernetesResource { @JsonProperty("disabled") @@ -103,6 +104,16 @@ public void setEnabled(List enabled) { this.enabled = enabled; } + @JsonIgnore + public CustomFeatureGatesBuilder edit() { + return new CustomFeatureGatesBuilder(this); + } + + @JsonIgnore + public CustomFeatureGatesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/CustomTLSProfile.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/CustomTLSProfile.java index b87eb8bfd3f..8296cc4a7e4 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/CustomTLSProfile.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/CustomTLSProfile.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CustomTLSProfile implements KubernetesResource +public class CustomTLSProfile implements Editable , KubernetesResource { @JsonProperty("ciphers") @@ -102,6 +103,16 @@ public void setMinTLSVersion(String minTLSVersion) { this.minTLSVersion = minTLSVersion; } + @JsonIgnore + public CustomTLSProfileBuilder edit() { + return new CustomTLSProfileBuilder(this); + } + + @JsonIgnore + public CustomTLSProfileBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DNS.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DNS.java index 6aea5672d59..4440e57d375 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DNS.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DNS.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class DNS implements HasMetadata +public class DNS implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(DNSStatus status) { this.status = status; } + @JsonIgnore + public DNSBuilder edit() { + return new DNSBuilder(this); + } + + @JsonIgnore + public DNSBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DNSList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DNSList.java index 8e880df675f..a304f5dc167 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DNSList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DNSList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class DNSList implements KubernetesResource, KubernetesResourceList +public class DNSList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public DNSListBuilder edit() { + return new DNSListBuilder(this); + } + + @JsonIgnore + public DNSListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DNSPlatformSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DNSPlatformSpec.java index b57da452a3a..318daabb0be 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DNSPlatformSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DNSPlatformSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DNSPlatformSpec implements KubernetesResource +public class DNSPlatformSpec implements Editable , KubernetesResource { @JsonProperty("aws") @@ -99,6 +100,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public DNSPlatformSpecBuilder edit() { + return new DNSPlatformSpecBuilder(this); + } + + @JsonIgnore + public DNSPlatformSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DNSSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DNSSpec.java index c5f010eea87..79357aff60b 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DNSSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DNSSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DNSSpec implements KubernetesResource +public class DNSSpec implements Editable , KubernetesResource { @JsonProperty("baseDomain") @@ -127,6 +128,16 @@ public void setPublicZone(DNSZone publicZone) { this.publicZone = publicZone; } + @JsonIgnore + public DNSSpecBuilder edit() { + return new DNSSpecBuilder(this); + } + + @JsonIgnore + public DNSSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DNSStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DNSStatus.java index 2a88a3cdff4..9654b73188c 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DNSStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DNSStatus.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DNSStatus implements KubernetesResource +public class DNSStatus implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public DNSStatusBuilder edit() { + return new DNSStatusBuilder(this); + } + + @JsonIgnore + public DNSStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DNSZone.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DNSZone.java index 375c27801d5..83fa2954c3e 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DNSZone.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DNSZone.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DNSZone implements KubernetesResource +public class DNSZone implements Editable , KubernetesResource { @JsonProperty("id") @@ -100,6 +101,16 @@ public void setTags(Map tags) { this.tags = tags; } + @JsonIgnore + public DNSZoneBuilder edit() { + return new DNSZoneBuilder(this); + } + + @JsonIgnore + public DNSZoneBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DeprecatedWebhookTokenAuthenticator.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DeprecatedWebhookTokenAuthenticator.java index e6796b05e00..16cdfddc67c 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DeprecatedWebhookTokenAuthenticator.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DeprecatedWebhookTokenAuthenticator.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DeprecatedWebhookTokenAuthenticator implements KubernetesResource +public class DeprecatedWebhookTokenAuthenticator implements Editable , KubernetesResource { @JsonProperty("kubeConfig") @@ -85,6 +86,16 @@ public void setKubeConfig(SecretNameReference kubeConfig) { this.kubeConfig = kubeConfig; } + @JsonIgnore + public DeprecatedWebhookTokenAuthenticatorBuilder edit() { + return new DeprecatedWebhookTokenAuthenticatorBuilder(this); + } + + @JsonIgnore + public DeprecatedWebhookTokenAuthenticatorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/EquinixMetalPlatformSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/EquinixMetalPlatformSpec.java index 19351e2cd82..ebfbac2537a 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/EquinixMetalPlatformSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/EquinixMetalPlatformSpec.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class EquinixMetalPlatformSpec implements KubernetesResource +public class EquinixMetalPlatformSpec implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public EquinixMetalPlatformSpecBuilder edit() { + return new EquinixMetalPlatformSpecBuilder(this); + } + + @JsonIgnore + public EquinixMetalPlatformSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/EquinixMetalPlatformStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/EquinixMetalPlatformStatus.java index 2c408fb4ce1..1f1d55d67a4 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/EquinixMetalPlatformStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/EquinixMetalPlatformStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class EquinixMetalPlatformStatus implements KubernetesResource +public class EquinixMetalPlatformStatus implements Editable , KubernetesResource { @JsonProperty("apiServerInternalIP") @@ -99,6 +100,16 @@ public void setIngressIP(String ingressIP) { this.ingressIP = ingressIP; } + @JsonIgnore + public EquinixMetalPlatformStatusBuilder edit() { + return new EquinixMetalPlatformStatusBuilder(this); + } + + @JsonIgnore + public EquinixMetalPlatformStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ExternalIPConfig.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ExternalIPConfig.java index 1426e4b0f4d..04c199977e4 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ExternalIPConfig.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ExternalIPConfig.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ExternalIPConfig implements KubernetesResource +public class ExternalIPConfig implements Editable , KubernetesResource { @JsonProperty("autoAssignCIDRs") @@ -102,6 +103,16 @@ public void setPolicy(ExternalIPPolicy policy) { this.policy = policy; } + @JsonIgnore + public ExternalIPConfigBuilder edit() { + return new ExternalIPConfigBuilder(this); + } + + @JsonIgnore + public ExternalIPConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ExternalIPPolicy.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ExternalIPPolicy.java index ba9f7af8083..072865c8d36 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ExternalIPPolicy.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ExternalIPPolicy.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ExternalIPPolicy implements KubernetesResource +public class ExternalIPPolicy implements Editable , KubernetesResource { @JsonProperty("allowedCIDRs") @@ -103,6 +104,16 @@ public void setRejectedCIDRs(List rejectedCIDRs) { this.rejectedCIDRs = rejectedCIDRs; } + @JsonIgnore + public ExternalIPPolicyBuilder edit() { + return new ExternalIPPolicyBuilder(this); + } + + @JsonIgnore + public ExternalIPPolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ExternalPlatformSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ExternalPlatformSpec.java index b98c5dc057f..ef8214edd47 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ExternalPlatformSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ExternalPlatformSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ExternalPlatformSpec implements KubernetesResource +public class ExternalPlatformSpec implements Editable , KubernetesResource { @JsonProperty("platformName") @@ -85,6 +86,16 @@ public void setPlatformName(String platformName) { this.platformName = platformName; } + @JsonIgnore + public ExternalPlatformSpecBuilder edit() { + return new ExternalPlatformSpecBuilder(this); + } + + @JsonIgnore + public ExternalPlatformSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ExternalPlatformStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ExternalPlatformStatus.java index f5b5323e9c8..8c8a8df3448 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ExternalPlatformStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ExternalPlatformStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ExternalPlatformStatus implements KubernetesResource +public class ExternalPlatformStatus implements Editable , KubernetesResource { @JsonProperty("cloudControllerManager") @@ -85,6 +86,16 @@ public void setCloudControllerManager(CloudControllerManagerStatus cloudControll this.cloudControllerManager = cloudControllerManager; } + @JsonIgnore + public ExternalPlatformStatusBuilder edit() { + return new ExternalPlatformStatusBuilder(this); + } + + @JsonIgnore + public ExternalPlatformStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGate.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGate.java index c85bcdf6a25..aa609087c56 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGate.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class FeatureGate implements HasMetadata +public class FeatureGate implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(FeatureGateStatus status) { this.status = status; } + @JsonIgnore + public FeatureGateBuilder edit() { + return new FeatureGateBuilder(this); + } + + @JsonIgnore + public FeatureGateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateAttributes.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateAttributes.java index 9de1f8906ff..b40bd9311cf 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateAttributes.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateAttributes.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class FeatureGateAttributes implements KubernetesResource +public class FeatureGateAttributes implements Editable , KubernetesResource { @JsonProperty("name") @@ -85,6 +86,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public FeatureGateAttributesBuilder edit() { + return new FeatureGateAttributesBuilder(this); + } + + @JsonIgnore + public FeatureGateAttributesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateDetails.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateDetails.java index 062be826984..804edf8fdff 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateDetails.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateDetails.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class FeatureGateDetails implements KubernetesResource +public class FeatureGateDetails implements Editable , KubernetesResource { @JsonProperty("disabled") @@ -117,6 +118,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public FeatureGateDetailsBuilder edit() { + return new FeatureGateDetailsBuilder(this); + } + + @JsonIgnore + public FeatureGateDetailsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateList.java index 20981663118..14d7db5afed 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class FeatureGateList implements KubernetesResource, KubernetesResourceList +public class FeatureGateList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public FeatureGateListBuilder edit() { + return new FeatureGateListBuilder(this); + } + + @JsonIgnore + public FeatureGateListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateSpec.java index 0476bd7a655..b0066c47b9a 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class FeatureGateSpec implements KubernetesResource +public class FeatureGateSpec implements Editable , KubernetesResource { @JsonProperty("customNoUpgrade") @@ -99,6 +100,16 @@ public void setFeatureSet(String featureSet) { this.featureSet = featureSet; } + @JsonIgnore + public FeatureGateSpecBuilder edit() { + return new FeatureGateSpecBuilder(this); + } + + @JsonIgnore + public FeatureGateSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateStatus.java index 5458ab2f1c7..cff3cee4b29 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class FeatureGateStatus implements KubernetesResource +public class FeatureGateStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -104,6 +105,16 @@ public void setFeatureGates(List featureGates) { this.featureGates = featureGates; } + @JsonIgnore + public FeatureGateStatusBuilder edit() { + return new FeatureGateStatusBuilder(this); + } + + @JsonIgnore + public FeatureGateStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/GCPPlatformSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/GCPPlatformSpec.java index 06e6d8c26f8..24644a35d6b 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/GCPPlatformSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/GCPPlatformSpec.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GCPPlatformSpec implements KubernetesResource +public class GCPPlatformSpec implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public GCPPlatformSpecBuilder edit() { + return new GCPPlatformSpecBuilder(this); + } + + @JsonIgnore + public GCPPlatformSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/GCPPlatformStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/GCPPlatformStatus.java index d9780299f8c..01129d81373 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/GCPPlatformStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/GCPPlatformStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GCPPlatformStatus implements KubernetesResource +public class GCPPlatformStatus implements Editable , KubernetesResource { @JsonProperty("projectID") @@ -99,6 +100,16 @@ public void setRegion(String region) { this.region = region; } + @JsonIgnore + public GCPPlatformStatusBuilder edit() { + return new GCPPlatformStatusBuilder(this); + } + + @JsonIgnore + public GCPPlatformStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/GitHubIdentityProvider.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/GitHubIdentityProvider.java index 8cbc0c655be..0c6c7fc88d5 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/GitHubIdentityProvider.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/GitHubIdentityProvider.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GitHubIdentityProvider implements KubernetesResource +public class GitHubIdentityProvider implements Editable , KubernetesResource { @JsonProperty("ca") @@ -159,6 +160,16 @@ public void setTeams(List teams) { this.teams = teams; } + @JsonIgnore + public GitHubIdentityProviderBuilder edit() { + return new GitHubIdentityProviderBuilder(this); + } + + @JsonIgnore + public GitHubIdentityProviderBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/GitLabIdentityProvider.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/GitLabIdentityProvider.java index 92a9fa12284..d85858d8fda 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/GitLabIdentityProvider.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/GitLabIdentityProvider.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GitLabIdentityProvider implements KubernetesResource +public class GitLabIdentityProvider implements Editable , KubernetesResource { @JsonProperty("ca") @@ -127,6 +128,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public GitLabIdentityProviderBuilder edit() { + return new GitLabIdentityProviderBuilder(this); + } + + @JsonIgnore + public GitLabIdentityProviderBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/GoogleIdentityProvider.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/GoogleIdentityProvider.java index 95b2eed3bff..985f098eb9f 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/GoogleIdentityProvider.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/GoogleIdentityProvider.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GoogleIdentityProvider implements KubernetesResource +public class GoogleIdentityProvider implements Editable , KubernetesResource { @JsonProperty("clientID") @@ -113,6 +114,16 @@ public void setHostedDomain(String hostedDomain) { this.hostedDomain = hostedDomain; } + @JsonIgnore + public GoogleIdentityProviderBuilder edit() { + return new GoogleIdentityProviderBuilder(this); + } + + @JsonIgnore + public GoogleIdentityProviderBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/HTPasswdIdentityProvider.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/HTPasswdIdentityProvider.java index 9e97476ad4f..e0fb5d7031b 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/HTPasswdIdentityProvider.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/HTPasswdIdentityProvider.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HTPasswdIdentityProvider implements KubernetesResource +public class HTPasswdIdentityProvider implements Editable , KubernetesResource { @JsonProperty("fileData") @@ -85,6 +86,16 @@ public void setFileData(SecretNameReference fileData) { this.fileData = fileData; } + @JsonIgnore + public HTPasswdIdentityProviderBuilder edit() { + return new HTPasswdIdentityProviderBuilder(this); + } + + @JsonIgnore + public HTPasswdIdentityProviderBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/HubSource.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/HubSource.java index e022ebfad61..020285ff18b 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/HubSource.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/HubSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HubSource implements KubernetesResource +public class HubSource implements Editable , KubernetesResource { @JsonProperty("disabled") @@ -99,6 +100,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public HubSourceBuilder edit() { + return new HubSourceBuilder(this); + } + + @JsonIgnore + public HubSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/HubSourceStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/HubSourceStatus.java index 1e218cb2820..d919e7c368a 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/HubSourceStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/HubSourceStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HubSourceStatus implements KubernetesResource +public class HubSourceStatus implements Editable , KubernetesResource { @JsonProperty("disabled") @@ -127,6 +128,16 @@ public void setStatus(String status) { this.status = status; } + @JsonIgnore + public HubSourceStatusBuilder edit() { + return new HubSourceStatusBuilder(this); + } + + @JsonIgnore + public HubSourceStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IBMCloudPlatformSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IBMCloudPlatformSpec.java index 15083a061ab..dded58ad817 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IBMCloudPlatformSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IBMCloudPlatformSpec.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IBMCloudPlatformSpec implements KubernetesResource +public class IBMCloudPlatformSpec implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public IBMCloudPlatformSpecBuilder edit() { + return new IBMCloudPlatformSpecBuilder(this); + } + + @JsonIgnore + public IBMCloudPlatformSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IBMCloudPlatformStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IBMCloudPlatformStatus.java index be1da283e34..5e791b989c7 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IBMCloudPlatformStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IBMCloudPlatformStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IBMCloudPlatformStatus implements KubernetesResource +public class IBMCloudPlatformStatus implements Editable , KubernetesResource { @JsonProperty("cisInstanceCRN") @@ -141,6 +142,16 @@ public void setResourceGroupName(String resourceGroupName) { this.resourceGroupName = resourceGroupName; } + @JsonIgnore + public IBMCloudPlatformStatusBuilder edit() { + return new IBMCloudPlatformStatusBuilder(this); + } + + @JsonIgnore + public IBMCloudPlatformStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IdentityProvider.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IdentityProvider.java index 4e98012b125..16d55c02da8 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IdentityProvider.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IdentityProvider.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -66,7 +67,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IdentityProvider implements KubernetesResource +public class IdentityProvider implements Editable , KubernetesResource { @JsonProperty("basicAuth") @@ -239,6 +240,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public IdentityProviderBuilder edit() { + return new IdentityProviderBuilder(this); + } + + @JsonIgnore + public IdentityProviderBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Image.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Image.java index 616c6070e25..7f8dea4dbdb 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Image.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Image.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class Image implements HasMetadata +public class Image implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(ImageStatus status) { this.status = status; } + @JsonIgnore + public ImageBuilder edit() { + return new ImageBuilder(this); + } + + @JsonIgnore + public ImageBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageContentPolicy.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageContentPolicy.java index 3de523de83e..dd0c6c010d3 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageContentPolicy.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageContentPolicy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -63,7 +64,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class ImageContentPolicy implements HasMetadata +public class ImageContentPolicy implements Editable , HasMetadata { /** @@ -162,6 +163,16 @@ public void setSpec(ImageContentPolicySpec spec) { this.spec = spec; } + @JsonIgnore + public ImageContentPolicyBuilder edit() { + return new ImageContentPolicyBuilder(this); + } + + @JsonIgnore + public ImageContentPolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageContentPolicyList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageContentPolicyList.java index e31977fe7cd..6991dcdf0bc 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageContentPolicyList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageContentPolicyList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class ImageContentPolicyList implements KubernetesResource, KubernetesResourceList +public class ImageContentPolicyList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ImageContentPolicyListBuilder edit() { + return new ImageContentPolicyListBuilder(this); + } + + @JsonIgnore + public ImageContentPolicyListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageContentPolicySpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageContentPolicySpec.java index 6672d95d8f1..330f1d634b5 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageContentPolicySpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageContentPolicySpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageContentPolicySpec implements KubernetesResource +public class ImageContentPolicySpec implements Editable , KubernetesResource { @JsonProperty("repositoryDigestMirrors") @@ -88,6 +89,16 @@ public void setRepositoryDigestMirrors(List repositoryD this.repositoryDigestMirrors = repositoryDigestMirrors; } + @JsonIgnore + public ImageContentPolicySpecBuilder edit() { + return new ImageContentPolicySpecBuilder(this); + } + + @JsonIgnore + public ImageContentPolicySpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageLabel.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageLabel.java index f97c3ee4134..9c74fdb1738 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageLabel.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageLabel.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageLabel implements KubernetesResource +public class ImageLabel implements Editable , KubernetesResource { @JsonProperty("name") @@ -99,6 +100,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public ImageLabelBuilder edit() { + return new ImageLabelBuilder(this); + } + + @JsonIgnore + public ImageLabelBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageList.java index d91ab0b186c..3d901f9b8d9 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class ImageList implements KubernetesResource, KubernetesResourceList +public class ImageList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ImageListBuilder edit() { + return new ImageListBuilder(this); + } + + @JsonIgnore + public ImageListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageSpec.java index dee5d5d87a6..f2be2a88cc5 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageSpec implements KubernetesResource +public class ImageSpec implements Editable , KubernetesResource { @JsonProperty("additionalTrustedCA") @@ -131,6 +132,16 @@ public void setRegistrySources(RegistrySources registrySources) { this.registrySources = registrySources; } + @JsonIgnore + public ImageSpecBuilder edit() { + return new ImageSpecBuilder(this); + } + + @JsonIgnore + public ImageSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageStatus.java index e5929ff797a..4b2ab92c44b 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageStatus implements KubernetesResource +public class ImageStatus implements Editable , KubernetesResource { @JsonProperty("externalRegistryHostnames") @@ -102,6 +103,16 @@ public void setInternalRegistryHostname(String internalRegistryHostname) { this.internalRegistryHostname = internalRegistryHostname; } + @JsonIgnore + public ImageStatusBuilder edit() { + return new ImageStatusBuilder(this); + } + + @JsonIgnore + public ImageStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Infrastructure.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Infrastructure.java index 53db74e9910..304faf16b69 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Infrastructure.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Infrastructure.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class Infrastructure implements HasMetadata +public class Infrastructure implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(InfrastructureStatus status) { this.status = status; } + @JsonIgnore + public InfrastructureBuilder edit() { + return new InfrastructureBuilder(this); + } + + @JsonIgnore + public InfrastructureBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureList.java index 884ea07f414..330e69177f2 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class InfrastructureList implements KubernetesResource, KubernetesResourceList +public class InfrastructureList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public InfrastructureListBuilder edit() { + return new InfrastructureListBuilder(this); + } + + @JsonIgnore + public InfrastructureListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureSpec.java index 53b5f9164d3..04878313aba 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class InfrastructureSpec implements KubernetesResource +public class InfrastructureSpec implements Editable , KubernetesResource { @JsonProperty("cloudConfig") @@ -99,6 +100,16 @@ public void setPlatformSpec(PlatformSpec platformSpec) { this.platformSpec = platformSpec; } + @JsonIgnore + public InfrastructureSpecBuilder edit() { + return new InfrastructureSpecBuilder(this); + } + + @JsonIgnore + public InfrastructureSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureStatus.java index 714aad83e0d..ec905ebdd14 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -63,7 +64,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class InfrastructureStatus implements KubernetesResource +public class InfrastructureStatus implements Editable , KubernetesResource { @JsonProperty("apiServerInternalURI") @@ -197,6 +198,16 @@ public void setPlatformStatus(PlatformStatus platformStatus) { this.platformStatus = platformStatus; } + @JsonIgnore + public InfrastructureStatusBuilder edit() { + return new InfrastructureStatusBuilder(this); + } + + @JsonIgnore + public InfrastructureStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Ingress.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Ingress.java index 71e0bf3690d..4d7187f9947 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Ingress.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Ingress.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class Ingress implements HasMetadata +public class Ingress implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(IngressStatus status) { this.status = status; } + @JsonIgnore + public IngressBuilder edit() { + return new IngressBuilder(this); + } + + @JsonIgnore + public IngressBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IngressList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IngressList.java index 4b90c7df76e..93570ae2bc8 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IngressList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IngressList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class IngressList implements KubernetesResource, KubernetesResourceList +public class IngressList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public IngressListBuilder edit() { + return new IngressListBuilder(this); + } + + @JsonIgnore + public IngressListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IngressPlatformSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IngressPlatformSpec.java index 7421dbfd1a8..39987d26da1 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IngressPlatformSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IngressPlatformSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressPlatformSpec implements KubernetesResource +public class IngressPlatformSpec implements Editable , KubernetesResource { @JsonProperty("aws") @@ -99,6 +100,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public IngressPlatformSpecBuilder edit() { + return new IngressPlatformSpecBuilder(this); + } + + @JsonIgnore + public IngressPlatformSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IngressSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IngressSpec.java index da8e87c0d6e..f42bfff6e90 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IngressSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IngressSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressSpec implements KubernetesResource +public class IngressSpec implements Editable , KubernetesResource { @JsonProperty("appsDomain") @@ -145,6 +146,16 @@ public void setRequiredHSTSPolicies(List requiredHSTSPolicie this.requiredHSTSPolicies = requiredHSTSPolicies; } + @JsonIgnore + public IngressSpecBuilder edit() { + return new IngressSpecBuilder(this); + } + + @JsonIgnore + public IngressSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IngressStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IngressStatus.java index 3fac8d09b19..b87fe23cec7 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IngressStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IngressStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressStatus implements KubernetesResource +public class IngressStatus implements Editable , KubernetesResource { @JsonProperty("componentRoutes") @@ -102,6 +103,16 @@ public void setDefaultPlacement(String defaultPlacement) { this.defaultPlacement = defaultPlacement; } + @JsonIgnore + public IngressStatusBuilder edit() { + return new IngressStatusBuilder(this); + } + + @JsonIgnore + public IngressStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IntermediateTLSProfile.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IntermediateTLSProfile.java index b463b8b0fd5..9e0cc9615d8 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IntermediateTLSProfile.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IntermediateTLSProfile.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IntermediateTLSProfile implements KubernetesResource +public class IntermediateTLSProfile implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public IntermediateTLSProfileBuilder edit() { + return new IntermediateTLSProfileBuilder(this); + } + + @JsonIgnore + public IntermediateTLSProfileBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/KeystoneIdentityProvider.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/KeystoneIdentityProvider.java index 590b0e4eb9b..645494d27dd 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/KeystoneIdentityProvider.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/KeystoneIdentityProvider.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KeystoneIdentityProvider implements KubernetesResource +public class KeystoneIdentityProvider implements Editable , KubernetesResource { @JsonProperty("ca") @@ -141,6 +142,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public KeystoneIdentityProviderBuilder edit() { + return new KeystoneIdentityProviderBuilder(this); + } + + @JsonIgnore + public KeystoneIdentityProviderBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/KubevirtPlatformSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/KubevirtPlatformSpec.java index aca9e85e48e..0e0c0bf1ef7 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/KubevirtPlatformSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/KubevirtPlatformSpec.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubevirtPlatformSpec implements KubernetesResource +public class KubevirtPlatformSpec implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public KubevirtPlatformSpecBuilder edit() { + return new KubevirtPlatformSpecBuilder(this); + } + + @JsonIgnore + public KubevirtPlatformSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/KubevirtPlatformStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/KubevirtPlatformStatus.java index 854e4ebfc21..e319719b122 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/KubevirtPlatformStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/KubevirtPlatformStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubevirtPlatformStatus implements KubernetesResource +public class KubevirtPlatformStatus implements Editable , KubernetesResource { @JsonProperty("apiServerInternalIP") @@ -99,6 +100,16 @@ public void setIngressIP(String ingressIP) { this.ingressIP = ingressIP; } + @JsonIgnore + public KubevirtPlatformStatusBuilder edit() { + return new KubevirtPlatformStatusBuilder(this); + } + + @JsonIgnore + public KubevirtPlatformStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/LDAPAttributeMapping.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/LDAPAttributeMapping.java index 852dda51e8b..54c9e57b67a 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/LDAPAttributeMapping.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/LDAPAttributeMapping.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class LDAPAttributeMapping implements KubernetesResource +public class LDAPAttributeMapping implements Editable , KubernetesResource { @JsonProperty("email") @@ -133,6 +134,16 @@ public void setPreferredUsername(List preferredUsername) { this.preferredUsername = preferredUsername; } + @JsonIgnore + public LDAPAttributeMappingBuilder edit() { + return new LDAPAttributeMappingBuilder(this); + } + + @JsonIgnore + public LDAPAttributeMappingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/LDAPIdentityProvider.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/LDAPIdentityProvider.java index 2f9df9e21e1..049db585759 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/LDAPIdentityProvider.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/LDAPIdentityProvider.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class LDAPIdentityProvider implements KubernetesResource +public class LDAPIdentityProvider implements Editable , KubernetesResource { @JsonProperty("attributes") @@ -155,6 +156,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public LDAPIdentityProviderBuilder edit() { + return new LDAPIdentityProviderBuilder(this); + } + + @JsonIgnore + public LDAPIdentityProviderBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/LoadBalancer.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/LoadBalancer.java index 6bcd3717a06..2360f62cdd6 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/LoadBalancer.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/LoadBalancer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class LoadBalancer implements KubernetesResource +public class LoadBalancer implements Editable , KubernetesResource { @JsonProperty("platform") @@ -85,6 +86,16 @@ public void setPlatform(IngressPlatformSpec platform) { this.platform = platform; } + @JsonIgnore + public LoadBalancerBuilder edit() { + return new LoadBalancerBuilder(this); + } + + @JsonIgnore + public LoadBalancerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/MTUMigration.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/MTUMigration.java index 916b5f11ec8..fb923ca7de5 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/MTUMigration.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/MTUMigration.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MTUMigration implements KubernetesResource +public class MTUMigration implements Editable , KubernetesResource { @JsonProperty("machine") @@ -99,6 +100,16 @@ public void setNetwork(MTUMigrationValues network) { this.network = network; } + @JsonIgnore + public MTUMigrationBuilder edit() { + return new MTUMigrationBuilder(this); + } + + @JsonIgnore + public MTUMigrationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/MTUMigrationValues.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/MTUMigrationValues.java index 1bf52ccc09d..fd94a4cb584 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/MTUMigrationValues.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/MTUMigrationValues.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MTUMigrationValues implements KubernetesResource +public class MTUMigrationValues implements Editable , KubernetesResource { @JsonProperty("from") @@ -99,6 +100,16 @@ public void setTo(Integer to) { this.to = to; } + @JsonIgnore + public MTUMigrationValuesBuilder edit() { + return new MTUMigrationValuesBuilder(this); + } + + @JsonIgnore + public MTUMigrationValuesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/MaxAgePolicy.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/MaxAgePolicy.java index 92e0355d5d5..7db28dcdf03 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/MaxAgePolicy.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/MaxAgePolicy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MaxAgePolicy implements KubernetesResource +public class MaxAgePolicy implements Editable , KubernetesResource { @JsonProperty("largestMaxAge") @@ -99,6 +100,16 @@ public void setSmallestMaxAge(Integer smallestMaxAge) { this.smallestMaxAge = smallestMaxAge; } + @JsonIgnore + public MaxAgePolicyBuilder edit() { + return new MaxAgePolicyBuilder(this); + } + + @JsonIgnore + public MaxAgePolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ModernTLSProfile.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ModernTLSProfile.java index 6a7deb7542f..4af7ba519a1 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ModernTLSProfile.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ModernTLSProfile.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ModernTLSProfile implements KubernetesResource +public class ModernTLSProfile implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public ModernTLSProfileBuilder edit() { + return new ModernTLSProfileBuilder(this); + } + + @JsonIgnore + public ModernTLSProfileBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Network.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Network.java index b0ac780f390..fb64c8b1bfd 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Network.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Network.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class Network implements HasMetadata +public class Network implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(NetworkStatus status) { this.status = status; } + @JsonIgnore + public NetworkBuilder edit() { + return new NetworkBuilder(this); + } + + @JsonIgnore + public NetworkBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NetworkList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NetworkList.java index 901a7badfc4..bfe6e6fd2c4 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NetworkList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NetworkList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class NetworkList implements KubernetesResource, KubernetesResourceList +public class NetworkList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public NetworkListBuilder edit() { + return new NetworkListBuilder(this); + } + + @JsonIgnore + public NetworkListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NetworkMigration.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NetworkMigration.java index 491ee441cdb..f439a0361cb 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NetworkMigration.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NetworkMigration.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NetworkMigration implements KubernetesResource +public class NetworkMigration implements Editable , KubernetesResource { @JsonProperty("mtu") @@ -99,6 +100,16 @@ public void setNetworkType(String networkType) { this.networkType = networkType; } + @JsonIgnore + public NetworkMigrationBuilder edit() { + return new NetworkMigrationBuilder(this); + } + + @JsonIgnore + public NetworkMigrationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NetworkSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NetworkSpec.java index 3d295b0c3fe..814585f3ee5 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NetworkSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NetworkSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NetworkSpec implements KubernetesResource +public class NetworkSpec implements Editable , KubernetesResource { @JsonProperty("clusterNetwork") @@ -145,6 +146,16 @@ public void setServiceNodePortRange(String serviceNodePortRange) { this.serviceNodePortRange = serviceNodePortRange; } + @JsonIgnore + public NetworkSpecBuilder edit() { + return new NetworkSpecBuilder(this); + } + + @JsonIgnore + public NetworkSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NetworkStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NetworkStatus.java index 586d15db917..136944f9adf 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NetworkStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NetworkStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NetworkStatus implements KubernetesResource +public class NetworkStatus implements Editable , KubernetesResource { @JsonProperty("clusterNetwork") @@ -145,6 +146,16 @@ public void setServiceNetwork(List serviceNetwork) { this.serviceNetwork = serviceNetwork; } + @JsonIgnore + public NetworkStatusBuilder edit() { + return new NetworkStatusBuilder(this); + } + + @JsonIgnore + public NetworkStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NutanixPlatformLoadBalancer.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NutanixPlatformLoadBalancer.java index 05afd08badb..75455cda394 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NutanixPlatformLoadBalancer.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NutanixPlatformLoadBalancer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NutanixPlatformLoadBalancer implements KubernetesResource +public class NutanixPlatformLoadBalancer implements Editable , KubernetesResource { @JsonProperty("type") @@ -85,6 +86,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public NutanixPlatformLoadBalancerBuilder edit() { + return new NutanixPlatformLoadBalancerBuilder(this); + } + + @JsonIgnore + public NutanixPlatformLoadBalancerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NutanixPlatformSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NutanixPlatformSpec.java index cb49d9ace52..966c218bb55 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NutanixPlatformSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NutanixPlatformSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NutanixPlatformSpec implements KubernetesResource +public class NutanixPlatformSpec implements Editable , KubernetesResource { @JsonProperty("prismCentral") @@ -102,6 +103,16 @@ public void setPrismElements(List prismElements) { this.prismElements = prismElements; } + @JsonIgnore + public NutanixPlatformSpecBuilder edit() { + return new NutanixPlatformSpecBuilder(this); + } + + @JsonIgnore + public NutanixPlatformSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NutanixPlatformStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NutanixPlatformStatus.java index 4e72e9073a8..3b35aef7556 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NutanixPlatformStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NutanixPlatformStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NutanixPlatformStatus implements KubernetesResource +public class NutanixPlatformStatus implements Editable , KubernetesResource { @JsonProperty("apiServerInternalIP") @@ -145,6 +146,16 @@ public void setLoadBalancer(NutanixPlatformLoadBalancer loadBalancer) { this.loadBalancer = loadBalancer; } + @JsonIgnore + public NutanixPlatformStatusBuilder edit() { + return new NutanixPlatformStatusBuilder(this); + } + + @JsonIgnore + public NutanixPlatformStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NutanixPrismElementEndpoint.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NutanixPrismElementEndpoint.java index 458b41fb031..ae620c6b058 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NutanixPrismElementEndpoint.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NutanixPrismElementEndpoint.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NutanixPrismElementEndpoint implements KubernetesResource +public class NutanixPrismElementEndpoint implements Editable , KubernetesResource { @JsonProperty("endpoint") @@ -99,6 +100,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public NutanixPrismElementEndpointBuilder edit() { + return new NutanixPrismElementEndpointBuilder(this); + } + + @JsonIgnore + public NutanixPrismElementEndpointBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NutanixPrismEndpoint.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NutanixPrismEndpoint.java index 79c1926dfbb..b7c234fdbe5 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NutanixPrismEndpoint.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NutanixPrismEndpoint.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NutanixPrismEndpoint implements KubernetesResource +public class NutanixPrismEndpoint implements Editable , KubernetesResource { @JsonProperty("address") @@ -99,6 +100,16 @@ public void setPort(Integer port) { this.port = port; } + @JsonIgnore + public NutanixPrismEndpointBuilder edit() { + return new NutanixPrismEndpointBuilder(this); + } + + @JsonIgnore + public NutanixPrismEndpointBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OAuth.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OAuth.java index 9ef3cf525b7..dae145e43b3 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OAuth.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OAuth.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class OAuth implements HasMetadata +public class OAuth implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(OAuthStatus status) { this.status = status; } + @JsonIgnore + public OAuthBuilder edit() { + return new OAuthBuilder(this); + } + + @JsonIgnore + public OAuthBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OAuthList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OAuthList.java index fb98122b682..15185db1dce 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OAuthList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OAuthList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class OAuthList implements KubernetesResource, KubernetesResourceList +public class OAuthList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public OAuthListBuilder edit() { + return new OAuthListBuilder(this); + } + + @JsonIgnore + public OAuthListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OAuthSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OAuthSpec.java index 1512d70ce95..efaa6154d0f 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OAuthSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OAuthSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OAuthSpec implements KubernetesResource +public class OAuthSpec implements Editable , KubernetesResource { @JsonProperty("identityProviders") @@ -116,6 +117,16 @@ public void setTokenConfig(TokenConfig tokenConfig) { this.tokenConfig = tokenConfig; } + @JsonIgnore + public OAuthSpecBuilder edit() { + return new OAuthSpecBuilder(this); + } + + @JsonIgnore + public OAuthSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OAuthStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OAuthStatus.java index 39701f7213c..37a5ab8355e 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OAuthStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OAuthStatus.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OAuthStatus implements KubernetesResource +public class OAuthStatus implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public OAuthStatusBuilder edit() { + return new OAuthStatusBuilder(this); + } + + @JsonIgnore + public OAuthStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OAuthTemplates.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OAuthTemplates.java index 9af36699262..8431f947be0 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OAuthTemplates.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OAuthTemplates.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OAuthTemplates implements KubernetesResource +public class OAuthTemplates implements Editable , KubernetesResource { @JsonProperty("error") @@ -113,6 +114,16 @@ public void setProviderSelection(SecretNameReference providerSelection) { this.providerSelection = providerSelection; } + @JsonIgnore + public OAuthTemplatesBuilder edit() { + return new OAuthTemplatesBuilder(this); + } + + @JsonIgnore + public OAuthTemplatesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ObjectReference.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ObjectReference.java index 2a7fc730d5e..5687703ba15 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ObjectReference.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ObjectReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ObjectReference implements KubernetesResource +public class ObjectReference implements Editable , KubernetesResource { @JsonProperty("group") @@ -126,6 +127,16 @@ public void setResource(String resource) { this.resource = resource; } + @JsonIgnore + public ObjectReferenceBuilder edit() { + return new ObjectReferenceBuilder(this); + } + + @JsonIgnore + public ObjectReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OldTLSProfile.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OldTLSProfile.java index 90184ef7dae..f68ec6c5051 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OldTLSProfile.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OldTLSProfile.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OldTLSProfile implements KubernetesResource +public class OldTLSProfile implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public OldTLSProfileBuilder edit() { + return new OldTLSProfileBuilder(this); + } + + @JsonIgnore + public OldTLSProfileBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OpenIDClaims.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OpenIDClaims.java index 57b81f0e0ef..915ac39a8b8 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OpenIDClaims.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OpenIDClaims.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OpenIDClaims implements KubernetesResource +public class OpenIDClaims implements Editable , KubernetesResource { @JsonProperty("email") @@ -133,6 +134,16 @@ public void setPreferredUsername(List preferredUsername) { this.preferredUsername = preferredUsername; } + @JsonIgnore + public OpenIDClaimsBuilder edit() { + return new OpenIDClaimsBuilder(this); + } + + @JsonIgnore + public OpenIDClaimsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OpenIDIdentityProvider.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OpenIDIdentityProvider.java index 2cd365c6810..0180a698590 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OpenIDIdentityProvider.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OpenIDIdentityProvider.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -63,7 +64,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OpenIDIdentityProvider implements KubernetesResource +public class OpenIDIdentityProvider implements Editable , KubernetesResource { @JsonProperty("ca") @@ -173,6 +174,16 @@ public void setIssuer(java.lang.String issuer) { this.issuer = issuer; } + @JsonIgnore + public OpenIDIdentityProviderBuilder edit() { + return new OpenIDIdentityProviderBuilder(this); + } + + @JsonIgnore + public OpenIDIdentityProviderBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OpenStackPlatformLoadBalancer.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OpenStackPlatformLoadBalancer.java index 57f7bf6278c..d9d0aea299e 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OpenStackPlatformLoadBalancer.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OpenStackPlatformLoadBalancer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OpenStackPlatformLoadBalancer implements KubernetesResource +public class OpenStackPlatformLoadBalancer implements Editable , KubernetesResource { @JsonProperty("type") @@ -85,6 +86,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public OpenStackPlatformLoadBalancerBuilder edit() { + return new OpenStackPlatformLoadBalancerBuilder(this); + } + + @JsonIgnore + public OpenStackPlatformLoadBalancerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OpenStackPlatformSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OpenStackPlatformSpec.java index ae3bc367427..de9be15d5e5 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OpenStackPlatformSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OpenStackPlatformSpec.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OpenStackPlatformSpec implements KubernetesResource +public class OpenStackPlatformSpec implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public OpenStackPlatformSpecBuilder edit() { + return new OpenStackPlatformSpecBuilder(this); + } + + @JsonIgnore + public OpenStackPlatformSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OpenStackPlatformStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OpenStackPlatformStatus.java index 9510f8d2098..9b226960040 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OpenStackPlatformStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OpenStackPlatformStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -63,7 +64,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OpenStackPlatformStatus implements KubernetesResource +public class OpenStackPlatformStatus implements Editable , KubernetesResource { @JsonProperty("apiServerInternalIP") @@ -173,6 +174,16 @@ public void setNodeDNSIP(String nodeDNSIP) { this.nodeDNSIP = nodeDNSIP; } + @JsonIgnore + public OpenStackPlatformStatusBuilder edit() { + return new OpenStackPlatformStatusBuilder(this); + } + + @JsonIgnore + public OpenStackPlatformStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OperandVersion.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OperandVersion.java index a9ced9bc16c..e2fa73eab30 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OperandVersion.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OperandVersion.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OperandVersion implements KubernetesResource +public class OperandVersion implements Editable , KubernetesResource { @JsonProperty("name") @@ -99,6 +100,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public OperandVersionBuilder edit() { + return new OperandVersionBuilder(this); + } + + @JsonIgnore + public OperandVersionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OperatorHub.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OperatorHub.java index dc555b8dcc3..f400e225bed 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OperatorHub.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OperatorHub.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class OperatorHub implements HasMetadata +public class OperatorHub implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(OperatorHubStatus status) { this.status = status; } + @JsonIgnore + public OperatorHubBuilder edit() { + return new OperatorHubBuilder(this); + } + + @JsonIgnore + public OperatorHubBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OperatorHubList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OperatorHubList.java index 9d21c13fa48..2fd82938b24 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OperatorHubList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OperatorHubList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class OperatorHubList implements KubernetesResource, KubernetesResourceList +public class OperatorHubList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public OperatorHubListBuilder edit() { + return new OperatorHubListBuilder(this); + } + + @JsonIgnore + public OperatorHubListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OperatorHubSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OperatorHubSpec.java index f276ca9e696..307eead5314 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OperatorHubSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OperatorHubSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OperatorHubSpec implements KubernetesResource +public class OperatorHubSpec implements Editable , KubernetesResource { @JsonProperty("disableAllDefaultSources") @@ -102,6 +103,16 @@ public void setSources(List sources) { this.sources = sources; } + @JsonIgnore + public OperatorHubSpecBuilder edit() { + return new OperatorHubSpecBuilder(this); + } + + @JsonIgnore + public OperatorHubSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OperatorHubStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OperatorHubStatus.java index 90f426b7c33..308b11e708d 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OperatorHubStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OperatorHubStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OperatorHubStatus implements KubernetesResource +public class OperatorHubStatus implements Editable , KubernetesResource { @JsonProperty("sources") @@ -88,6 +89,16 @@ public void setSources(List sources) { this.sources = sources; } + @JsonIgnore + public OperatorHubStatusBuilder edit() { + return new OperatorHubStatusBuilder(this); + } + + @JsonIgnore + public OperatorHubStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OvirtPlatformLoadBalancer.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OvirtPlatformLoadBalancer.java index 5aa763c9e60..a9592603770 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OvirtPlatformLoadBalancer.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OvirtPlatformLoadBalancer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OvirtPlatformLoadBalancer implements KubernetesResource +public class OvirtPlatformLoadBalancer implements Editable , KubernetesResource { @JsonProperty("type") @@ -85,6 +86,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public OvirtPlatformLoadBalancerBuilder edit() { + return new OvirtPlatformLoadBalancerBuilder(this); + } + + @JsonIgnore + public OvirtPlatformLoadBalancerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OvirtPlatformSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OvirtPlatformSpec.java index fc18e2d0981..0438adb751c 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OvirtPlatformSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OvirtPlatformSpec.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OvirtPlatformSpec implements KubernetesResource +public class OvirtPlatformSpec implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public OvirtPlatformSpecBuilder edit() { + return new OvirtPlatformSpecBuilder(this); + } + + @JsonIgnore + public OvirtPlatformSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OvirtPlatformStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OvirtPlatformStatus.java index a9ba7f9d794..01d98b76f3e 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OvirtPlatformStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OvirtPlatformStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OvirtPlatformStatus implements KubernetesResource +public class OvirtPlatformStatus implements Editable , KubernetesResource { @JsonProperty("apiServerInternalIP") @@ -159,6 +160,16 @@ public void setNodeDNSIP(String nodeDNSIP) { this.nodeDNSIP = nodeDNSIP; } + @JsonIgnore + public OvirtPlatformStatusBuilder edit() { + return new OvirtPlatformStatusBuilder(this); + } + + @JsonIgnore + public OvirtPlatformStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/PlatformSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/PlatformSpec.java index a5a36fbe7c0..411aecb53cd 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/PlatformSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/PlatformSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -69,7 +70,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PlatformSpec implements KubernetesResource +public class PlatformSpec implements Editable , KubernetesResource { @JsonProperty("alibabaCloud") @@ -281,6 +282,16 @@ public void setVsphere(VSpherePlatformSpec vsphere) { this.vsphere = vsphere; } + @JsonIgnore + public PlatformSpecBuilder edit() { + return new PlatformSpecBuilder(this); + } + + @JsonIgnore + public PlatformSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/PlatformStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/PlatformStatus.java index 9a810087e8f..ffc793c7a38 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/PlatformStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/PlatformStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -69,7 +70,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PlatformStatus implements KubernetesResource +public class PlatformStatus implements Editable , KubernetesResource { @JsonProperty("alibabaCloud") @@ -281,6 +282,16 @@ public void setVsphere(VSpherePlatformStatus vsphere) { this.vsphere = vsphere; } + @JsonIgnore + public PlatformStatusBuilder edit() { + return new PlatformStatusBuilder(this); + } + + @JsonIgnore + public PlatformStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/PowerVSPlatformSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/PowerVSPlatformSpec.java index 1601b00adef..303409bfa77 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/PowerVSPlatformSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/PowerVSPlatformSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PowerVSPlatformSpec implements KubernetesResource +public class PowerVSPlatformSpec implements Editable , KubernetesResource { @JsonProperty("serviceEndpoints") @@ -88,6 +89,16 @@ public void setServiceEndpoints(List serviceEndpoints) { this.serviceEndpoints = serviceEndpoints; } + @JsonIgnore + public PowerVSPlatformSpecBuilder edit() { + return new PowerVSPlatformSpecBuilder(this); + } + + @JsonIgnore + public PowerVSPlatformSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/PowerVSPlatformStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/PowerVSPlatformStatus.java index d06575247ec..8451dcea427 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/PowerVSPlatformStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/PowerVSPlatformStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PowerVSPlatformStatus implements KubernetesResource +public class PowerVSPlatformStatus implements Editable , KubernetesResource { @JsonProperty("cisInstanceCRN") @@ -158,6 +159,16 @@ public void setZone(String zone) { this.zone = zone; } + @JsonIgnore + public PowerVSPlatformStatusBuilder edit() { + return new PowerVSPlatformStatusBuilder(this); + } + + @JsonIgnore + public PowerVSPlatformStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/PowerVSServiceEndpoint.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/PowerVSServiceEndpoint.java index d830987f7df..3da14dd12df 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/PowerVSServiceEndpoint.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/PowerVSServiceEndpoint.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PowerVSServiceEndpoint implements KubernetesResource +public class PowerVSServiceEndpoint implements Editable , KubernetesResource { @JsonProperty("name") @@ -99,6 +100,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public PowerVSServiceEndpointBuilder edit() { + return new PowerVSServiceEndpointBuilder(this); + } + + @JsonIgnore + public PowerVSServiceEndpointBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Project.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Project.java index 6762fc26305..cefe7b80900 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Project.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Project.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class Project implements HasMetadata +public class Project implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(ProjectStatus status) { this.status = status; } + @JsonIgnore + public ProjectBuilder edit() { + return new ProjectBuilder(this); + } + + @JsonIgnore + public ProjectBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProjectList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProjectList.java index 380cb16bc1e..d665a05c168 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProjectList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProjectList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class ProjectList implements KubernetesResource, KubernetesResourceList +public class ProjectList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ProjectListBuilder edit() { + return new ProjectListBuilder(this); + } + + @JsonIgnore + public ProjectListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProjectSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProjectSpec.java index d40417ea967..e0bd703dd8e 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProjectSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProjectSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ProjectSpec implements KubernetesResource +public class ProjectSpec implements Editable , KubernetesResource { @JsonProperty("projectRequestMessage") @@ -99,6 +100,16 @@ public void setProjectRequestTemplate(TemplateReference projectRequestTemplate) this.projectRequestTemplate = projectRequestTemplate; } + @JsonIgnore + public ProjectSpecBuilder edit() { + return new ProjectSpecBuilder(this); + } + + @JsonIgnore + public ProjectSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProjectStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProjectStatus.java index 69613c1ec04..d0b0200d229 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProjectStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProjectStatus.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ProjectStatus implements KubernetesResource +public class ProjectStatus implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public ProjectStatusBuilder edit() { + return new ProjectStatusBuilder(this); + } + + @JsonIgnore + public ProjectStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/PromQLClusterCondition.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/PromQLClusterCondition.java index 441c77a0a06..d533537b2a4 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/PromQLClusterCondition.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/PromQLClusterCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PromQLClusterCondition implements KubernetesResource +public class PromQLClusterCondition implements Editable , KubernetesResource { @JsonProperty("promql") @@ -85,6 +86,16 @@ public void setPromql(String promql) { this.promql = promql; } + @JsonIgnore + public PromQLClusterConditionBuilder edit() { + return new PromQLClusterConditionBuilder(this); + } + + @JsonIgnore + public PromQLClusterConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Proxy.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Proxy.java index 96cb3baae86..5c182954176 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Proxy.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Proxy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class Proxy implements HasMetadata +public class Proxy implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(ProxyStatus status) { this.status = status; } + @JsonIgnore + public ProxyBuilder edit() { + return new ProxyBuilder(this); + } + + @JsonIgnore + public ProxyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProxyList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProxyList.java index 281de356a93..a7e2b071ef8 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProxyList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProxyList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class ProxyList implements KubernetesResource, KubernetesResourceList +public class ProxyList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ProxyListBuilder edit() { + return new ProxyListBuilder(this); + } + + @JsonIgnore + public ProxyListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProxySpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProxySpec.java index d83d867cbe8..6869b1eac2e 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProxySpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProxySpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ProxySpec implements KubernetesResource +public class ProxySpec implements Editable , KubernetesResource { @JsonProperty("httpProxy") @@ -144,6 +145,16 @@ public void setTrustedCA(ConfigMapNameReference trustedCA) { this.trustedCA = trustedCA; } + @JsonIgnore + public ProxySpecBuilder edit() { + return new ProxySpecBuilder(this); + } + + @JsonIgnore + public ProxySpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProxyStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProxyStatus.java index c3629a97002..a4f2d4df31a 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProxyStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProxyStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ProxyStatus implements KubernetesResource +public class ProxyStatus implements Editable , KubernetesResource { @JsonProperty("httpProxy") @@ -113,6 +114,16 @@ public void setNoProxy(String noProxy) { this.noProxy = noProxy; } + @JsonIgnore + public ProxyStatusBuilder edit() { + return new ProxyStatusBuilder(this); + } + + @JsonIgnore + public ProxyStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/RegistryLocation.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/RegistryLocation.java index aa699225a30..c79e2e0cb34 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/RegistryLocation.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/RegistryLocation.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RegistryLocation implements KubernetesResource +public class RegistryLocation implements Editable , KubernetesResource { @JsonProperty("domainName") @@ -99,6 +100,16 @@ public void setInsecure(Boolean insecure) { this.insecure = insecure; } + @JsonIgnore + public RegistryLocationBuilder edit() { + return new RegistryLocationBuilder(this); + } + + @JsonIgnore + public RegistryLocationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/RegistrySources.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/RegistrySources.java index 123dde5d0a5..0fc609d1802 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/RegistrySources.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/RegistrySources.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RegistrySources implements KubernetesResource +public class RegistrySources implements Editable , KubernetesResource { @JsonProperty("allowedRegistries") @@ -133,6 +134,16 @@ public void setInsecureRegistries(List insecureRegistries) { this.insecureRegistries = insecureRegistries; } + @JsonIgnore + public RegistrySourcesBuilder edit() { + return new RegistrySourcesBuilder(this); + } + + @JsonIgnore + public RegistrySourcesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Release.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Release.java index c7bd8b0b2fe..513450f1fbe 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Release.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Release.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Release implements KubernetesResource +public class Release implements Editable , KubernetesResource { @JsonProperty("channels") @@ -130,6 +131,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public ReleaseBuilder edit() { + return new ReleaseBuilder(this); + } + + @JsonIgnore + public ReleaseBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/RepositoryDigestMirrors.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/RepositoryDigestMirrors.java index f7a33d43288..2727d772677 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/RepositoryDigestMirrors.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/RepositoryDigestMirrors.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RepositoryDigestMirrors implements KubernetesResource +public class RepositoryDigestMirrors implements Editable , KubernetesResource { @JsonProperty("allowMirrorByTags") @@ -116,6 +117,16 @@ public void setSource(String source) { this.source = source; } + @JsonIgnore + public RepositoryDigestMirrorsBuilder edit() { + return new RepositoryDigestMirrorsBuilder(this); + } + + @JsonIgnore + public RepositoryDigestMirrorsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/RequestHeaderIdentityProvider.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/RequestHeaderIdentityProvider.java index 463413c6c65..ad0483f953a 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/RequestHeaderIdentityProvider.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/RequestHeaderIdentityProvider.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RequestHeaderIdentityProvider implements KubernetesResource +public class RequestHeaderIdentityProvider implements Editable , KubernetesResource { @JsonProperty("ca") @@ -190,6 +191,16 @@ public void setPreferredUsernameHeaders(List preferredUsernameHeaders) { this.preferredUsernameHeaders = preferredUsernameHeaders; } + @JsonIgnore + public RequestHeaderIdentityProviderBuilder edit() { + return new RequestHeaderIdentityProviderBuilder(this); + } + + @JsonIgnore + public RequestHeaderIdentityProviderBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/RequiredHSTSPolicy.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/RequiredHSTSPolicy.java index 50859aec053..b425f30dffc 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/RequiredHSTSPolicy.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/RequiredHSTSPolicy.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RequiredHSTSPolicy implements KubernetesResource +public class RequiredHSTSPolicy implements Editable , KubernetesResource { @JsonProperty("domainPatterns") @@ -143,6 +144,16 @@ public void setPreloadPolicy(String preloadPolicy) { this.preloadPolicy = preloadPolicy; } + @JsonIgnore + public RequiredHSTSPolicyBuilder edit() { + return new RequiredHSTSPolicyBuilder(this); + } + + @JsonIgnore + public RequiredHSTSPolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Scheduler.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Scheduler.java index c00bc945eb5..5687457762b 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Scheduler.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Scheduler.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class Scheduler implements HasMetadata +public class Scheduler implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(SchedulerStatus status) { this.status = status; } + @JsonIgnore + public SchedulerBuilder edit() { + return new SchedulerBuilder(this); + } + + @JsonIgnore + public SchedulerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/SchedulerList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/SchedulerList.java index 766fb95dc2f..e22ecec87a8 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/SchedulerList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/SchedulerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("config.openshift.io") @Generated("jsonschema2pojo") -public class SchedulerList implements KubernetesResource, KubernetesResourceList +public class SchedulerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public SchedulerListBuilder edit() { + return new SchedulerListBuilder(this); + } + + @JsonIgnore + public SchedulerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/SchedulerSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/SchedulerSpec.java index 2082ca3c067..3b6a6b8e111 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/SchedulerSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/SchedulerSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SchedulerSpec implements KubernetesResource +public class SchedulerSpec implements Editable , KubernetesResource { @JsonProperty("defaultNodeSelector") @@ -127,6 +128,16 @@ public void setProfile(String profile) { this.profile = profile; } + @JsonIgnore + public SchedulerSpecBuilder edit() { + return new SchedulerSpecBuilder(this); + } + + @JsonIgnore + public SchedulerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/SchedulerStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/SchedulerStatus.java index 95e9796aac6..bd54147c2ec 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/SchedulerStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/SchedulerStatus.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SchedulerStatus implements KubernetesResource +public class SchedulerStatus implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public SchedulerStatusBuilder edit() { + return new SchedulerStatusBuilder(this); + } + + @JsonIgnore + public SchedulerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/SecretNameReference.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/SecretNameReference.java index 9b16f333205..57c44a17be8 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/SecretNameReference.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/SecretNameReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SecretNameReference implements KubernetesResource +public class SecretNameReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -85,6 +86,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public SecretNameReferenceBuilder edit() { + return new SecretNameReferenceBuilder(this); + } + + @JsonIgnore + public SecretNameReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/TLSProfileSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/TLSProfileSpec.java index 5035eeeb650..d6603ce11fc 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/TLSProfileSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/TLSProfileSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TLSProfileSpec implements KubernetesResource +public class TLSProfileSpec implements Editable , KubernetesResource { @JsonProperty("ciphers") @@ -102,6 +103,16 @@ public void setMinTLSVersion(String minTLSVersion) { this.minTLSVersion = minTLSVersion; } + @JsonIgnore + public TLSProfileSpecBuilder edit() { + return new TLSProfileSpecBuilder(this); + } + + @JsonIgnore + public TLSProfileSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/TLSSecurityProfile.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/TLSSecurityProfile.java index 98a11c11852..dc92fdb687c 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/TLSSecurityProfile.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/TLSSecurityProfile.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TLSSecurityProfile implements KubernetesResource +public class TLSSecurityProfile implements Editable , KubernetesResource { @JsonProperty("custom") @@ -141,6 +142,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public TLSSecurityProfileBuilder edit() { + return new TLSSecurityProfileBuilder(this); + } + + @JsonIgnore + public TLSSecurityProfileBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/TemplateReference.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/TemplateReference.java index 40d0c770b53..4a0e41378b1 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/TemplateReference.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/TemplateReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TemplateReference implements KubernetesResource +public class TemplateReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -85,6 +86,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public TemplateReferenceBuilder edit() { + return new TemplateReferenceBuilder(this); + } + + @JsonIgnore + public TemplateReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/TokenConfig.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/TokenConfig.java index afb5dcb15b7..55e99ca12ca 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/TokenConfig.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/TokenConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.Duration; import io.fabric8.kubernetes.api.model.IntOrString; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TokenConfig implements KubernetesResource +public class TokenConfig implements Editable , KubernetesResource { @JsonProperty("accessTokenInactivityTimeout") @@ -114,6 +115,16 @@ public void setAccessTokenMaxAgeSeconds(Integer accessTokenMaxAgeSeconds) { this.accessTokenMaxAgeSeconds = accessTokenMaxAgeSeconds; } + @JsonIgnore + public TokenConfigBuilder edit() { + return new TokenConfigBuilder(this); + } + + @JsonIgnore + public TokenConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Update.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Update.java index fb1404189d0..e28e5531ff8 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Update.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Update.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Update implements KubernetesResource +public class Update implements Editable , KubernetesResource { @JsonProperty("architecture") @@ -127,6 +128,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public UpdateBuilder edit() { + return new UpdateBuilder(this); + } + + @JsonIgnore + public UpdateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/UpdateHistory.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/UpdateHistory.java index 082dcf621eb..e107d6e3029 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/UpdateHistory.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/UpdateHistory.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class UpdateHistory implements KubernetesResource +public class UpdateHistory implements Editable , KubernetesResource { @JsonProperty("acceptedRisks") @@ -169,6 +170,16 @@ public void setVersion(java.lang.String version) { this.version = version; } + @JsonIgnore + public UpdateHistoryBuilder edit() { + return new UpdateHistoryBuilder(this); + } + + @JsonIgnore + public UpdateHistoryBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformFailureDomainSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformFailureDomainSpec.java index 93f5a43d8f5..3e7adaa67e5 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformFailureDomainSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformFailureDomainSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class VSpherePlatformFailureDomainSpec implements KubernetesResource +public class VSpherePlatformFailureDomainSpec implements Editable , KubernetesResource { @JsonProperty("name") @@ -141,6 +142,16 @@ public void setZone(String zone) { this.zone = zone; } + @JsonIgnore + public VSpherePlatformFailureDomainSpecBuilder edit() { + return new VSpherePlatformFailureDomainSpecBuilder(this); + } + + @JsonIgnore + public VSpherePlatformFailureDomainSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformLoadBalancer.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformLoadBalancer.java index 0924789ae07..7b1d947db97 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformLoadBalancer.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformLoadBalancer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class VSpherePlatformLoadBalancer implements KubernetesResource +public class VSpherePlatformLoadBalancer implements Editable , KubernetesResource { @JsonProperty("type") @@ -85,6 +86,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public VSpherePlatformLoadBalancerBuilder edit() { + return new VSpherePlatformLoadBalancerBuilder(this); + } + + @JsonIgnore + public VSpherePlatformLoadBalancerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformNodeNetworking.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformNodeNetworking.java index 3e7ffb59b12..1b8bfe912d1 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformNodeNetworking.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformNodeNetworking.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class VSpherePlatformNodeNetworking implements KubernetesResource +public class VSpherePlatformNodeNetworking implements Editable , KubernetesResource { @JsonProperty("external") @@ -99,6 +100,16 @@ public void setInternal(VSpherePlatformNodeNetworkingSpec internal) { this.internal = internal; } + @JsonIgnore + public VSpherePlatformNodeNetworkingBuilder edit() { + return new VSpherePlatformNodeNetworkingBuilder(this); + } + + @JsonIgnore + public VSpherePlatformNodeNetworkingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformNodeNetworkingSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformNodeNetworkingSpec.java index 98118336ee9..f6251faf91e 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformNodeNetworkingSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformNodeNetworkingSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class VSpherePlatformNodeNetworkingSpec implements KubernetesResource +public class VSpherePlatformNodeNetworkingSpec implements Editable , KubernetesResource { @JsonProperty("excludeNetworkSubnetCidr") @@ -117,6 +118,16 @@ public void setNetworkSubnetCidr(List networkSubnetCidr) { this.networkSubnetCidr = networkSubnetCidr; } + @JsonIgnore + public VSpherePlatformNodeNetworkingSpecBuilder edit() { + return new VSpherePlatformNodeNetworkingSpecBuilder(this); + } + + @JsonIgnore + public VSpherePlatformNodeNetworkingSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformSpec.java index b0c58a3b295..f3237fe0e55 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class VSpherePlatformSpec implements KubernetesResource +public class VSpherePlatformSpec implements Editable , KubernetesResource { @JsonProperty("failureDomains") @@ -117,6 +118,16 @@ public void setVcenters(List vcenters) { this.vcenters = vcenters; } + @JsonIgnore + public VSpherePlatformSpecBuilder edit() { + return new VSpherePlatformSpecBuilder(this); + } + + @JsonIgnore + public VSpherePlatformSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformStatus.java index cb9cec2bbac..f5c5c179a3c 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class VSpherePlatformStatus implements KubernetesResource +public class VSpherePlatformStatus implements Editable , KubernetesResource { @JsonProperty("apiServerInternalIP") @@ -159,6 +160,16 @@ public void setNodeDNSIP(String nodeDNSIP) { this.nodeDNSIP = nodeDNSIP; } + @JsonIgnore + public VSpherePlatformStatusBuilder edit() { + return new VSpherePlatformStatusBuilder(this); + } + + @JsonIgnore + public VSpherePlatformStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformTopology.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformTopology.java index fb342d59899..c41faeab176 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformTopology.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformTopology.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class VSpherePlatformTopology implements KubernetesResource +public class VSpherePlatformTopology implements Editable , KubernetesResource { @JsonProperty("computeCluster") @@ -158,6 +159,16 @@ public void setResourcePool(String resourcePool) { this.resourcePool = resourcePool; } + @JsonIgnore + public VSpherePlatformTopologyBuilder edit() { + return new VSpherePlatformTopologyBuilder(this); + } + + @JsonIgnore + public VSpherePlatformTopologyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformVCenterSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformVCenterSpec.java index 09f001d49cd..95a68fad38d 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformVCenterSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformVCenterSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class VSpherePlatformVCenterSpec implements KubernetesResource +public class VSpherePlatformVCenterSpec implements Editable , KubernetesResource { @JsonProperty("datacenters") @@ -116,6 +117,16 @@ public void setServer(String server) { this.server = server; } + @JsonIgnore + public VSpherePlatformVCenterSpecBuilder edit() { + return new VSpherePlatformVCenterSpecBuilder(this); + } + + @JsonIgnore + public VSpherePlatformVCenterSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/WebhookTokenAuthenticator.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/WebhookTokenAuthenticator.java index 67310b58438..b27375adc47 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/WebhookTokenAuthenticator.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/WebhookTokenAuthenticator.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class WebhookTokenAuthenticator implements KubernetesResource +public class WebhookTokenAuthenticator implements Editable , KubernetesResource { @JsonProperty("kubeConfig") @@ -85,6 +86,16 @@ public void setKubeConfig(SecretNameReference kubeConfig) { this.kubeConfig = kubeConfig; } + @JsonIgnore + public WebhookTokenAuthenticatorBuilder edit() { + return new WebhookTokenAuthenticatorBuilder(this); + } + + @JsonIgnore + public WebhookTokenAuthenticatorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index 89ae6115929..532f4b6ed77 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -91,7 +92,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -419,6 +421,16 @@ public void setTypeMeta(TypeMeta typeMeta) { this.typeMeta = typeMeta; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index 1edc52e31fd..14e338fa981 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -91,7 +92,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -419,6 +421,16 @@ public void setTypeMeta(TypeMeta typeMeta) { this.typeMeta = typeMeta; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ApplicationMenuSpec.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ApplicationMenuSpec.java index b92604418c6..7dff38191ad 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ApplicationMenuSpec.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ApplicationMenuSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ApplicationMenuSpec implements KubernetesResource +public class ApplicationMenuSpec implements Editable , KubernetesResource { @JsonProperty("imageURL") @@ -99,6 +100,16 @@ public void setSection(String section) { this.section = section; } + @JsonIgnore + public ApplicationMenuSpecBuilder edit() { + return new ApplicationMenuSpecBuilder(this); + } + + @JsonIgnore + public ApplicationMenuSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/CLIDownloadLink.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/CLIDownloadLink.java index dfd1d74dc78..6d0bcfecde4 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/CLIDownloadLink.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/CLIDownloadLink.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CLIDownloadLink implements KubernetesResource +public class CLIDownloadLink implements Editable , KubernetesResource { @JsonProperty("href") @@ -99,6 +100,16 @@ public void setText(String text) { this.text = text; } + @JsonIgnore + public CLIDownloadLinkBuilder edit() { + return new CLIDownloadLinkBuilder(this); + } + + @JsonIgnore + public CLIDownloadLinkBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleCLIDownload.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleCLIDownload.java index 2924af19167..b49ec204609 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleCLIDownload.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleCLIDownload.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -63,7 +64,7 @@ @Version("v1") @Group("console.openshift.io") @Generated("jsonschema2pojo") -public class ConsoleCLIDownload implements HasMetadata +public class ConsoleCLIDownload implements Editable , HasMetadata { /** @@ -162,6 +163,16 @@ public void setSpec(ConsoleCLIDownloadSpec spec) { this.spec = spec; } + @JsonIgnore + public ConsoleCLIDownloadBuilder edit() { + return new ConsoleCLIDownloadBuilder(this); + } + + @JsonIgnore + public ConsoleCLIDownloadBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleCLIDownloadList.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleCLIDownloadList.java index 15302562e31..7f4aece06fb 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleCLIDownloadList.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleCLIDownloadList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("console.openshift.io") @Generated("jsonschema2pojo") -public class ConsoleCLIDownloadList implements KubernetesResource, KubernetesResourceList +public class ConsoleCLIDownloadList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ConsoleCLIDownloadListBuilder edit() { + return new ConsoleCLIDownloadListBuilder(this); + } + + @JsonIgnore + public ConsoleCLIDownloadListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleCLIDownloadSpec.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleCLIDownloadSpec.java index 07a5b38f880..871f0375f9b 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleCLIDownloadSpec.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleCLIDownloadSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ConsoleCLIDownloadSpec implements KubernetesResource +public class ConsoleCLIDownloadSpec implements Editable , KubernetesResource { @JsonProperty("description") @@ -116,6 +117,16 @@ public void setLinks(List links) { this.links = links; } + @JsonIgnore + public ConsoleCLIDownloadSpecBuilder edit() { + return new ConsoleCLIDownloadSpecBuilder(this); + } + + @JsonIgnore + public ConsoleCLIDownloadSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleExternalLogLink.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleExternalLogLink.java index 8bc3d44adf7..b9971e98ffd 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleExternalLogLink.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleExternalLogLink.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -63,7 +64,7 @@ @Version("v1") @Group("console.openshift.io") @Generated("jsonschema2pojo") -public class ConsoleExternalLogLink implements HasMetadata +public class ConsoleExternalLogLink implements Editable , HasMetadata { /** @@ -162,6 +163,16 @@ public void setSpec(ConsoleExternalLogLinkSpec spec) { this.spec = spec; } + @JsonIgnore + public ConsoleExternalLogLinkBuilder edit() { + return new ConsoleExternalLogLinkBuilder(this); + } + + @JsonIgnore + public ConsoleExternalLogLinkBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleExternalLogLinkList.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleExternalLogLinkList.java index 9c45649c931..5f91edbaca3 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleExternalLogLinkList.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleExternalLogLinkList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("console.openshift.io") @Generated("jsonschema2pojo") -public class ConsoleExternalLogLinkList implements KubernetesResource, KubernetesResourceList +public class ConsoleExternalLogLinkList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ConsoleExternalLogLinkListBuilder edit() { + return new ConsoleExternalLogLinkListBuilder(this); + } + + @JsonIgnore + public ConsoleExternalLogLinkListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleExternalLogLinkSpec.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleExternalLogLinkSpec.java index cc6e86e285a..bb13ab16dba 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleExternalLogLinkSpec.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleExternalLogLinkSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ConsoleExternalLogLinkSpec implements KubernetesResource +public class ConsoleExternalLogLinkSpec implements Editable , KubernetesResource { @JsonProperty("hrefTemplate") @@ -113,6 +114,16 @@ public void setText(String text) { this.text = text; } + @JsonIgnore + public ConsoleExternalLogLinkSpecBuilder edit() { + return new ConsoleExternalLogLinkSpecBuilder(this); + } + + @JsonIgnore + public ConsoleExternalLogLinkSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleLink.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleLink.java index e3f7545224f..cacb92a2d0a 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleLink.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleLink.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -63,7 +64,7 @@ @Version("v1") @Group("console.openshift.io") @Generated("jsonschema2pojo") -public class ConsoleLink implements HasMetadata +public class ConsoleLink implements Editable , HasMetadata { /** @@ -162,6 +163,16 @@ public void setSpec(ConsoleLinkSpec spec) { this.spec = spec; } + @JsonIgnore + public ConsoleLinkBuilder edit() { + return new ConsoleLinkBuilder(this); + } + + @JsonIgnore + public ConsoleLinkBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleLinkList.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleLinkList.java index 85253a5c711..6a5de3f7407 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleLinkList.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleLinkList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("console.openshift.io") @Generated("jsonschema2pojo") -public class ConsoleLinkList implements KubernetesResource, KubernetesResourceList +public class ConsoleLinkList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ConsoleLinkListBuilder edit() { + return new ConsoleLinkListBuilder(this); + } + + @JsonIgnore + public ConsoleLinkListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleLinkSpec.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleLinkSpec.java index 5b202cc2a43..4c822fc2ffd 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleLinkSpec.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleLinkSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ConsoleLinkSpec implements KubernetesResource +public class ConsoleLinkSpec implements Editable , KubernetesResource { @JsonProperty("applicationMenu") @@ -141,6 +142,16 @@ public void setText(String text) { this.text = text; } + @JsonIgnore + public ConsoleLinkSpecBuilder edit() { + return new ConsoleLinkSpecBuilder(this); + } + + @JsonIgnore + public ConsoleLinkSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleNotification.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleNotification.java index 3359a1bdf2e..0ca783a7721 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleNotification.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleNotification.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -63,7 +64,7 @@ @Version("v1") @Group("console.openshift.io") @Generated("jsonschema2pojo") -public class ConsoleNotification implements HasMetadata +public class ConsoleNotification implements Editable , HasMetadata { /** @@ -162,6 +163,16 @@ public void setSpec(ConsoleNotificationSpec spec) { this.spec = spec; } + @JsonIgnore + public ConsoleNotificationBuilder edit() { + return new ConsoleNotificationBuilder(this); + } + + @JsonIgnore + public ConsoleNotificationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleNotificationList.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleNotificationList.java index 2ff132e84d8..b6789c6fdc0 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleNotificationList.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleNotificationList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("console.openshift.io") @Generated("jsonschema2pojo") -public class ConsoleNotificationList implements KubernetesResource, KubernetesResourceList +public class ConsoleNotificationList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ConsoleNotificationListBuilder edit() { + return new ConsoleNotificationListBuilder(this); + } + + @JsonIgnore + public ConsoleNotificationListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleNotificationSpec.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleNotificationSpec.java index 97cc6f3e583..8427f041d1b 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleNotificationSpec.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleNotificationSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ConsoleNotificationSpec implements KubernetesResource +public class ConsoleNotificationSpec implements Editable , KubernetesResource { @JsonProperty("backgroundColor") @@ -141,6 +142,16 @@ public void setText(String text) { this.text = text; } + @JsonIgnore + public ConsoleNotificationSpecBuilder edit() { + return new ConsoleNotificationSpecBuilder(this); + } + + @JsonIgnore + public ConsoleNotificationSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStart.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStart.java index 7e8ae67fd6a..9e1d838cfab 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStart.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStart.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -63,7 +64,7 @@ @Version("v1") @Group("console.openshift.io") @Generated("jsonschema2pojo") -public class ConsoleQuickStart implements HasMetadata +public class ConsoleQuickStart implements Editable , HasMetadata { /** @@ -162,6 +163,16 @@ public void setSpec(ConsoleQuickStartSpec spec) { this.spec = spec; } + @JsonIgnore + public ConsoleQuickStartBuilder edit() { + return new ConsoleQuickStartBuilder(this); + } + + @JsonIgnore + public ConsoleQuickStartBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStartList.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStartList.java index 4ce334b959c..a48234eac47 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStartList.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStartList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("console.openshift.io") @Generated("jsonschema2pojo") -public class ConsoleQuickStartList implements KubernetesResource, KubernetesResourceList +public class ConsoleQuickStartList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ConsoleQuickStartListBuilder edit() { + return new ConsoleQuickStartListBuilder(this); + } + + @JsonIgnore + public ConsoleQuickStartListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStartSpec.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStartSpec.java index 43aef123a1a..ac3c65b3429 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStartSpec.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStartSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ConsoleQuickStartSpec implements KubernetesResource +public class ConsoleQuickStartSpec implements Editable , KubernetesResource { @JsonProperty("accessReviewResources") @@ -233,6 +234,16 @@ public void setTasks(List tasks) { this.tasks = tasks; } + @JsonIgnore + public ConsoleQuickStartSpecBuilder edit() { + return new ConsoleQuickStartSpecBuilder(this); + } + + @JsonIgnore + public ConsoleQuickStartSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStartTask.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStartTask.java index 9fef95d6b3f..df5239071df 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStartTask.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStartTask.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ConsoleQuickStartTask implements KubernetesResource +public class ConsoleQuickStartTask implements Editable , KubernetesResource { @JsonProperty("description") @@ -127,6 +128,16 @@ public void setTitle(String title) { this.title = title; } + @JsonIgnore + public ConsoleQuickStartTaskBuilder edit() { + return new ConsoleQuickStartTaskBuilder(this); + } + + @JsonIgnore + public ConsoleQuickStartTaskBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStartTaskReview.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStartTaskReview.java index 4666ed4145f..53d7d5de98d 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStartTaskReview.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStartTaskReview.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ConsoleQuickStartTaskReview implements KubernetesResource +public class ConsoleQuickStartTaskReview implements Editable , KubernetesResource { @JsonProperty("failedTaskHelp") @@ -99,6 +100,16 @@ public void setInstructions(String instructions) { this.instructions = instructions; } + @JsonIgnore + public ConsoleQuickStartTaskReviewBuilder edit() { + return new ConsoleQuickStartTaskReviewBuilder(this); + } + + @JsonIgnore + public ConsoleQuickStartTaskReviewBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStartTaskSummary.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStartTaskSummary.java index ecc2100a4b7..92dddccbf78 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStartTaskSummary.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStartTaskSummary.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ConsoleQuickStartTaskSummary implements KubernetesResource +public class ConsoleQuickStartTaskSummary implements Editable , KubernetesResource { @JsonProperty("failed") @@ -99,6 +100,16 @@ public void setSuccess(String success) { this.success = success; } + @JsonIgnore + public ConsoleQuickStartTaskSummaryBuilder edit() { + return new ConsoleQuickStartTaskSummaryBuilder(this); + } + + @JsonIgnore + public ConsoleQuickStartTaskSummaryBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleYAMLSample.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleYAMLSample.java index 7ffa4d70c47..dc7ed7344dd 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleYAMLSample.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleYAMLSample.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -63,7 +64,7 @@ @Version("v1") @Group("console.openshift.io") @Generated("jsonschema2pojo") -public class ConsoleYAMLSample implements HasMetadata +public class ConsoleYAMLSample implements Editable , HasMetadata { /** @@ -162,6 +163,16 @@ public void setSpec(ConsoleYAMLSampleSpec spec) { this.spec = spec; } + @JsonIgnore + public ConsoleYAMLSampleBuilder edit() { + return new ConsoleYAMLSampleBuilder(this); + } + + @JsonIgnore + public ConsoleYAMLSampleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleYAMLSampleList.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleYAMLSampleList.java index fe03068c39f..a1e11fe2aab 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleYAMLSampleList.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleYAMLSampleList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("console.openshift.io") @Generated("jsonschema2pojo") -public class ConsoleYAMLSampleList implements KubernetesResource, KubernetesResourceList +public class ConsoleYAMLSampleList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ConsoleYAMLSampleListBuilder edit() { + return new ConsoleYAMLSampleListBuilder(this); + } + + @JsonIgnore + public ConsoleYAMLSampleListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleYAMLSampleSpec.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleYAMLSampleSpec.java index 240fcbb1f48..e5e1cdc6202 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleYAMLSampleSpec.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleYAMLSampleSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ConsoleYAMLSampleSpec implements KubernetesResource +public class ConsoleYAMLSampleSpec implements Editable , KubernetesResource { @JsonProperty("description") @@ -142,6 +143,16 @@ public void setYaml(String yaml) { this.yaml = yaml; } + @JsonIgnore + public ConsoleYAMLSampleSpecBuilder edit() { + return new ConsoleYAMLSampleSpecBuilder(this); + } + + @JsonIgnore + public ConsoleYAMLSampleSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/Link.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/Link.java index 101b2a17029..f1c801ea4be 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/Link.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/Link.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Link implements KubernetesResource +public class Link implements Editable , KubernetesResource { @JsonProperty("href") @@ -99,6 +100,16 @@ public void setText(String text) { this.text = text; } + @JsonIgnore + public LinkBuilder edit() { + return new LinkBuilder(this); + } + + @JsonIgnore + public LinkBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/NamespaceDashboardSpec.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/NamespaceDashboardSpec.java index 73655e4a552..0e094b629ec 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/NamespaceDashboardSpec.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/NamespaceDashboardSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NamespaceDashboardSpec implements KubernetesResource +public class NamespaceDashboardSpec implements Editable , KubernetesResource { @JsonProperty("namespaceSelector") @@ -101,6 +102,16 @@ public void setNamespaces(List namespaces) { this.namespaces = namespaces; } + @JsonIgnore + public NamespaceDashboardSpecBuilder edit() { + return new NamespaceDashboardSpecBuilder(this); + } + + @JsonIgnore + public NamespaceDashboardSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1alpha1/ConsolePlugin.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1alpha1/ConsolePlugin.java index 12b8073d862..98547f60ffc 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1alpha1/ConsolePlugin.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1alpha1/ConsolePlugin.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -63,7 +64,7 @@ @Version("v1alpha1") @Group("console.openshift.io") @Generated("jsonschema2pojo") -public class ConsolePlugin implements HasMetadata +public class ConsolePlugin implements Editable , HasMetadata { /** @@ -162,6 +163,16 @@ public void setSpec(ConsolePluginSpec spec) { this.spec = spec; } + @JsonIgnore + public ConsolePluginBuilder edit() { + return new ConsolePluginBuilder(this); + } + + @JsonIgnore + public ConsolePluginBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1alpha1/ConsolePluginList.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1alpha1/ConsolePluginList.java index 746a3b83c94..00ed77d9586 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1alpha1/ConsolePluginList.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1alpha1/ConsolePluginList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha1") @Group("console.openshift.io") @Generated("jsonschema2pojo") -public class ConsolePluginList implements KubernetesResource, KubernetesResourceList +public class ConsolePluginList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ConsolePluginListBuilder edit() { + return new ConsolePluginListBuilder(this); + } + + @JsonIgnore + public ConsolePluginListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1alpha1/ConsolePluginProxy.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1alpha1/ConsolePluginProxy.java index 88e9145ab2e..db148276138 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1alpha1/ConsolePluginProxy.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1alpha1/ConsolePluginProxy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ConsolePluginProxy implements KubernetesResource +public class ConsolePluginProxy implements Editable , KubernetesResource { @JsonProperty("alias") @@ -141,6 +142,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public ConsolePluginProxyBuilder edit() { + return new ConsolePluginProxyBuilder(this); + } + + @JsonIgnore + public ConsolePluginProxyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1alpha1/ConsolePluginProxyServiceConfig.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1alpha1/ConsolePluginProxyServiceConfig.java index e9287794d03..3f5c8b33709 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1alpha1/ConsolePluginProxyServiceConfig.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1alpha1/ConsolePluginProxyServiceConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ConsolePluginProxyServiceConfig implements KubernetesResource +public class ConsolePluginProxyServiceConfig implements Editable , KubernetesResource { @JsonProperty("name") @@ -113,6 +114,16 @@ public void setPort(Integer port) { this.port = port; } + @JsonIgnore + public ConsolePluginProxyServiceConfigBuilder edit() { + return new ConsolePluginProxyServiceConfigBuilder(this); + } + + @JsonIgnore + public ConsolePluginProxyServiceConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1alpha1/ConsolePluginService.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1alpha1/ConsolePluginService.java index 7a3555fea6e..9cfa1b70bfb 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1alpha1/ConsolePluginService.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1alpha1/ConsolePluginService.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ConsolePluginService implements KubernetesResource +public class ConsolePluginService implements Editable , KubernetesResource { @JsonProperty("basePath") @@ -127,6 +128,16 @@ public void setPort(Integer port) { this.port = port; } + @JsonIgnore + public ConsolePluginServiceBuilder edit() { + return new ConsolePluginServiceBuilder(this); + } + + @JsonIgnore + public ConsolePluginServiceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1alpha1/ConsolePluginSpec.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1alpha1/ConsolePluginSpec.java index a128907fec7..26c07db0a84 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1alpha1/ConsolePluginSpec.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1alpha1/ConsolePluginSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ConsolePluginSpec implements KubernetesResource +public class ConsolePluginSpec implements Editable , KubernetesResource { @JsonProperty("displayName") @@ -116,6 +117,16 @@ public void setService(ConsolePluginService service) { this.service = service; } + @JsonIgnore + public ConsolePluginSpecBuilder edit() { + return new ConsolePluginSpecBuilder(this); + } + + @JsonIgnore + public ConsolePluginSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index 416728e6ffe..cf6edc53aef 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -133,7 +134,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -760,6 +762,16 @@ public void setVsphereOSDisk(io.fabric8.openshift.api.model.hive.vsphere.v1.OSDi this.vsphereOSDisk = vsphereOSDisk; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index fb88264c9ac..7413ad9fb99 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -133,7 +134,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -760,6 +762,16 @@ public void setVsphereOSDisk(io.fabric8.openshift.api.model.hive.vsphere.v1.OSDi this.vsphereOSDisk = vsphereOSDisk; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/agent/v1/BareMetalPlatform.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/agent/v1/BareMetalPlatform.java index 4e78b592cb1..dcfecce9a9d 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/agent/v1/BareMetalPlatform.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/agent/v1/BareMetalPlatform.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -54,7 +55,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BareMetalPlatform implements KubernetesResource +public class BareMetalPlatform implements Editable , KubernetesResource { @JsonProperty("agentSelector") @@ -84,6 +85,16 @@ public void setAgentSelector(io.fabric8.kubernetes.api.model.LabelSelector agent this.agentSelector = agentSelector; } + @JsonIgnore + public BareMetalPlatformBuilder edit() { + return new BareMetalPlatformBuilder(this); + } + + @JsonIgnore + public BareMetalPlatformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/AssumeRole.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/AssumeRole.java index 00ed3fc24da..90a39d9680e 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/AssumeRole.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/AssumeRole.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AssumeRole implements KubernetesResource +public class AssumeRole implements Editable , KubernetesResource { @JsonProperty("externalID") @@ -99,6 +100,16 @@ public void setRoleARN(String roleARN) { this.roleARN = roleARN; } + @JsonIgnore + public AssumeRoleBuilder edit() { + return new AssumeRoleBuilder(this); + } + + @JsonIgnore + public AssumeRoleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/EC2RootVolume.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/EC2RootVolume.java index 565447e1c76..e5f1e2cf955 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/EC2RootVolume.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/EC2RootVolume.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class EC2RootVolume implements KubernetesResource +public class EC2RootVolume implements Editable , KubernetesResource { @JsonProperty("iops") @@ -127,6 +128,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public EC2RootVolumeBuilder edit() { + return new EC2RootVolumeBuilder(this); + } + + @JsonIgnore + public EC2RootVolumeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/MachinePoolPlatform.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/MachinePoolPlatform.java index ca6cdf4b3b5..94e5927f9e5 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/MachinePoolPlatform.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/MachinePoolPlatform.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachinePoolPlatform implements KubernetesResource +public class MachinePoolPlatform implements Editable , KubernetesResource { @JsonProperty("rootVolume") @@ -145,6 +146,16 @@ public void setZones(List zones) { this.zones = zones; } + @JsonIgnore + public MachinePoolPlatformBuilder edit() { + return new MachinePoolPlatformBuilder(this); + } + + @JsonIgnore + public MachinePoolPlatformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/Platform.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/Platform.java index b339b80b33f..b6723b7a931 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/Platform.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/Platform.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Platform implements KubernetesResource +public class Platform implements Editable , KubernetesResource { @JsonProperty("credentialsAssumeRole") @@ -141,6 +142,16 @@ public void setUserTags(Map userTags) { this.userTags = userTags; } + @JsonIgnore + public PlatformBuilder edit() { + return new PlatformBuilder(this); + } + + @JsonIgnore + public PlatformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/PlatformStatus.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/PlatformStatus.java index bb77cc74456..6b838a94e6e 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/PlatformStatus.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/PlatformStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PlatformStatus implements KubernetesResource +public class PlatformStatus implements Editable , KubernetesResource { @JsonProperty("privateLink") @@ -85,6 +86,16 @@ public void setPrivateLink(PrivateLinkAccessStatus privateLink) { this.privateLink = privateLink; } + @JsonIgnore + public PlatformStatusBuilder edit() { + return new PlatformStatusBuilder(this); + } + + @JsonIgnore + public PlatformStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/PrivateLinkAccess.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/PrivateLinkAccess.java index 434f2c298c8..5d2a6d77dd1 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/PrivateLinkAccess.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/PrivateLinkAccess.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PrivateLinkAccess implements KubernetesResource +public class PrivateLinkAccess implements Editable , KubernetesResource { @JsonProperty("enabled") @@ -85,6 +86,16 @@ public void setEnabled(Boolean enabled) { this.enabled = enabled; } + @JsonIgnore + public PrivateLinkAccessBuilder edit() { + return new PrivateLinkAccessBuilder(this); + } + + @JsonIgnore + public PrivateLinkAccessBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/PrivateLinkAccessStatus.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/PrivateLinkAccessStatus.java index 5446034b769..ae709368953 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/PrivateLinkAccessStatus.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/PrivateLinkAccessStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PrivateLinkAccessStatus implements KubernetesResource +public class PrivateLinkAccessStatus implements Editable , KubernetesResource { @JsonProperty("hostedZoneID") @@ -113,6 +114,16 @@ public void setVpcEndpointService(VPCEndpointService vpcEndpointService) { this.vpcEndpointService = vpcEndpointService; } + @JsonIgnore + public PrivateLinkAccessStatusBuilder edit() { + return new PrivateLinkAccessStatusBuilder(this); + } + + @JsonIgnore + public PrivateLinkAccessStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/SpotMarketOptions.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/SpotMarketOptions.java index 8afcb55a53b..e9cb1f574f7 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/SpotMarketOptions.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/SpotMarketOptions.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SpotMarketOptions implements KubernetesResource +public class SpotMarketOptions implements Editable , KubernetesResource { @JsonProperty("maxPrice") @@ -85,6 +86,16 @@ public void setMaxPrice(String maxPrice) { this.maxPrice = maxPrice; } + @JsonIgnore + public SpotMarketOptionsBuilder edit() { + return new SpotMarketOptionsBuilder(this); + } + + @JsonIgnore + public SpotMarketOptionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/VPCEndpointService.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/VPCEndpointService.java index 6a94cdd2c39..ea382424536 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/VPCEndpointService.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/aws/v1/VPCEndpointService.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class VPCEndpointService implements KubernetesResource +public class VPCEndpointService implements Editable , KubernetesResource { @JsonProperty("id") @@ -99,6 +100,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public VPCEndpointServiceBuilder edit() { + return new VPCEndpointServiceBuilder(this); + } + + @JsonIgnore + public VPCEndpointServiceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/azure/v1/MachinePool.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/azure/v1/MachinePool.java index 890004dc0d5..cb98c288696 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/azure/v1/MachinePool.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/azure/v1/MachinePool.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachinePool implements KubernetesResource +public class MachinePool implements Editable , KubernetesResource { @JsonProperty("osDisk") @@ -116,6 +117,16 @@ public void setZones(List zones) { this.zones = zones; } + @JsonIgnore + public MachinePoolBuilder edit() { + return new MachinePoolBuilder(this); + } + + @JsonIgnore + public MachinePoolBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/azure/v1/OSDisk.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/azure/v1/OSDisk.java index 51efe8253b2..b13dd3f846f 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/azure/v1/OSDisk.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/azure/v1/OSDisk.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OSDisk implements KubernetesResource +public class OSDisk implements Editable , KubernetesResource { @JsonProperty("diskSizeGB") @@ -85,6 +86,16 @@ public void setDiskSizeGB(Integer diskSizeGB) { this.diskSizeGB = diskSizeGB; } + @JsonIgnore + public OSDiskBuilder edit() { + return new OSDiskBuilder(this); + } + + @JsonIgnore + public OSDiskBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/azure/v1/Platform.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/azure/v1/Platform.java index ad3c285c674..15ca0d77cfa 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/azure/v1/Platform.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/azure/v1/Platform.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Platform implements KubernetesResource +public class Platform implements Editable , KubernetesResource { @JsonProperty("baseDomainResourceGroupName") @@ -126,6 +127,16 @@ public void setRegion(String region) { this.region = region; } + @JsonIgnore + public PlatformBuilder edit() { + return new PlatformBuilder(this); + } + + @JsonIgnore + public PlatformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/baremetal/v1/Platform.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/baremetal/v1/Platform.java index 6319d21213a..13829633df5 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/baremetal/v1/Platform.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/baremetal/v1/Platform.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -54,7 +55,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Platform implements KubernetesResource +public class Platform implements Editable , KubernetesResource { @JsonProperty("libvirtSSHPrivateKeySecretRef") @@ -84,6 +85,16 @@ public void setLibvirtSSHPrivateKeySecretRef(io.fabric8.kubernetes.api.model.Loc this.libvirtSSHPrivateKeySecretRef = libvirtSSHPrivateKeySecretRef; } + @JsonIgnore + public PlatformBuilder edit() { + return new PlatformBuilder(this); + } + + @JsonIgnore + public PlatformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/gcp/v1/EncryptionKeyReference.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/gcp/v1/EncryptionKeyReference.java index 3721a9e2329..0f0805c9bfa 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/gcp/v1/EncryptionKeyReference.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/gcp/v1/EncryptionKeyReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class EncryptionKeyReference implements KubernetesResource +public class EncryptionKeyReference implements Editable , KubernetesResource { @JsonProperty("kmsKey") @@ -99,6 +100,16 @@ public void setKmsKeyServiceAccount(String kmsKeyServiceAccount) { this.kmsKeyServiceAccount = kmsKeyServiceAccount; } + @JsonIgnore + public EncryptionKeyReferenceBuilder edit() { + return new EncryptionKeyReferenceBuilder(this); + } + + @JsonIgnore + public EncryptionKeyReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/gcp/v1/KMSKeyReference.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/gcp/v1/KMSKeyReference.java index c736d2c2704..f717f417dea 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/gcp/v1/KMSKeyReference.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/gcp/v1/KMSKeyReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KMSKeyReference implements KubernetesResource +public class KMSKeyReference implements Editable , KubernetesResource { @JsonProperty("keyRing") @@ -127,6 +128,16 @@ public void setProjectID(String projectID) { this.projectID = projectID; } + @JsonIgnore + public KMSKeyReferenceBuilder edit() { + return new KMSKeyReferenceBuilder(this); + } + + @JsonIgnore + public KMSKeyReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/gcp/v1/MachinePool.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/gcp/v1/MachinePool.java index 5abe1d6f6d1..7affdf6da93 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/gcp/v1/MachinePool.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/gcp/v1/MachinePool.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachinePool implements KubernetesResource +public class MachinePool implements Editable , KubernetesResource { @JsonProperty("osDisk") @@ -116,6 +117,16 @@ public void setZones(List zones) { this.zones = zones; } + @JsonIgnore + public MachinePoolBuilder edit() { + return new MachinePoolBuilder(this); + } + + @JsonIgnore + public MachinePoolBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/gcp/v1/OSDisk.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/gcp/v1/OSDisk.java index 6017ea9d062..b325e376386 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/gcp/v1/OSDisk.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/gcp/v1/OSDisk.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OSDisk implements KubernetesResource +public class OSDisk implements Editable , KubernetesResource { @JsonProperty("diskSizeGB") @@ -113,6 +114,16 @@ public void setEncryptionKey(EncryptionKeyReference encryptionKey) { this.encryptionKey = encryptionKey; } + @JsonIgnore + public OSDiskBuilder edit() { + return new OSDiskBuilder(this); + } + + @JsonIgnore + public OSDiskBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/gcp/v1/Platform.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/gcp/v1/Platform.java index 89498bedadb..cd947dfa2ff 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/gcp/v1/Platform.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/gcp/v1/Platform.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Platform implements KubernetesResource +public class Platform implements Editable , KubernetesResource { @JsonProperty("credentialsSecretRef") @@ -98,6 +99,16 @@ public void setRegion(String region) { this.region = region; } + @JsonIgnore + public PlatformBuilder edit() { + return new PlatformBuilder(this); + } + + @JsonIgnore + public PlatformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ibmcloud/v1/BootVolume.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ibmcloud/v1/BootVolume.java index e413f6f54e6..448fe7f67de 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ibmcloud/v1/BootVolume.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ibmcloud/v1/BootVolume.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BootVolume implements KubernetesResource +public class BootVolume implements Editable , KubernetesResource { @JsonProperty("encryptionKey") @@ -85,6 +86,16 @@ public void setEncryptionKey(String encryptionKey) { this.encryptionKey = encryptionKey; } + @JsonIgnore + public BootVolumeBuilder edit() { + return new BootVolumeBuilder(this); + } + + @JsonIgnore + public BootVolumeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ibmcloud/v1/DedicatedHost.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ibmcloud/v1/DedicatedHost.java index 36339d07c34..60cbf69958a 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ibmcloud/v1/DedicatedHost.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ibmcloud/v1/DedicatedHost.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DedicatedHost implements KubernetesResource +public class DedicatedHost implements Editable , KubernetesResource { @JsonProperty("name") @@ -99,6 +100,16 @@ public void setProfile(String profile) { this.profile = profile; } + @JsonIgnore + public DedicatedHostBuilder edit() { + return new DedicatedHostBuilder(this); + } + + @JsonIgnore + public DedicatedHostBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ibmcloud/v1/MachinePool.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ibmcloud/v1/MachinePool.java index 5784111e1bd..bf0a883aef4 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ibmcloud/v1/MachinePool.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ibmcloud/v1/MachinePool.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachinePool implements KubernetesResource +public class MachinePool implements Editable , KubernetesResource { @JsonProperty("bootVolume") @@ -131,6 +132,16 @@ public void setZones(List zones) { this.zones = zones; } + @JsonIgnore + public MachinePoolBuilder edit() { + return new MachinePoolBuilder(this); + } + + @JsonIgnore + public MachinePoolBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ibmcloud/v1/Platform.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ibmcloud/v1/Platform.java index bbf7cc35508..a8c7239b78f 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ibmcloud/v1/Platform.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ibmcloud/v1/Platform.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Platform implements KubernetesResource +public class Platform implements Editable , KubernetesResource { @JsonProperty("accountID") @@ -126,6 +127,16 @@ public void setRegion(String region) { this.region = region; } + @JsonIgnore + public PlatformBuilder edit() { + return new PlatformBuilder(this); + } + + @JsonIgnore + public PlatformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/openstack/v1/MachinePool.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/openstack/v1/MachinePool.java index 7fe4ffb52c5..64af4ef9470 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/openstack/v1/MachinePool.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/openstack/v1/MachinePool.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachinePool implements KubernetesResource +public class MachinePool implements Editable , KubernetesResource { @JsonProperty("flavor") @@ -99,6 +100,16 @@ public void setRootVolume(RootVolume rootVolume) { this.rootVolume = rootVolume; } + @JsonIgnore + public MachinePoolBuilder edit() { + return new MachinePoolBuilder(this); + } + + @JsonIgnore + public MachinePoolBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/openstack/v1/Platform.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/openstack/v1/Platform.java index 6c0771dc3a4..ef7fae1e39a 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/openstack/v1/Platform.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/openstack/v1/Platform.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Platform implements KubernetesResource +public class Platform implements Editable , KubernetesResource { @JsonProperty("certificatesSecretRef") @@ -126,6 +127,16 @@ public void setTrunkSupport(Boolean trunkSupport) { this.trunkSupport = trunkSupport; } + @JsonIgnore + public PlatformBuilder edit() { + return new PlatformBuilder(this); + } + + @JsonIgnore + public PlatformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/openstack/v1/RootVolume.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/openstack/v1/RootVolume.java index e3f880527a1..d2931765638 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/openstack/v1/RootVolume.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/openstack/v1/RootVolume.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RootVolume implements KubernetesResource +public class RootVolume implements Editable , KubernetesResource { @JsonProperty("size") @@ -99,6 +100,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public RootVolumeBuilder edit() { + return new RootVolumeBuilder(this); + } + + @JsonIgnore + public RootVolumeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ovirt/v1/CPU.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ovirt/v1/CPU.java index cae364cd7ba..1d9c75b1f90 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ovirt/v1/CPU.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ovirt/v1/CPU.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CPU implements KubernetesResource +public class CPU implements Editable , KubernetesResource { @JsonProperty("cores") @@ -99,6 +100,16 @@ public void setSockets(Integer sockets) { this.sockets = sockets; } + @JsonIgnore + public CPUBuilder edit() { + return new CPUBuilder(this); + } + + @JsonIgnore + public CPUBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ovirt/v1/Disk.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ovirt/v1/Disk.java index 26dacff0d72..100b2233f30 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ovirt/v1/Disk.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ovirt/v1/Disk.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Disk implements KubernetesResource +public class Disk implements Editable , KubernetesResource { @JsonProperty("sizeGB") @@ -85,6 +86,16 @@ public void setSizeGB(Long sizeGB) { this.sizeGB = sizeGB; } + @JsonIgnore + public DiskBuilder edit() { + return new DiskBuilder(this); + } + + @JsonIgnore + public DiskBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ovirt/v1/MachinePool.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ovirt/v1/MachinePool.java index 401b5d4e37a..94c631321c8 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ovirt/v1/MachinePool.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ovirt/v1/MachinePool.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachinePool implements KubernetesResource +public class MachinePool implements Editable , KubernetesResource { @JsonProperty("cpu") @@ -127,6 +128,16 @@ public void setVmType(String vmType) { this.vmType = vmType; } + @JsonIgnore + public MachinePoolBuilder edit() { + return new MachinePoolBuilder(this); + } + + @JsonIgnore + public MachinePoolBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ovirt/v1/Platform.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ovirt/v1/Platform.java index 8e824672db3..38c29580cca 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ovirt/v1/Platform.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/ovirt/v1/Platform.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Platform implements KubernetesResource +public class Platform implements Editable , KubernetesResource { @JsonProperty("certificatesSecretRef") @@ -140,6 +141,16 @@ public void setStorageDomainId(String storageDomainId) { this.storageDomainId = storageDomainId; } + @JsonIgnore + public PlatformBuilder edit() { + return new PlatformBuilder(this); + } + + @JsonIgnore + public PlatformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSAssociatedVPC.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSAssociatedVPC.java index f9d44abb26a..48fa53dccb1 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSAssociatedVPC.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSAssociatedVPC.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AWSAssociatedVPC implements KubernetesResource +public class AWSAssociatedVPC implements Editable , KubernetesResource { @JsonProperty("credentialsSecretRef") @@ -112,6 +113,16 @@ public void setVpcID(String vpcID) { this.vpcID = vpcID; } + @JsonIgnore + public AWSAssociatedVPCBuilder edit() { + return new AWSAssociatedVPCBuilder(this); + } + + @JsonIgnore + public AWSAssociatedVPCBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSClusterDeprovision.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSClusterDeprovision.java index 3f18a8287f5..bc9f272182a 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSClusterDeprovision.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSClusterDeprovision.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AWSClusterDeprovision implements KubernetesResource +public class AWSClusterDeprovision implements Editable , KubernetesResource { @JsonProperty("credentialsAssumeRole") @@ -113,6 +114,16 @@ public void setRegion(String region) { this.region = region; } + @JsonIgnore + public AWSClusterDeprovisionBuilder edit() { + return new AWSClusterDeprovisionBuilder(this); + } + + @JsonIgnore + public AWSClusterDeprovisionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSDNSZoneSpec.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSDNSZoneSpec.java index dc4e0a749a2..a4398eb7f41 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSDNSZoneSpec.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSDNSZoneSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AWSDNSZoneSpec implements KubernetesResource +public class AWSDNSZoneSpec implements Editable , KubernetesResource { @JsonProperty("additionalTags") @@ -130,6 +131,16 @@ public void setRegion(String region) { this.region = region; } + @JsonIgnore + public AWSDNSZoneSpecBuilder edit() { + return new AWSDNSZoneSpecBuilder(this); + } + + @JsonIgnore + public AWSDNSZoneSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSDNSZoneStatus.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSDNSZoneStatus.java index 50d5461b83b..7ad5066bf3b 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSDNSZoneStatus.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSDNSZoneStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AWSDNSZoneStatus implements KubernetesResource +public class AWSDNSZoneStatus implements Editable , KubernetesResource { @JsonProperty("zoneID") @@ -85,6 +86,16 @@ public void setZoneID(String zoneID) { this.zoneID = zoneID; } + @JsonIgnore + public AWSDNSZoneStatusBuilder edit() { + return new AWSDNSZoneStatusBuilder(this); + } + + @JsonIgnore + public AWSDNSZoneStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSPrivateLinkConfig.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSPrivateLinkConfig.java index b129a983f5c..a7bb2c551a8 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSPrivateLinkConfig.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSPrivateLinkConfig.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AWSPrivateLinkConfig implements KubernetesResource +public class AWSPrivateLinkConfig implements Editable , KubernetesResource { @JsonProperty("associatedVPCs") @@ -130,6 +131,16 @@ public void setEndpointVPCInventory(List endpointVPCInv this.endpointVPCInventory = endpointVPCInventory; } + @JsonIgnore + public AWSPrivateLinkConfigBuilder edit() { + return new AWSPrivateLinkConfigBuilder(this); + } + + @JsonIgnore + public AWSPrivateLinkConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSPrivateLinkInventory.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSPrivateLinkInventory.java index 0c1a18c89f0..dd9d50cd09b 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSPrivateLinkInventory.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSPrivateLinkInventory.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AWSPrivateLinkInventory implements KubernetesResource +public class AWSPrivateLinkInventory implements Editable , KubernetesResource { @JsonProperty("region") @@ -116,6 +117,16 @@ public void setVpcID(String vpcID) { this.vpcID = vpcID; } + @JsonIgnore + public AWSPrivateLinkInventoryBuilder edit() { + return new AWSPrivateLinkInventoryBuilder(this); + } + + @JsonIgnore + public AWSPrivateLinkInventoryBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSPrivateLinkSubnet.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSPrivateLinkSubnet.java index 1f884b2cd39..cd3180e0be0 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSPrivateLinkSubnet.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSPrivateLinkSubnet.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AWSPrivateLinkSubnet implements KubernetesResource +public class AWSPrivateLinkSubnet implements Editable , KubernetesResource { @JsonProperty("availabilityZone") @@ -99,6 +100,16 @@ public void setSubnetID(String subnetID) { this.subnetID = subnetID; } + @JsonIgnore + public AWSPrivateLinkSubnetBuilder edit() { + return new AWSPrivateLinkSubnetBuilder(this); + } + + @JsonIgnore + public AWSPrivateLinkSubnetBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSResourceTag.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSResourceTag.java index f729995694d..d1d70488fb7 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSResourceTag.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSResourceTag.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AWSResourceTag implements KubernetesResource +public class AWSResourceTag implements Editable , KubernetesResource { @JsonProperty("key") @@ -99,6 +100,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public AWSResourceTagBuilder edit() { + return new AWSResourceTagBuilder(this); + } + + @JsonIgnore + public AWSResourceTagBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSServiceProviderCredentials.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSServiceProviderCredentials.java index a1d5aa84de5..0a522364d97 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSServiceProviderCredentials.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSServiceProviderCredentials.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -54,7 +55,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AWSServiceProviderCredentials implements KubernetesResource +public class AWSServiceProviderCredentials implements Editable , KubernetesResource { @JsonProperty("credentialsSecretRef") @@ -84,6 +85,16 @@ public void setCredentialsSecretRef(io.fabric8.kubernetes.api.model.LocalObjectR this.credentialsSecretRef = credentialsSecretRef; } + @JsonIgnore + public AWSServiceProviderCredentialsBuilder edit() { + return new AWSServiceProviderCredentialsBuilder(this); + } + + @JsonIgnore + public AWSServiceProviderCredentialsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ArgoCDConfig.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ArgoCDConfig.java index 903689f562c..35039325add 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ArgoCDConfig.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ArgoCDConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ArgoCDConfig implements KubernetesResource +public class ArgoCDConfig implements Editable , KubernetesResource { @JsonProperty("enabled") @@ -99,6 +100,16 @@ public void setNamespace(String namespace) { this.namespace = namespace; } + @JsonIgnore + public ArgoCDConfigBuilder edit() { + return new ArgoCDConfigBuilder(this); + } + + @JsonIgnore + public ArgoCDConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AzureClusterDeprovision.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AzureClusterDeprovision.java index 26cf001650d..cc658d994d3 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AzureClusterDeprovision.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AzureClusterDeprovision.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AzureClusterDeprovision implements KubernetesResource +public class AzureClusterDeprovision implements Editable , KubernetesResource { @JsonProperty("cloudName") @@ -98,6 +99,16 @@ public void setCredentialsSecretRef(io.fabric8.kubernetes.api.model.LocalObjectR this.credentialsSecretRef = credentialsSecretRef; } + @JsonIgnore + public AzureClusterDeprovisionBuilder edit() { + return new AzureClusterDeprovisionBuilder(this); + } + + @JsonIgnore + public AzureClusterDeprovisionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AzureDNSZoneSpec.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AzureDNSZoneSpec.java index d3c548757a6..aabf8b6985c 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AzureDNSZoneSpec.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AzureDNSZoneSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AzureDNSZoneSpec implements KubernetesResource +public class AzureDNSZoneSpec implements Editable , KubernetesResource { @JsonProperty("cloudName") @@ -112,6 +113,16 @@ public void setResourceGroupName(String resourceGroupName) { this.resourceGroupName = resourceGroupName; } + @JsonIgnore + public AzureDNSZoneSpecBuilder edit() { + return new AzureDNSZoneSpecBuilder(this); + } + + @JsonIgnore + public AzureDNSZoneSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AzureDNSZoneStatus.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AzureDNSZoneStatus.java index b12423bb4c4..b146a3c8c79 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AzureDNSZoneStatus.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AzureDNSZoneStatus.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AzureDNSZoneStatus implements KubernetesResource +public class AzureDNSZoneStatus implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public AzureDNSZoneStatusBuilder edit() { + return new AzureDNSZoneStatusBuilder(this); + } + + @JsonIgnore + public AzureDNSZoneStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/BackupConfig.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/BackupConfig.java index 420c282f7e4..c69fad3317d 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/BackupConfig.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/BackupConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BackupConfig implements KubernetesResource +public class BackupConfig implements Editable , KubernetesResource { @JsonProperty("minBackupPeriodSeconds") @@ -99,6 +100,16 @@ public void setVelero(VeleroBackupConfig velero) { this.velero = velero; } + @JsonIgnore + public BackupConfigBuilder edit() { + return new BackupConfigBuilder(this); + } + + @JsonIgnore + public BackupConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/BackupReference.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/BackupReference.java index ea8a63dcdbe..9162da85c5e 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/BackupReference.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/BackupReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BackupReference implements KubernetesResource +public class BackupReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -99,6 +100,16 @@ public void setNamespace(String namespace) { this.namespace = namespace; } + @JsonIgnore + public BackupReferenceBuilder edit() { + return new BackupReferenceBuilder(this); + } + + @JsonIgnore + public BackupReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/CertificateBundleSpec.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/CertificateBundleSpec.java index 9191bc538d3..7d9c399607b 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/CertificateBundleSpec.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/CertificateBundleSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CertificateBundleSpec implements KubernetesResource +public class CertificateBundleSpec implements Editable , KubernetesResource { @JsonProperty("certificateSecretRef") @@ -112,6 +113,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public CertificateBundleSpecBuilder edit() { + return new CertificateBundleSpecBuilder(this); + } + + @JsonIgnore + public CertificateBundleSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/CertificateBundleStatus.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/CertificateBundleStatus.java index 6a174b31337..c67171efacb 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/CertificateBundleStatus.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/CertificateBundleStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CertificateBundleStatus implements KubernetesResource +public class CertificateBundleStatus implements Editable , KubernetesResource { @JsonProperty("generated") @@ -99,6 +100,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public CertificateBundleStatusBuilder edit() { + return new CertificateBundleStatusBuilder(this); + } + + @JsonIgnore + public CertificateBundleStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/Checkpoint.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/Checkpoint.java index 9a71de8920b..b922034f6c7 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/Checkpoint.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/Checkpoint.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class Checkpoint implements HasMetadata, Namespaced +public class Checkpoint implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(CheckpointStatus status) { this.status = status; } + @JsonIgnore + public CheckpointBuilder edit() { + return new CheckpointBuilder(this); + } + + @JsonIgnore + public CheckpointBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/CheckpointList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/CheckpointList.java index 33169b259f9..cd4a1876cea 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/CheckpointList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/CheckpointList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class CheckpointList implements KubernetesResource, KubernetesResourceList +public class CheckpointList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public CheckpointListBuilder edit() { + return new CheckpointListBuilder(this); + } + + @JsonIgnore + public CheckpointListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/CheckpointSpec.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/CheckpointSpec.java index 061919a2ca7..2931c1fc7e2 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/CheckpointSpec.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/CheckpointSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CheckpointSpec implements KubernetesResource +public class CheckpointSpec implements Editable , KubernetesResource { @JsonProperty("lastBackupChecksum") @@ -113,6 +114,16 @@ public void setLastBackupTime(String lastBackupTime) { this.lastBackupTime = lastBackupTime; } + @JsonIgnore + public CheckpointSpecBuilder edit() { + return new CheckpointSpecBuilder(this); + } + + @JsonIgnore + public CheckpointSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/CheckpointStatus.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/CheckpointStatus.java index 94d648bc1b0..10bcb322a21 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/CheckpointStatus.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/CheckpointStatus.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CheckpointStatus implements KubernetesResource +public class CheckpointStatus implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public CheckpointStatusBuilder edit() { + return new CheckpointStatusBuilder(this); + } + + @JsonIgnore + public CheckpointStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterClaim.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterClaim.java index 6e2fa4c754f..ff346f47892 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterClaim.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterClaim.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class ClusterClaim implements HasMetadata, Namespaced +public class ClusterClaim implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(ClusterClaimStatus status) { this.status = status; } + @JsonIgnore + public ClusterClaimBuilder edit() { + return new ClusterClaimBuilder(this); + } + + @JsonIgnore + public ClusterClaimBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterClaimCondition.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterClaimCondition.java index 9410dc25d66..6dc4b5602d8 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterClaimCondition.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterClaimCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterClaimCondition implements KubernetesResource +public class ClusterClaimCondition implements Editable , KubernetesResource { @JsonProperty("lastProbeTime") @@ -155,6 +156,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public ClusterClaimConditionBuilder edit() { + return new ClusterClaimConditionBuilder(this); + } + + @JsonIgnore + public ClusterClaimConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterClaimList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterClaimList.java index 099e4635001..1723223a477 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterClaimList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterClaimList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class ClusterClaimList implements KubernetesResource, KubernetesResourceList +public class ClusterClaimList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterClaimListBuilder edit() { + return new ClusterClaimListBuilder(this); + } + + @JsonIgnore + public ClusterClaimListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterClaimSpec.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterClaimSpec.java index 15481421435..657768d1ca5 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterClaimSpec.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterClaimSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.Duration; import io.fabric8.kubernetes.api.model.IntOrString; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterClaimSpec implements KubernetesResource +public class ClusterClaimSpec implements Editable , KubernetesResource { @JsonProperty("clusterPoolName") @@ -132,6 +133,16 @@ public void setSubjects(List subjects) { this.subjects = subjects; } + @JsonIgnore + public ClusterClaimSpecBuilder edit() { + return new ClusterClaimSpecBuilder(this); + } + + @JsonIgnore + public ClusterClaimSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterClaimStatus.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterClaimStatus.java index 19773d1f37f..cc64670290d 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterClaimStatus.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterClaimStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.Duration; import io.fabric8.kubernetes.api.model.IntOrString; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterClaimStatus implements KubernetesResource +public class ClusterClaimStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -103,6 +104,16 @@ public void setLifetime(Duration lifetime) { this.lifetime = lifetime; } + @JsonIgnore + public ClusterClaimStatusBuilder edit() { + return new ClusterClaimStatusBuilder(this); + } + + @JsonIgnore + public ClusterClaimStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeployment.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeployment.java index 5cf31a2658a..c0409649c0e 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeployment.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeployment.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class ClusterDeployment implements HasMetadata, Namespaced +public class ClusterDeployment implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(ClusterDeploymentStatus status) { this.status = status; } + @JsonIgnore + public ClusterDeploymentBuilder edit() { + return new ClusterDeploymentBuilder(this); + } + + @JsonIgnore + public ClusterDeploymentBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeploymentCondition.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeploymentCondition.java index 043398eec41..bfdf35fbac8 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeploymentCondition.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeploymentCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterDeploymentCondition implements KubernetesResource +public class ClusterDeploymentCondition implements Editable , KubernetesResource { @JsonProperty("lastProbeTime") @@ -155,6 +156,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public ClusterDeploymentConditionBuilder edit() { + return new ClusterDeploymentConditionBuilder(this); + } + + @JsonIgnore + public ClusterDeploymentConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeploymentList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeploymentList.java index c686515936b..97ce5fe7d6e 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeploymentList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeploymentList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class ClusterDeploymentList implements KubernetesResource, KubernetesResourceList +public class ClusterDeploymentList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterDeploymentListBuilder edit() { + return new ClusterDeploymentListBuilder(this); + } + + @JsonIgnore + public ClusterDeploymentListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeploymentSpec.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeploymentSpec.java index 94e2ea1e5c4..fc5e87e9bac 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeploymentSpec.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeploymentSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.Duration; import io.fabric8.kubernetes.api.model.IntOrString; @@ -74,7 +75,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterDeploymentSpec implements KubernetesResource +public class ClusterDeploymentSpec implements Editable , KubernetesResource { @JsonProperty("baseDomain") @@ -327,6 +328,16 @@ public void setPullSecretRef(io.fabric8.kubernetes.api.model.LocalObjectReferenc this.pullSecretRef = pullSecretRef; } + @JsonIgnore + public ClusterDeploymentSpecBuilder edit() { + return new ClusterDeploymentSpecBuilder(this); + } + + @JsonIgnore + public ClusterDeploymentSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeploymentStatus.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeploymentStatus.java index 6a332279a02..749efa0809a 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeploymentStatus.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeploymentStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterDeploymentStatus implements KubernetesResource +public class ClusterDeploymentStatus implements Editable , KubernetesResource { @JsonProperty("apiURL") @@ -256,6 +257,16 @@ public void setWebConsoleURL(java.lang.String webConsoleURL) { this.webConsoleURL = webConsoleURL; } + @JsonIgnore + public ClusterDeploymentStatusBuilder edit() { + return new ClusterDeploymentStatusBuilder(this); + } + + @JsonIgnore + public ClusterDeploymentStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeprovision.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeprovision.java index e9c626e39e7..e09d7300b1a 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeprovision.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeprovision.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class ClusterDeprovision implements HasMetadata, Namespaced +public class ClusterDeprovision implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(ClusterDeprovisionStatus status) { this.status = status; } + @JsonIgnore + public ClusterDeprovisionBuilder edit() { + return new ClusterDeprovisionBuilder(this); + } + + @JsonIgnore + public ClusterDeprovisionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeprovisionCondition.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeprovisionCondition.java index c2a3e71fa62..6169846ecf5 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeprovisionCondition.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeprovisionCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterDeprovisionCondition implements KubernetesResource +public class ClusterDeprovisionCondition implements Editable , KubernetesResource { @JsonProperty("lastProbeTime") @@ -155,6 +156,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public ClusterDeprovisionConditionBuilder edit() { + return new ClusterDeprovisionConditionBuilder(this); + } + + @JsonIgnore + public ClusterDeprovisionConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeprovisionList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeprovisionList.java index 5022127429e..98a5f283f64 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeprovisionList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeprovisionList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class ClusterDeprovisionList implements KubernetesResource, KubernetesResourceList +public class ClusterDeprovisionList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterDeprovisionListBuilder edit() { + return new ClusterDeprovisionListBuilder(this); + } + + @JsonIgnore + public ClusterDeprovisionListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeprovisionPlatform.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeprovisionPlatform.java index ccd43301d5f..be497a0bb00 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeprovisionPlatform.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeprovisionPlatform.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterDeprovisionPlatform implements KubernetesResource +public class ClusterDeprovisionPlatform implements Editable , KubernetesResource { @JsonProperty("aws") @@ -169,6 +170,16 @@ public void setVsphere(VSphereClusterDeprovision vsphere) { this.vsphere = vsphere; } + @JsonIgnore + public ClusterDeprovisionPlatformBuilder edit() { + return new ClusterDeprovisionPlatformBuilder(this); + } + + @JsonIgnore + public ClusterDeprovisionPlatformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeprovisionSpec.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeprovisionSpec.java index bdde47dc526..b4af9af373a 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeprovisionSpec.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeprovisionSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterDeprovisionSpec implements KubernetesResource +public class ClusterDeprovisionSpec implements Editable , KubernetesResource { @JsonProperty("clusterID") @@ -113,6 +114,16 @@ public void setPlatform(ClusterDeprovisionPlatform platform) { this.platform = platform; } + @JsonIgnore + public ClusterDeprovisionSpecBuilder edit() { + return new ClusterDeprovisionSpecBuilder(this); + } + + @JsonIgnore + public ClusterDeprovisionSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeprovisionStatus.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeprovisionStatus.java index 95bec6aa369..ba904ade701 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeprovisionStatus.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeprovisionStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterDeprovisionStatus implements KubernetesResource +public class ClusterDeprovisionStatus implements Editable , KubernetesResource { @JsonProperty("completed") @@ -102,6 +103,16 @@ public void setConditions(List conditions) { this.conditions = conditions; } + @JsonIgnore + public ClusterDeprovisionStatusBuilder edit() { + return new ClusterDeprovisionStatusBuilder(this); + } + + @JsonIgnore + public ClusterDeprovisionStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterImageSet.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterImageSet.java index 1bc925eb4d3..07e8e37cafe 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterImageSet.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterImageSet.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class ClusterImageSet implements HasMetadata +public class ClusterImageSet implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(ClusterImageSetStatus status) { this.status = status; } + @JsonIgnore + public ClusterImageSetBuilder edit() { + return new ClusterImageSetBuilder(this); + } + + @JsonIgnore + public ClusterImageSetBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterImageSetList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterImageSetList.java index 62b23e35f23..100bcba9de8 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterImageSetList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterImageSetList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class ClusterImageSetList implements KubernetesResource, KubernetesResourceList +public class ClusterImageSetList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterImageSetListBuilder edit() { + return new ClusterImageSetListBuilder(this); + } + + @JsonIgnore + public ClusterImageSetListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterImageSetReference.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterImageSetReference.java index b804c1413c5..09c44a4e48e 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterImageSetReference.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterImageSetReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterImageSetReference implements KubernetesResource +public class ClusterImageSetReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -85,6 +86,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public ClusterImageSetReferenceBuilder edit() { + return new ClusterImageSetReferenceBuilder(this); + } + + @JsonIgnore + public ClusterImageSetReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterImageSetSpec.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterImageSetSpec.java index 57c160ecad2..ca617c159ed 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterImageSetSpec.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterImageSetSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterImageSetSpec implements KubernetesResource +public class ClusterImageSetSpec implements Editable , KubernetesResource { @JsonProperty("releaseImage") @@ -85,6 +86,16 @@ public void setReleaseImage(String releaseImage) { this.releaseImage = releaseImage; } + @JsonIgnore + public ClusterImageSetSpecBuilder edit() { + return new ClusterImageSetSpecBuilder(this); + } + + @JsonIgnore + public ClusterImageSetSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterImageSetStatus.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterImageSetStatus.java index bdf837b7db1..7cbb2e2ef84 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterImageSetStatus.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterImageSetStatus.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterImageSetStatus implements KubernetesResource +public class ClusterImageSetStatus implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public ClusterImageSetStatusBuilder edit() { + return new ClusterImageSetStatusBuilder(this); + } + + @JsonIgnore + public ClusterImageSetStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterIngress.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterIngress.java index 9fbc25a0c6b..ddfeeed86b6 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterIngress.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterIngress.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterIngress implements KubernetesResource +public class ClusterIngress implements Editable , KubernetesResource { @JsonProperty("domain") @@ -140,6 +141,16 @@ public void setServingCertificate(String servingCertificate) { this.servingCertificate = servingCertificate; } + @JsonIgnore + public ClusterIngressBuilder edit() { + return new ClusterIngressBuilder(this); + } + + @JsonIgnore + public ClusterIngressBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterInstallLocalReference.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterInstallLocalReference.java index b06f779b8f7..5995892868f 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterInstallLocalReference.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterInstallLocalReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterInstallLocalReference implements KubernetesResource +public class ClusterInstallLocalReference implements Editable , KubernetesResource { @JsonProperty("group") @@ -126,6 +127,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public ClusterInstallLocalReferenceBuilder edit() { + return new ClusterInstallLocalReferenceBuilder(this); + } + + @JsonIgnore + public ClusterInstallLocalReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterMetadata.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterMetadata.java index c9f0ee9ea97..7f35b04a2ce 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterMetadata.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterMetadata.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterMetadata implements KubernetesResource +public class ClusterMetadata implements Editable , KubernetesResource { @JsonProperty("adminKubeconfigSecretRef") @@ -126,6 +127,16 @@ public void setInfraID(String infraID) { this.infraID = infraID; } + @JsonIgnore + public ClusterMetadataBuilder edit() { + return new ClusterMetadataBuilder(this); + } + + @JsonIgnore + public ClusterMetadataBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterOperatorState.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterOperatorState.java index 206c8a1a400..d0901a0f2d8 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterOperatorState.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterOperatorState.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterOperatorState implements KubernetesResource +public class ClusterOperatorState implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -103,6 +104,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public ClusterOperatorStateBuilder edit() { + return new ClusterOperatorStateBuilder(this); + } + + @JsonIgnore + public ClusterOperatorStateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPool.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPool.java index c48d1127ace..c16e97ab43a 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPool.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPool.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class ClusterPool implements HasMetadata, Namespaced +public class ClusterPool implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(ClusterPoolStatus status) { this.status = status; } + @JsonIgnore + public ClusterPoolBuilder edit() { + return new ClusterPoolBuilder(this); + } + + @JsonIgnore + public ClusterPoolBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPoolClaimLifetime.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPoolClaimLifetime.java index 2114366e43d..528706a108e 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPoolClaimLifetime.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPoolClaimLifetime.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.Duration; import io.fabric8.kubernetes.api.model.IntOrString; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterPoolClaimLifetime implements KubernetesResource +public class ClusterPoolClaimLifetime implements Editable , KubernetesResource { @JsonProperty("default") @@ -100,6 +101,16 @@ public void setMaximum(Duration maximum) { this.maximum = maximum; } + @JsonIgnore + public ClusterPoolClaimLifetimeBuilder edit() { + return new ClusterPoolClaimLifetimeBuilder(this); + } + + @JsonIgnore + public ClusterPoolClaimLifetimeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPoolCondition.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPoolCondition.java index 956b3003be5..85d50214cb0 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPoolCondition.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPoolCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterPoolCondition implements KubernetesResource +public class ClusterPoolCondition implements Editable , KubernetesResource { @JsonProperty("lastProbeTime") @@ -155,6 +156,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public ClusterPoolConditionBuilder edit() { + return new ClusterPoolConditionBuilder(this); + } + + @JsonIgnore + public ClusterPoolConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPoolList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPoolList.java index 7444bda5cb4..736f2e2f5e4 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPoolList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPoolList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class ClusterPoolList implements KubernetesResource, KubernetesResourceList +public class ClusterPoolList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterPoolListBuilder edit() { + return new ClusterPoolListBuilder(this); + } + + @JsonIgnore + public ClusterPoolListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPoolReference.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPoolReference.java index 57f00ac09a0..d7f99c924ee 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPoolReference.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPoolReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterPoolReference implements KubernetesResource +public class ClusterPoolReference implements Editable , KubernetesResource { @JsonProperty("claimName") @@ -127,6 +128,16 @@ public void setPoolName(java.lang.String poolName) { this.poolName = poolName; } + @JsonIgnore + public ClusterPoolReferenceBuilder edit() { + return new ClusterPoolReferenceBuilder(this); + } + + @JsonIgnore + public ClusterPoolReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPoolSpec.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPoolSpec.java index f21190e5f4f..673efaece2b 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPoolSpec.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPoolSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.Duration; import io.fabric8.kubernetes.api.model.IntOrString; @@ -70,7 +71,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterPoolSpec implements KubernetesResource +public class ClusterPoolSpec implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -297,6 +298,16 @@ public void setSkipMachinePools(Boolean skipMachinePools) { this.skipMachinePools = skipMachinePools; } + @JsonIgnore + public ClusterPoolSpecBuilder edit() { + return new ClusterPoolSpecBuilder(this); + } + + @JsonIgnore + public ClusterPoolSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPoolStatus.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPoolStatus.java index c4bbe80855e..a81b4df55e7 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPoolStatus.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPoolStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterPoolStatus implements KubernetesResource +public class ClusterPoolStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -130,6 +131,16 @@ public void setStandby(Integer standby) { this.standby = standby; } + @JsonIgnore + public ClusterPoolStatusBuilder edit() { + return new ClusterPoolStatusBuilder(this); + } + + @JsonIgnore + public ClusterPoolStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterProvision.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterProvision.java index 1ff4a59ce43..b40d11352d1 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterProvision.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterProvision.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class ClusterProvision implements HasMetadata, Namespaced +public class ClusterProvision implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(ClusterProvisionStatus status) { this.status = status; } + @JsonIgnore + public ClusterProvisionBuilder edit() { + return new ClusterProvisionBuilder(this); + } + + @JsonIgnore + public ClusterProvisionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterProvisionCondition.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterProvisionCondition.java index 6b8986e5425..ef3da3ec688 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterProvisionCondition.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterProvisionCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterProvisionCondition implements KubernetesResource +public class ClusterProvisionCondition implements Editable , KubernetesResource { @JsonProperty("lastProbeTime") @@ -155,6 +156,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public ClusterProvisionConditionBuilder edit() { + return new ClusterProvisionConditionBuilder(this); + } + + @JsonIgnore + public ClusterProvisionConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterProvisionList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterProvisionList.java index 8eeab241bea..87493afbb57 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterProvisionList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterProvisionList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class ClusterProvisionList implements KubernetesResource, KubernetesResourceList +public class ClusterProvisionList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterProvisionListBuilder edit() { + return new ClusterProvisionListBuilder(this); + } + + @JsonIgnore + public ClusterProvisionListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterProvisionSpec.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterProvisionSpec.java index f129b2756dd..5da7ae2534f 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterProvisionSpec.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterProvisionSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -66,7 +67,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterProvisionSpec implements KubernetesResource +public class ClusterProvisionSpec implements Editable , KubernetesResource { @JsonProperty("adminKubeconfigSecretRef") @@ -253,6 +254,16 @@ public void setStage(java.lang.String stage) { this.stage = stage; } + @JsonIgnore + public ClusterProvisionSpecBuilder edit() { + return new ClusterProvisionSpecBuilder(this); + } + + @JsonIgnore + public ClusterProvisionSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterProvisionStatus.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterProvisionStatus.java index 4d39fb89a2c..836686b264c 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterProvisionStatus.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterProvisionStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterProvisionStatus implements KubernetesResource +public class ClusterProvisionStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -101,6 +102,16 @@ public void setJobRef(io.fabric8.kubernetes.api.model.LocalObjectReference jobRe this.jobRef = jobRef; } + @JsonIgnore + public ClusterProvisionStatusBuilder edit() { + return new ClusterProvisionStatusBuilder(this); + } + + @JsonIgnore + public ClusterProvisionStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterRelocate.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterRelocate.java index 2cad23210d7..2162d860a97 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterRelocate.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterRelocate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class ClusterRelocate implements HasMetadata, Namespaced +public class ClusterRelocate implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(ClusterRelocateStatus status) { this.status = status; } + @JsonIgnore + public ClusterRelocateBuilder edit() { + return new ClusterRelocateBuilder(this); + } + + @JsonIgnore + public ClusterRelocateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterRelocateList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterRelocateList.java index 1ebe0f94d81..17749e7d158 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterRelocateList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterRelocateList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class ClusterRelocateList implements KubernetesResource, KubernetesResourceList +public class ClusterRelocateList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterRelocateListBuilder edit() { + return new ClusterRelocateListBuilder(this); + } + + @JsonIgnore + public ClusterRelocateListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterRelocateSpec.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterRelocateSpec.java index 2e74efeab2d..04e5dd3594c 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterRelocateSpec.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterRelocateSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterRelocateSpec implements KubernetesResource +public class ClusterRelocateSpec implements Editable , KubernetesResource { @JsonProperty("clusterDeploymentSelector") @@ -98,6 +99,16 @@ public void setKubeconfigSecretRef(KubeconfigSecretReference kubeconfigSecretRef this.kubeconfigSecretRef = kubeconfigSecretRef; } + @JsonIgnore + public ClusterRelocateSpecBuilder edit() { + return new ClusterRelocateSpecBuilder(this); + } + + @JsonIgnore + public ClusterRelocateSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterRelocateStatus.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterRelocateStatus.java index 1b130a5fab7..2fc9063302b 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterRelocateStatus.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterRelocateStatus.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterRelocateStatus implements KubernetesResource +public class ClusterRelocateStatus implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public ClusterRelocateStatusBuilder edit() { + return new ClusterRelocateStatusBuilder(this); + } + + @JsonIgnore + public ClusterRelocateStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterState.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterState.java index 94334bd8ae1..5ae4f0313eb 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterState.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterState.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class ClusterState implements HasMetadata, Namespaced +public class ClusterState implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(ClusterStateStatus status) { this.status = status; } + @JsonIgnore + public ClusterStateBuilder edit() { + return new ClusterStateBuilder(this); + } + + @JsonIgnore + public ClusterStateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterStateList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterStateList.java index bc169bb678b..846ad08caa5 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterStateList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterStateList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class ClusterStateList implements KubernetesResource, KubernetesResourceList +public class ClusterStateList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterStateListBuilder edit() { + return new ClusterStateListBuilder(this); + } + + @JsonIgnore + public ClusterStateListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterStateSpec.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterStateSpec.java index f1e8ce2f0a8..a31c68b517c 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterStateSpec.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterStateSpec.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterStateSpec implements KubernetesResource +public class ClusterStateSpec implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public ClusterStateSpecBuilder edit() { + return new ClusterStateSpecBuilder(this); + } + + @JsonIgnore + public ClusterStateSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterStateStatus.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterStateStatus.java index 0017aa908e6..c7a11271cfe 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterStateStatus.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterStateStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterStateStatus implements KubernetesResource +public class ClusterStateStatus implements Editable , KubernetesResource { @JsonProperty("clusterOperators") @@ -102,6 +103,16 @@ public void setLastUpdated(String lastUpdated) { this.lastUpdated = lastUpdated; } + @JsonIgnore + public ClusterStateStatusBuilder edit() { + return new ClusterStateStatusBuilder(this); + } + + @JsonIgnore + public ClusterStateStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ControlPlaneAdditionalCertificate.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ControlPlaneAdditionalCertificate.java index 7b03c2057c0..33b1348cc20 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ControlPlaneAdditionalCertificate.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ControlPlaneAdditionalCertificate.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ControlPlaneAdditionalCertificate implements KubernetesResource +public class ControlPlaneAdditionalCertificate implements Editable , KubernetesResource { @JsonProperty("domain") @@ -99,6 +100,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public ControlPlaneAdditionalCertificateBuilder edit() { + return new ControlPlaneAdditionalCertificateBuilder(this); + } + + @JsonIgnore + public ControlPlaneAdditionalCertificateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ControlPlaneConfigSpec.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ControlPlaneConfigSpec.java index 6535cacf030..d3786fa7639 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ControlPlaneConfigSpec.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ControlPlaneConfigSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ControlPlaneConfigSpec implements KubernetesResource +public class ControlPlaneConfigSpec implements Editable , KubernetesResource { @JsonProperty("apiURLOverride") @@ -99,6 +100,16 @@ public void setServingCertificates(ControlPlaneServingCertificateSpec servingCer this.servingCertificates = servingCertificates; } + @JsonIgnore + public ControlPlaneConfigSpecBuilder edit() { + return new ControlPlaneConfigSpecBuilder(this); + } + + @JsonIgnore + public ControlPlaneConfigSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ControlPlaneServingCertificateSpec.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ControlPlaneServingCertificateSpec.java index 2b1ab039d4c..dfb02ee5d9b 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ControlPlaneServingCertificateSpec.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ControlPlaneServingCertificateSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ControlPlaneServingCertificateSpec implements KubernetesResource +public class ControlPlaneServingCertificateSpec implements Editable , KubernetesResource { @JsonProperty("additional") @@ -102,6 +103,16 @@ public void setDefault(String _default) { this._default = _default; } + @JsonIgnore + public ControlPlaneServingCertificateSpecBuilder edit() { + return new ControlPlaneServingCertificateSpecBuilder(this); + } + + @JsonIgnore + public ControlPlaneServingCertificateSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ControllerConfig.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ControllerConfig.java index 81e50e1cb14..e6392a0ae86 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ControllerConfig.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ControllerConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ControllerConfig implements KubernetesResource +public class ControllerConfig implements Editable , KubernetesResource { @JsonProperty("clientBurst") @@ -155,6 +156,16 @@ public void setReplicas(Integer replicas) { this.replicas = replicas; } + @JsonIgnore + public ControllerConfigBuilder edit() { + return new ControllerConfigBuilder(this); + } + + @JsonIgnore + public ControllerConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ControllersConfig.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ControllersConfig.java index 2a772fbc81e..47e8144c0c2 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ControllersConfig.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ControllersConfig.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ControllersConfig implements KubernetesResource +public class ControllersConfig implements Editable , KubernetesResource { @JsonProperty("controllers") @@ -102,6 +103,16 @@ public void setDefault(ControllerConfig _default) { this._default = _default; } + @JsonIgnore + public ControllersConfigBuilder edit() { + return new ControllersConfigBuilder(this); + } + + @JsonIgnore + public ControllersConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/DNSZone.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/DNSZone.java index fc994815620..451edb8786e 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/DNSZone.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/DNSZone.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class DNSZone implements HasMetadata, Namespaced +public class DNSZone implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(DNSZoneStatus status) { this.status = status; } + @JsonIgnore + public DNSZoneBuilder edit() { + return new DNSZoneBuilder(this); + } + + @JsonIgnore + public DNSZoneBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/DNSZoneCondition.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/DNSZoneCondition.java index be3972d2191..2d32357174c 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/DNSZoneCondition.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/DNSZoneCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DNSZoneCondition implements KubernetesResource +public class DNSZoneCondition implements Editable , KubernetesResource { @JsonProperty("lastProbeTime") @@ -155,6 +156,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public DNSZoneConditionBuilder edit() { + return new DNSZoneConditionBuilder(this); + } + + @JsonIgnore + public DNSZoneConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/DNSZoneList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/DNSZoneList.java index f3b75422872..e1542b55259 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/DNSZoneList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/DNSZoneList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class DNSZoneList implements KubernetesResource, KubernetesResourceList +public class DNSZoneList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public DNSZoneListBuilder edit() { + return new DNSZoneListBuilder(this); + } + + @JsonIgnore + public DNSZoneListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/DNSZoneSpec.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/DNSZoneSpec.java index 2baf6f51293..2793da48f0a 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/DNSZoneSpec.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/DNSZoneSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DNSZoneSpec implements KubernetesResource +public class DNSZoneSpec implements Editable , KubernetesResource { @JsonProperty("aws") @@ -155,6 +156,16 @@ public void setZone(String zone) { this.zone = zone; } + @JsonIgnore + public DNSZoneSpecBuilder edit() { + return new DNSZoneSpecBuilder(this); + } + + @JsonIgnore + public DNSZoneSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/DNSZoneStatus.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/DNSZoneStatus.java index 6acc5103911..a56008e7b9d 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/DNSZoneStatus.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/DNSZoneStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -63,7 +64,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DNSZoneStatus implements KubernetesResource +public class DNSZoneStatus implements Editable , KubernetesResource { @JsonProperty("aws") @@ -173,6 +174,16 @@ public void setNameServers(List nameServers) { this.nameServers = nameServers; } + @JsonIgnore + public DNSZoneStatusBuilder edit() { + return new DNSZoneStatusBuilder(this); + } + + @JsonIgnore + public DNSZoneStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/FailedProvisionAWSConfig.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/FailedProvisionAWSConfig.java index 0794a23e284..eb5f165e28d 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/FailedProvisionAWSConfig.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/FailedProvisionAWSConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class FailedProvisionAWSConfig implements KubernetesResource +public class FailedProvisionAWSConfig implements Editable , KubernetesResource { @JsonProperty("bucket") @@ -126,6 +127,16 @@ public void setServiceEndpoint(String serviceEndpoint) { this.serviceEndpoint = serviceEndpoint; } + @JsonIgnore + public FailedProvisionAWSConfigBuilder edit() { + return new FailedProvisionAWSConfigBuilder(this); + } + + @JsonIgnore + public FailedProvisionAWSConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/FailedProvisionConfig.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/FailedProvisionConfig.java index 2efe78d1b21..bcb31afcb2b 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/FailedProvisionConfig.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/FailedProvisionConfig.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class FailedProvisionConfig implements KubernetesResource +public class FailedProvisionConfig implements Editable , KubernetesResource { @JsonProperty("aws") @@ -116,6 +117,16 @@ public void setSkipGatherLogs(Boolean skipGatherLogs) { this.skipGatherLogs = skipGatherLogs; } + @JsonIgnore + public FailedProvisionConfigBuilder edit() { + return new FailedProvisionConfigBuilder(this); + } + + @JsonIgnore + public FailedProvisionConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/FeatureGateSelection.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/FeatureGateSelection.java index b14b94889f2..864fe4b19dd 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/FeatureGateSelection.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/FeatureGateSelection.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class FeatureGateSelection implements KubernetesResource +public class FeatureGateSelection implements Editable , KubernetesResource { @JsonProperty("custom") @@ -99,6 +100,16 @@ public void setFeatureSet(String featureSet) { this.featureSet = featureSet; } + @JsonIgnore + public FeatureGateSelectionBuilder edit() { + return new FeatureGateSelectionBuilder(this); + } + + @JsonIgnore + public FeatureGateSelectionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/FeatureGatesEnabled.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/FeatureGatesEnabled.java index d2f581e7521..9c3e2919429 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/FeatureGatesEnabled.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/FeatureGatesEnabled.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class FeatureGatesEnabled implements KubernetesResource +public class FeatureGatesEnabled implements Editable , KubernetesResource { @JsonProperty("enabled") @@ -88,6 +89,16 @@ public void setEnabled(List enabled) { this.enabled = enabled; } + @JsonIgnore + public FeatureGatesEnabledBuilder edit() { + return new FeatureGatesEnabledBuilder(this); + } + + @JsonIgnore + public FeatureGatesEnabledBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/GCPClusterDeprovision.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/GCPClusterDeprovision.java index 18e3fb47037..a11ad300f1d 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/GCPClusterDeprovision.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/GCPClusterDeprovision.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GCPClusterDeprovision implements KubernetesResource +public class GCPClusterDeprovision implements Editable , KubernetesResource { @JsonProperty("credentialsSecretRef") @@ -98,6 +99,16 @@ public void setRegion(String region) { this.region = region; } + @JsonIgnore + public GCPClusterDeprovisionBuilder edit() { + return new GCPClusterDeprovisionBuilder(this); + } + + @JsonIgnore + public GCPClusterDeprovisionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/GCPDNSZoneSpec.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/GCPDNSZoneSpec.java index 5e6486d61b8..8cc56fb093e 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/GCPDNSZoneSpec.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/GCPDNSZoneSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -54,7 +55,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GCPDNSZoneSpec implements KubernetesResource +public class GCPDNSZoneSpec implements Editable , KubernetesResource { @JsonProperty("credentialsSecretRef") @@ -84,6 +85,16 @@ public void setCredentialsSecretRef(io.fabric8.kubernetes.api.model.LocalObjectR this.credentialsSecretRef = credentialsSecretRef; } + @JsonIgnore + public GCPDNSZoneSpecBuilder edit() { + return new GCPDNSZoneSpecBuilder(this); + } + + @JsonIgnore + public GCPDNSZoneSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/GCPDNSZoneStatus.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/GCPDNSZoneStatus.java index d4fe804809a..d36a3622b40 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/GCPDNSZoneStatus.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/GCPDNSZoneStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GCPDNSZoneStatus implements KubernetesResource +public class GCPDNSZoneStatus implements Editable , KubernetesResource { @JsonProperty("zoneName") @@ -85,6 +86,16 @@ public void setZoneName(String zoneName) { this.zoneName = zoneName; } + @JsonIgnore + public GCPDNSZoneStatusBuilder edit() { + return new GCPDNSZoneStatusBuilder(this); + } + + @JsonIgnore + public GCPDNSZoneStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/HibernationConfig.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/HibernationConfig.java index d098641da7e..26c0edd893a 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/HibernationConfig.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/HibernationConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.Duration; import io.fabric8.kubernetes.api.model.IntOrString; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HibernationConfig implements KubernetesResource +public class HibernationConfig implements Editable , KubernetesResource { @JsonProperty("resumeTimeout") @@ -86,6 +87,16 @@ public void setResumeTimeout(Duration resumeTimeout) { this.resumeTimeout = resumeTimeout; } + @JsonIgnore + public HibernationConfigBuilder edit() { + return new HibernationConfigBuilder(this); + } + + @JsonIgnore + public HibernationConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/HiveConfig.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/HiveConfig.java index 893f50b08f3..5b50d7f022f 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/HiveConfig.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/HiveConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class HiveConfig implements HasMetadata +public class HiveConfig implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(HiveConfigStatus status) { this.status = status; } + @JsonIgnore + public HiveConfigBuilder edit() { + return new HiveConfigBuilder(this); + } + + @JsonIgnore + public HiveConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/HiveConfigCondition.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/HiveConfigCondition.java index 99a99df1939..6140d322043 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/HiveConfigCondition.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/HiveConfigCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HiveConfigCondition implements KubernetesResource +public class HiveConfigCondition implements Editable , KubernetesResource { @JsonProperty("lastProbeTime") @@ -155,6 +156,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public HiveConfigConditionBuilder edit() { + return new HiveConfigConditionBuilder(this); + } + + @JsonIgnore + public HiveConfigConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/HiveConfigList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/HiveConfigList.java index 5c8466ed538..87873cdff0a 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/HiveConfigList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/HiveConfigList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class HiveConfigList implements KubernetesResource, KubernetesResourceList +public class HiveConfigList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public HiveConfigListBuilder edit() { + return new HiveConfigListBuilder(this); + } + + @JsonIgnore + public HiveConfigListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/HiveConfigSpec.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/HiveConfigSpec.java index cebcada1e7f..d460a2bf39d 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/HiveConfigSpec.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/HiveConfigSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -74,7 +75,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HiveConfigSpec implements KubernetesResource +public class HiveConfigSpec implements Editable , KubernetesResource { @JsonProperty("additionalCertificateAuthoritiesSecretRef") @@ -341,6 +342,16 @@ public void setTargetNamespace(String targetNamespace) { this.targetNamespace = targetNamespace; } + @JsonIgnore + public HiveConfigSpecBuilder edit() { + return new HiveConfigSpecBuilder(this); + } + + @JsonIgnore + public HiveConfigSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/HiveConfigStatus.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/HiveConfigStatus.java index cfb49c20ad3..ebb26a90b6f 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/HiveConfigStatus.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/HiveConfigStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HiveConfigStatus implements KubernetesResource +public class HiveConfigStatus implements Editable , KubernetesResource { @JsonProperty("aggregatorClientCAHash") @@ -130,6 +131,16 @@ public void setObservedGeneration(Long observedGeneration) { this.observedGeneration = observedGeneration; } + @JsonIgnore + public HiveConfigStatusBuilder edit() { + return new HiveConfigStatusBuilder(this); + } + + @JsonIgnore + public HiveConfigStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/IBMClusterDeprovision.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/IBMClusterDeprovision.java index e5d04685cbd..f097baac12d 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/IBMClusterDeprovision.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/IBMClusterDeprovision.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IBMClusterDeprovision implements KubernetesResource +public class IBMClusterDeprovision implements Editable , KubernetesResource { @JsonProperty("accountID") @@ -140,6 +141,16 @@ public void setRegion(String region) { this.region = region; } + @JsonIgnore + public IBMClusterDeprovisionBuilder edit() { + return new IBMClusterDeprovisionBuilder(this); + } + + @JsonIgnore + public IBMClusterDeprovisionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/IdentityProviderStatus.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/IdentityProviderStatus.java index 009375b69c1..40fafb680fc 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/IdentityProviderStatus.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/IdentityProviderStatus.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IdentityProviderStatus implements KubernetesResource +public class IdentityProviderStatus implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public IdentityProviderStatusBuilder edit() { + return new IdentityProviderStatusBuilder(this); + } + + @JsonIgnore + public IdentityProviderStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/KubeconfigSecretReference.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/KubeconfigSecretReference.java index 2cbba1ab4ec..7529808fd8c 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/KubeconfigSecretReference.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/KubeconfigSecretReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeconfigSecretReference implements KubernetesResource +public class KubeconfigSecretReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -99,6 +100,16 @@ public void setNamespace(String namespace) { this.namespace = namespace; } + @JsonIgnore + public KubeconfigSecretReferenceBuilder edit() { + return new KubeconfigSecretReferenceBuilder(this); + } + + @JsonIgnore + public KubeconfigSecretReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePool.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePool.java index b1320f4c84f..92dc111c429 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePool.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePool.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class MachinePool implements HasMetadata, Namespaced +public class MachinePool implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(MachinePoolStatus status) { this.status = status; } + @JsonIgnore + public MachinePoolBuilder edit() { + return new MachinePoolBuilder(this); + } + + @JsonIgnore + public MachinePoolBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolAutoscaling.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolAutoscaling.java index 9fc992a6ca1..674ebd9542c 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolAutoscaling.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolAutoscaling.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachinePoolAutoscaling implements KubernetesResource +public class MachinePoolAutoscaling implements Editable , KubernetesResource { @JsonProperty("maxReplicas") @@ -99,6 +100,16 @@ public void setMinReplicas(Integer minReplicas) { this.minReplicas = minReplicas; } + @JsonIgnore + public MachinePoolAutoscalingBuilder edit() { + return new MachinePoolAutoscalingBuilder(this); + } + + @JsonIgnore + public MachinePoolAutoscalingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolCondition.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolCondition.java index 32d2a79810c..7a4a554ac70 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolCondition.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachinePoolCondition implements KubernetesResource +public class MachinePoolCondition implements Editable , KubernetesResource { @JsonProperty("lastProbeTime") @@ -155,6 +156,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public MachinePoolConditionBuilder edit() { + return new MachinePoolConditionBuilder(this); + } + + @JsonIgnore + public MachinePoolConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolList.java index 7be885d044e..1cb32ba5662 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class MachinePoolList implements KubernetesResource, KubernetesResourceList +public class MachinePoolList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public MachinePoolListBuilder edit() { + return new MachinePoolListBuilder(this); + } + + @JsonIgnore + public MachinePoolListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolNameLease.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolNameLease.java index 35dd7e60ee6..67ec0352b73 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolNameLease.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolNameLease.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class MachinePoolNameLease implements HasMetadata, Namespaced +public class MachinePoolNameLease implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(MachinePoolNameLeaseStatus status) { this.status = status; } + @JsonIgnore + public MachinePoolNameLeaseBuilder edit() { + return new MachinePoolNameLeaseBuilder(this); + } + + @JsonIgnore + public MachinePoolNameLeaseBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolNameLeaseList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolNameLeaseList.java index c43cfb752d9..6bea2f7ef52 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolNameLeaseList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolNameLeaseList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class MachinePoolNameLeaseList implements KubernetesResource, KubernetesResourceList +public class MachinePoolNameLeaseList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public MachinePoolNameLeaseListBuilder edit() { + return new MachinePoolNameLeaseListBuilder(this); + } + + @JsonIgnore + public MachinePoolNameLeaseListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolNameLeaseSpec.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolNameLeaseSpec.java index 5ec67ef0259..2594412aefb 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolNameLeaseSpec.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolNameLeaseSpec.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachinePoolNameLeaseSpec implements KubernetesResource +public class MachinePoolNameLeaseSpec implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public MachinePoolNameLeaseSpecBuilder edit() { + return new MachinePoolNameLeaseSpecBuilder(this); + } + + @JsonIgnore + public MachinePoolNameLeaseSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolNameLeaseStatus.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolNameLeaseStatus.java index c0dd20dbe71..e81788afcad 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolNameLeaseStatus.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolNameLeaseStatus.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachinePoolNameLeaseStatus implements KubernetesResource +public class MachinePoolNameLeaseStatus implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public MachinePoolNameLeaseStatusBuilder edit() { + return new MachinePoolNameLeaseStatusBuilder(this); + } + + @JsonIgnore + public MachinePoolNameLeaseStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolPlatform.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolPlatform.java index 764b6d3b82a..3698d02ec3c 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolPlatform.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolPlatform.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachinePoolPlatform implements KubernetesResource +public class MachinePoolPlatform implements Editable , KubernetesResource { @JsonProperty("aws") @@ -169,6 +170,16 @@ public void setVsphere(io.fabric8.openshift.api.model.hive.vsphere.v1.MachinePoo this.vsphere = vsphere; } + @JsonIgnore + public MachinePoolPlatformBuilder edit() { + return new MachinePoolPlatformBuilder(this); + } + + @JsonIgnore + public MachinePoolPlatformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolSpec.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolSpec.java index 78ac206d28c..034ead415f5 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolSpec.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -63,7 +64,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachinePoolSpec implements KubernetesResource +public class MachinePoolSpec implements Editable , KubernetesResource { @JsonProperty("autoscaling") @@ -173,6 +174,16 @@ public void setTaints(List taints) { this.taints = taints; } + @JsonIgnore + public MachinePoolSpecBuilder edit() { + return new MachinePoolSpecBuilder(this); + } + + @JsonIgnore + public MachinePoolSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolStatus.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolStatus.java index 4aacff1da99..84937d3e4ff 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolStatus.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachinePoolStatus implements KubernetesResource +public class MachinePoolStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -117,6 +118,16 @@ public void setReplicas(Integer replicas) { this.replicas = replicas; } + @JsonIgnore + public MachinePoolStatusBuilder edit() { + return new MachinePoolStatusBuilder(this); + } + + @JsonIgnore + public MachinePoolStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachineSetStatus.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachineSetStatus.java index 36311913e4c..d8ecba30f38 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachineSetStatus.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachineSetStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachineSetStatus implements KubernetesResource +public class MachineSetStatus implements Editable , KubernetesResource { @JsonProperty("errorMessage") @@ -169,6 +170,16 @@ public void setReplicas(Integer replicas) { this.replicas = replicas; } + @JsonIgnore + public MachineSetStatusBuilder edit() { + return new MachineSetStatusBuilder(this); + } + + @JsonIgnore + public MachineSetStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ManageDNSAWSConfig.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ManageDNSAWSConfig.java index 4febde14b96..99ab9141401 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ManageDNSAWSConfig.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ManageDNSAWSConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ManageDNSAWSConfig implements KubernetesResource +public class ManageDNSAWSConfig implements Editable , KubernetesResource { @JsonProperty("credentialsSecretRef") @@ -98,6 +99,16 @@ public void setRegion(String region) { this.region = region; } + @JsonIgnore + public ManageDNSAWSConfigBuilder edit() { + return new ManageDNSAWSConfigBuilder(this); + } + + @JsonIgnore + public ManageDNSAWSConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ManageDNSAzureConfig.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ManageDNSAzureConfig.java index f28afeb4dea..22480c8cb48 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ManageDNSAzureConfig.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ManageDNSAzureConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ManageDNSAzureConfig implements KubernetesResource +public class ManageDNSAzureConfig implements Editable , KubernetesResource { @JsonProperty("cloudName") @@ -112,6 +113,16 @@ public void setResourceGroupName(String resourceGroupName) { this.resourceGroupName = resourceGroupName; } + @JsonIgnore + public ManageDNSAzureConfigBuilder edit() { + return new ManageDNSAzureConfigBuilder(this); + } + + @JsonIgnore + public ManageDNSAzureConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ManageDNSConfig.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ManageDNSConfig.java index 3c49bbb4b05..cd4482934c6 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ManageDNSConfig.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ManageDNSConfig.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ManageDNSConfig implements KubernetesResource +public class ManageDNSConfig implements Editable , KubernetesResource { @JsonProperty("aws") @@ -130,6 +131,16 @@ public void setGcp(ManageDNSGCPConfig gcp) { this.gcp = gcp; } + @JsonIgnore + public ManageDNSConfigBuilder edit() { + return new ManageDNSConfigBuilder(this); + } + + @JsonIgnore + public ManageDNSConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ManageDNSGCPConfig.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ManageDNSGCPConfig.java index 0fea154b200..b1cb068bc23 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ManageDNSGCPConfig.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ManageDNSGCPConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -54,7 +55,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ManageDNSGCPConfig implements KubernetesResource +public class ManageDNSGCPConfig implements Editable , KubernetesResource { @JsonProperty("credentialsSecretRef") @@ -84,6 +85,16 @@ public void setCredentialsSecretRef(io.fabric8.kubernetes.api.model.LocalObjectR this.credentialsSecretRef = credentialsSecretRef; } + @JsonIgnore + public ManageDNSGCPConfigBuilder edit() { + return new ManageDNSGCPConfigBuilder(this); + } + + @JsonIgnore + public ManageDNSGCPConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/OpenStackClusterDeprovision.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/OpenStackClusterDeprovision.java index 9479103918b..c6b8dd6ff2c 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/OpenStackClusterDeprovision.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/OpenStackClusterDeprovision.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OpenStackClusterDeprovision implements KubernetesResource +public class OpenStackClusterDeprovision implements Editable , KubernetesResource { @JsonProperty("certificatesSecretRef") @@ -112,6 +113,16 @@ public void setCredentialsSecretRef(io.fabric8.kubernetes.api.model.LocalObjectR this.credentialsSecretRef = credentialsSecretRef; } + @JsonIgnore + public OpenStackClusterDeprovisionBuilder edit() { + return new OpenStackClusterDeprovisionBuilder(this); + } + + @JsonIgnore + public OpenStackClusterDeprovisionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/OvirtClusterDeprovision.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/OvirtClusterDeprovision.java index badc79fe6f2..f673d264c27 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/OvirtClusterDeprovision.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/OvirtClusterDeprovision.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OvirtClusterDeprovision implements KubernetesResource +public class OvirtClusterDeprovision implements Editable , KubernetesResource { @JsonProperty("certificatesSecretRef") @@ -112,6 +113,16 @@ public void setCredentialsSecretRef(io.fabric8.kubernetes.api.model.LocalObjectR this.credentialsSecretRef = credentialsSecretRef; } + @JsonIgnore + public OvirtClusterDeprovisionBuilder edit() { + return new OvirtClusterDeprovisionBuilder(this); + } + + @JsonIgnore + public OvirtClusterDeprovisionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/Platform.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/Platform.java index 3fb661c9b92..21e863c98ed 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/Platform.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/Platform.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Platform implements KubernetesResource +public class Platform implements Editable , KubernetesResource { @JsonProperty("agentBareMetal") @@ -198,6 +199,16 @@ public void setVsphere(io.fabric8.openshift.api.model.hive.vsphere.v1.Platform v this.vsphere = vsphere; } + @JsonIgnore + public PlatformBuilder edit() { + return new PlatformBuilder(this); + } + + @JsonIgnore + public PlatformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/PlatformStatus.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/PlatformStatus.java index 65374def131..8909ec474d3 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/PlatformStatus.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/PlatformStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PlatformStatus implements KubernetesResource +public class PlatformStatus implements Editable , KubernetesResource { @JsonProperty("aws") @@ -85,6 +86,16 @@ public void setAws(io.fabric8.openshift.api.model.hive.aws.v1.PlatformStatus aws this.aws = aws; } + @JsonIgnore + public PlatformStatusBuilder edit() { + return new PlatformStatusBuilder(this); + } + + @JsonIgnore + public PlatformStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/Provisioning.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/Provisioning.java index df2d0b699c9..da7327ea334 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/Provisioning.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/Provisioning.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Provisioning implements KubernetesResource +public class Provisioning implements Editable , KubernetesResource { @JsonProperty("imageSetRef") @@ -187,6 +188,16 @@ public void setSshPrivateKeySecretRef(io.fabric8.kubernetes.api.model.LocalObjec this.sshPrivateKeySecretRef = sshPrivateKeySecretRef; } + @JsonIgnore + public ProvisioningBuilder edit() { + return new ProvisioningBuilder(this); + } + + @JsonIgnore + public ProvisioningBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ReleaseImageVerificationConfigMapReference.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ReleaseImageVerificationConfigMapReference.java index d1a1a79132b..75ab51da8d5 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ReleaseImageVerificationConfigMapReference.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ReleaseImageVerificationConfigMapReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ReleaseImageVerificationConfigMapReference implements KubernetesResource +public class ReleaseImageVerificationConfigMapReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -99,6 +100,16 @@ public void setNamespace(String namespace) { this.namespace = namespace; } + @JsonIgnore + public ReleaseImageVerificationConfigMapReferenceBuilder edit() { + return new ReleaseImageVerificationConfigMapReferenceBuilder(this); + } + + @JsonIgnore + public ReleaseImageVerificationConfigMapReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SecretMapping.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SecretMapping.java index 2248db007fb..44aca0875ec 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SecretMapping.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SecretMapping.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SecretMapping implements KubernetesResource +public class SecretMapping implements Editable , KubernetesResource { @JsonProperty("sourceRef") @@ -99,6 +100,16 @@ public void setTargetRef(SecretReference targetRef) { this.targetRef = targetRef; } + @JsonIgnore + public SecretMappingBuilder edit() { + return new SecretMappingBuilder(this); + } + + @JsonIgnore + public SecretMappingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SecretReference.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SecretReference.java index 1814833adca..da6052b43f9 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SecretReference.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SecretReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SecretReference implements KubernetesResource +public class SecretReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -99,6 +100,16 @@ public void setNamespace(String namespace) { this.namespace = namespace; } + @JsonIgnore + public SecretReferenceBuilder edit() { + return new SecretReferenceBuilder(this); + } + + @JsonIgnore + public SecretReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncIdentityProvider.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncIdentityProvider.java index 4b9d1b9ea70..33c72e0d18a 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncIdentityProvider.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncIdentityProvider.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class SelectorSyncIdentityProvider implements HasMetadata +public class SelectorSyncIdentityProvider implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(IdentityProviderStatus status) { this.status = status; } + @JsonIgnore + public SelectorSyncIdentityProviderBuilder edit() { + return new SelectorSyncIdentityProviderBuilder(this); + } + + @JsonIgnore + public SelectorSyncIdentityProviderBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncIdentityProviderList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncIdentityProviderList.java index aa613c46832..7b78d4bbf9b 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncIdentityProviderList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncIdentityProviderList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class SelectorSyncIdentityProviderList implements KubernetesResource, KubernetesResourceList +public class SelectorSyncIdentityProviderList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public SelectorSyncIdentityProviderListBuilder edit() { + return new SelectorSyncIdentityProviderListBuilder(this); + } + + @JsonIgnore + public SelectorSyncIdentityProviderListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncIdentityProviderSpec.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncIdentityProviderSpec.java index 2accdc26baf..d4883a7b9bb 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncIdentityProviderSpec.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncIdentityProviderSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SelectorSyncIdentityProviderSpec implements KubernetesResource +public class SelectorSyncIdentityProviderSpec implements Editable , KubernetesResource { @JsonProperty("clusterDeploymentSelector") @@ -102,6 +103,16 @@ public void setIdentityProviders(List identityProviders) { this.identityProviders = identityProviders; } + @JsonIgnore + public SelectorSyncIdentityProviderSpecBuilder edit() { + return new SelectorSyncIdentityProviderSpecBuilder(this); + } + + @JsonIgnore + public SelectorSyncIdentityProviderSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncSet.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncSet.java index 011805754e0..53e2389e2d6 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncSet.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncSet.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class SelectorSyncSet implements HasMetadata +public class SelectorSyncSet implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(SelectorSyncSetStatus status) { this.status = status; } + @JsonIgnore + public SelectorSyncSetBuilder edit() { + return new SelectorSyncSetBuilder(this); + } + + @JsonIgnore + public SelectorSyncSetBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncSetList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncSetList.java index 5b3a00f0ca2..a08b39a670e 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncSetList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncSetList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class SelectorSyncSetList implements KubernetesResource, KubernetesResourceList +public class SelectorSyncSetList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public SelectorSyncSetListBuilder edit() { + return new SelectorSyncSetListBuilder(this); + } + + @JsonIgnore + public SelectorSyncSetListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncSetSpec.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncSetSpec.java index 37c5a2b9dc4..1cca84401c4 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncSetSpec.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncSetSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SelectorSyncSetSpec implements KubernetesResource +public class SelectorSyncSetSpec implements Editable , KubernetesResource { @JsonProperty("applyBehavior") @@ -159,6 +160,16 @@ public void setSecretMappings(List secretMappings) { this.secretMappings = secretMappings; } + @JsonIgnore + public SelectorSyncSetSpecBuilder edit() { + return new SelectorSyncSetSpecBuilder(this); + } + + @JsonIgnore + public SelectorSyncSetSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncSetStatus.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncSetStatus.java index a48279526f8..c258d151162 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncSetStatus.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncSetStatus.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SelectorSyncSetStatus implements KubernetesResource +public class SelectorSyncSetStatus implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public SelectorSyncSetStatusBuilder edit() { + return new SelectorSyncSetStatusBuilder(this); + } + + @JsonIgnore + public SelectorSyncSetStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ServiceProviderCredentials.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ServiceProviderCredentials.java index 6f30ba88086..195e6acdf9d 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ServiceProviderCredentials.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ServiceProviderCredentials.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ServiceProviderCredentials implements KubernetesResource +public class ServiceProviderCredentials implements Editable , KubernetesResource { @JsonProperty("aws") @@ -85,6 +86,16 @@ public void setAws(AWSServiceProviderCredentials aws) { this.aws = aws; } + @JsonIgnore + public ServiceProviderCredentialsBuilder edit() { + return new ServiceProviderCredentialsBuilder(this); + } + + @JsonIgnore + public ServiceProviderCredentialsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SpecificControllerConfig.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SpecificControllerConfig.java index 98a49c9dcff..c9615f42630 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SpecificControllerConfig.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SpecificControllerConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SpecificControllerConfig implements KubernetesResource +public class SpecificControllerConfig implements Editable , KubernetesResource { @JsonProperty("config") @@ -99,6 +100,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public SpecificControllerConfigBuilder edit() { + return new SpecificControllerConfigBuilder(this); + } + + @JsonIgnore + public SpecificControllerConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncIdentityProvider.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncIdentityProvider.java index 0a579b7136b..c562cc16b12 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncIdentityProvider.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncIdentityProvider.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class SyncIdentityProvider implements HasMetadata, Namespaced +public class SyncIdentityProvider implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(IdentityProviderStatus status) { this.status = status; } + @JsonIgnore + public SyncIdentityProviderBuilder edit() { + return new SyncIdentityProviderBuilder(this); + } + + @JsonIgnore + public SyncIdentityProviderBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncIdentityProviderList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncIdentityProviderList.java index 57767a30a4b..c90c6983266 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncIdentityProviderList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncIdentityProviderList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class SyncIdentityProviderList implements KubernetesResource, KubernetesResourceList +public class SyncIdentityProviderList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public SyncIdentityProviderListBuilder edit() { + return new SyncIdentityProviderListBuilder(this); + } + + @JsonIgnore + public SyncIdentityProviderListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncIdentityProviderSpec.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncIdentityProviderSpec.java index a09cba75f0b..31b45b6c376 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncIdentityProviderSpec.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncIdentityProviderSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SyncIdentityProviderSpec implements KubernetesResource +public class SyncIdentityProviderSpec implements Editable , KubernetesResource { @JsonProperty("clusterDeploymentRefs") @@ -103,6 +104,16 @@ public void setIdentityProviders(List identityProviders) { this.identityProviders = identityProviders; } + @JsonIgnore + public SyncIdentityProviderSpecBuilder edit() { + return new SyncIdentityProviderSpecBuilder(this); + } + + @JsonIgnore + public SyncIdentityProviderSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncObjectPatch.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncObjectPatch.java index 84a37ad47d8..eaf08ca570e 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncObjectPatch.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncObjectPatch.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SyncObjectPatch implements KubernetesResource +public class SyncObjectPatch implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -153,6 +154,16 @@ public void setPatchType(String patchType) { this.patchType = patchType; } + @JsonIgnore + public SyncObjectPatchBuilder edit() { + return new SyncObjectPatchBuilder(this); + } + + @JsonIgnore + public SyncObjectPatchBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncSet.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncSet.java index 2ec786afaac..8e0a3aeef68 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncSet.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncSet.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class SyncSet implements HasMetadata, Namespaced +public class SyncSet implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(SyncSetStatus status) { this.status = status; } + @JsonIgnore + public SyncSetBuilder edit() { + return new SyncSetBuilder(this); + } + + @JsonIgnore + public SyncSetBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncSetList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncSetList.java index 66e42356865..ecd944b0e09 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncSetList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncSetList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("hive.openshift.io") @Generated("jsonschema2pojo") -public class SyncSetList implements KubernetesResource, KubernetesResourceList +public class SyncSetList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public SyncSetListBuilder edit() { + return new SyncSetListBuilder(this); + } + + @JsonIgnore + public SyncSetListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncSetSpec.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncSetSpec.java index ba9fcac9ef6..1dff1a20cc9 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncSetSpec.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncSetSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SyncSetSpec implements KubernetesResource +public class SyncSetSpec implements Editable , KubernetesResource { @JsonProperty("applyBehavior") @@ -160,6 +161,16 @@ public void setSecretMappings(List secretMappings) { this.secretMappings = secretMappings; } + @JsonIgnore + public SyncSetSpecBuilder edit() { + return new SyncSetSpecBuilder(this); + } + + @JsonIgnore + public SyncSetSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncSetStatus.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncSetStatus.java index 18d1a1c1b3d..bedbdd9fab5 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncSetStatus.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncSetStatus.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SyncSetStatus implements KubernetesResource +public class SyncSetStatus implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public SyncSetStatusBuilder edit() { + return new SyncSetStatusBuilder(this); + } + + @JsonIgnore + public SyncSetStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/VSphereClusterDeprovision.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/VSphereClusterDeprovision.java index 792b112be04..75fae909fee 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/VSphereClusterDeprovision.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/VSphereClusterDeprovision.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class VSphereClusterDeprovision implements KubernetesResource +public class VSphereClusterDeprovision implements Editable , KubernetesResource { @JsonProperty("certificatesSecretRef") @@ -112,6 +113,16 @@ public void setVCenter(String vCenter) { this.vCenter = vCenter; } + @JsonIgnore + public VSphereClusterDeprovisionBuilder edit() { + return new VSphereClusterDeprovisionBuilder(this); + } + + @JsonIgnore + public VSphereClusterDeprovisionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/VeleroBackupConfig.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/VeleroBackupConfig.java index fc71a013f1c..600a1b5e904 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/VeleroBackupConfig.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/VeleroBackupConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class VeleroBackupConfig implements KubernetesResource +public class VeleroBackupConfig implements Editable , KubernetesResource { @JsonProperty("enabled") @@ -99,6 +100,16 @@ public void setNamespace(String namespace) { this.namespace = namespace; } + @JsonIgnore + public VeleroBackupConfigBuilder edit() { + return new VeleroBackupConfigBuilder(this); + } + + @JsonIgnore + public VeleroBackupConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/vsphere/v1/MachinePool.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/vsphere/v1/MachinePool.java index 966503bb786..1a1fcb8c8a4 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/vsphere/v1/MachinePool.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/vsphere/v1/MachinePool.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachinePool implements KubernetesResource +public class MachinePool implements Editable , KubernetesResource { @JsonProperty("coresPerSocket") @@ -127,6 +128,16 @@ public void setOsDisk(OSDisk osDisk) { this.osDisk = osDisk; } + @JsonIgnore + public MachinePoolBuilder edit() { + return new MachinePoolBuilder(this); + } + + @JsonIgnore + public MachinePoolBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/vsphere/v1/OSDisk.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/vsphere/v1/OSDisk.java index d712b3d15df..e212ab67ca9 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/vsphere/v1/OSDisk.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/vsphere/v1/OSDisk.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OSDisk implements KubernetesResource +public class OSDisk implements Editable , KubernetesResource { @JsonProperty("diskSizeGB") @@ -85,6 +86,16 @@ public void setDiskSizeGB(Integer diskSizeGB) { this.diskSizeGB = diskSizeGB; } + @JsonIgnore + public OSDiskBuilder edit() { + return new OSDiskBuilder(this); + } + + @JsonIgnore + public OSDiskBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/vsphere/v1/Platform.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/vsphere/v1/Platform.java index f6d07ed9801..417503aa42d 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/vsphere/v1/Platform.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/vsphere/v1/Platform.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Platform implements KubernetesResource +public class Platform implements Editable , KubernetesResource { @JsonProperty("certificatesSecretRef") @@ -182,6 +183,16 @@ public void setVCenter(String vCenter) { this.vCenter = vCenter; } + @JsonIgnore + public PlatformBuilder edit() { + return new PlatformBuilder(this); + } + + @JsonIgnore + public PlatformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-hive/src/main/resources/schema/kube-schema.json b/kubernetes-model-generator/openshift-model-hive/src/main/resources/schema/kube-schema.json index eb1e46e14e3..125ee8431e9 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/main/resources/schema/kube-schema.json +++ b/kubernetes-model-generator/openshift-model-hive/src/main/resources/schema/kube-schema.json @@ -921,6 +921,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -1235,6 +1238,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -1361,6 +1367,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" diff --git a/kubernetes-model-generator/openshift-model-hive/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/openshift-model-hive/src/main/resources/schema/validation-schema.json index 69170116688..d6ca283ef26 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/openshift-model-hive/src/main/resources/schema/validation-schema.json @@ -921,6 +921,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -1235,6 +1238,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -1361,6 +1367,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -10392,6 +10401,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -10973,6 +10985,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -11094,6 +11109,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -12139,12 +12157,19 @@ }, "machinepool": { "properties": { - "flavor": { - "type": "string" + "cpu": { + "$ref": "#/definitions/os_hive_ovirt_v1_CPU", + "existingJavaType": "io.fabric8.openshift.api.model.hive.ovirt.v1.CPU" }, - "rootVolume": { - "$ref": "#/definitions/os_hive_openstack_v1_RootVolume", - "existingJavaType": "io.fabric8.openshift.api.model.hive.openstack.v1.RootVolume" + "memoryMB": { + "type": "integer" + }, + "osDisk": { + "$ref": "#/definitions/os_hive_ovirt_v1_Disk", + "existingJavaType": "io.fabric8.openshift.api.model.hive.ovirt.v1.Disk" + }, + "vmType": { + "type": "string" } }, "additionalProperties": true @@ -12272,30 +12297,33 @@ }, "machinepoolplatform": { "properties": { - "rootVolume": { - "$ref": "#/definitions/os_hive_aws_v1_EC2RootVolume", - "existingJavaType": "io.fabric8.openshift.api.model.hive.aws.v1.EC2RootVolume" + "aws": { + "$ref": "#/definitions/os_hive_aws_v1_MachinePoolPlatform", + "existingJavaType": "io.fabric8.openshift.api.model.hive.aws.v1.MachinePoolPlatform" }, - "spotMarketOptions": { - "$ref": "#/definitions/os_hive_aws_v1_SpotMarketOptions", - "existingJavaType": "io.fabric8.openshift.api.model.hive.aws.v1.SpotMarketOptions" + "azure": { + "$ref": "#/definitions/os_hive_azure_v1_MachinePool", + "existingJavaType": "io.fabric8.openshift.api.model.hive.azure.v1.MachinePool" }, - "subnets": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } + "gcp": { + "$ref": "#/definitions/os_hive_gcp_v1_MachinePool", + "existingJavaType": "io.fabric8.openshift.api.model.hive.gcp.v1.MachinePool" }, - "type": { - "type": "string" + "ibmcloud": { + "$ref": "#/definitions/os_hive_ibmcloud_v1_MachinePool", + "existingJavaType": "io.fabric8.openshift.api.model.hive.ibmcloud.v1.MachinePool" }, - "zones": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } + "openstack": { + "$ref": "#/definitions/os_hive_openstack_v1_MachinePool", + "existingJavaType": "io.fabric8.openshift.api.model.hive.openstack.v1.MachinePool" + }, + "ovirt": { + "$ref": "#/definitions/os_hive_ovirt_v1_MachinePool", + "existingJavaType": "io.fabric8.openshift.api.model.hive.ovirt.v1.MachinePool" + }, + "vsphere": { + "$ref": "#/definitions/os_hive_vsphere_v1_MachinePool", + "existingJavaType": "io.fabric8.openshift.api.model.hive.vsphere.v1.MachinePool" } }, "additionalProperties": true @@ -12756,7 +12784,15 @@ "osdisk": { "properties": { "diskSizeGB": { - "type": "integer" + "type": "integer", + "existingJavaType": "Long" + }, + "diskType": { + "type": "string" + }, + "encryptionKey": { + "$ref": "#/definitions/os_hive_gcp_v1_EncryptionKeyReference", + "existingJavaType": "io.fabric8.openshift.api.model.hive.gcp.v1.EncryptionKeyReference" } }, "additionalProperties": true @@ -12877,36 +12913,28 @@ }, "platform": { "properties": { - "credentialsAssumeRole": { - "$ref": "#/definitions/os_hive_aws_v1_AssumeRole", - "existingJavaType": "io.fabric8.openshift.api.model.hive.aws.v1.AssumeRole" - }, - "credentialsSecretRef": { + "certificatesSecretRef": { "$ref": "#/definitions/kubernetes_core_LocalObjectReference", "existingJavaType": "io.fabric8.kubernetes.api.model.LocalObjectReference" }, - "privateLink": { - "$ref": "#/definitions/os_hive_aws_v1_PrivateLinkAccess", - "existingJavaType": "io.fabric8.openshift.api.model.hive.aws.v1.PrivateLinkAccess" - }, - "region": { + "cloud": { "type": "string" }, - "userTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "existingJavaType": "java.util.Map\u003cString, String\u003e" + "credentialsSecretRef": { + "$ref": "#/definitions/kubernetes_core_LocalObjectReference", + "existingJavaType": "io.fabric8.kubernetes.api.model.LocalObjectReference" + }, + "trunkSupport": { + "type": "boolean" } }, "additionalProperties": true }, "platformstatus": { "properties": { - "aws": { - "$ref": "#/definitions/os_hive_aws_v1_PlatformStatus", - "existingJavaType": "io.fabric8.openshift.api.model.hive.aws.v1.PlatformStatus" + "privateLink": { + "$ref": "#/definitions/os_hive_aws_v1_PrivateLinkAccessStatus", + "existingJavaType": "io.fabric8.openshift.api.model.hive.aws.v1.PrivateLinkAccessStatus" } }, "additionalProperties": true diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index 1b59c41b020..fcb13d83c3f 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -72,7 +73,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -335,6 +337,16 @@ public void setVSphereMachinePool(io.fabric8.openshift.api.model.installer.vsphe this.vSphereMachinePool = vSphereMachinePool; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index 2013664fa92..a82501e602f 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -72,7 +73,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -335,6 +337,16 @@ public void setVSphereMachinePool(io.fabric8.openshift.api.model.installer.vsphe this.vSphereMachinePool = vSphereMachinePool; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/alibabacloud/v1/MachinePool.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/alibabacloud/v1/MachinePool.java index fd24aa95e0b..962dd2069cd 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/alibabacloud/v1/MachinePool.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/alibabacloud/v1/MachinePool.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachinePool implements KubernetesResource +public class MachinePool implements Editable , KubernetesResource { @JsonProperty("imageID") @@ -144,6 +145,16 @@ public void setZones(List zones) { this.zones = zones; } + @JsonIgnore + public MachinePoolBuilder edit() { + return new MachinePoolBuilder(this); + } + + @JsonIgnore + public MachinePoolBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/alibabacloud/v1/Platform.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/alibabacloud/v1/Platform.java index c4c796ce776..19b4e545322 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/alibabacloud/v1/Platform.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/alibabacloud/v1/Platform.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -63,7 +64,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Platform implements KubernetesResource +public class Platform implements Editable , KubernetesResource { @JsonProperty("defaultMachinePlatform") @@ -173,6 +174,16 @@ public void setVswitchIDs(List vswitchIDs) { this.vswitchIDs = vswitchIDs; } + @JsonIgnore + public PlatformBuilder edit() { + return new PlatformBuilder(this); + } + + @JsonIgnore + public PlatformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/aws/v1/EC2Metadata.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/aws/v1/EC2Metadata.java index 5804696dd9c..4f8f0e76e07 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/aws/v1/EC2Metadata.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/aws/v1/EC2Metadata.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class EC2Metadata implements KubernetesResource +public class EC2Metadata implements Editable , KubernetesResource { @JsonProperty("authentication") @@ -85,6 +86,16 @@ public void setAuthentication(String authentication) { this.authentication = authentication; } + @JsonIgnore + public EC2MetadataBuilder edit() { + return new EC2MetadataBuilder(this); + } + + @JsonIgnore + public EC2MetadataBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/aws/v1/EC2RootVolume.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/aws/v1/EC2RootVolume.java index c793affc284..de84abe07bd 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/aws/v1/EC2RootVolume.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/aws/v1/EC2RootVolume.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class EC2RootVolume implements KubernetesResource +public class EC2RootVolume implements Editable , KubernetesResource { @JsonProperty("iops") @@ -127,6 +128,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public EC2RootVolumeBuilder edit() { + return new EC2RootVolumeBuilder(this); + } + + @JsonIgnore + public EC2RootVolumeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/aws/v1/MachinePool.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/aws/v1/MachinePool.java index 72c2aaa9b6f..34533c6c8b4 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/aws/v1/MachinePool.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/aws/v1/MachinePool.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachinePool implements KubernetesResource +public class MachinePool implements Editable , KubernetesResource { @JsonProperty("amiID") @@ -158,6 +159,16 @@ public void setZones(List zones) { this.zones = zones; } + @JsonIgnore + public MachinePoolBuilder edit() { + return new MachinePoolBuilder(this); + } + + @JsonIgnore + public MachinePoolBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/aws/v1/Platform.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/aws/v1/Platform.java index e25dcf14fef..63fd8e0917f 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/aws/v1/Platform.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/aws/v1/Platform.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -66,7 +67,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Platform implements KubernetesResource +public class Platform implements Editable , KubernetesResource { @JsonProperty("amiID") @@ -216,6 +217,16 @@ public void setUserTags(Map userTags) { this.userTags = userTags; } + @JsonIgnore + public PlatformBuilder edit() { + return new PlatformBuilder(this); + } + + @JsonIgnore + public PlatformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/aws/v1/ServiceEndpoint.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/aws/v1/ServiceEndpoint.java index 57988cd4661..c2277761f9c 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/aws/v1/ServiceEndpoint.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/aws/v1/ServiceEndpoint.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ServiceEndpoint implements KubernetesResource +public class ServiceEndpoint implements Editable , KubernetesResource { @JsonProperty("name") @@ -99,6 +100,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public ServiceEndpointBuilder edit() { + return new ServiceEndpointBuilder(this); + } + + @JsonIgnore + public ServiceEndpointBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/azure/v1/DiskEncryptionSet.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/azure/v1/DiskEncryptionSet.java index 2c28f45b3e4..84722d870f5 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/azure/v1/DiskEncryptionSet.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/azure/v1/DiskEncryptionSet.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DiskEncryptionSet implements KubernetesResource +public class DiskEncryptionSet implements Editable , KubernetesResource { @JsonProperty("name") @@ -113,6 +114,16 @@ public void setSubscriptionId(String subscriptionId) { this.subscriptionId = subscriptionId; } + @JsonIgnore + public DiskEncryptionSetBuilder edit() { + return new DiskEncryptionSetBuilder(this); + } + + @JsonIgnore + public DiskEncryptionSetBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/azure/v1/MachinePool.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/azure/v1/MachinePool.java index 8f125a0ee8b..4e5516a179a 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/azure/v1/MachinePool.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/azure/v1/MachinePool.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -63,7 +64,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachinePool implements KubernetesResource +public class MachinePool implements Editable , KubernetesResource { @JsonProperty("encryptionAtHost") @@ -172,6 +173,16 @@ public void setZones(List zones) { this.zones = zones; } + @JsonIgnore + public MachinePoolBuilder edit() { + return new MachinePoolBuilder(this); + } + + @JsonIgnore + public MachinePoolBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/azure/v1/OSDisk.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/azure/v1/OSDisk.java index b3616fd9e15..9149803081a 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/azure/v1/OSDisk.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/azure/v1/OSDisk.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OSDisk implements KubernetesResource +public class OSDisk implements Editable , KubernetesResource { @JsonProperty("diskEncryptionSet") @@ -113,6 +114,16 @@ public void setDiskType(String diskType) { this.diskType = diskType; } + @JsonIgnore + public OSDiskBuilder edit() { + return new OSDiskBuilder(this); + } + + @JsonIgnore + public OSDiskBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/azure/v1/OSImage.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/azure/v1/OSImage.java index 5f82fa99ea0..780c681f483 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/azure/v1/OSImage.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/azure/v1/OSImage.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OSImage implements KubernetesResource +public class OSImage implements Editable , KubernetesResource { @JsonProperty("offer") @@ -127,6 +128,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public OSImageBuilder edit() { + return new OSImageBuilder(this); + } + + @JsonIgnore + public OSImageBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/azure/v1/Platform.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/azure/v1/Platform.java index d7845f0053d..566916f3af7 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/azure/v1/Platform.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/azure/v1/Platform.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -67,7 +68,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Platform implements KubernetesResource +public class Platform implements Editable , KubernetesResource { @JsonProperty("armEndpoint") @@ -254,6 +255,16 @@ public void setVirtualNetwork(java.lang.String virtualNetwork) { this.virtualNetwork = virtualNetwork; } + @JsonIgnore + public PlatformBuilder edit() { + return new PlatformBuilder(this); + } + + @JsonIgnore + public PlatformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/baremetal/v1/BMC.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/baremetal/v1/BMC.java index 5cfbc64d7c3..40b4777f7fb 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/baremetal/v1/BMC.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/baremetal/v1/BMC.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BMC implements KubernetesResource +public class BMC implements Editable , KubernetesResource { @JsonProperty("address") @@ -127,6 +128,16 @@ public void setUsername(String username) { this.username = username; } + @JsonIgnore + public BMCBuilder edit() { + return new BMCBuilder(this); + } + + @JsonIgnore + public BMCBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/baremetal/v1/Host.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/baremetal/v1/Host.java index f1f424c1488..3ceeb87f5f0 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/baremetal/v1/Host.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/baremetal/v1/Host.java @@ -12,6 +12,7 @@ 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; @@ -63,7 +64,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Host implements KubernetesResource +public class Host implements Editable , KubernetesResource { @JsonProperty("bmc") @@ -184,6 +185,16 @@ public void setRootDeviceHints(RootDeviceHints rootDeviceHints) { this.rootDeviceHints = rootDeviceHints; } + @JsonIgnore + public HostBuilder edit() { + return new HostBuilder(this); + } + + @JsonIgnore + public HostBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/baremetal/v1/MachinePool.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/baremetal/v1/MachinePool.java index b2e6eb4e999..29463f27d3a 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/baremetal/v1/MachinePool.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/baremetal/v1/MachinePool.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachinePool implements KubernetesResource +public class MachinePool implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public MachinePoolBuilder edit() { + return new MachinePoolBuilder(this); + } + + @JsonIgnore + public MachinePoolBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/baremetal/v1/Platform.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/baremetal/v1/Platform.java index 99fdcce8b0b..ad5c264084e 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/baremetal/v1/Platform.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/baremetal/v1/Platform.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -81,7 +82,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Platform implements KubernetesResource +public class Platform implements Editable , KubernetesResource { @JsonProperty("apiVIP") @@ -413,6 +414,16 @@ public void setProvisioningNetworkInterface(String provisioningNetworkInterface) this.provisioningNetworkInterface = provisioningNetworkInterface; } + @JsonIgnore + public PlatformBuilder edit() { + return new PlatformBuilder(this); + } + + @JsonIgnore + public PlatformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/baremetal/v1/RootDeviceHints.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/baremetal/v1/RootDeviceHints.java index 07621833f44..bf0d95a7ef3 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/baremetal/v1/RootDeviceHints.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/baremetal/v1/RootDeviceHints.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RootDeviceHints implements KubernetesResource +public class RootDeviceHints implements Editable , KubernetesResource { @JsonProperty("deviceName") @@ -211,6 +212,16 @@ public void setWwnWithExtension(String wwnWithExtension) { this.wwnWithExtension = wwnWithExtension; } + @JsonIgnore + public RootDeviceHintsBuilder edit() { + return new RootDeviceHintsBuilder(this); + } + + @JsonIgnore + public RootDeviceHintsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/gcp/v1/EncryptionKeyReference.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/gcp/v1/EncryptionKeyReference.java index afccb1136a9..def35d680cb 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/gcp/v1/EncryptionKeyReference.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/gcp/v1/EncryptionKeyReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class EncryptionKeyReference implements KubernetesResource +public class EncryptionKeyReference implements Editable , KubernetesResource { @JsonProperty("kmsKey") @@ -99,6 +100,16 @@ public void setKmsKeyServiceAccount(String kmsKeyServiceAccount) { this.kmsKeyServiceAccount = kmsKeyServiceAccount; } + @JsonIgnore + public EncryptionKeyReferenceBuilder edit() { + return new EncryptionKeyReferenceBuilder(this); + } + + @JsonIgnore + public EncryptionKeyReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/gcp/v1/KMSKeyReference.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/gcp/v1/KMSKeyReference.java index cad47a10684..05f5b82bd69 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/gcp/v1/KMSKeyReference.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/gcp/v1/KMSKeyReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KMSKeyReference implements KubernetesResource +public class KMSKeyReference implements Editable , KubernetesResource { @JsonProperty("keyRing") @@ -127,6 +128,16 @@ public void setProjectID(String projectID) { this.projectID = projectID; } + @JsonIgnore + public KMSKeyReferenceBuilder edit() { + return new KMSKeyReferenceBuilder(this); + } + + @JsonIgnore + public KMSKeyReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/gcp/v1/MachinePool.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/gcp/v1/MachinePool.java index a2db2fc5af0..5e8c568c34d 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/gcp/v1/MachinePool.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/gcp/v1/MachinePool.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -63,7 +64,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachinePool implements KubernetesResource +public class MachinePool implements Editable , KubernetesResource { @JsonProperty("confidentialCompute") @@ -173,6 +174,16 @@ public void setZones(List zones) { this.zones = zones; } + @JsonIgnore + public MachinePoolBuilder edit() { + return new MachinePoolBuilder(this); + } + + @JsonIgnore + public MachinePoolBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/gcp/v1/OSDisk.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/gcp/v1/OSDisk.java index 62c0acfff03..9a1d655924e 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/gcp/v1/OSDisk.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/gcp/v1/OSDisk.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OSDisk implements KubernetesResource +public class OSDisk implements Editable , KubernetesResource { @JsonProperty("DiskSizeGB") @@ -113,6 +114,16 @@ public void setEncryptionKey(EncryptionKeyReference encryptionKey) { this.encryptionKey = encryptionKey; } + @JsonIgnore + public OSDiskBuilder edit() { + return new OSDiskBuilder(this); + } + + @JsonIgnore + public OSDiskBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/gcp/v1/Platform.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/gcp/v1/Platform.java index f148650cd34..d05c4eabf3b 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/gcp/v1/Platform.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/gcp/v1/Platform.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Platform implements KubernetesResource +public class Platform implements Editable , KubernetesResource { @JsonProperty("computeSubnet") @@ -186,6 +187,16 @@ public void setRegion(String region) { this.region = region; } + @JsonIgnore + public PlatformBuilder edit() { + return new PlatformBuilder(this); + } + + @JsonIgnore + public PlatformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ibmcloud/v1/BootVolume.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ibmcloud/v1/BootVolume.java index 4548f5d8bc9..93b3da5d40c 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ibmcloud/v1/BootVolume.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ibmcloud/v1/BootVolume.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BootVolume implements KubernetesResource +public class BootVolume implements Editable , KubernetesResource { @JsonProperty("encryptionKey") @@ -85,6 +86,16 @@ public void setEncryptionKey(String encryptionKey) { this.encryptionKey = encryptionKey; } + @JsonIgnore + public BootVolumeBuilder edit() { + return new BootVolumeBuilder(this); + } + + @JsonIgnore + public BootVolumeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ibmcloud/v1/DedicatedHost.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ibmcloud/v1/DedicatedHost.java index 29611f3ec6e..5ec1a266215 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ibmcloud/v1/DedicatedHost.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ibmcloud/v1/DedicatedHost.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DedicatedHost implements KubernetesResource +public class DedicatedHost implements Editable , KubernetesResource { @JsonProperty("name") @@ -99,6 +100,16 @@ public void setProfile(String profile) { this.profile = profile; } + @JsonIgnore + public DedicatedHostBuilder edit() { + return new DedicatedHostBuilder(this); + } + + @JsonIgnore + public DedicatedHostBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ibmcloud/v1/MachinePool.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ibmcloud/v1/MachinePool.java index c2f69e6b8da..44fa889bfda 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ibmcloud/v1/MachinePool.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ibmcloud/v1/MachinePool.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachinePool implements KubernetesResource +public class MachinePool implements Editable , KubernetesResource { @JsonProperty("bootVolume") @@ -131,6 +132,16 @@ public void setZones(List zones) { this.zones = zones; } + @JsonIgnore + public MachinePoolBuilder edit() { + return new MachinePoolBuilder(this); + } + + @JsonIgnore + public MachinePoolBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ibmcloud/v1/Platform.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ibmcloud/v1/Platform.java index af26906fba6..7b2a065b2c8 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ibmcloud/v1/Platform.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ibmcloud/v1/Platform.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -63,7 +64,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Platform implements KubernetesResource +public class Platform implements Editable , KubernetesResource { @JsonProperty("computeSubnets") @@ -173,6 +174,16 @@ public void setVpcName(String vpcName) { this.vpcName = vpcName; } + @JsonIgnore + public PlatformBuilder edit() { + return new PlatformBuilder(this); + } + + @JsonIgnore + public PlatformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/libvirt/v1/DnsmasqOption.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/libvirt/v1/DnsmasqOption.java index 34ac17182a2..3d238c71f23 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/libvirt/v1/DnsmasqOption.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/libvirt/v1/DnsmasqOption.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DnsmasqOption implements KubernetesResource +public class DnsmasqOption implements Editable , KubernetesResource { @JsonProperty("name") @@ -99,6 +100,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public DnsmasqOptionBuilder edit() { + return new DnsmasqOptionBuilder(this); + } + + @JsonIgnore + public DnsmasqOptionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/libvirt/v1/MachinePool.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/libvirt/v1/MachinePool.java index a00385e06ec..5416ef06f54 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/libvirt/v1/MachinePool.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/libvirt/v1/MachinePool.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachinePool implements KubernetesResource +public class MachinePool implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public MachinePoolBuilder edit() { + return new MachinePoolBuilder(this); + } + + @JsonIgnore + public MachinePoolBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/libvirt/v1/Network.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/libvirt/v1/Network.java index d8e476a6335..a1acd43abc4 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/libvirt/v1/Network.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/libvirt/v1/Network.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Network implements KubernetesResource +public class Network implements Editable , KubernetesResource { @JsonProperty("dnsmasqOptions") @@ -102,6 +103,16 @@ public void setIf(String _if) { this._if = _if; } + @JsonIgnore + public NetworkBuilder edit() { + return new NetworkBuilder(this); + } + + @JsonIgnore + public NetworkBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/libvirt/v1/Platform.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/libvirt/v1/Platform.java index 6046977e225..e47c49c89bf 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/libvirt/v1/Platform.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/libvirt/v1/Platform.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Platform implements KubernetesResource +public class Platform implements Editable , KubernetesResource { @JsonProperty("URI") @@ -113,6 +114,16 @@ public void setNetwork(Network network) { this.network = network; } + @JsonIgnore + public PlatformBuilder edit() { + return new PlatformBuilder(this); + } + + @JsonIgnore + public PlatformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/none/v1/Platform.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/none/v1/Platform.java index baaf2635d04..c0b73589391 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/none/v1/Platform.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/none/v1/Platform.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Platform implements KubernetesResource +public class Platform implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public PlatformBuilder edit() { + return new PlatformBuilder(this); + } + + @JsonIgnore + public PlatformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/nutanix/v1/MachinePool.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/nutanix/v1/MachinePool.java index 9d65fcceb96..6cb8cb2839e 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/nutanix/v1/MachinePool.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/nutanix/v1/MachinePool.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -65,7 +66,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachinePool implements KubernetesResource +public class MachinePool implements Editable , KubernetesResource { @JsonProperty("bootType") @@ -174,6 +175,16 @@ public void setProject(NutanixResourceIdentifier project) { this.project = project; } + @JsonIgnore + public MachinePoolBuilder edit() { + return new MachinePoolBuilder(this); + } + + @JsonIgnore + public MachinePoolBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/nutanix/v1/OSDisk.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/nutanix/v1/OSDisk.java index 0e96de23f39..6b41ee21354 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/nutanix/v1/OSDisk.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/nutanix/v1/OSDisk.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OSDisk implements KubernetesResource +public class OSDisk implements Editable , KubernetesResource { @JsonProperty("diskSizeGiB") @@ -85,6 +86,16 @@ public void setDiskSizeGiB(Long diskSizeGiB) { this.diskSizeGiB = diskSizeGiB; } + @JsonIgnore + public OSDiskBuilder edit() { + return new OSDiskBuilder(this); + } + + @JsonIgnore + public OSDiskBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/nutanix/v1/Platform.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/nutanix/v1/Platform.java index a7d17135cf7..2b1a7e88000 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/nutanix/v1/Platform.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/nutanix/v1/Platform.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -67,7 +68,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Platform implements KubernetesResource +public class Platform implements Editable , KubernetesResource { @JsonProperty("apiVIP") @@ -218,6 +219,16 @@ public void setSubnetUUIDs(List subnetUUIDs) { this.subnetUUIDs = subnetUUIDs; } + @JsonIgnore + public PlatformBuilder edit() { + return new PlatformBuilder(this); + } + + @JsonIgnore + public PlatformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/nutanix/v1/PrismCentral.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/nutanix/v1/PrismCentral.java index 4847a601a45..22da6a51f8c 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/nutanix/v1/PrismCentral.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/nutanix/v1/PrismCentral.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PrismCentral implements KubernetesResource +public class PrismCentral implements Editable , KubernetesResource { @JsonProperty("endpoint") @@ -113,6 +114,16 @@ public void setUsername(String username) { this.username = username; } + @JsonIgnore + public PrismCentralBuilder edit() { + return new PrismCentralBuilder(this); + } + + @JsonIgnore + public PrismCentralBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/nutanix/v1/PrismElement.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/nutanix/v1/PrismElement.java index 99e03584a73..2c23f7ff929 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/nutanix/v1/PrismElement.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/nutanix/v1/PrismElement.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PrismElement implements KubernetesResource +public class PrismElement implements Editable , KubernetesResource { @JsonProperty("endpoint") @@ -113,6 +114,16 @@ public void setUuid(String uuid) { this.uuid = uuid; } + @JsonIgnore + public PrismElementBuilder edit() { + return new PrismElementBuilder(this); + } + + @JsonIgnore + public PrismElementBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/nutanix/v1/PrismEndpoint.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/nutanix/v1/PrismEndpoint.java index f002e52459c..8a45a688f0b 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/nutanix/v1/PrismEndpoint.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/nutanix/v1/PrismEndpoint.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PrismEndpoint implements KubernetesResource +public class PrismEndpoint implements Editable , KubernetesResource { @JsonProperty("address") @@ -99,6 +100,16 @@ public void setPort(Integer port) { this.port = port; } + @JsonIgnore + public PrismEndpointBuilder edit() { + return new PrismEndpointBuilder(this); + } + + @JsonIgnore + public PrismEndpointBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/FailureDomain.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/FailureDomain.java index c58dd7db87f..a4a13bafe0e 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/FailureDomain.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/FailureDomain.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class FailureDomain implements KubernetesResource +public class FailureDomain implements Editable , KubernetesResource { @JsonProperty("computeAvailabilityZone") @@ -116,6 +117,16 @@ public void setStorageAvailabilityZone(String storageAvailabilityZone) { this.storageAvailabilityZone = storageAvailabilityZone; } + @JsonIgnore + public FailureDomainBuilder edit() { + return new FailureDomainBuilder(this); + } + + @JsonIgnore + public FailureDomainBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/FixedIP.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/FixedIP.java index 9bf67763c7a..3819e7b13e7 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/FixedIP.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/FixedIP.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class FixedIP implements KubernetesResource +public class FixedIP implements Editable , KubernetesResource { @JsonProperty("subnet") @@ -86,6 +87,16 @@ public void setSubnet(SubnetFilter subnet) { this.subnet = subnet; } + @JsonIgnore + public FixedIPBuilder edit() { + return new FixedIPBuilder(this); + } + + @JsonIgnore + public FixedIPBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/MachinePool.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/MachinePool.java index 1d58dfba5bd..756a99533bf 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/MachinePool.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/MachinePool.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -63,7 +64,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachinePool implements KubernetesResource +public class MachinePool implements Editable , KubernetesResource { @JsonProperty("additionalNetworkIDs") @@ -175,6 +176,16 @@ public void setZones(List zones) { this.zones = zones; } + @JsonIgnore + public MachinePoolBuilder edit() { + return new MachinePoolBuilder(this); + } + + @JsonIgnore + public MachinePoolBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/NamedPortTarget.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/NamedPortTarget.java index 27f38f5d559..7876977ed33 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/NamedPortTarget.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/NamedPortTarget.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NamedPortTarget implements KubernetesResource +public class NamedPortTarget implements Editable , KubernetesResource { @JsonProperty("fixedIPs") @@ -116,6 +117,16 @@ public void setNetwork(NetworkFilter network) { this.network = network; } + @JsonIgnore + public NamedPortTargetBuilder edit() { + return new NamedPortTargetBuilder(this); + } + + @JsonIgnore + public NamedPortTargetBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/NetworkFilter.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/NetworkFilter.java index c6753372ab4..da937f51d38 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/NetworkFilter.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/NetworkFilter.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NetworkFilter implements KubernetesResource +public class NetworkFilter implements Editable , KubernetesResource { @JsonProperty("id") @@ -99,6 +100,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public NetworkFilterBuilder edit() { + return new NetworkFilterBuilder(this); + } + + @JsonIgnore + public NetworkFilterBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/Platform.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/Platform.java index 222f3086566..249b297e3e7 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/Platform.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/Platform.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -76,7 +77,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Platform implements KubernetesResource +public class Platform implements Editable , KubernetesResource { @JsonProperty("apiFloatingIP") @@ -344,6 +345,16 @@ public void setTrunkSupport(java.lang.String trunkSupport) { this.trunkSupport = trunkSupport; } + @JsonIgnore + public PlatformBuilder edit() { + return new PlatformBuilder(this); + } + + @JsonIgnore + public PlatformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/RootVolume.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/RootVolume.java index 0cbba5c702e..18a1f61f5a5 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/RootVolume.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/RootVolume.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RootVolume implements KubernetesResource +public class RootVolume implements Editable , KubernetesResource { @JsonProperty("size") @@ -116,6 +117,16 @@ public void setZones(List zones) { this.zones = zones; } + @JsonIgnore + public RootVolumeBuilder edit() { + return new RootVolumeBuilder(this); + } + + @JsonIgnore + public RootVolumeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ovirt/v1/AffinityGroup.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ovirt/v1/AffinityGroup.java index 332bde1cfb8..043df773e8a 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ovirt/v1/AffinityGroup.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ovirt/v1/AffinityGroup.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AffinityGroup implements KubernetesResource +public class AffinityGroup implements Editable , KubernetesResource { @JsonProperty("description") @@ -127,6 +128,16 @@ public void setPriority(Integer priority) { this.priority = priority; } + @JsonIgnore + public AffinityGroupBuilder edit() { + return new AffinityGroupBuilder(this); + } + + @JsonIgnore + public AffinityGroupBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ovirt/v1/CPU.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ovirt/v1/CPU.java index 0f714919776..f1db13b17d3 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ovirt/v1/CPU.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ovirt/v1/CPU.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CPU implements KubernetesResource +public class CPU implements Editable , KubernetesResource { @JsonProperty("cores") @@ -113,6 +114,16 @@ public void setThreads(Integer threads) { this.threads = threads; } + @JsonIgnore + public CPUBuilder edit() { + return new CPUBuilder(this); + } + + @JsonIgnore + public CPUBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ovirt/v1/Disk.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ovirt/v1/Disk.java index 60559cbe855..7e1e9bc922b 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ovirt/v1/Disk.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ovirt/v1/Disk.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Disk implements KubernetesResource +public class Disk implements Editable , KubernetesResource { @JsonProperty("sizeGB") @@ -85,6 +86,16 @@ public void setSizeGB(Long sizeGB) { this.sizeGB = sizeGB; } + @JsonIgnore + public DiskBuilder edit() { + return new DiskBuilder(this); + } + + @JsonIgnore + public DiskBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ovirt/v1/MachinePool.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ovirt/v1/MachinePool.java index 826a8375afe..a15158eb841 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ovirt/v1/MachinePool.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ovirt/v1/MachinePool.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -67,7 +68,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachinePool implements KubernetesResource +public class MachinePool implements Editable , KubernetesResource { @JsonProperty("affinityGroupsNames") @@ -228,6 +229,16 @@ public void setVmType(String vmType) { this.vmType = vmType; } + @JsonIgnore + public MachinePoolBuilder edit() { + return new MachinePoolBuilder(this); + } + + @JsonIgnore + public MachinePoolBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ovirt/v1/Platform.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ovirt/v1/Platform.java index b19070a5f6a..c42c71f6bcc 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ovirt/v1/Platform.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ovirt/v1/Platform.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Platform implements KubernetesResource +public class Platform implements Editable , KubernetesResource { @JsonProperty("affinityGroups") @@ -231,6 +232,16 @@ public void setVnicProfileID(String vnicProfileID) { this.vnicProfileID = vnicProfileID; } + @JsonIgnore + public PlatformBuilder edit() { + return new PlatformBuilder(this); + } + + @JsonIgnore + public PlatformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/powervs/v1/MachinePool.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/powervs/v1/MachinePool.java index 11b57853e65..b2a622eaf8a 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/powervs/v1/MachinePool.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/powervs/v1/MachinePool.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachinePool implements KubernetesResource +public class MachinePool implements Editable , KubernetesResource { @JsonProperty("memoryGiB") @@ -143,6 +144,16 @@ public void setVolumeIDs(List volumeIDs) { this.volumeIDs = volumeIDs; } + @JsonIgnore + public MachinePoolBuilder edit() { + return new MachinePoolBuilder(this); + } + + @JsonIgnore + public MachinePoolBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/powervs/v1/Platform.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/powervs/v1/Platform.java index ec57deebf16..f4b02639495 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/powervs/v1/Platform.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/powervs/v1/Platform.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Platform implements KubernetesResource +public class Platform implements Editable , KubernetesResource { @JsonProperty("cloudConnectionName") @@ -242,6 +243,16 @@ public void setZone(String zone) { this.zone = zone; } + @JsonIgnore + public PlatformBuilder edit() { + return new PlatformBuilder(this); + } + + @JsonIgnore + public PlatformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/BootstrapInPlace.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/BootstrapInPlace.java index 0204968272b..77f1c7b1505 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/BootstrapInPlace.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/BootstrapInPlace.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BootstrapInPlace implements KubernetesResource +public class BootstrapInPlace implements Editable , KubernetesResource { @JsonProperty("installationDisk") @@ -85,6 +86,16 @@ public void setInstallationDisk(String installationDisk) { this.installationDisk = installationDisk; } + @JsonIgnore + public BootstrapInPlaceBuilder edit() { + return new BootstrapInPlaceBuilder(this); + } + + @JsonIgnore + public BootstrapInPlaceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/Capabilities.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/Capabilities.java index 2ad2d3401b5..bf61489892b 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/Capabilities.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/Capabilities.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Capabilities implements KubernetesResource +public class Capabilities implements Editable , KubernetesResource { @JsonProperty("additionalEnabledCapabilities") @@ -102,6 +103,16 @@ public void setBaselineCapabilitySet(String baselineCapabilitySet) { this.baselineCapabilitySet = baselineCapabilitySet; } + @JsonIgnore + public CapabilitiesBuilder edit() { + return new CapabilitiesBuilder(this); + } + + @JsonIgnore + public CapabilitiesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/ClusterNetworkEntry.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/ClusterNetworkEntry.java index 51db4bfb3a0..f117207cf3b 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/ClusterNetworkEntry.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/ClusterNetworkEntry.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterNetworkEntry implements KubernetesResource +public class ClusterNetworkEntry implements Editable , KubernetesResource { @JsonProperty("cidr") @@ -113,6 +114,16 @@ public void setHostSubnetLength(Integer hostSubnetLength) { this.hostSubnetLength = hostSubnetLength; } + @JsonIgnore + public ClusterNetworkEntryBuilder edit() { + return new ClusterNetworkEntryBuilder(this); + } + + @JsonIgnore + public ClusterNetworkEntryBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/ImageContentSource.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/ImageContentSource.java index 62168ef07dd..534a2c1eacd 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/ImageContentSource.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/ImageContentSource.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageContentSource implements KubernetesResource +public class ImageContentSource implements Editable , KubernetesResource { @JsonProperty("mirrors") @@ -102,6 +103,16 @@ public void setSource(String source) { this.source = source; } + @JsonIgnore + public ImageContentSourceBuilder edit() { + return new ImageContentSourceBuilder(this); + } + + @JsonIgnore + public ImageContentSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/InstallConfig.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/InstallConfig.java index 8c94f3aafde..daa3720c926 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/InstallConfig.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/InstallConfig.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -83,7 +84,7 @@ @Version("v1") @Group("install.openshift.io") @Generated("jsonschema2pojo") -public class InstallConfig implements HasMetadata, Namespaced +public class InstallConfig implements Editable , HasMetadata, Namespaced { @JsonProperty("additionalTrustBundle") @@ -405,6 +406,16 @@ public void setSshKey(String sshKey) { this.sshKey = sshKey; } + @JsonIgnore + public InstallConfigBuilder edit() { + return new InstallConfigBuilder(this); + } + + @JsonIgnore + public InstallConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/MachineNetworkEntry.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/MachineNetworkEntry.java index 17fae4a9bad..dbfe2fb6caa 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/MachineNetworkEntry.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/MachineNetworkEntry.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachineNetworkEntry implements KubernetesResource +public class MachineNetworkEntry implements Editable , KubernetesResource { @JsonProperty("cidr") @@ -85,6 +86,16 @@ public void setCidr(String cidr) { this.cidr = cidr; } + @JsonIgnore + public MachineNetworkEntryBuilder edit() { + return new MachineNetworkEntryBuilder(this); + } + + @JsonIgnore + public MachineNetworkEntryBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/MachinePool.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/MachinePool.java index 11a6e328ec2..0c6597e48a7 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/MachinePool.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/MachinePool.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachinePool implements KubernetesResource +public class MachinePool implements Editable , KubernetesResource { @JsonProperty("architecture") @@ -141,6 +142,16 @@ public void setReplicas(Long replicas) { this.replicas = replicas; } + @JsonIgnore + public MachinePoolBuilder edit() { + return new MachinePoolBuilder(this); + } + + @JsonIgnore + public MachinePoolBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/MachinePoolPlatform.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/MachinePoolPlatform.java index 72943b14ecd..efc434b6f84 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/MachinePoolPlatform.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/MachinePoolPlatform.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -66,7 +67,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachinePoolPlatform implements KubernetesResource +public class MachinePoolPlatform implements Editable , KubernetesResource { @JsonProperty("alibabacloud") @@ -239,6 +240,16 @@ public void setVsphere(io.fabric8.openshift.api.model.installer.vsphere.v1.Machi this.vsphere = vsphere; } + @JsonIgnore + public MachinePoolPlatformBuilder edit() { + return new MachinePoolPlatformBuilder(this); + } + + @JsonIgnore + public MachinePoolPlatformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/Networking.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/Networking.java index f82475fc14b..6fa008d5ce7 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/Networking.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/Networking.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Networking implements KubernetesResource +public class Networking implements Editable , KubernetesResource { @JsonProperty("clusterNetwork") @@ -189,6 +190,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public NetworkingBuilder edit() { + return new NetworkingBuilder(this); + } + + @JsonIgnore + public NetworkingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/Platform.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/Platform.java index fcd565495cc..c460bf3037b 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/Platform.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/Platform.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -67,7 +68,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Platform implements KubernetesResource +public class Platform implements Editable , KubernetesResource { @JsonProperty("alibabacloud") @@ -253,6 +254,16 @@ public void setVsphere(io.fabric8.openshift.api.model.installer.vsphere.v1.Platf this.vsphere = vsphere; } + @JsonIgnore + public PlatformBuilder edit() { + return new PlatformBuilder(this); + } + + @JsonIgnore + public PlatformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/Proxy.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/Proxy.java index c8d352a3681..07ed8388350 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/Proxy.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/v1/Proxy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Proxy implements KubernetesResource +public class Proxy implements Editable , KubernetesResource { @JsonProperty("httpProxy") @@ -113,6 +114,16 @@ public void setNoProxy(String noProxy) { this.noProxy = noProxy; } + @JsonIgnore + public ProxyBuilder edit() { + return new ProxyBuilder(this); + } + + @JsonIgnore + public ProxyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/vsphere/v1/FailureDomain.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/vsphere/v1/FailureDomain.java index f7e92df8dbe..2dba3ebc369 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/vsphere/v1/FailureDomain.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/vsphere/v1/FailureDomain.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class FailureDomain implements KubernetesResource +public class FailureDomain implements Editable , KubernetesResource { @JsonProperty("name") @@ -141,6 +142,16 @@ public void setZone(String zone) { this.zone = zone; } + @JsonIgnore + public FailureDomainBuilder edit() { + return new FailureDomainBuilder(this); + } + + @JsonIgnore + public FailureDomainBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/vsphere/v1/MachinePool.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/vsphere/v1/MachinePool.java index 36ef68801dc..e46ab6dc43b 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/vsphere/v1/MachinePool.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/vsphere/v1/MachinePool.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachinePool implements KubernetesResource +public class MachinePool implements Editable , KubernetesResource { @JsonProperty("coresPerSocket") @@ -144,6 +145,16 @@ public void setZones(List zones) { this.zones = zones; } + @JsonIgnore + public MachinePoolBuilder edit() { + return new MachinePoolBuilder(this); + } + + @JsonIgnore + public MachinePoolBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/vsphere/v1/OSDisk.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/vsphere/v1/OSDisk.java index 1f5f397a495..4b6fdf5df7e 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/vsphere/v1/OSDisk.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/vsphere/v1/OSDisk.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OSDisk implements KubernetesResource +public class OSDisk implements Editable , KubernetesResource { @JsonProperty("diskSizeGB") @@ -85,6 +86,16 @@ public void setDiskSizeGB(Integer diskSizeGB) { this.diskSizeGB = diskSizeGB; } + @JsonIgnore + public OSDiskBuilder edit() { + return new OSDiskBuilder(this); + } + + @JsonIgnore + public OSDiskBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/vsphere/v1/Platform.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/vsphere/v1/Platform.java index 72a52fe08c5..6e2784df229 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/vsphere/v1/Platform.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/vsphere/v1/Platform.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -76,7 +77,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Platform implements KubernetesResource +public class Platform implements Editable , KubernetesResource { @JsonProperty("apiVIP") @@ -344,6 +345,16 @@ public void setVcenters(List vcenters) { this.vcenters = vcenters; } + @JsonIgnore + public PlatformBuilder edit() { + return new PlatformBuilder(this); + } + + @JsonIgnore + public PlatformBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/vsphere/v1/Topology.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/vsphere/v1/Topology.java index 49168a88ae2..3c15d5b0dff 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/vsphere/v1/Topology.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/vsphere/v1/Topology.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Topology implements KubernetesResource +public class Topology implements Editable , KubernetesResource { @JsonProperty("computeCluster") @@ -158,6 +159,16 @@ public void setResourcePool(String resourcePool) { this.resourcePool = resourcePool; } + @JsonIgnore + public TopologyBuilder edit() { + return new TopologyBuilder(this); + } + + @JsonIgnore + public TopologyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/vsphere/v1/VCenter.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/vsphere/v1/VCenter.java index b7ff22787b9..efb11800fb9 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/vsphere/v1/VCenter.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/vsphere/v1/VCenter.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class VCenter implements KubernetesResource +public class VCenter implements Editable , KubernetesResource { @JsonProperty("datacenters") @@ -144,6 +145,16 @@ public void setUser(String user) { this.user = user; } + @JsonIgnore + public VCenterBuilder edit() { + return new VCenterBuilder(this); + } + + @JsonIgnore + public VCenterBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-installer/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/openshift-model-installer/src/main/resources/schema/validation-schema.json index bea7d83bdd1..3716920ce27 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/openshift-model-installer/src/main/resources/schema/validation-schema.json @@ -3134,17 +3134,20 @@ }, "failuredomain": { "properties": { - "computeAvailabilityZone": { + "name": { "type": "string" }, - "portTargets": { - "type": "array", - "items": { - "$ref": "#/definitions/os_installer_openstack_v1_NamedPortTarget", - "existingJavaType": "io.fabric8.openshift.api.model.installer.openstack.v1.NamedPortTarget" - } + "region": { + "type": "string" }, - "storageAvailabilityZone": { + "server": { + "type": "string" + }, + "topology": { + "$ref": "#/definitions/os_installer_vsphere_v1_Topology", + "existingJavaType": "io.fabric8.openshift.api.model.installer.vsphere.v1.Topology" + }, + "zone": { "type": "string" } }, @@ -3398,27 +3401,22 @@ }, "machinepool": { "properties": { - "bootVolume": { - "$ref": "#/definitions/os_installer_ibmcloud_v1_BootVolume", - "existingJavaType": "io.fabric8.openshift.api.model.installer.ibmcloud.v1.BootVolume" + "architecture": { + "type": "string" }, - "dedicatedHosts": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/os_installer_ibmcloud_v1_DedicatedHost", - "existingJavaType": "io.fabric8.openshift.api.model.installer.ibmcloud.v1.DedicatedHost" - } + "hyperthreading": { + "type": "string" }, - "type": { + "name": { "type": "string" }, - "zones": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } + "platform": { + "$ref": "#/definitions/os_installer_v1_MachinePoolPlatform", + "existingJavaType": "io.fabric8.openshift.api.model.installer.v1.MachinePoolPlatform" + }, + "replicas": { + "type": "integer", + "existingJavaType": "Long" } }, "additionalProperties": true @@ -3720,9 +3718,15 @@ }, "osdisk": { "properties": { - "diskSizeGiB": { - "type": "integer", - "existingJavaType": "Long" + "diskEncryptionSet": { + "$ref": "#/definitions/os_installer_azure_v1_DiskEncryptionSet", + "existingJavaType": "io.fabric8.openshift.api.model.installer.azure.v1.DiskEncryptionSet" + }, + "diskSizeGB": { + "type": "integer" + }, + "diskType": { + "type": "string" } }, "additionalProperties": true @@ -3780,16 +3784,82 @@ }, "platform": { "properties": { - "URI": { + "apiVIP": { + "type": "string" + }, + "apiVIPs": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "type": "string" + } + }, + "cluster": { + "type": "string" + }, + "clusterOSImage": { + "type": "string" + }, + "datacenter": { + "type": "string" + }, + "defaultDatastore": { "type": "string" }, "defaultMachinePlatform": { - "$ref": "#/definitions/os_installer_libvirt_v1_MachinePool", - "existingJavaType": "io.fabric8.openshift.api.model.installer.libvirt.v1.MachinePool" + "$ref": "#/definitions/os_installer_vsphere_v1_MachinePool", + "existingJavaType": "io.fabric8.openshift.api.model.installer.vsphere.v1.MachinePool" + }, + "diskType": { + "type": "string" + }, + "failureDomains": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/os_installer_vsphere_v1_FailureDomain", + "existingJavaType": "io.fabric8.openshift.api.model.installer.vsphere.v1.FailureDomain" + } + }, + "folder": { + "type": "string" + }, + "ingressVIP": { + "type": "string" + }, + "ingressVIPs": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "type": "string" + } + }, + "loadBalancer": { + "$ref": "#/definitions/os_config_v1_VSpherePlatformLoadBalancer", + "existingJavaType": "io.fabric8.openshift.api.model.config.v1.VSpherePlatformLoadBalancer" }, "network": { - "$ref": "#/definitions/os_installer_libvirt_v1_Network", - "existingJavaType": "io.fabric8.openshift.api.model.installer.libvirt.v1.Network" + "type": "string" + }, + "password": { + "type": "string" + }, + "resourcePool": { + "type": "string" + }, + "username": { + "type": "string" + }, + "vCenter": { + "type": "string" + }, + "vcenters": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/os_installer_vsphere_v1_VCenter", + "existingJavaType": "io.fabric8.openshift.api.model.installer.vsphere.v1.VCenter" + } } }, "additionalProperties": true diff --git a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index fa8a4e25622..bbd5d26ae41 100644 --- a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -80,7 +81,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -330,6 +332,16 @@ public void setV1NutanixResourceIdentifier(NutanixResourceIdentifier v1NutanixRe this.v1NutanixResourceIdentifier = v1NutanixResourceIdentifier; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index f1ec68eee9d..c7221bf647a 100644 --- a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -80,7 +81,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -330,6 +332,16 @@ public void setV1NutanixResourceIdentifier(NutanixResourceIdentifier v1NutanixRe this.v1NutanixResourceIdentifier = v1NutanixResourceIdentifier; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1/NutanixCategory.java b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1/NutanixCategory.java index 20ea07614a5..a1428e905f1 100644 --- a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1/NutanixCategory.java +++ b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1/NutanixCategory.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NutanixCategory implements KubernetesResource +public class NutanixCategory implements Editable , KubernetesResource { @JsonProperty("key") @@ -99,6 +100,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public NutanixCategoryBuilder edit() { + return new NutanixCategoryBuilder(this); + } + + @JsonIgnore + public NutanixCategoryBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1/NutanixResourceIdentifier.java b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1/NutanixResourceIdentifier.java index 8856329a14e..784d1ca34f6 100644 --- a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1/NutanixResourceIdentifier.java +++ b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1/NutanixResourceIdentifier.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NutanixResourceIdentifier implements KubernetesResource +public class NutanixResourceIdentifier implements Editable , KubernetesResource { @JsonProperty("name") @@ -113,6 +114,16 @@ public void setUuid(String uuid) { this.uuid = uuid; } + @JsonIgnore + public NutanixResourceIdentifierBuilder edit() { + return new NutanixResourceIdentifierBuilder(this); + } + + @JsonIgnore + public NutanixResourceIdentifierBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1alpha1/SubnetFilter.java b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1alpha1/SubnetFilter.java index 3a505934bfa..9e0b800f40b 100644 --- a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1alpha1/SubnetFilter.java +++ b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1alpha1/SubnetFilter.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -75,7 +76,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SubnetFilter implements KubernetesResource +public class SubnetFilter implements Editable , KubernetesResource { @JsonProperty("cidr") @@ -365,6 +366,16 @@ public void setTenantId(String tenantId) { this.tenantId = tenantId; } + @JsonIgnore + public SubnetFilterBuilder edit() { + return new SubnetFilterBuilder(this); + } + + @JsonIgnore + public SubnetFilterBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/Condition.java b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/Condition.java index 0baa3e017e0..b336e69d47b 100644 --- a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/Condition.java +++ b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/Condition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Condition implements KubernetesResource +public class Condition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -155,6 +156,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public ConditionBuilder edit() { + return new ConditionBuilder(this); + } + + @JsonIgnore + public ConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/LastOperation.java b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/LastOperation.java index 5edf37a3079..6c75ebc5557 100644 --- a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/LastOperation.java +++ b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/LastOperation.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class LastOperation implements KubernetesResource +public class LastOperation implements Editable , KubernetesResource { @JsonProperty("description") @@ -127,6 +128,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public LastOperationBuilder edit() { + return new LastOperationBuilder(this); + } + + @JsonIgnore + public LastOperationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/LifecycleHook.java b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/LifecycleHook.java index 67a1203bfc5..db5f28aca23 100644 --- a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/LifecycleHook.java +++ b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/LifecycleHook.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class LifecycleHook implements KubernetesResource +public class LifecycleHook implements Editable , KubernetesResource { @JsonProperty("name") @@ -99,6 +100,16 @@ public void setOwner(String owner) { this.owner = owner; } + @JsonIgnore + public LifecycleHookBuilder edit() { + return new LifecycleHookBuilder(this); + } + + @JsonIgnore + public LifecycleHookBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/LifecycleHooks.java b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/LifecycleHooks.java index c1347be1365..6b72459400e 100644 --- a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/LifecycleHooks.java +++ b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/LifecycleHooks.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class LifecycleHooks implements KubernetesResource +public class LifecycleHooks implements Editable , KubernetesResource { @JsonProperty("preDrain") @@ -103,6 +104,16 @@ public void setPreTerminate(List preTerminate) { this.preTerminate = preTerminate; } + @JsonIgnore + public LifecycleHooksBuilder edit() { + return new LifecycleHooksBuilder(this); + } + + @JsonIgnore + public LifecycleHooksBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/Machine.java b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/Machine.java index 17b287c1788..e83f08f9270 100644 --- a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/Machine.java +++ b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/Machine.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1beta1") @Group("machine.openshift.io") @Generated("jsonschema2pojo") -public class Machine implements HasMetadata, Namespaced +public class Machine implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(MachineStatus status) { this.status = status; } + @JsonIgnore + public MachineBuilder edit() { + return new MachineBuilder(this); + } + + @JsonIgnore + public MachineBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineHealthCheck.java b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineHealthCheck.java index 16797e9de91..f9a7b52b0bf 100644 --- a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineHealthCheck.java +++ b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineHealthCheck.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1beta1") @Group("machine.openshift.io") @Generated("jsonschema2pojo") -public class MachineHealthCheck implements HasMetadata, Namespaced +public class MachineHealthCheck implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(MachineHealthCheckStatus status) { this.status = status; } + @JsonIgnore + public MachineHealthCheckBuilder edit() { + return new MachineHealthCheckBuilder(this); + } + + @JsonIgnore + public MachineHealthCheckBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineHealthCheckList.java b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineHealthCheckList.java index 74a9b7093fd..a67d4292569 100644 --- a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineHealthCheckList.java +++ b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineHealthCheckList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("machine.openshift.io") @Generated("jsonschema2pojo") -public class MachineHealthCheckList implements KubernetesResource, KubernetesResourceList +public class MachineHealthCheckList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public MachineHealthCheckListBuilder edit() { + return new MachineHealthCheckListBuilder(this); + } + + @JsonIgnore + public MachineHealthCheckListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineHealthCheckSpec.java b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineHealthCheckSpec.java index 2580b126d64..6c2408c91a1 100644 --- a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineHealthCheckSpec.java +++ b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineHealthCheckSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.Duration; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachineHealthCheckSpec implements KubernetesResource +public class MachineHealthCheckSpec implements Editable , KubernetesResource { @JsonProperty("maxUnhealthy") @@ -142,6 +143,16 @@ public void setUnhealthyConditions(List unhealthyConditions) this.unhealthyConditions = unhealthyConditions; } + @JsonIgnore + public MachineHealthCheckSpecBuilder edit() { + return new MachineHealthCheckSpecBuilder(this); + } + + @JsonIgnore + public MachineHealthCheckSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineHealthCheckStatus.java b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineHealthCheckStatus.java index d360f13d139..5a001d1d92f 100644 --- a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineHealthCheckStatus.java +++ b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineHealthCheckStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachineHealthCheckStatus implements KubernetesResource +public class MachineHealthCheckStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -130,6 +131,16 @@ public void setRemediationsAllowed(Integer remediationsAllowed) { this.remediationsAllowed = remediationsAllowed; } + @JsonIgnore + public MachineHealthCheckStatusBuilder edit() { + return new MachineHealthCheckStatusBuilder(this); + } + + @JsonIgnore + public MachineHealthCheckStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineList.java b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineList.java index 2dac87a3d18..79965b95bf8 100644 --- a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineList.java +++ b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("machine.openshift.io") @Generated("jsonschema2pojo") -public class MachineList implements KubernetesResource, KubernetesResourceList +public class MachineList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public MachineListBuilder edit() { + return new MachineListBuilder(this); + } + + @JsonIgnore + public MachineListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineSet.java b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineSet.java index 29fee6a3bb0..333d1260754 100644 --- a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineSet.java +++ b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineSet.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1beta1") @Group("machine.openshift.io") @Generated("jsonschema2pojo") -public class MachineSet implements HasMetadata, Namespaced +public class MachineSet implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(MachineSetStatus status) { this.status = status; } + @JsonIgnore + public MachineSetBuilder edit() { + return new MachineSetBuilder(this); + } + + @JsonIgnore + public MachineSetBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineSetList.java b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineSetList.java index 9ae6bd41bd5..913a82690ae 100644 --- a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineSetList.java +++ b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineSetList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("machine.openshift.io") @Generated("jsonschema2pojo") -public class MachineSetList implements KubernetesResource, KubernetesResourceList +public class MachineSetList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public MachineSetListBuilder edit() { + return new MachineSetListBuilder(this); + } + + @JsonIgnore + public MachineSetListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineSetSpec.java b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineSetSpec.java index d03b84e96b4..553b8641626 100644 --- a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineSetSpec.java +++ b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineSetSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachineSetSpec implements KubernetesResource +public class MachineSetSpec implements Editable , KubernetesResource { @JsonProperty("deletePolicy") @@ -140,6 +141,16 @@ public void setTemplate(MachineTemplateSpec template) { this.template = template; } + @JsonIgnore + public MachineSetSpecBuilder edit() { + return new MachineSetSpecBuilder(this); + } + + @JsonIgnore + public MachineSetSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineSetStatus.java b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineSetStatus.java index 6f05c3b0235..e653698c239 100644 --- a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineSetStatus.java +++ b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineSetStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachineSetStatus implements KubernetesResource +public class MachineSetStatus implements Editable , KubernetesResource { @JsonProperty("availableReplicas") @@ -169,6 +170,16 @@ public void setReplicas(Integer replicas) { this.replicas = replicas; } + @JsonIgnore + public MachineSetStatusBuilder edit() { + return new MachineSetStatusBuilder(this); + } + + @JsonIgnore + public MachineSetStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineSpec.java b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineSpec.java index 11e2173cb1c..d3584412429 100644 --- a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineSpec.java +++ b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachineSpec implements KubernetesResource +public class MachineSpec implements Editable , KubernetesResource { @JsonProperty("lifecycleHooks") @@ -143,6 +144,16 @@ public void setTaints(List taints) { this.taints = taints; } + @JsonIgnore + public MachineSpecBuilder edit() { + return new MachineSpecBuilder(this); + } + + @JsonIgnore + public MachineSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineStatus.java b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineStatus.java index dd205bbef33..1ecde114f15 100644 --- a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineStatus.java +++ b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -65,7 +66,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachineStatus implements KubernetesResource +public class MachineStatus implements Editable , KubernetesResource { @JsonProperty("addresses") @@ -202,6 +203,16 @@ public void setProviderStatus(Map providerStatus) { this.providerStatus = providerStatus; } + @JsonIgnore + public MachineStatusBuilder edit() { + return new MachineStatusBuilder(this); + } + + @JsonIgnore + public MachineStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineTemplateSpec.java b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineTemplateSpec.java index 99af52ae5e9..3ce7cd8a5de 100644 --- a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineTemplateSpec.java +++ b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineTemplateSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -54,7 +55,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachineTemplateSpec implements KubernetesResource +public class MachineTemplateSpec implements Editable , KubernetesResource { @JsonProperty("metadata") @@ -97,6 +98,16 @@ public void setSpec(MachineSpec spec) { this.spec = spec; } + @JsonIgnore + public MachineTemplateSpecBuilder edit() { + return new MachineTemplateSpecBuilder(this); + } + + @JsonIgnore + public MachineTemplateSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/ObjectMeta.java b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/ObjectMeta.java index abfb2d07ecf..0395714487d 100644 --- a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/ObjectMeta.java +++ b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/ObjectMeta.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ObjectMeta implements KubernetesResource +public class ObjectMeta implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -160,6 +161,16 @@ public void setOwnerReferences(List ownerReferences) { this.ownerReferences = ownerReferences; } + @JsonIgnore + public ObjectMetaBuilder edit() { + return new ObjectMetaBuilder(this); + } + + @JsonIgnore + public ObjectMetaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/ProviderSpec.java b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/ProviderSpec.java index 04c6f4362c2..1756170e0e2 100644 --- a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/ProviderSpec.java +++ b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/ProviderSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ProviderSpec implements KubernetesResource +public class ProviderSpec implements Editable , KubernetesResource { @JsonProperty("value") @@ -86,6 +87,16 @@ public void setValue(Map value) { this.value = value; } + @JsonIgnore + public ProviderSpecBuilder edit() { + return new ProviderSpecBuilder(this); + } + + @JsonIgnore + public ProviderSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/UnhealthyCondition.java b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/UnhealthyCondition.java index 69564df3c4b..b6b1f51935a 100644 --- a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/UnhealthyCondition.java +++ b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/UnhealthyCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.Duration; import io.fabric8.kubernetes.api.model.IntOrString; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class UnhealthyCondition implements KubernetesResource +public class UnhealthyCondition implements Editable , KubernetesResource { @JsonProperty("status") @@ -114,6 +115,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public UnhealthyConditionBuilder edit() { + return new UnhealthyConditionBuilder(this); + } + + @JsonIgnore + public UnhealthyConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machine/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/openshift-model-machine/src/main/resources/schema/validation-schema.json index e3fa3df43bc..d4745647ae4 100644 --- a/kubernetes-model-generator/openshift-model-machine/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/openshift-model-machine/src/main/resources/schema/validation-schema.json @@ -2113,32 +2113,9 @@ }, "existingJavaType": "java.util.Map\u003cString, String\u003e" }, - "creationTimestamp": { - "$ref": "#/definitions/kubernetes_apimachinery_Time", - "existingJavaType": "String" - }, - "deletionGracePeriodSeconds": { - "type": "integer", - "existingJavaType": "Long" - }, - "deletionTimestamp": { - "$ref": "#/definitions/kubernetes_apimachinery_Time", - "existingJavaType": "String" - }, - "finalizers": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, "generateName": { "type": "string" }, - "generation": { - "type": "integer", - "existingJavaType": "Long" - }, "labels": { "type": "object", "additionalProperties": { @@ -2146,14 +2123,6 @@ }, "existingJavaType": "java.util.Map\u003cString, String\u003e" }, - "managedFields": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/kubernetes_apimachinery_ManagedFieldsEntry", - "existingJavaType": "io.fabric8.kubernetes.api.model.ManagedFieldsEntry" - } - }, "name": { "type": "string" }, @@ -2169,15 +2138,6 @@ "$ref": "#/definitions/kubernetes_apimachinery_OwnerReference", "existingJavaType": "io.fabric8.kubernetes.api.model.OwnerReference" } - }, - "resourceVersion": { - "type": "string" - }, - "selfLink": { - "type": "string" - }, - "uid": { - "type": "string" } }, "additionalProperties": true diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index e2781b83e79..bf6bccf90fa 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -82,7 +83,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -345,6 +347,16 @@ public void setTypeMeta(TypeMeta typeMeta) { this.typeMeta = typeMeta; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index f3ef7bf978e..30c6b4403fe 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -82,7 +83,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -345,6 +347,16 @@ public void setTypeMeta(TypeMeta typeMeta) { this.typeMeta = typeMeta; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfig.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfig.java index fe1fef7f1b6..b5a417da2fb 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfig.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("machineconfiguration.openshift.io") @Generated("jsonschema2pojo") -public class ContainerRuntimeConfig implements HasMetadata +public class ContainerRuntimeConfig implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(ContainerRuntimeConfigStatus status) { this.status = status; } + @JsonIgnore + public ContainerRuntimeConfigBuilder edit() { + return new ContainerRuntimeConfigBuilder(this); + } + + @JsonIgnore + public ContainerRuntimeConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfigCondition.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfigCondition.java index 57c7ab7a5fe..54b8b2b0fc8 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfigCondition.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfigCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ContainerRuntimeConfigCondition implements KubernetesResource +public class ContainerRuntimeConfigCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public ContainerRuntimeConfigConditionBuilder edit() { + return new ContainerRuntimeConfigConditionBuilder(this); + } + + @JsonIgnore + public ContainerRuntimeConfigConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfigList.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfigList.java index 30267f0b6f1..5a7fd3bfff1 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfigList.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfigList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("machineconfiguration.openshift.io") @Generated("jsonschema2pojo") -public class ContainerRuntimeConfigList implements KubernetesResource, KubernetesResourceList +public class ContainerRuntimeConfigList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ContainerRuntimeConfigListBuilder edit() { + return new ContainerRuntimeConfigListBuilder(this); + } + + @JsonIgnore + public ContainerRuntimeConfigListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfigSpec.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfigSpec.java index fac793c7379..f7cb194df5e 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfigSpec.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfigSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ContainerRuntimeConfigSpec implements KubernetesResource +public class ContainerRuntimeConfigSpec implements Editable , KubernetesResource { @JsonProperty("containerRuntimeConfig") @@ -98,6 +99,16 @@ public void setMachineConfigPoolSelector(io.fabric8.kubernetes.api.model.LabelSe this.machineConfigPoolSelector = machineConfigPoolSelector; } + @JsonIgnore + public ContainerRuntimeConfigSpecBuilder edit() { + return new ContainerRuntimeConfigSpecBuilder(this); + } + + @JsonIgnore + public ContainerRuntimeConfigSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfigStatus.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfigStatus.java index 47e718e96fb..0ac172880fa 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfigStatus.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfigStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ContainerRuntimeConfigStatus implements KubernetesResource +public class ContainerRuntimeConfigStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -102,6 +103,16 @@ public void setObservedGeneration(Long observedGeneration) { this.observedGeneration = observedGeneration; } + @JsonIgnore + public ContainerRuntimeConfigStatusBuilder edit() { + return new ContainerRuntimeConfigStatusBuilder(this); + } + + @JsonIgnore + public ContainerRuntimeConfigStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfiguration.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfiguration.java index 96c298e5e56..2b888ae288d 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfiguration.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfiguration.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ContainerRuntimeConfiguration implements KubernetesResource +public class ContainerRuntimeConfiguration implements Editable , KubernetesResource { @JsonProperty("logLevel") @@ -128,6 +129,16 @@ public void setPidsLimit(Long pidsLimit) { this.pidsLimit = pidsLimit; } + @JsonIgnore + public ContainerRuntimeConfigurationBuilder edit() { + return new ContainerRuntimeConfigurationBuilder(this); + } + + @JsonIgnore + public ContainerRuntimeConfigurationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ControllerConfig.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ControllerConfig.java index 1d16472e282..adf7e264966 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ControllerConfig.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ControllerConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("machineconfiguration.openshift.io") @Generated("jsonschema2pojo") -public class ControllerConfig implements HasMetadata +public class ControllerConfig implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(ControllerConfigStatus status) { this.status = status; } + @JsonIgnore + public ControllerConfigBuilder edit() { + return new ControllerConfigBuilder(this); + } + + @JsonIgnore + public ControllerConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ControllerConfigList.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ControllerConfigList.java index a676b9d63de..50660ca761a 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ControllerConfigList.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ControllerConfigList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("machineconfiguration.openshift.io") @Generated("jsonschema2pojo") -public class ControllerConfigList implements KubernetesResource, KubernetesResourceList +public class ControllerConfigList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ControllerConfigListBuilder edit() { + return new ControllerConfigListBuilder(this); + } + + @JsonIgnore + public ControllerConfigListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ControllerConfigSpec.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ControllerConfigSpec.java index 72cb721487c..22890c0f400 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ControllerConfigSpec.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ControllerConfigSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -73,7 +74,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ControllerConfigSpec implements KubernetesResource +public class ControllerConfigSpec implements Editable , KubernetesResource { @JsonProperty("additionalTrustBundle") @@ -312,6 +313,16 @@ public void setRootCAData(java.lang.String rootCAData) { this.rootCAData = rootCAData; } + @JsonIgnore + public ControllerConfigSpecBuilder edit() { + return new ControllerConfigSpecBuilder(this); + } + + @JsonIgnore + public ControllerConfigSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ControllerConfigStatus.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ControllerConfigStatus.java index 0764edb94de..9f938c4f150 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ControllerConfigStatus.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ControllerConfigStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ControllerConfigStatus implements KubernetesResource +public class ControllerConfigStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -102,6 +103,16 @@ public void setObservedGeneration(Long observedGeneration) { this.observedGeneration = observedGeneration; } + @JsonIgnore + public ControllerConfigStatusBuilder edit() { + return new ControllerConfigStatusBuilder(this); + } + + @JsonIgnore + public ControllerConfigStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ControllerConfigStatusCondition.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ControllerConfigStatusCondition.java index efaa8fcc33c..281046b794d 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ControllerConfigStatusCondition.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ControllerConfigStatusCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ControllerConfigStatusCondition implements KubernetesResource +public class ControllerConfigStatusCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public ControllerConfigStatusConditionBuilder edit() { + return new ControllerConfigStatusConditionBuilder(this); + } + + @JsonIgnore + public ControllerConfigStatusConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/KubeletConfig.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/KubeletConfig.java index 363d5c11339..3fcd813d96e 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/KubeletConfig.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/KubeletConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("machineconfiguration.openshift.io") @Generated("jsonschema2pojo") -public class KubeletConfig implements HasMetadata +public class KubeletConfig implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(KubeletConfigStatus status) { this.status = status; } + @JsonIgnore + public KubeletConfigBuilder edit() { + return new KubeletConfigBuilder(this); + } + + @JsonIgnore + public KubeletConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/KubeletConfigCondition.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/KubeletConfigCondition.java index 97be422513e..f3bbd335794 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/KubeletConfigCondition.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/KubeletConfigCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeletConfigCondition implements KubernetesResource +public class KubeletConfigCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public KubeletConfigConditionBuilder edit() { + return new KubeletConfigConditionBuilder(this); + } + + @JsonIgnore + public KubeletConfigConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/KubeletConfigList.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/KubeletConfigList.java index 464028429e1..875b1a86674 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/KubeletConfigList.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/KubeletConfigList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("machineconfiguration.openshift.io") @Generated("jsonschema2pojo") -public class KubeletConfigList implements KubernetesResource, KubernetesResourceList +public class KubeletConfigList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public KubeletConfigListBuilder edit() { + return new KubeletConfigListBuilder(this); + } + + @JsonIgnore + public KubeletConfigListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/KubeletConfigSpec.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/KubeletConfigSpec.java index fd7cbe3ec65..70fcf3f0d70 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/KubeletConfigSpec.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/KubeletConfigSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeletConfigSpec implements KubernetesResource +public class KubeletConfigSpec implements Editable , KubernetesResource { @JsonProperty("autoSizingReserved") @@ -142,6 +143,16 @@ public void setTlsSecurityProfile(TLSSecurityProfile tlsSecurityProfile) { this.tlsSecurityProfile = tlsSecurityProfile; } + @JsonIgnore + public KubeletConfigSpecBuilder edit() { + return new KubeletConfigSpecBuilder(this); + } + + @JsonIgnore + public KubeletConfigSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/KubeletConfigStatus.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/KubeletConfigStatus.java index 0486edb6383..db0fde41525 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/KubeletConfigStatus.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/KubeletConfigStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeletConfigStatus implements KubernetesResource +public class KubeletConfigStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -102,6 +103,16 @@ public void setObservedGeneration(Long observedGeneration) { this.observedGeneration = observedGeneration; } + @JsonIgnore + public KubeletConfigStatusBuilder edit() { + return new KubeletConfigStatusBuilder(this); + } + + @JsonIgnore + public KubeletConfigStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfig.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfig.java index 0832a548da6..819306f3350 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfig.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -63,7 +64,7 @@ @Version("v1") @Group("machineconfiguration.openshift.io") @Generated("jsonschema2pojo") -public class MachineConfig implements HasMetadata +public class MachineConfig implements Editable , HasMetadata { /** @@ -162,6 +163,16 @@ public void setSpec(MachineConfigSpec spec) { this.spec = spec; } + @JsonIgnore + public MachineConfigBuilder edit() { + return new MachineConfigBuilder(this); + } + + @JsonIgnore + public MachineConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigList.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigList.java index 4993553e000..d20cc0e01b0 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigList.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("machineconfiguration.openshift.io") @Generated("jsonschema2pojo") -public class MachineConfigList implements KubernetesResource, KubernetesResourceList +public class MachineConfigList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public MachineConfigListBuilder edit() { + return new MachineConfigListBuilder(this); + } + + @JsonIgnore + public MachineConfigListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPool.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPool.java index d96113de56c..b1396c07d78 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPool.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPool.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("machineconfiguration.openshift.io") @Generated("jsonschema2pojo") -public class MachineConfigPool implements HasMetadata +public class MachineConfigPool implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(MachineConfigPoolStatus status) { this.status = status; } + @JsonIgnore + public MachineConfigPoolBuilder edit() { + return new MachineConfigPoolBuilder(this); + } + + @JsonIgnore + public MachineConfigPoolBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPoolCondition.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPoolCondition.java index ddb21e67295..c0eede2b252 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPoolCondition.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPoolCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachineConfigPoolCondition implements KubernetesResource +public class MachineConfigPoolCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public MachineConfigPoolConditionBuilder edit() { + return new MachineConfigPoolConditionBuilder(this); + } + + @JsonIgnore + public MachineConfigPoolConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPoolList.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPoolList.java index 2e5c8e6cd46..dd86aca680b 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPoolList.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPoolList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("machineconfiguration.openshift.io") @Generated("jsonschema2pojo") -public class MachineConfigPoolList implements KubernetesResource, KubernetesResourceList +public class MachineConfigPoolList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public MachineConfigPoolListBuilder edit() { + return new MachineConfigPoolListBuilder(this); + } + + @JsonIgnore + public MachineConfigPoolListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPoolSpec.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPoolSpec.java index 6359da956a6..14b43cd72f7 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPoolSpec.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPoolSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LocalObjectReference; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachineConfigPoolSpec implements KubernetesResource +public class MachineConfigPoolSpec implements Editable , KubernetesResource { @JsonProperty("configuration") @@ -139,6 +140,16 @@ public void setPaused(Boolean paused) { this.paused = paused; } + @JsonIgnore + public MachineConfigPoolSpecBuilder edit() { + return new MachineConfigPoolSpecBuilder(this); + } + + @JsonIgnore + public MachineConfigPoolSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPoolStatus.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPoolStatus.java index 99147b253ad..ca3e644d60a 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPoolStatus.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPoolStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachineConfigPoolStatus implements KubernetesResource +public class MachineConfigPoolStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -186,6 +187,16 @@ public void setUpdatedMachineCount(Integer updatedMachineCount) { this.updatedMachineCount = updatedMachineCount; } + @JsonIgnore + public MachineConfigPoolStatusBuilder edit() { + return new MachineConfigPoolStatusBuilder(this); + } + + @JsonIgnore + public MachineConfigPoolStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPoolStatusConfiguration.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPoolStatusConfiguration.java index 3ac721e1f1d..3e745947eb0 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPoolStatusConfiguration.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPoolStatusConfiguration.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -70,7 +71,7 @@ @Version("v1") @Group("machineconfiguration.openshift.io") @Generated("jsonschema2pojo") -public class MachineConfigPoolStatusConfiguration implements KubernetesResource +public class MachineConfigPoolStatusConfiguration implements Editable , KubernetesResource { /** @@ -222,6 +223,16 @@ public void setUid(String uid) { this.uid = uid; } + @JsonIgnore + public MachineConfigPoolStatusConfigurationBuilder edit() { + return new MachineConfigPoolStatusConfigurationBuilder(this); + } + + @JsonIgnore + public MachineConfigPoolStatusConfigurationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigSpec.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigSpec.java index 9b895a8d417..e10231115ff 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigSpec.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MachineConfigSpec implements KubernetesResource +public class MachineConfigSpec implements Editable , KubernetesResource { @JsonProperty("config") @@ -160,6 +161,16 @@ public void setOsImageURL(java.lang.String osImageURL) { this.osImageURL = osImageURL; } + @JsonIgnore + public MachineConfigSpecBuilder edit() { + return new MachineConfigSpecBuilder(this); + } + + @JsonIgnore + public MachineConfigSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index 34fe65f0ff5..33b4cdb5034 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -90,7 +91,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -405,6 +407,16 @@ public void setTypeMeta(TypeMeta typeMeta) { this.typeMeta = typeMeta; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index 2ecc8d968b3..6adc1187804 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -90,7 +91,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -405,6 +407,16 @@ public void setTypeMeta(TypeMeta typeMeta) { this.typeMeta = typeMeta; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/APIRequestCount.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/APIRequestCount.java index 2af2cab311d..9c9f89e895d 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/APIRequestCount.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/APIRequestCount.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("apiserver.openshift.io") @Generated("jsonschema2pojo") -public class APIRequestCount implements HasMetadata +public class APIRequestCount implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(APIRequestCountStatus status) { this.status = status; } + @JsonIgnore + public APIRequestCountBuilder edit() { + return new APIRequestCountBuilder(this); + } + + @JsonIgnore + public APIRequestCountBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/APIRequestCountList.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/APIRequestCountList.java index 4a400631734..6a91bc9a0ad 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/APIRequestCountList.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/APIRequestCountList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("apiserver.openshift.io") @Generated("jsonschema2pojo") -public class APIRequestCountList implements KubernetesResource, KubernetesResourceList +public class APIRequestCountList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public APIRequestCountListBuilder edit() { + return new APIRequestCountListBuilder(this); + } + + @JsonIgnore + public APIRequestCountListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/APIRequestCountSpec.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/APIRequestCountSpec.java index afdb67cd69d..18be5b3f3ef 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/APIRequestCountSpec.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/APIRequestCountSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class APIRequestCountSpec implements KubernetesResource +public class APIRequestCountSpec implements Editable , KubernetesResource { @JsonProperty("numberOfUsersToReport") @@ -85,6 +86,16 @@ public void setNumberOfUsersToReport(Long numberOfUsersToReport) { this.numberOfUsersToReport = numberOfUsersToReport; } + @JsonIgnore + public APIRequestCountSpecBuilder edit() { + return new APIRequestCountSpecBuilder(this); + } + + @JsonIgnore + public APIRequestCountSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/APIRequestCountStatus.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/APIRequestCountStatus.java index 37cf67be28d..4e8ed5501de 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/APIRequestCountStatus.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/APIRequestCountStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class APIRequestCountStatus implements KubernetesResource +public class APIRequestCountStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -146,6 +147,16 @@ public void setRequestCount(Long requestCount) { this.requestCount = requestCount; } + @JsonIgnore + public APIRequestCountStatusBuilder edit() { + return new APIRequestCountStatusBuilder(this); + } + + @JsonIgnore + public APIRequestCountStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/PerNodeAPIRequestLog.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/PerNodeAPIRequestLog.java index a44a9f6edec..6a71f066ad2 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/PerNodeAPIRequestLog.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/PerNodeAPIRequestLog.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PerNodeAPIRequestLog implements KubernetesResource +public class PerNodeAPIRequestLog implements Editable , KubernetesResource { @JsonProperty("byUser") @@ -116,6 +117,16 @@ public void setRequestCount(Long requestCount) { this.requestCount = requestCount; } + @JsonIgnore + public PerNodeAPIRequestLogBuilder edit() { + return new PerNodeAPIRequestLogBuilder(this); + } + + @JsonIgnore + public PerNodeAPIRequestLogBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/PerResourceAPIRequestLog.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/PerResourceAPIRequestLog.java index 204d50feeb1..d98e9919076 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/PerResourceAPIRequestLog.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/PerResourceAPIRequestLog.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PerResourceAPIRequestLog implements KubernetesResource +public class PerResourceAPIRequestLog implements Editable , KubernetesResource { @JsonProperty("byNode") @@ -102,6 +103,16 @@ public void setRequestCount(Long requestCount) { this.requestCount = requestCount; } + @JsonIgnore + public PerResourceAPIRequestLogBuilder edit() { + return new PerResourceAPIRequestLogBuilder(this); + } + + @JsonIgnore + public PerResourceAPIRequestLogBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/PerUserAPIRequestCount.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/PerUserAPIRequestCount.java index d3092100b44..4e0f86dfc8e 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/PerUserAPIRequestCount.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/PerUserAPIRequestCount.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PerUserAPIRequestCount implements KubernetesResource +public class PerUserAPIRequestCount implements Editable , KubernetesResource { @JsonProperty("byVerb") @@ -130,6 +131,16 @@ public void setUsername(String username) { this.username = username; } + @JsonIgnore + public PerUserAPIRequestCountBuilder edit() { + return new PerUserAPIRequestCountBuilder(this); + } + + @JsonIgnore + public PerUserAPIRequestCountBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/PerVerbAPIRequestCount.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/PerVerbAPIRequestCount.java index 2f4e9bd771f..bc728d25cf8 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/PerVerbAPIRequestCount.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/PerVerbAPIRequestCount.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PerVerbAPIRequestCount implements KubernetesResource +public class PerVerbAPIRequestCount implements Editable , KubernetesResource { @JsonProperty("requestCount") @@ -99,6 +100,16 @@ public void setVerb(String verb) { this.verb = verb; } + @JsonIgnore + public PerVerbAPIRequestCountBuilder edit() { + return new PerVerbAPIRequestCountBuilder(this); + } + + @JsonIgnore + public PerVerbAPIRequestCountBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cloudcredential/v1/CredentialsRequest.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cloudcredential/v1/CredentialsRequest.java index cccfb332c75..d35120059ed 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cloudcredential/v1/CredentialsRequest.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cloudcredential/v1/CredentialsRequest.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("cloudcredential.openshift.io") @Generated("jsonschema2pojo") -public class CredentialsRequest implements HasMetadata, Namespaced +public class CredentialsRequest implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(CredentialsRequestStatus status) { this.status = status; } + @JsonIgnore + public CredentialsRequestBuilder edit() { + return new CredentialsRequestBuilder(this); + } + + @JsonIgnore + public CredentialsRequestBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cloudcredential/v1/CredentialsRequestCondition.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cloudcredential/v1/CredentialsRequestCondition.java index 85473438c5a..3a4da026735 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cloudcredential/v1/CredentialsRequestCondition.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cloudcredential/v1/CredentialsRequestCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CredentialsRequestCondition implements KubernetesResource +public class CredentialsRequestCondition implements Editable , KubernetesResource { @JsonProperty("lastProbeTime") @@ -155,6 +156,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public CredentialsRequestConditionBuilder edit() { + return new CredentialsRequestConditionBuilder(this); + } + + @JsonIgnore + public CredentialsRequestConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cloudcredential/v1/CredentialsRequestList.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cloudcredential/v1/CredentialsRequestList.java index e077a1742d5..3583213f303 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cloudcredential/v1/CredentialsRequestList.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cloudcredential/v1/CredentialsRequestList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("cloudcredential.openshift.io") @Generated("jsonschema2pojo") -public class CredentialsRequestList implements KubernetesResource, KubernetesResourceList +public class CredentialsRequestList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public CredentialsRequestListBuilder edit() { + return new CredentialsRequestListBuilder(this); + } + + @JsonIgnore + public CredentialsRequestListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cloudcredential/v1/CredentialsRequestSpec.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cloudcredential/v1/CredentialsRequestSpec.java index 21aa0767f2f..e15643f76c7 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cloudcredential/v1/CredentialsRequestSpec.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cloudcredential/v1/CredentialsRequestSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CredentialsRequestSpec implements KubernetesResource +public class CredentialsRequestSpec implements Editable , KubernetesResource { @JsonProperty("providerSpec") @@ -116,6 +117,16 @@ public void setServiceAccountNames(List serviceAccountNames) { this.serviceAccountNames = serviceAccountNames; } + @JsonIgnore + public CredentialsRequestSpecBuilder edit() { + return new CredentialsRequestSpecBuilder(this); + } + + @JsonIgnore + public CredentialsRequestSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cloudcredential/v1/CredentialsRequestStatus.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cloudcredential/v1/CredentialsRequestStatus.java index e31ac976ce4..e698a30da43 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cloudcredential/v1/CredentialsRequestStatus.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cloudcredential/v1/CredentialsRequestStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CredentialsRequestStatus implements KubernetesResource +public class CredentialsRequestStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -159,6 +160,16 @@ public void setProvisioned(Boolean provisioned) { this.provisioned = provisioned; } + @JsonIgnore + public CredentialsRequestStatusBuilder edit() { + return new CredentialsRequestStatusBuilder(this); + } + + @JsonIgnore + public CredentialsRequestStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cncf/cni/v1/NetworkAttachmentDefinition.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cncf/cni/v1/NetworkAttachmentDefinition.java index fb1d28d5a02..8069ead13ae 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cncf/cni/v1/NetworkAttachmentDefinition.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cncf/cni/v1/NetworkAttachmentDefinition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("k8s.cni.cncf.io") @Generated("jsonschema2pojo") -public class NetworkAttachmentDefinition implements HasMetadata, Namespaced +public class NetworkAttachmentDefinition implements Editable , HasMetadata, Namespaced { /** @@ -163,6 +164,16 @@ public void setSpec(NetworkAttachmentDefinitionSpec spec) { this.spec = spec; } + @JsonIgnore + public NetworkAttachmentDefinitionBuilder edit() { + return new NetworkAttachmentDefinitionBuilder(this); + } + + @JsonIgnore + public NetworkAttachmentDefinitionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cncf/cni/v1/NetworkAttachmentDefinitionList.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cncf/cni/v1/NetworkAttachmentDefinitionList.java index 3698f220662..2bf87993af6 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cncf/cni/v1/NetworkAttachmentDefinitionList.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cncf/cni/v1/NetworkAttachmentDefinitionList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("k8s.cni.cncf.io") @Generated("jsonschema2pojo") -public class NetworkAttachmentDefinitionList implements KubernetesResource, KubernetesResourceList +public class NetworkAttachmentDefinitionList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public NetworkAttachmentDefinitionListBuilder edit() { + return new NetworkAttachmentDefinitionListBuilder(this); + } + + @JsonIgnore + public NetworkAttachmentDefinitionListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cncf/cni/v1/NetworkAttachmentDefinitionSpec.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cncf/cni/v1/NetworkAttachmentDefinitionSpec.java index 4a831b05a8a..1e1b21c4445 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cncf/cni/v1/NetworkAttachmentDefinitionSpec.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cncf/cni/v1/NetworkAttachmentDefinitionSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NetworkAttachmentDefinitionSpec implements KubernetesResource +public class NetworkAttachmentDefinitionSpec implements Editable , KubernetesResource { @JsonProperty("config") @@ -85,6 +86,16 @@ public void setConfig(String config) { this.config = config; } + @JsonIgnore + public NetworkAttachmentDefinitionSpecBuilder edit() { + return new NetworkAttachmentDefinitionSpecBuilder(this); + } + + @JsonIgnore + public NetworkAttachmentDefinitionSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/Config.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/Config.java index 63732adfbf9..0b1bcd5fb8d 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/Config.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/Config.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("imageregistry.operator.openshift.io") @Generated("jsonschema2pojo") -public class Config implements HasMetadata +public class Config implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(ImageRegistryStatus status) { this.status = status; } + @JsonIgnore + public ConfigBuilder edit() { + return new ConfigBuilder(this); + } + + @JsonIgnore + public ConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ConfigList.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ConfigList.java index 1fb156f6945..7412185a755 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ConfigList.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ConfigList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("imageregistry.operator.openshift.io") @Generated("jsonschema2pojo") -public class ConfigList implements KubernetesResource, KubernetesResourceList +public class ConfigList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ConfigListBuilder edit() { + return new ConfigListBuilder(this); + } + + @JsonIgnore + public ConfigListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/EncryptionAlibaba.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/EncryptionAlibaba.java index 3492739ccbf..3a79922a23d 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/EncryptionAlibaba.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/EncryptionAlibaba.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class EncryptionAlibaba implements KubernetesResource +public class EncryptionAlibaba implements Editable , KubernetesResource { @JsonProperty("kms") @@ -99,6 +100,16 @@ public void setMethod(String method) { this.method = method; } + @JsonIgnore + public EncryptionAlibabaBuilder edit() { + return new EncryptionAlibabaBuilder(this); + } + + @JsonIgnore + public EncryptionAlibabaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigProxy.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigProxy.java index aae5b7fb887..9d5e6de3bf4 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigProxy.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigProxy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageRegistryConfigProxy implements KubernetesResource +public class ImageRegistryConfigProxy implements Editable , KubernetesResource { @JsonProperty("http") @@ -113,6 +114,16 @@ public void setNoProxy(String noProxy) { this.noProxy = noProxy; } + @JsonIgnore + public ImageRegistryConfigProxyBuilder edit() { + return new ImageRegistryConfigProxyBuilder(this); + } + + @JsonIgnore + public ImageRegistryConfigProxyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigRequests.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigRequests.java index f46dcebaafc..38ecd82ac8e 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigRequests.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigRequests.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageRegistryConfigRequests implements KubernetesResource +public class ImageRegistryConfigRequests implements Editable , KubernetesResource { @JsonProperty("read") @@ -99,6 +100,16 @@ public void setWrite(ImageRegistryConfigRequestsLimits write) { this.write = write; } + @JsonIgnore + public ImageRegistryConfigRequestsBuilder edit() { + return new ImageRegistryConfigRequestsBuilder(this); + } + + @JsonIgnore + public ImageRegistryConfigRequestsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigRequestsLimits.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigRequestsLimits.java index 992ed04a52e..15ca9cfdada 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigRequestsLimits.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigRequestsLimits.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.Duration; import io.fabric8.kubernetes.api.model.IntOrString; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageRegistryConfigRequestsLimits implements KubernetesResource +public class ImageRegistryConfigRequestsLimits implements Editable , KubernetesResource { @JsonProperty("maxInQueue") @@ -114,6 +115,16 @@ public void setMaxWaitInQueue(Duration maxWaitInQueue) { this.maxWaitInQueue = maxWaitInQueue; } + @JsonIgnore + public ImageRegistryConfigRequestsLimitsBuilder edit() { + return new ImageRegistryConfigRequestsLimitsBuilder(this); + } + + @JsonIgnore + public ImageRegistryConfigRequestsLimitsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigRoute.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigRoute.java index 2b7dd6328de..11606d52783 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigRoute.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigRoute.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageRegistryConfigRoute implements KubernetesResource +public class ImageRegistryConfigRoute implements Editable , KubernetesResource { @JsonProperty("hostname") @@ -113,6 +114,16 @@ public void setSecretName(String secretName) { this.secretName = secretName; } + @JsonIgnore + public ImageRegistryConfigRouteBuilder edit() { + return new ImageRegistryConfigRouteBuilder(this); + } + + @JsonIgnore + public ImageRegistryConfigRouteBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorage.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorage.java index c2645b0ce19..46a8fb5db7d 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorage.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorage.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -63,7 +64,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageRegistryConfigStorage implements KubernetesResource +public class ImageRegistryConfigStorage implements Editable , KubernetesResource { @JsonProperty("azure") @@ -197,6 +198,16 @@ public void setSwift(ImageRegistryConfigStorageSwift swift) { this.swift = swift; } + @JsonIgnore + public ImageRegistryConfigStorageBuilder edit() { + return new ImageRegistryConfigStorageBuilder(this); + } + + @JsonIgnore + public ImageRegistryConfigStorageBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageAlibabaOSS.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageAlibabaOSS.java index 3f06b4eb526..2645d0c780f 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageAlibabaOSS.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageAlibabaOSS.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageRegistryConfigStorageAlibabaOSS implements KubernetesResource +public class ImageRegistryConfigStorageAlibabaOSS implements Editable , KubernetesResource { @JsonProperty("bucket") @@ -127,6 +128,16 @@ public void setRegion(String region) { this.region = region; } + @JsonIgnore + public ImageRegistryConfigStorageAlibabaOSSBuilder edit() { + return new ImageRegistryConfigStorageAlibabaOSSBuilder(this); + } + + @JsonIgnore + public ImageRegistryConfigStorageAlibabaOSSBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageAzure.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageAzure.java index 58aa6d4d65c..005b5be32b0 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageAzure.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageAzure.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageRegistryConfigStorageAzure implements KubernetesResource +public class ImageRegistryConfigStorageAzure implements Editable , KubernetesResource { @JsonProperty("accountName") @@ -113,6 +114,16 @@ public void setContainer(String container) { this.container = container; } + @JsonIgnore + public ImageRegistryConfigStorageAzureBuilder edit() { + return new ImageRegistryConfigStorageAzureBuilder(this); + } + + @JsonIgnore + public ImageRegistryConfigStorageAzureBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageEmptyDir.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageEmptyDir.java index 5a1255b82f6..e85d2c1fb01 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageEmptyDir.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageEmptyDir.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageRegistryConfigStorageEmptyDir implements KubernetesResource +public class ImageRegistryConfigStorageEmptyDir implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public ImageRegistryConfigStorageEmptyDirBuilder edit() { + return new ImageRegistryConfigStorageEmptyDirBuilder(this); + } + + @JsonIgnore + public ImageRegistryConfigStorageEmptyDirBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageGCS.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageGCS.java index 4588fe07cd2..fd7c67ae78c 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageGCS.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageGCS.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageRegistryConfigStorageGCS implements KubernetesResource +public class ImageRegistryConfigStorageGCS implements Editable , KubernetesResource { @JsonProperty("bucket") @@ -127,6 +128,16 @@ public void setRegion(String region) { this.region = region; } + @JsonIgnore + public ImageRegistryConfigStorageGCSBuilder edit() { + return new ImageRegistryConfigStorageGCSBuilder(this); + } + + @JsonIgnore + public ImageRegistryConfigStorageGCSBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageIBMCOS.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageIBMCOS.java index 3e67a77a46a..2234923509e 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageIBMCOS.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageIBMCOS.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageRegistryConfigStorageIBMCOS implements KubernetesResource +public class ImageRegistryConfigStorageIBMCOS implements Editable , KubernetesResource { @JsonProperty("bucket") @@ -141,6 +142,16 @@ public void setServiceInstanceCRN(String serviceInstanceCRN) { this.serviceInstanceCRN = serviceInstanceCRN; } + @JsonIgnore + public ImageRegistryConfigStorageIBMCOSBuilder edit() { + return new ImageRegistryConfigStorageIBMCOSBuilder(this); + } + + @JsonIgnore + public ImageRegistryConfigStorageIBMCOSBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStoragePVC.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStoragePVC.java index 1879a69b283..df4f214cb09 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStoragePVC.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStoragePVC.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageRegistryConfigStoragePVC implements KubernetesResource +public class ImageRegistryConfigStoragePVC implements Editable , KubernetesResource { @JsonProperty("claim") @@ -85,6 +86,16 @@ public void setClaim(String claim) { this.claim = claim; } + @JsonIgnore + public ImageRegistryConfigStoragePVCBuilder edit() { + return new ImageRegistryConfigStoragePVCBuilder(this); + } + + @JsonIgnore + public ImageRegistryConfigStoragePVCBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageS3.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageS3.java index ab3f24d3564..e655f480018 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageS3.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageS3.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageRegistryConfigStorageS3 implements KubernetesResource +public class ImageRegistryConfigStorageS3 implements Editable , KubernetesResource { @JsonProperty("bucket") @@ -183,6 +184,16 @@ public void setVirtualHostedStyle(Boolean virtualHostedStyle) { this.virtualHostedStyle = virtualHostedStyle; } + @JsonIgnore + public ImageRegistryConfigStorageS3Builder edit() { + return new ImageRegistryConfigStorageS3Builder(this); + } + + @JsonIgnore + public ImageRegistryConfigStorageS3Builder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageS3CloudFront.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageS3CloudFront.java index 148b2492311..e137b14885e 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageS3CloudFront.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageS3CloudFront.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.Duration; import io.fabric8.kubernetes.api.model.IntOrString; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageRegistryConfigStorageS3CloudFront implements KubernetesResource +public class ImageRegistryConfigStorageS3CloudFront implements Editable , KubernetesResource { @JsonProperty("baseURL") @@ -129,6 +130,16 @@ public void setPrivateKey(SecretKeySelector privateKey) { this.privateKey = privateKey; } + @JsonIgnore + public ImageRegistryConfigStorageS3CloudFrontBuilder edit() { + return new ImageRegistryConfigStorageS3CloudFrontBuilder(this); + } + + @JsonIgnore + public ImageRegistryConfigStorageS3CloudFrontBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageSwift.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageSwift.java index 95ace220a17..6f42659719b 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageSwift.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryConfigStorageSwift.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageRegistryConfigStorageSwift implements KubernetesResource +public class ImageRegistryConfigStorageSwift implements Editable , KubernetesResource { @JsonProperty("authURL") @@ -183,6 +184,16 @@ public void setTenantID(String tenantID) { this.tenantID = tenantID; } + @JsonIgnore + public ImageRegistryConfigStorageSwiftBuilder edit() { + return new ImageRegistryConfigStorageSwiftBuilder(this); + } + + @JsonIgnore + public ImageRegistryConfigStorageSwiftBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistrySpec.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistrySpec.java index 138cbe39517..856f44320e3 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistrySpec.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistrySpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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; @@ -79,7 +80,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageRegistrySpec implements KubernetesResource +public class ImageRegistrySpec implements Editable , KubernetesResource { @JsonProperty("affinity") @@ -375,6 +376,16 @@ public void setUnsupportedConfigOverrides(Map unsupportedConfigO this.unsupportedConfigOverrides = unsupportedConfigOverrides; } + @JsonIgnore + public ImageRegistrySpecBuilder edit() { + return new ImageRegistrySpecBuilder(this); + } + + @JsonIgnore + public ImageRegistrySpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryStatus.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryStatus.java index fbc4027e4c1..edfa0536973 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryStatus.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ImageRegistryStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -65,7 +66,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageRegistryStatus implements KubernetesResource +public class ImageRegistryStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -175,6 +176,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public ImageRegistryStatusBuilder edit() { + return new ImageRegistryStatusBuilder(this); + } + + @JsonIgnore + public ImageRegistryStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/KMSEncryptionAlibaba.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/KMSEncryptionAlibaba.java index 90f0b1f5c29..d9bd961c082 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/KMSEncryptionAlibaba.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/KMSEncryptionAlibaba.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KMSEncryptionAlibaba implements KubernetesResource +public class KMSEncryptionAlibaba implements Editable , KubernetesResource { @JsonProperty("keyID") @@ -85,6 +86,16 @@ public void setKeyID(String keyID) { this.keyID = keyID; } + @JsonIgnore + public KMSEncryptionAlibabaBuilder edit() { + return new KMSEncryptionAlibabaBuilder(this); + } + + @JsonIgnore + public KMSEncryptionAlibabaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/S3TrustedCASource.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/S3TrustedCASource.java index 9b3fe284332..e8bc8841c9e 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/S3TrustedCASource.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/S3TrustedCASource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class S3TrustedCASource implements KubernetesResource +public class S3TrustedCASource implements Editable , KubernetesResource { @JsonProperty("name") @@ -85,6 +86,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public S3TrustedCASourceBuilder edit() { + return new S3TrustedCASourceBuilder(this); + } + + @JsonIgnore + public S3TrustedCASourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/BIOS.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/BIOS.java index 0810ff0e18f..097798214c1 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/BIOS.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/BIOS.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BIOS implements KubernetesResource +public class BIOS implements Editable , KubernetesResource { @JsonProperty("date") @@ -113,6 +114,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public BIOSBuilder edit() { + return new BIOSBuilder(this); + } + + @JsonIgnore + public BIOSBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/BMCDetails.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/BMCDetails.java index 6732b821738..f44999090b0 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/BMCDetails.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/BMCDetails.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BMCDetails implements KubernetesResource +public class BMCDetails implements Editable , KubernetesResource { @JsonProperty("address") @@ -113,6 +114,16 @@ public void setDisableCertificateVerification(Boolean disableCertificateVerifica this.disableCertificateVerification = disableCertificateVerification; } + @JsonIgnore + public BMCDetailsBuilder edit() { + return new BMCDetailsBuilder(this); + } + + @JsonIgnore + public BMCDetailsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/BareMetalHost.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/BareMetalHost.java index 89778a4bd34..43b7ed8e6a6 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/BareMetalHost.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/BareMetalHost.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1alpha1") @Group("metal3.io") @Generated("jsonschema2pojo") -public class BareMetalHost implements HasMetadata, Namespaced +public class BareMetalHost implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(BareMetalHostStatus status) { this.status = status; } + @JsonIgnore + public BareMetalHostBuilder edit() { + return new BareMetalHostBuilder(this); + } + + @JsonIgnore + public BareMetalHostBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/BareMetalHostList.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/BareMetalHostList.java index a750be764ac..be3face2233 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/BareMetalHostList.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/BareMetalHostList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha1") @Group("metal3.io") @Generated("jsonschema2pojo") -public class BareMetalHostList implements KubernetesResource, KubernetesResourceList +public class BareMetalHostList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public BareMetalHostListBuilder edit() { + return new BareMetalHostListBuilder(this); + } + + @JsonIgnore + public BareMetalHostListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/BareMetalHostSpec.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/BareMetalHostSpec.java index 64cc0b3cd7d..66024278b08 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/BareMetalHostSpec.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/BareMetalHostSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -76,7 +77,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BareMetalHostSpec implements KubernetesResource +public class BareMetalHostSpec implements Editable , KubernetesResource { @JsonProperty("automatedCleaningMode") @@ -341,6 +342,16 @@ public void setUserData(SecretReference userData) { this.userData = userData; } + @JsonIgnore + public BareMetalHostSpecBuilder edit() { + return new BareMetalHostSpecBuilder(this); + } + + @JsonIgnore + public BareMetalHostSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/BareMetalHostStatus.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/BareMetalHostStatus.java index 0918dd25aa4..2c5832775d1 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/BareMetalHostStatus.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/BareMetalHostStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -66,7 +67,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BareMetalHostStatus implements KubernetesResource +public class BareMetalHostStatus implements Editable , KubernetesResource { @JsonProperty("errorCount") @@ -239,6 +240,16 @@ public void setTriedCredentials(CredentialsStatus triedCredentials) { this.triedCredentials = triedCredentials; } + @JsonIgnore + public BareMetalHostStatusBuilder edit() { + return new BareMetalHostStatusBuilder(this); + } + + @JsonIgnore + public BareMetalHostStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/CPU.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/CPU.java index dbf17fb793f..30d930a6fde 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/CPU.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/CPU.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CPU implements KubernetesResource +public class CPU implements Editable , KubernetesResource { @JsonProperty("arch") @@ -144,6 +145,16 @@ public void setModel(String model) { this.model = model; } + @JsonIgnore + public CPUBuilder edit() { + return new CPUBuilder(this); + } + + @JsonIgnore + public CPUBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/CredentialsStatus.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/CredentialsStatus.java index 7e3b6a22df1..4ce419c2fc4 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/CredentialsStatus.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/CredentialsStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CredentialsStatus implements KubernetesResource +public class CredentialsStatus implements Editable , KubernetesResource { @JsonProperty("credentials") @@ -100,6 +101,16 @@ public void setCredentialsVersion(String credentialsVersion) { this.credentialsVersion = credentialsVersion; } + @JsonIgnore + public CredentialsStatusBuilder edit() { + return new CredentialsStatusBuilder(this); + } + + @JsonIgnore + public CredentialsStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/CustomDeploy.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/CustomDeploy.java index aac12b4d396..2915320ebdc 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/CustomDeploy.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/CustomDeploy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CustomDeploy implements KubernetesResource +public class CustomDeploy implements Editable , KubernetesResource { @JsonProperty("method") @@ -85,6 +86,16 @@ public void setMethod(String method) { this.method = method; } + @JsonIgnore + public CustomDeployBuilder edit() { + return new CustomDeployBuilder(this); + } + + @JsonIgnore + public CustomDeployBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/Firmware.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/Firmware.java index 426f3d5482d..4fe7946a8cf 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/Firmware.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/Firmware.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Firmware implements KubernetesResource +public class Firmware implements Editable , KubernetesResource { @JsonProperty("bios") @@ -85,6 +86,16 @@ public void setBios(BIOS bios) { this.bios = bios; } + @JsonIgnore + public FirmwareBuilder edit() { + return new FirmwareBuilder(this); + } + + @JsonIgnore + public FirmwareBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/FirmwareConfig.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/FirmwareConfig.java index 3a6cdd953a7..6562018793e 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/FirmwareConfig.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/FirmwareConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class FirmwareConfig implements KubernetesResource +public class FirmwareConfig implements Editable , KubernetesResource { @JsonProperty("simultaneousMultithreadingEnabled") @@ -113,6 +114,16 @@ public void setVirtualizationEnabled(Boolean virtualizationEnabled) { this.virtualizationEnabled = virtualizationEnabled; } + @JsonIgnore + public FirmwareConfigBuilder edit() { + return new FirmwareConfigBuilder(this); + } + + @JsonIgnore + public FirmwareConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/HardwareDetails.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/HardwareDetails.java index b911d364586..43499b14614 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/HardwareDetails.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/HardwareDetails.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -63,7 +64,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HardwareDetails implements KubernetesResource +public class HardwareDetails implements Editable , KubernetesResource { @JsonProperty("cpu") @@ -173,6 +174,16 @@ public void setSystemVendor(HardwareSystemVendor systemVendor) { this.systemVendor = systemVendor; } + @JsonIgnore + public HardwareDetailsBuilder edit() { + return new HardwareDetailsBuilder(this); + } + + @JsonIgnore + public HardwareDetailsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/HardwareRAIDVolume.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/HardwareRAIDVolume.java index bec7f48dba8..04e80482584 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/HardwareRAIDVolume.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/HardwareRAIDVolume.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -63,7 +64,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HardwareRAIDVolume implements KubernetesResource +public class HardwareRAIDVolume implements Editable , KubernetesResource { @JsonProperty("controller") @@ -172,6 +173,16 @@ public void setSizeGibibytes(Integer sizeGibibytes) { this.sizeGibibytes = sizeGibibytes; } + @JsonIgnore + public HardwareRAIDVolumeBuilder edit() { + return new HardwareRAIDVolumeBuilder(this); + } + + @JsonIgnore + public HardwareRAIDVolumeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/HardwareSystemVendor.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/HardwareSystemVendor.java index 790015964ff..3e6e4c39ea4 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/HardwareSystemVendor.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/HardwareSystemVendor.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HardwareSystemVendor implements KubernetesResource +public class HardwareSystemVendor implements Editable , KubernetesResource { @JsonProperty("manufacturer") @@ -113,6 +114,16 @@ public void setSerialNumber(String serialNumber) { this.serialNumber = serialNumber; } + @JsonIgnore + public HardwareSystemVendorBuilder edit() { + return new HardwareSystemVendorBuilder(this); + } + + @JsonIgnore + public HardwareSystemVendorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/Image.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/Image.java index 77e63361aa1..797152178ae 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/Image.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/Image.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Image implements KubernetesResource +public class Image implements Editable , KubernetesResource { @JsonProperty("checksum") @@ -127,6 +128,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public ImageBuilder edit() { + return new ImageBuilder(this); + } + + @JsonIgnore + public ImageBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/NIC.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/NIC.java index 796f7743325..1b7fb0a750b 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/NIC.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/NIC.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NIC implements KubernetesResource +public class NIC implements Editable , KubernetesResource { @JsonProperty("ip") @@ -186,6 +187,16 @@ public void setVlans(List vlans) { this.vlans = vlans; } + @JsonIgnore + public NICBuilder edit() { + return new NICBuilder(this); + } + + @JsonIgnore + public NICBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/OperationHistory.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/OperationHistory.java index ab78d64d677..e9432740e07 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/OperationHistory.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/OperationHistory.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OperationHistory implements KubernetesResource +public class OperationHistory implements Editable , KubernetesResource { @JsonProperty("deprovision") @@ -127,6 +128,16 @@ public void setRegister(OperationMetric register) { this.register = register; } + @JsonIgnore + public OperationHistoryBuilder edit() { + return new OperationHistoryBuilder(this); + } + + @JsonIgnore + public OperationHistoryBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/OperationMetric.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/OperationMetric.java index c54ee009aee..783d528883e 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/OperationMetric.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/OperationMetric.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OperationMetric implements KubernetesResource +public class OperationMetric implements Editable , KubernetesResource { @JsonProperty("end") @@ -99,6 +100,16 @@ public void setStart(String start) { this.start = start; } + @JsonIgnore + public OperationMetricBuilder edit() { + return new OperationMetricBuilder(this); + } + + @JsonIgnore + public OperationMetricBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/ProvisionStatus.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/ProvisionStatus.java index e1edeff7723..8a552048044 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/ProvisionStatus.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/ProvisionStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ProvisionStatus implements KubernetesResource +public class ProvisionStatus implements Editable , KubernetesResource { @JsonProperty("ID") @@ -183,6 +184,16 @@ public void setState(String state) { this.state = state; } + @JsonIgnore + public ProvisionStatusBuilder edit() { + return new ProvisionStatusBuilder(this); + } + + @JsonIgnore + public ProvisionStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/RAIDConfig.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/RAIDConfig.java index e25f030214b..68586066d5d 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/RAIDConfig.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/RAIDConfig.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RAIDConfig implements KubernetesResource +public class RAIDConfig implements Editable , KubernetesResource { @JsonProperty("hardwareRAIDVolumes") @@ -103,6 +104,16 @@ public void setSoftwareRAIDVolumes(List softwareRAIDVolumes) this.softwareRAIDVolumes = softwareRAIDVolumes; } + @JsonIgnore + public RAIDConfigBuilder edit() { + return new RAIDConfigBuilder(this); + } + + @JsonIgnore + public RAIDConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/RootDeviceHints.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/RootDeviceHints.java index d893814f5df..46b2ddc57af 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/RootDeviceHints.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/RootDeviceHints.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RootDeviceHints implements KubernetesResource +public class RootDeviceHints implements Editable , KubernetesResource { @JsonProperty("deviceName") @@ -211,6 +212,16 @@ public void setWwnWithExtension(String wwnWithExtension) { this.wwnWithExtension = wwnWithExtension; } + @JsonIgnore + public RootDeviceHintsBuilder edit() { + return new RootDeviceHintsBuilder(this); + } + + @JsonIgnore + public RootDeviceHintsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/SoftwareRAIDVolume.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/SoftwareRAIDVolume.java index d98318429fb..3e21f1baf6c 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/SoftwareRAIDVolume.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/SoftwareRAIDVolume.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SoftwareRAIDVolume implements KubernetesResource +public class SoftwareRAIDVolume implements Editable , KubernetesResource { @JsonProperty("level") @@ -116,6 +117,16 @@ public void setSizeGibibytes(Integer sizeGibibytes) { this.sizeGibibytes = sizeGibibytes; } + @JsonIgnore + public SoftwareRAIDVolumeBuilder edit() { + return new SoftwareRAIDVolumeBuilder(this); + } + + @JsonIgnore + public SoftwareRAIDVolumeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/Storage.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/Storage.java index e9733840a69..094494e63a0 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/Storage.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/Storage.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -65,7 +66,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Storage implements KubernetesResource +public class Storage implements Editable , KubernetesResource { @JsonProperty("hctl") @@ -225,6 +226,16 @@ public void setWwnWithExtension(String wwnWithExtension) { this.wwnWithExtension = wwnWithExtension; } + @JsonIgnore + public StorageBuilder edit() { + return new StorageBuilder(this); + } + + @JsonIgnore + public StorageBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/VLAN.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/VLAN.java index fd49d4a7305..3164c7755f5 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/VLAN.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/VLAN.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class VLAN implements KubernetesResource +public class VLAN implements Editable , KubernetesResource { @JsonProperty("id") @@ -99,6 +100,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public VLANBuilder edit() { + return new VLANBuilder(this); + } + + @JsonIgnore + public VLANBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/CertSpec.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/CertSpec.java index ef7bc8b36b6..277bc9abcee 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/CertSpec.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/CertSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CertSpec implements KubernetesResource +public class CertSpec implements Editable , KubernetesResource { @JsonProperty("commonName") @@ -85,6 +86,16 @@ public void setCommonName(String commonName) { this.commonName = commonName; } + @JsonIgnore + public CertSpecBuilder edit() { + return new CertSpecBuilder(this); + } + + @JsonIgnore + public CertSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouter.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouter.java index 0f4c15215a0..417e36bf894 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouter.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouter.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("network.operator.openshift.io") @Generated("jsonschema2pojo") -public class EgressRouter implements HasMetadata, Namespaced +public class EgressRouter implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(EgressRouterStatus status) { this.status = status; } + @JsonIgnore + public EgressRouterBuilder edit() { + return new EgressRouterBuilder(this); + } + + @JsonIgnore + public EgressRouterBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterAddress.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterAddress.java index 1c67e608a3a..381fc96f367 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterAddress.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterAddress.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class EgressRouterAddress implements KubernetesResource +public class EgressRouterAddress implements Editable , KubernetesResource { @JsonProperty("gateway") @@ -99,6 +100,16 @@ public void setIp(String ip) { this.ip = ip; } + @JsonIgnore + public EgressRouterAddressBuilder edit() { + return new EgressRouterAddressBuilder(this); + } + + @JsonIgnore + public EgressRouterAddressBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterInterface.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterInterface.java index 6f1818d1fc9..ec5f0691a51 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterInterface.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterInterface.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class EgressRouterInterface implements KubernetesResource +public class EgressRouterInterface implements Editable , KubernetesResource { @JsonProperty("macvlan") @@ -85,6 +86,16 @@ public void setMacvlan(MacvlanConfig macvlan) { this.macvlan = macvlan; } + @JsonIgnore + public EgressRouterInterfaceBuilder edit() { + return new EgressRouterInterfaceBuilder(this); + } + + @JsonIgnore + public EgressRouterInterfaceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterList.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterList.java index f1857ec89f4..9b3da3dbc44 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterList.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("network.operator.openshift.io") @Generated("jsonschema2pojo") -public class EgressRouterList implements KubernetesResource, KubernetesResourceList +public class EgressRouterList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public EgressRouterListBuilder edit() { + return new EgressRouterListBuilder(this); + } + + @JsonIgnore + public EgressRouterListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterSpec.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterSpec.java index cf78a9ee6a1..a515fc99e8d 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterSpec.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class EgressRouterSpec implements KubernetesResource +public class EgressRouterSpec implements Editable , KubernetesResource { @JsonProperty("addresses") @@ -130,6 +131,16 @@ public void setRedirect(RedirectConfig redirect) { this.redirect = redirect; } + @JsonIgnore + public EgressRouterSpecBuilder edit() { + return new EgressRouterSpecBuilder(this); + } + + @JsonIgnore + public EgressRouterSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterStatus.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterStatus.java index c50baf1f750..f11f30e0d26 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterStatus.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class EgressRouterStatus implements KubernetesResource +public class EgressRouterStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -88,6 +89,16 @@ public void setConditions(List conditions) { this.conditions = conditions; } + @JsonIgnore + public EgressRouterStatusBuilder edit() { + return new EgressRouterStatusBuilder(this); + } + + @JsonIgnore + public EgressRouterStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterStatusCondition.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterStatusCondition.java index 2da18d97c84..77c58c7fab1 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterStatusCondition.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterStatusCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class EgressRouterStatusCondition implements KubernetesResource +public class EgressRouterStatusCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public EgressRouterStatusConditionBuilder edit() { + return new EgressRouterStatusConditionBuilder(this); + } + + @JsonIgnore + public EgressRouterStatusConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/L4RedirectRule.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/L4RedirectRule.java index 40847e5aacb..b210a721ca7 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/L4RedirectRule.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/L4RedirectRule.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class L4RedirectRule implements KubernetesResource +public class L4RedirectRule implements Editable , KubernetesResource { @JsonProperty("destinationIP") @@ -127,6 +128,16 @@ public void setTargetPort(Integer targetPort) { this.targetPort = targetPort; } + @JsonIgnore + public L4RedirectRuleBuilder edit() { + return new L4RedirectRuleBuilder(this); + } + + @JsonIgnore + public L4RedirectRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/MacvlanConfig.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/MacvlanConfig.java index f25a43f5083..0f3e8be59e8 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/MacvlanConfig.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/MacvlanConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MacvlanConfig implements KubernetesResource +public class MacvlanConfig implements Editable , KubernetesResource { @JsonProperty("master") @@ -99,6 +100,16 @@ public void setMode(String mode) { this.mode = mode; } + @JsonIgnore + public MacvlanConfigBuilder edit() { + return new MacvlanConfigBuilder(this); + } + + @JsonIgnore + public MacvlanConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/OperatorPKI.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/OperatorPKI.java index 2028369d3ef..5973d5925ca 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/OperatorPKI.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/OperatorPKI.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("network.operator.openshift.io") @Generated("jsonschema2pojo") -public class OperatorPKI implements HasMetadata, Namespaced +public class OperatorPKI implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(OperatorPKIStatus status) { this.status = status; } + @JsonIgnore + public OperatorPKIBuilder edit() { + return new OperatorPKIBuilder(this); + } + + @JsonIgnore + public OperatorPKIBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/OperatorPKIList.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/OperatorPKIList.java index 750e62ec280..cf411a62c17 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/OperatorPKIList.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/OperatorPKIList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("network.operator.openshift.io") @Generated("jsonschema2pojo") -public class OperatorPKIList implements KubernetesResource, KubernetesResourceList +public class OperatorPKIList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public OperatorPKIListBuilder edit() { + return new OperatorPKIListBuilder(this); + } + + @JsonIgnore + public OperatorPKIListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/OperatorPKISpec.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/OperatorPKISpec.java index eec4531acd7..a8724289f09 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/OperatorPKISpec.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/OperatorPKISpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OperatorPKISpec implements KubernetesResource +public class OperatorPKISpec implements Editable , KubernetesResource { @JsonProperty("targetCert") @@ -85,6 +86,16 @@ public void setTargetCert(CertSpec targetCert) { this.targetCert = targetCert; } + @JsonIgnore + public OperatorPKISpecBuilder edit() { + return new OperatorPKISpecBuilder(this); + } + + @JsonIgnore + public OperatorPKISpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/OperatorPKIStatus.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/OperatorPKIStatus.java index 409fe3022fb..4a97f856a16 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/OperatorPKIStatus.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/OperatorPKIStatus.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OperatorPKIStatus implements KubernetesResource +public class OperatorPKIStatus implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public OperatorPKIStatusBuilder edit() { + return new OperatorPKIStatusBuilder(this); + } + + @JsonIgnore + public OperatorPKIStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/RedirectConfig.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/RedirectConfig.java index ee99e87d776..e139cdb6ec7 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/RedirectConfig.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/RedirectConfig.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RedirectConfig implements KubernetesResource +public class RedirectConfig implements Editable , KubernetesResource { @JsonProperty("fallbackIP") @@ -102,6 +103,16 @@ public void setRedirectRules(List redirectRules) { this.redirectRules = redirectRules; } + @JsonIgnore + public RedirectConfigBuilder edit() { + return new RedirectConfigBuilder(this); + } + + @JsonIgnore + public RedirectConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index 22d61e8eab5..3b6add0290e 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -94,7 +95,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -435,6 +437,16 @@ public void setTypeMeta(TypeMeta typeMeta) { this.typeMeta = typeMeta; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index 3995bed57bd..d6ded5ee67e 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -94,7 +95,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -435,6 +437,16 @@ public void setTypeMeta(TypeMeta typeMeta) { this.typeMeta = typeMeta; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/APIServerConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/APIServerConfig.java index 4e1933170c9..3a380631569 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/APIServerConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/APIServerConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class APIServerConfig implements KubernetesResource +public class APIServerConfig implements Editable , KubernetesResource { @JsonProperty("authorization") @@ -155,6 +156,16 @@ public void setTlsConfig(TLSConfig tlsConfig) { this.tlsConfig = tlsConfig; } + @JsonIgnore + public APIServerConfigBuilder edit() { + return new APIServerConfigBuilder(this); + } + + @JsonIgnore + public APIServerConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertingSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertingSpec.java index 59d0402df37..408f3f5d60a 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertingSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertingSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AlertingSpec implements KubernetesResource +public class AlertingSpec implements Editable , KubernetesResource { @JsonProperty("alertmanagers") @@ -88,6 +89,16 @@ public void setAlertmanagers(List alertmanagers) { this.alertmanagers = alertmanagers; } + @JsonIgnore + public AlertingSpecBuilder edit() { + return new AlertingSpecBuilder(this); + } + + @JsonIgnore + public AlertingSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Alertmanager.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Alertmanager.java index b52ed185faa..141239c75d5 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Alertmanager.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Alertmanager.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("monitoring.coreos.com") @Generated("jsonschema2pojo") -public class Alertmanager implements HasMetadata, Namespaced +public class Alertmanager implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(AlertmanagerStatus status) { this.status = status; } + @JsonIgnore + public AlertmanagerBuilder edit() { + return new AlertmanagerBuilder(this); + } + + @JsonIgnore + public AlertmanagerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerConfiguration.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerConfiguration.java index 252ffe0bd42..874318a2571 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerConfiguration.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerConfiguration.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AlertmanagerConfiguration implements KubernetesResource +public class AlertmanagerConfiguration implements Editable , KubernetesResource { @JsonProperty("name") @@ -85,6 +86,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public AlertmanagerConfigurationBuilder edit() { + return new AlertmanagerConfigurationBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigurationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerEndpoints.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerEndpoints.java index 262ca48bb3e..9f401b79d56 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerEndpoints.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerEndpoints.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AlertmanagerEndpoints implements KubernetesResource +public class AlertmanagerEndpoints implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -209,6 +210,16 @@ public void setTlsConfig(TLSConfig tlsConfig) { this.tlsConfig = tlsConfig; } + @JsonIgnore + public AlertmanagerEndpointsBuilder edit() { + return new AlertmanagerEndpointsBuilder(this); + } + + @JsonIgnore + public AlertmanagerEndpointsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerList.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerList.java index 4d1ff50f4a4..6f4a965df06 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerList.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("monitoring.coreos.com") @Generated("jsonschema2pojo") -public class AlertmanagerList implements KubernetesResource, KubernetesResourceList +public class AlertmanagerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public AlertmanagerListBuilder edit() { + return new AlertmanagerListBuilder(this); + } + + @JsonIgnore + public AlertmanagerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpec.java index 23ffc6b6b67..c3bb7c102fe 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -101,7 +102,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AlertmanagerSpec implements KubernetesResource +public class AlertmanagerSpec implements Editable , KubernetesResource { @JsonProperty("additionalPeers") @@ -689,6 +690,16 @@ public void setVolumes(List volumes) { this.volumes = volumes; } + @JsonIgnore + public AlertmanagerSpecBuilder edit() { + return new AlertmanagerSpecBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerStatus.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerStatus.java index fcfbc417e0c..955b2ff1745 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerStatus.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AlertmanagerStatus implements KubernetesResource +public class AlertmanagerStatus implements Editable , KubernetesResource { @JsonProperty("availableReplicas") @@ -141,6 +142,16 @@ public void setUpdatedReplicas(Integer updatedReplicas) { this.updatedReplicas = updatedReplicas; } + @JsonIgnore + public AlertmanagerStatusBuilder edit() { + return new AlertmanagerStatusBuilder(this); + } + + @JsonIgnore + public AlertmanagerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ArbitraryFSAccessThroughSMsConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ArbitraryFSAccessThroughSMsConfig.java index 63ec413f00d..5658bae0b06 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ArbitraryFSAccessThroughSMsConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ArbitraryFSAccessThroughSMsConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ArbitraryFSAccessThroughSMsConfig implements KubernetesResource +public class ArbitraryFSAccessThroughSMsConfig implements Editable , KubernetesResource { @JsonProperty("deny") @@ -85,6 +86,16 @@ public void setDeny(Boolean deny) { this.deny = deny; } + @JsonIgnore + public ArbitraryFSAccessThroughSMsConfigBuilder edit() { + return new ArbitraryFSAccessThroughSMsConfigBuilder(this); + } + + @JsonIgnore + public ArbitraryFSAccessThroughSMsConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AttachMetadata.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AttachMetadata.java index 3df4f878ff8..1a21797d14d 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AttachMetadata.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AttachMetadata.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AttachMetadata implements KubernetesResource +public class AttachMetadata implements Editable , KubernetesResource { @JsonProperty("node") @@ -85,6 +86,16 @@ public void setNode(Boolean node) { this.node = node; } + @JsonIgnore + public AttachMetadataBuilder edit() { + return new AttachMetadataBuilder(this); + } + + @JsonIgnore + public AttachMetadataBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Authorization.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Authorization.java index 7236824c0db..05fca18de08 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Authorization.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Authorization.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Authorization implements KubernetesResource +public class Authorization implements Editable , KubernetesResource { @JsonProperty("credentials") @@ -114,6 +115,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public AuthorizationBuilder edit() { + return new AuthorizationBuilder(this); + } + + @JsonIgnore + public AuthorizationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/BasicAuth.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/BasicAuth.java index 4ae09214740..0c291a4f74f 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/BasicAuth.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/BasicAuth.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BasicAuth implements KubernetesResource +public class BasicAuth implements Editable , KubernetesResource { @JsonProperty("password") @@ -100,6 +101,16 @@ public void setUsername(SecretKeySelector username) { this.username = username; } + @JsonIgnore + public BasicAuthBuilder edit() { + return new BasicAuthBuilder(this); + } + + @JsonIgnore + public BasicAuthBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/EmbeddedObjectMetadata.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/EmbeddedObjectMetadata.java index 1d563b4a818..0ac36239856 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/EmbeddedObjectMetadata.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/EmbeddedObjectMetadata.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class EmbeddedObjectMetadata implements KubernetesResource +public class EmbeddedObjectMetadata implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -115,6 +116,16 @@ public void setName(java.lang.String name) { this.name = name; } + @JsonIgnore + public EmbeddedObjectMetadataBuilder edit() { + return new EmbeddedObjectMetadataBuilder(this); + } + + @JsonIgnore + public EmbeddedObjectMetadataBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/EmbeddedPersistentVolumeClaim.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/EmbeddedPersistentVolumeClaim.java index dbd95d78f56..8a688d1fce1 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/EmbeddedPersistentVolumeClaim.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/EmbeddedPersistentVolumeClaim.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -67,7 +68,7 @@ @Version("v1") @Group("monitoring.coreos.com") @Generated("jsonschema2pojo") -public class EmbeddedPersistentVolumeClaim implements KubernetesResource +public class EmbeddedPersistentVolumeClaim implements Editable , KubernetesResource { /** @@ -179,6 +180,16 @@ public void setStatus(PersistentVolumeClaimStatus status) { this.status = status; } + @JsonIgnore + public EmbeddedPersistentVolumeClaimBuilder edit() { + return new EmbeddedPersistentVolumeClaimBuilder(this); + } + + @JsonIgnore + public EmbeddedPersistentVolumeClaimBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Endpoint.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Endpoint.java index 5ebaf119e15..e9b44a57e0b 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Endpoint.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Endpoint.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -75,7 +76,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Endpoint implements KubernetesResource +public class Endpoint implements Editable , KubernetesResource { @JsonProperty("authorization") @@ -342,6 +343,16 @@ public void setTlsConfig(TLSConfig tlsConfig) { this.tlsConfig = tlsConfig; } + @JsonIgnore + public EndpointBuilder edit() { + return new EndpointBuilder(this); + } + + @JsonIgnore + public EndpointBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/HostAlias.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/HostAlias.java index 59a26f0f173..90346cf64e3 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/HostAlias.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/HostAlias.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HostAlias implements KubernetesResource +public class HostAlias implements Editable , KubernetesResource { @JsonProperty("hostnames") @@ -102,6 +103,16 @@ public void setIp(String ip) { this.ip = ip; } + @JsonIgnore + public HostAliasBuilder edit() { + return new HostAliasBuilder(this); + } + + @JsonIgnore + public HostAliasBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/MetadataConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/MetadataConfig.java index 9c78f37f36d..aa31e2847c1 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/MetadataConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/MetadataConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MetadataConfig implements KubernetesResource +public class MetadataConfig implements Editable , KubernetesResource { @JsonProperty("send") @@ -99,6 +100,16 @@ public void setSendInterval(String sendInterval) { this.sendInterval = sendInterval; } + @JsonIgnore + public MetadataConfigBuilder edit() { + return new MetadataConfigBuilder(this); + } + + @JsonIgnore + public MetadataConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/NamespaceSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/NamespaceSelector.java index 53f1efd23e6..2803a1b1167 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/NamespaceSelector.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/NamespaceSelector.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NamespaceSelector implements KubernetesResource +public class NamespaceSelector implements Editable , KubernetesResource { @JsonProperty("any") @@ -102,6 +103,16 @@ public void setMatchNames(List matchNames) { this.matchNames = matchNames; } + @JsonIgnore + public NamespaceSelectorBuilder edit() { + return new NamespaceSelectorBuilder(this); + } + + @JsonIgnore + public NamespaceSelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/OAuth2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/OAuth2.java index 4da219e2889..b5c76fcc1d0 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/OAuth2.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/OAuth2.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OAuth2 implements KubernetesResource +public class OAuth2 implements Editable , KubernetesResource { @JsonProperty("clientId") @@ -146,6 +147,16 @@ public void setTokenUrl(java.lang.String tokenUrl) { this.tokenUrl = tokenUrl; } + @JsonIgnore + public OAuth2Builder edit() { + return new OAuth2Builder(this); + } + + @JsonIgnore + public OAuth2Builder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ObjectReference.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ObjectReference.java index 415179764d5..a82ee8d4c34 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ObjectReference.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ObjectReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ObjectReference implements KubernetesResource +public class ObjectReference implements Editable , KubernetesResource { @JsonProperty("group") @@ -126,6 +127,16 @@ public void setResource(String resource) { this.resource = resource; } + @JsonIgnore + public ObjectReferenceBuilder edit() { + return new ObjectReferenceBuilder(this); + } + + @JsonIgnore + public ObjectReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMetricsEndpoint.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMetricsEndpoint.java index 4936c976a18..84bdf786470 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMetricsEndpoint.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMetricsEndpoint.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -74,7 +75,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PodMetricsEndpoint implements KubernetesResource +public class PodMetricsEndpoint implements Editable , KubernetesResource { @JsonProperty("authorization") @@ -328,6 +329,16 @@ public void setTlsConfig(PodMetricsEndpointTLSConfig tlsConfig) { this.tlsConfig = tlsConfig; } + @JsonIgnore + public PodMetricsEndpointBuilder edit() { + return new PodMetricsEndpointBuilder(this); + } + + @JsonIgnore + public PodMetricsEndpointBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMetricsEndpointTLSConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMetricsEndpointTLSConfig.java index bdc50bf2cba..536d3762d2c 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMetricsEndpointTLSConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMetricsEndpointTLSConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PodMetricsEndpointTLSConfig implements KubernetesResource +public class PodMetricsEndpointTLSConfig implements Editable , KubernetesResource { @JsonProperty("ca") @@ -142,6 +143,16 @@ public void setServerName(String serverName) { this.serverName = serverName; } + @JsonIgnore + public PodMetricsEndpointTLSConfigBuilder edit() { + return new PodMetricsEndpointTLSConfigBuilder(this); + } + + @JsonIgnore + public PodMetricsEndpointTLSConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitor.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitor.java index 216afda4c89..3f8289345e1 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitor.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitor.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("monitoring.coreos.com") @Generated("jsonschema2pojo") -public class PodMonitor implements HasMetadata, Namespaced +public class PodMonitor implements Editable , HasMetadata, Namespaced { /** @@ -163,6 +164,16 @@ public void setSpec(PodMonitorSpec spec) { this.spec = spec; } + @JsonIgnore + public PodMonitorBuilder edit() { + return new PodMonitorBuilder(this); + } + + @JsonIgnore + public PodMonitorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorList.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorList.java index de6d792e9da..3ef036937b9 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorList.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("monitoring.coreos.com") @Generated("jsonschema2pojo") -public class PodMonitorList implements KubernetesResource, KubernetesResourceList +public class PodMonitorList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PodMonitorListBuilder edit() { + return new PodMonitorListBuilder(this); + } + + @JsonIgnore + public PodMonitorListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpec.java index 5c30de62015..7b15026e3d9 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -66,7 +67,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PodMonitorSpec implements KubernetesResource +public class PodMonitorSpec implements Editable , KubernetesResource { @JsonProperty("attachMetadata") @@ -228,6 +229,16 @@ public void setTargetLimit(Long targetLimit) { this.targetLimit = targetLimit; } + @JsonIgnore + public PodMonitorSpecBuilder edit() { + return new PodMonitorSpecBuilder(this); + } + + @JsonIgnore + public PodMonitorSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Probe.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Probe.java index 8ae8ec0d8b8..f2c00eec074 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Probe.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Probe.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("monitoring.coreos.com") @Generated("jsonschema2pojo") -public class Probe implements HasMetadata, Namespaced +public class Probe implements Editable , HasMetadata, Namespaced { /** @@ -163,6 +164,16 @@ public void setSpec(ProbeSpec spec) { this.spec = spec; } + @JsonIgnore + public ProbeBuilder edit() { + return new ProbeBuilder(this); + } + + @JsonIgnore + public ProbeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeList.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeList.java index e819f3f4045..ec308e323c8 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeList.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("monitoring.coreos.com") @Generated("jsonschema2pojo") -public class ProbeList implements KubernetesResource, KubernetesResourceList +public class ProbeList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ProbeListBuilder edit() { + return new ProbeListBuilder(this); + } + + @JsonIgnore + public ProbeListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpec.java index d315efa1c28..67c39c2363a 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -74,7 +75,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ProbeSpec implements KubernetesResource +public class ProbeSpec implements Editable , KubernetesResource { @JsonProperty("authorization") @@ -313,6 +314,16 @@ public void setTlsConfig(ProbeTLSConfig tlsConfig) { this.tlsConfig = tlsConfig; } + @JsonIgnore + public ProbeSpecBuilder edit() { + return new ProbeSpecBuilder(this); + } + + @JsonIgnore + public ProbeSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeTLSConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeTLSConfig.java index 7cc7e6fa92e..fbbb2e13bd9 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeTLSConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeTLSConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ProbeTLSConfig implements KubernetesResource +public class ProbeTLSConfig implements Editable , KubernetesResource { @JsonProperty("ca") @@ -142,6 +143,16 @@ public void setServerName(String serverName) { this.serverName = serverName; } + @JsonIgnore + public ProbeTLSConfigBuilder edit() { + return new ProbeTLSConfigBuilder(this); + } + + @JsonIgnore + public ProbeTLSConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeTargetIngress.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeTargetIngress.java index 1429dc52a6a..51a6fe93853 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeTargetIngress.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeTargetIngress.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ProbeTargetIngress implements KubernetesResource +public class ProbeTargetIngress implements Editable , KubernetesResource { @JsonProperty("namespaceSelector") @@ -115,6 +116,16 @@ public void setSelector(io.fabric8.kubernetes.api.model.LabelSelector selector) this.selector = selector; } + @JsonIgnore + public ProbeTargetIngressBuilder edit() { + return new ProbeTargetIngressBuilder(this); + } + + @JsonIgnore + public ProbeTargetIngressBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeTargetStaticConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeTargetStaticConfig.java index fde05edebfb..cf1d0953902 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeTargetStaticConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeTargetStaticConfig.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ProbeTargetStaticConfig implements KubernetesResource +public class ProbeTargetStaticConfig implements Editable , KubernetesResource { @JsonProperty("labels") @@ -118,6 +119,16 @@ public void setStatic(List _static) { this._static = _static; } + @JsonIgnore + public ProbeTargetStaticConfigBuilder edit() { + return new ProbeTargetStaticConfigBuilder(this); + } + + @JsonIgnore + public ProbeTargetStaticConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeTargets.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeTargets.java index 69db519b541..2c276e2da1b 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeTargets.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeTargets.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ProbeTargets implements KubernetesResource +public class ProbeTargets implements Editable , KubernetesResource { @JsonProperty("ingress") @@ -99,6 +100,16 @@ public void setStaticConfig(ProbeTargetStaticConfig staticConfig) { this.staticConfig = staticConfig; } + @JsonIgnore + public ProbeTargetsBuilder edit() { + return new ProbeTargetsBuilder(this); + } + + @JsonIgnore + public ProbeTargetsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProberSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProberSpec.java index 018ad58f003..f4cde2892b0 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProberSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProberSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ProberSpec implements KubernetesResource +public class ProberSpec implements Editable , KubernetesResource { @JsonProperty("path") @@ -127,6 +128,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public ProberSpecBuilder edit() { + return new ProberSpecBuilder(this); + } + + @JsonIgnore + public ProberSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Prometheus.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Prometheus.java index 0c5c56c7e01..74a41f45182 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Prometheus.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Prometheus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("monitoring.coreos.com") @Generated("jsonschema2pojo") -public class Prometheus implements HasMetadata, Namespaced +public class Prometheus implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(PrometheusStatus status) { this.status = status; } + @JsonIgnore + public PrometheusBuilder edit() { + return new PrometheusBuilder(this); + } + + @JsonIgnore + public PrometheusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusCondition.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusCondition.java index 74873c50787..b231098bc83 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusCondition.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PrometheusCondition implements KubernetesResource +public class PrometheusCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public PrometheusConditionBuilder edit() { + return new PrometheusConditionBuilder(this); + } + + @JsonIgnore + public PrometheusConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusList.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusList.java index 0c6e2cfbcfd..e504fa156f3 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusList.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("monitoring.coreos.com") @Generated("jsonschema2pojo") -public class PrometheusList implements KubernetesResource, KubernetesResourceList +public class PrometheusList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PrometheusListBuilder edit() { + return new PrometheusListBuilder(this); + } + + @JsonIgnore + public PrometheusListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRule.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRule.java index 280110ca49e..cb9520eca7b 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRule.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRule.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("monitoring.coreos.com") @Generated("jsonschema2pojo") -public class PrometheusRule implements HasMetadata, Namespaced +public class PrometheusRule implements Editable , HasMetadata, Namespaced { /** @@ -163,6 +164,16 @@ public void setSpec(PrometheusRuleSpec spec) { this.spec = spec; } + @JsonIgnore + public PrometheusRuleBuilder edit() { + return new PrometheusRuleBuilder(this); + } + + @JsonIgnore + public PrometheusRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRuleExcludeConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRuleExcludeConfig.java index 1a760b2e075..0f9c1690003 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRuleExcludeConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRuleExcludeConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PrometheusRuleExcludeConfig implements KubernetesResource +public class PrometheusRuleExcludeConfig implements Editable , KubernetesResource { @JsonProperty("ruleName") @@ -99,6 +100,16 @@ public void setRuleNamespace(String ruleNamespace) { this.ruleNamespace = ruleNamespace; } + @JsonIgnore + public PrometheusRuleExcludeConfigBuilder edit() { + return new PrometheusRuleExcludeConfigBuilder(this); + } + + @JsonIgnore + public PrometheusRuleExcludeConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRuleList.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRuleList.java index 1e6b75494c6..c185f962b62 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRuleList.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRuleList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("monitoring.coreos.com") @Generated("jsonschema2pojo") -public class PrometheusRuleList implements KubernetesResource, KubernetesResourceList +public class PrometheusRuleList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PrometheusRuleListBuilder edit() { + return new PrometheusRuleListBuilder(this); + } + + @JsonIgnore + public PrometheusRuleListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRuleSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRuleSpec.java index 0d48a6dbacb..78693d51510 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRuleSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRuleSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PrometheusRuleSpec implements KubernetesResource +public class PrometheusRuleSpec implements Editable , KubernetesResource { @JsonProperty("groups") @@ -88,6 +89,16 @@ public void setGroups(List groups) { this.groups = groups; } + @JsonIgnore + public PrometheusRuleSpecBuilder edit() { + return new PrometheusRuleSpecBuilder(this); + } + + @JsonIgnore + public PrometheusRuleSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpec.java index 944a087cc77..56e9aaa0013 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -138,7 +139,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PrometheusSpec implements KubernetesResource +public class PrometheusSpec implements Editable , KubernetesResource { @JsonProperty("additionalAlertManagerConfigs") @@ -1212,6 +1213,16 @@ public void setWeb(WebSpec web) { this.web = web; } + @JsonIgnore + public PrometheusSpecBuilder edit() { + return new PrometheusSpecBuilder(this); + } + + @JsonIgnore + public PrometheusSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusStatus.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusStatus.java index f42111564cd..fd438296ebb 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusStatus.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -63,7 +64,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PrometheusStatus implements KubernetesResource +public class PrometheusStatus implements Editable , KubernetesResource { @JsonProperty("availableReplicas") @@ -173,6 +174,16 @@ public void setUpdatedReplicas(Integer updatedReplicas) { this.updatedReplicas = updatedReplicas; } + @JsonIgnore + public PrometheusStatusBuilder edit() { + return new PrometheusStatusBuilder(this); + } + + @JsonIgnore + public PrometheusStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/QuerySpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/QuerySpec.java index ad3641bfd4d..b5b90cba443 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/QuerySpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/QuerySpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class QuerySpec implements KubernetesResource +public class QuerySpec implements Editable , KubernetesResource { @JsonProperty("lookbackDelta") @@ -127,6 +128,16 @@ public void setTimeout(String timeout) { this.timeout = timeout; } + @JsonIgnore + public QuerySpecBuilder edit() { + return new QuerySpecBuilder(this); + } + + @JsonIgnore + public QuerySpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/QueueConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/QueueConfig.java index 47b3fd9a4da..aebff4c311d 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/QueueConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/QueueConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -63,7 +64,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class QueueConfig implements KubernetesResource +public class QueueConfig implements Editable , KubernetesResource { @JsonProperty("batchSendDeadline") @@ -197,6 +198,16 @@ public void setRetryOnRateLimit(Boolean retryOnRateLimit) { this.retryOnRateLimit = retryOnRateLimit; } + @JsonIgnore + public QueueConfigBuilder edit() { + return new QueueConfigBuilder(this); + } + + @JsonIgnore + public QueueConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RelabelConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RelabelConfig.java index b0f73149367..d4373a364f2 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RelabelConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RelabelConfig.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -63,7 +64,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RelabelConfig implements KubernetesResource +public class RelabelConfig implements Editable , KubernetesResource { @JsonProperty("action") @@ -172,6 +173,16 @@ public void setTargetLabel(String targetLabel) { this.targetLabel = targetLabel; } + @JsonIgnore + public RelabelConfigBuilder edit() { + return new RelabelConfigBuilder(this); + } + + @JsonIgnore + public RelabelConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RemoteReadSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RemoteReadSpec.java index 89d1c07c4df..5d8607671c2 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RemoteReadSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RemoteReadSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -67,7 +68,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RemoteReadSpec implements KubernetesResource +public class RemoteReadSpec implements Editable , KubernetesResource { @JsonProperty("authorization") @@ -255,6 +256,16 @@ public void setUrl(java.lang.String url) { this.url = url; } + @JsonIgnore + public RemoteReadSpecBuilder edit() { + return new RemoteReadSpecBuilder(this); + } + + @JsonIgnore + public RemoteReadSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RemoteWriteSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RemoteWriteSpec.java index 2ed008c9d6f..b34133acea7 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RemoteWriteSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RemoteWriteSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -72,7 +73,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RemoteWriteSpec implements KubernetesResource +public class RemoteWriteSpec implements Editable , KubernetesResource { @JsonProperty("authorization") @@ -299,6 +300,16 @@ public void setWriteRelabelConfigs(List writeRelabelConfigs) { this.writeRelabelConfigs = writeRelabelConfigs; } + @JsonIgnore + public RemoteWriteSpecBuilder edit() { + return new RemoteWriteSpecBuilder(this); + } + + @JsonIgnore + public RemoteWriteSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Rule.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Rule.java index 54894123916..3b5701c123c 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Rule.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Rule.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Rule implements KubernetesResource +public class Rule implements Editable , KubernetesResource { @JsonProperty("alert") @@ -156,6 +157,16 @@ public void setRecord(java.lang.String record) { this.record = record; } + @JsonIgnore + public RuleBuilder edit() { + return new RuleBuilder(this); + } + + @JsonIgnore + public RuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RuleGroup.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RuleGroup.java index e53d82e7cee..2a0bdfde855 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RuleGroup.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RuleGroup.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RuleGroup implements KubernetesResource +public class RuleGroup implements Editable , KubernetesResource { @JsonProperty("interval") @@ -130,6 +131,16 @@ public void setRules(List rules) { this.rules = rules; } + @JsonIgnore + public RuleGroupBuilder edit() { + return new RuleGroupBuilder(this); + } + + @JsonIgnore + public RuleGroupBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Rules.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Rules.java index 6b33723132c..30ca50627ee 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Rules.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Rules.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Rules implements KubernetesResource +public class Rules implements Editable , KubernetesResource { @JsonProperty("alert") @@ -85,6 +86,16 @@ public void setAlert(RulesAlert alert) { this.alert = alert; } + @JsonIgnore + public RulesBuilder edit() { + return new RulesBuilder(this); + } + + @JsonIgnore + public RulesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RulesAlert.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RulesAlert.java index ee55bcae1c3..1e5b9ebd2e8 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RulesAlert.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RulesAlert.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RulesAlert implements KubernetesResource +public class RulesAlert implements Editable , KubernetesResource { @JsonProperty("forGracePeriod") @@ -113,6 +114,16 @@ public void setResendDelay(String resendDelay) { this.resendDelay = resendDelay; } + @JsonIgnore + public RulesAlertBuilder edit() { + return new RulesAlertBuilder(this); + } + + @JsonIgnore + public RulesAlertBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/SafeAuthorization.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/SafeAuthorization.java index d8022fc3787..f2459de7b41 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/SafeAuthorization.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/SafeAuthorization.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SafeAuthorization implements KubernetesResource +public class SafeAuthorization implements Editable , KubernetesResource { @JsonProperty("credentials") @@ -100,6 +101,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public SafeAuthorizationBuilder edit() { + return new SafeAuthorizationBuilder(this); + } + + @JsonIgnore + public SafeAuthorizationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/SafeTLSConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/SafeTLSConfig.java index 4e765a015b0..6b4fe9c6769 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/SafeTLSConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/SafeTLSConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SafeTLSConfig implements KubernetesResource +public class SafeTLSConfig implements Editable , KubernetesResource { @JsonProperty("ca") @@ -142,6 +143,16 @@ public void setServerName(String serverName) { this.serverName = serverName; } + @JsonIgnore + public SafeTLSConfigBuilder edit() { + return new SafeTLSConfigBuilder(this); + } + + @JsonIgnore + public SafeTLSConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/SecretOrConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/SecretOrConfigMap.java index 039c239152c..ad902a308c8 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/SecretOrConfigMap.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/SecretOrConfigMap.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.ConfigMapKeySelector; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SecretOrConfigMap implements KubernetesResource +public class SecretOrConfigMap implements Editable , KubernetesResource { @JsonProperty("configMap") @@ -101,6 +102,16 @@ public void setSecret(SecretKeySelector secret) { this.secret = secret; } + @JsonIgnore + public SecretOrConfigMapBuilder edit() { + return new SecretOrConfigMapBuilder(this); + } + + @JsonIgnore + public SecretOrConfigMapBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitor.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitor.java index 0510b7fb4c4..15f58352a61 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitor.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitor.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("monitoring.coreos.com") @Generated("jsonschema2pojo") -public class ServiceMonitor implements HasMetadata, Namespaced +public class ServiceMonitor implements Editable , HasMetadata, Namespaced { /** @@ -163,6 +164,16 @@ public void setSpec(ServiceMonitorSpec spec) { this.spec = spec; } + @JsonIgnore + public ServiceMonitorBuilder edit() { + return new ServiceMonitorBuilder(this); + } + + @JsonIgnore + public ServiceMonitorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorList.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorList.java index 16aaa82dde4..1521942754b 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorList.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("monitoring.coreos.com") @Generated("jsonschema2pojo") -public class ServiceMonitorList implements KubernetesResource, KubernetesResourceList +public class ServiceMonitorList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ServiceMonitorListBuilder edit() { + return new ServiceMonitorListBuilder(this); + } + + @JsonIgnore + public ServiceMonitorListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpec.java index cfbcfbdee51..780ccd68e5d 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -66,7 +67,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ServiceMonitorSpec implements KubernetesResource +public class ServiceMonitorSpec implements Editable , KubernetesResource { @JsonProperty("endpoints") @@ -229,6 +230,16 @@ public void setTargetLimit(Long targetLimit) { this.targetLimit = targetLimit; } + @JsonIgnore + public ServiceMonitorSpecBuilder edit() { + return new ServiceMonitorSpecBuilder(this); + } + + @JsonIgnore + public ServiceMonitorSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ShardStatus.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ShardStatus.java index e3f301effc0..bb515ca8cc1 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ShardStatus.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ShardStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ShardStatus implements KubernetesResource +public class ShardStatus implements Editable , KubernetesResource { @JsonProperty("availableReplicas") @@ -141,6 +142,16 @@ public void setUpdatedReplicas(Integer updatedReplicas) { this.updatedReplicas = updatedReplicas; } + @JsonIgnore + public ShardStatusBuilder edit() { + return new ShardStatusBuilder(this); + } + + @JsonIgnore + public ShardStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Sigv4.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Sigv4.java index f29f1b875ef..40fd24bfd15 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Sigv4.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Sigv4.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Sigv4 implements KubernetesResource +public class Sigv4 implements Editable , KubernetesResource { @JsonProperty("accessKey") @@ -142,6 +143,16 @@ public void setSecretKey(SecretKeySelector secretKey) { this.secretKey = secretKey; } + @JsonIgnore + public Sigv4Builder edit() { + return new Sigv4Builder(this); + } + + @JsonIgnore + public Sigv4Builder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/StorageSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/StorageSpec.java index 1e2df94a5bb..0e89ff60555 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/StorageSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/StorageSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.EmptyDirVolumeSource; import io.fabric8.kubernetes.api.model.EphemeralVolumeSource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class StorageSpec implements KubernetesResource +public class StorageSpec implements Editable , KubernetesResource { @JsonProperty("disableMountSubPath") @@ -129,6 +130,16 @@ public void setVolumeClaimTemplate(EmbeddedPersistentVolumeClaim volumeClaimTemp this.volumeClaimTemplate = volumeClaimTemplate; } + @JsonIgnore + public StorageSpecBuilder edit() { + return new StorageSpecBuilder(this); + } + + @JsonIgnore + public StorageSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/TLSConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/TLSConfig.java index a730c5f65ff..dfb2db24623 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/TLSConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/TLSConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -63,7 +64,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TLSConfig implements KubernetesResource +public class TLSConfig implements Editable , KubernetesResource { @JsonProperty("ca") @@ -184,6 +185,16 @@ public void setServerName(String serverName) { this.serverName = serverName; } + @JsonIgnore + public TLSConfigBuilder edit() { + return new TLSConfigBuilder(this); + } + + @JsonIgnore + public TLSConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRuler.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRuler.java index ed6a8e43b19..f526f2a99de 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRuler.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRuler.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("monitoring.coreos.com") @Generated("jsonschema2pojo") -public class ThanosRuler implements HasMetadata, Namespaced +public class ThanosRuler implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(ThanosRulerStatus status) { this.status = status; } + @JsonIgnore + public ThanosRulerBuilder edit() { + return new ThanosRulerBuilder(this); + } + + @JsonIgnore + public ThanosRulerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerList.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerList.java index f6feb89f457..88f69d2f8ee 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerList.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("monitoring.coreos.com") @Generated("jsonschema2pojo") -public class ThanosRulerList implements KubernetesResource, KubernetesResourceList +public class ThanosRulerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ThanosRulerListBuilder edit() { + return new ThanosRulerListBuilder(this); + } + + @JsonIgnore + public ThanosRulerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpec.java index 5f36dcf294b..ae416ca4427 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -102,7 +103,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ThanosRulerSpec implements KubernetesResource +public class ThanosRulerSpec implements Editable , KubernetesResource { @JsonProperty("affinity") @@ -718,6 +719,16 @@ public void setVolumes(List volumes) { this.volumes = volumes; } + @JsonIgnore + public ThanosRulerSpecBuilder edit() { + return new ThanosRulerSpecBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerStatus.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerStatus.java index 893d61ccb89..8a9606fe2a5 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerStatus.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ThanosRulerStatus implements KubernetesResource +public class ThanosRulerStatus implements Editable , KubernetesResource { @JsonProperty("availableReplicas") @@ -141,6 +142,16 @@ public void setUpdatedReplicas(Integer updatedReplicas) { this.updatedReplicas = updatedReplicas; } + @JsonIgnore + public ThanosRulerStatusBuilder edit() { + return new ThanosRulerStatusBuilder(this); + } + + @JsonIgnore + public ThanosRulerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosSpec.java index 38cdc552e98..32ee71bb7de 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -74,7 +75,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ThanosSpec implements KubernetesResource +public class ThanosSpec implements Editable , KubernetesResource { @JsonProperty("baseImage") @@ -313,6 +314,16 @@ public void setVolumeMounts(List volumeMounts) { this.volumeMounts = volumeMounts; } + @JsonIgnore + public ThanosSpecBuilder edit() { + return new ThanosSpecBuilder(this); + } + + @JsonIgnore + public ThanosSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/WebSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/WebSpec.java index f1d3766ff67..27bddc66790 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/WebSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/WebSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class WebSpec implements KubernetesResource +public class WebSpec implements Editable , KubernetesResource { @JsonProperty("pageTitle") @@ -99,6 +100,16 @@ public void setTlsConfig(WebTLSConfig tlsConfig) { this.tlsConfig = tlsConfig; } + @JsonIgnore + public WebSpecBuilder edit() { + return new WebSpecBuilder(this); + } + + @JsonIgnore + public WebSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/WebTLSConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/WebTLSConfig.java index 68c34a527ed..1af96482715 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/WebTLSConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/WebTLSConfig.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -66,7 +67,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class WebTLSConfig implements KubernetesResource +public class WebTLSConfig implements Editable , KubernetesResource { @JsonProperty("cert") @@ -202,6 +203,16 @@ public void setPreferServerCipherSuites(Boolean preferServerCipherSuites) { this.preferServerCipherSuites = preferServerCipherSuites; } + @JsonIgnore + public WebTLSConfigBuilder edit() { + return new WebTLSConfigBuilder(this); + } + + @JsonIgnore + public WebTLSConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/AlertmanagerConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/AlertmanagerConfig.java index 4030ec89a8a..abaa1a918a3 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/AlertmanagerConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/AlertmanagerConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1alpha1") @Group("monitoring.coreos.com") @Generated("jsonschema2pojo") -public class AlertmanagerConfig implements HasMetadata, Namespaced +public class AlertmanagerConfig implements Editable , HasMetadata, Namespaced { /** @@ -163,6 +164,16 @@ public void setSpec(AlertmanagerConfigSpec spec) { this.spec = spec; } + @JsonIgnore + public AlertmanagerConfigBuilder edit() { + return new AlertmanagerConfigBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/AlertmanagerConfigList.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/AlertmanagerConfigList.java index 8a3aaf3bd8d..642094c903f 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/AlertmanagerConfigList.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/AlertmanagerConfigList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha1") @Group("monitoring.coreos.com") @Generated("jsonschema2pojo") -public class AlertmanagerConfigList implements KubernetesResource, KubernetesResourceList +public class AlertmanagerConfigList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public AlertmanagerConfigListBuilder edit() { + return new AlertmanagerConfigListBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/AlertmanagerConfigSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/AlertmanagerConfigSpec.java index 6fcf6ffbc3b..9f8df8bfb51 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/AlertmanagerConfigSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/AlertmanagerConfigSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AlertmanagerConfigSpec implements KubernetesResource +public class AlertmanagerConfigSpec implements Editable , KubernetesResource { @JsonProperty("inhibitRules") @@ -132,6 +133,16 @@ public void setRoute(Route route) { this.route = route; } + @JsonIgnore + public AlertmanagerConfigSpecBuilder edit() { + return new AlertmanagerConfigSpecBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/DayOfMonthRange.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/DayOfMonthRange.java index 505ed17c57b..43135f7072b 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/DayOfMonthRange.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/DayOfMonthRange.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DayOfMonthRange implements KubernetesResource +public class DayOfMonthRange implements Editable , KubernetesResource { @JsonProperty("end") @@ -99,6 +100,16 @@ public void setStart(Integer start) { this.start = start; } + @JsonIgnore + public DayOfMonthRangeBuilder edit() { + return new DayOfMonthRangeBuilder(this); + } + + @JsonIgnore + public DayOfMonthRangeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/EmailConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/EmailConfig.java index 2152a399a80..caebb343f01 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/EmailConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/EmailConfig.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -72,7 +73,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class EmailConfig implements KubernetesResource +public class EmailConfig implements Editable , KubernetesResource { @JsonProperty("authIdentity") @@ -272,6 +273,16 @@ public void setTo(String to) { this.to = to; } + @JsonIgnore + public EmailConfigBuilder edit() { + return new EmailConfigBuilder(this); + } + + @JsonIgnore + public EmailConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/HTTPConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/HTTPConfig.java index b77a4527811..c88637b185b 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/HTTPConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/HTTPConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -66,7 +67,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HTTPConfig implements KubernetesResource +public class HTTPConfig implements Editable , KubernetesResource { @JsonProperty("authorization") @@ -174,6 +175,16 @@ public void setTlsConfig(SafeTLSConfig tlsConfig) { this.tlsConfig = tlsConfig; } + @JsonIgnore + public HTTPConfigBuilder edit() { + return new HTTPConfigBuilder(this); + } + + @JsonIgnore + public HTTPConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/InhibitRule.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/InhibitRule.java index ff2c90d6984..3963a66baeb 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/InhibitRule.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/InhibitRule.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class InhibitRule implements KubernetesResource +public class InhibitRule implements Editable , KubernetesResource { @JsonProperty("equal") @@ -118,6 +119,16 @@ public void setTargetMatch(List targetMatch) { this.targetMatch = targetMatch; } + @JsonIgnore + public InhibitRuleBuilder edit() { + return new InhibitRuleBuilder(this); + } + + @JsonIgnore + public InhibitRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/KeyValue.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/KeyValue.java index 1f9f3c60f73..dfadf382d25 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/KeyValue.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/KeyValue.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KeyValue implements KubernetesResource +public class KeyValue implements Editable , KubernetesResource { @JsonProperty("key") @@ -99,6 +100,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public KeyValueBuilder edit() { + return new KeyValueBuilder(this); + } + + @JsonIgnore + public KeyValueBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/Matcher.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/Matcher.java index 27e3753ac80..dd3607b53bd 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/Matcher.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/Matcher.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Matcher implements KubernetesResource +public class Matcher implements Editable , KubernetesResource { @JsonProperty("matchType") @@ -127,6 +128,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public MatcherBuilder edit() { + return new MatcherBuilder(this); + } + + @JsonIgnore + public MatcherBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/MuteTimeInterval.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/MuteTimeInterval.java index c808eaa8d40..36b8ae12b1d 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/MuteTimeInterval.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/MuteTimeInterval.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MuteTimeInterval implements KubernetesResource +public class MuteTimeInterval implements Editable , KubernetesResource { @JsonProperty("name") @@ -102,6 +103,16 @@ public void setTimeIntervals(List timeIntervals) { this.timeIntervals = timeIntervals; } + @JsonIgnore + public MuteTimeIntervalBuilder edit() { + return new MuteTimeIntervalBuilder(this); + } + + @JsonIgnore + public MuteTimeIntervalBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/OpsGenieConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/OpsGenieConfig.java index 3aa48021cc0..8c0901864b6 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/OpsGenieConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/OpsGenieConfig.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -72,7 +73,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OpsGenieConfig implements KubernetesResource +public class OpsGenieConfig implements Editable , KubernetesResource { @JsonProperty("actions") @@ -286,6 +287,16 @@ public void setUpdateAlerts(Boolean updateAlerts) { this.updateAlerts = updateAlerts; } + @JsonIgnore + public OpsGenieConfigBuilder edit() { + return new OpsGenieConfigBuilder(this); + } + + @JsonIgnore + public OpsGenieConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/OpsGenieConfigResponder.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/OpsGenieConfigResponder.java index b9e7d6300ef..4534dbe0a0c 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/OpsGenieConfigResponder.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/OpsGenieConfigResponder.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OpsGenieConfigResponder implements KubernetesResource +public class OpsGenieConfigResponder implements Editable , KubernetesResource { @JsonProperty("id") @@ -127,6 +128,16 @@ public void setUsername(String username) { this.username = username; } + @JsonIgnore + public OpsGenieConfigResponderBuilder edit() { + return new OpsGenieConfigResponderBuilder(this); + } + + @JsonIgnore + public OpsGenieConfigResponderBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/PagerDutyConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/PagerDutyConfig.java index b1fd45d8429..e71ab880e70 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/PagerDutyConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/PagerDutyConfig.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -72,7 +73,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PagerDutyConfig implements KubernetesResource +public class PagerDutyConfig implements Editable , KubernetesResource { @JsonProperty("class") @@ -287,6 +288,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public PagerDutyConfigBuilder edit() { + return new PagerDutyConfigBuilder(this); + } + + @JsonIgnore + public PagerDutyConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/PagerDutyImageConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/PagerDutyImageConfig.java index 754d6c3b83f..3650940f2a3 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/PagerDutyImageConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/PagerDutyImageConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PagerDutyImageConfig implements KubernetesResource +public class PagerDutyImageConfig implements Editable , KubernetesResource { @JsonProperty("alt") @@ -113,6 +114,16 @@ public void setSrc(String src) { this.src = src; } + @JsonIgnore + public PagerDutyImageConfigBuilder edit() { + return new PagerDutyImageConfigBuilder(this); + } + + @JsonIgnore + public PagerDutyImageConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/PagerDutyLinkConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/PagerDutyLinkConfig.java index d11e7b925af..af7982493c7 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/PagerDutyLinkConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/PagerDutyLinkConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PagerDutyLinkConfig implements KubernetesResource +public class PagerDutyLinkConfig implements Editable , KubernetesResource { @JsonProperty("alt") @@ -99,6 +100,16 @@ public void setHref(String href) { this.href = href; } + @JsonIgnore + public PagerDutyLinkConfigBuilder edit() { + return new PagerDutyLinkConfigBuilder(this); + } + + @JsonIgnore + public PagerDutyLinkConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/PushoverConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/PushoverConfig.java index 2bc524c7335..61c2d816b8e 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/PushoverConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/PushoverConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PushoverConfig implements KubernetesResource +public class PushoverConfig implements Editable , KubernetesResource { @JsonProperty("expire") @@ -254,6 +255,16 @@ public void setUserKey(SecretKeySelector userKey) { this.userKey = userKey; } + @JsonIgnore + public PushoverConfigBuilder edit() { + return new PushoverConfigBuilder(this); + } + + @JsonIgnore + public PushoverConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/Receiver.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/Receiver.java index 1823b9e5ff5..3ae96513a35 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/Receiver.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/Receiver.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -67,7 +68,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Receiver implements KubernetesResource +public class Receiver implements Editable , KubernetesResource { @JsonProperty("emailConfigs") @@ -237,6 +238,16 @@ public void setWechatConfigs(List wechatConfigs) { this.wechatConfigs = wechatConfigs; } + @JsonIgnore + public ReceiverBuilder edit() { + return new ReceiverBuilder(this); + } + + @JsonIgnore + public ReceiverBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/Route.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/Route.java index 96beae9dc30..10233e9b596 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/Route.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/Route.java @@ -14,6 +14,7 @@ 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; @@ -66,7 +67,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Route implements KubernetesResource +public class Route implements Editable , KubernetesResource { @JsonProperty("continue") @@ -204,6 +205,16 @@ public void setRoutes(List routes) { this.routes = routes; } + @JsonIgnore + public RouteBuilder edit() { + return new RouteBuilder(this); + } + + @JsonIgnore + public RouteBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SNSConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SNSConfig.java index 182071f612f..b05aa3581f6 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SNSConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SNSConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -65,7 +66,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SNSConfig implements KubernetesResource +public class SNSConfig implements Editable , KubernetesResource { @JsonProperty("apiURL") @@ -213,6 +214,16 @@ public void setTopicARN(java.lang.String topicARN) { this.topicARN = topicARN; } + @JsonIgnore + public SNSConfigBuilder edit() { + return new SNSConfigBuilder(this); + } + + @JsonIgnore + public SNSConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SlackAction.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SlackAction.java index 085a5ca6d71..49724bec9b4 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SlackAction.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SlackAction.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SlackAction implements KubernetesResource +public class SlackAction implements Editable , KubernetesResource { @JsonProperty("confirm") @@ -169,6 +170,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public SlackActionBuilder edit() { + return new SlackActionBuilder(this); + } + + @JsonIgnore + public SlackActionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SlackConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SlackConfig.java index ffe1245d8fd..a6c787c58e3 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SlackConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SlackConfig.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -79,7 +80,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SlackConfig implements KubernetesResource +public class SlackConfig implements Editable , KubernetesResource { @JsonProperty("actions") @@ -385,6 +386,16 @@ public void setUsername(String username) { this.username = username; } + @JsonIgnore + public SlackConfigBuilder edit() { + return new SlackConfigBuilder(this); + } + + @JsonIgnore + public SlackConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SlackConfirmationField.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SlackConfirmationField.java index b5dbcf9853d..ae8d9c17544 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SlackConfirmationField.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SlackConfirmationField.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SlackConfirmationField implements KubernetesResource +public class SlackConfirmationField implements Editable , KubernetesResource { @JsonProperty("dismissText") @@ -127,6 +128,16 @@ public void setTitle(String title) { this.title = title; } + @JsonIgnore + public SlackConfirmationFieldBuilder edit() { + return new SlackConfirmationFieldBuilder(this); + } + + @JsonIgnore + public SlackConfirmationFieldBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SlackField.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SlackField.java index 36bd25befcd..5a2d7da0ea2 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SlackField.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SlackField.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SlackField implements KubernetesResource +public class SlackField implements Editable , KubernetesResource { @JsonProperty("short") @@ -113,6 +114,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public SlackFieldBuilder edit() { + return new SlackFieldBuilder(this); + } + + @JsonIgnore + public SlackFieldBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/TelegramConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/TelegramConfig.java index a3214322627..a67411895b0 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/TelegramConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/TelegramConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -63,7 +64,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TelegramConfig implements KubernetesResource +public class TelegramConfig implements Editable , KubernetesResource { @JsonProperty("apiURL") @@ -184,6 +185,16 @@ public void setSendResolved(Boolean sendResolved) { this.sendResolved = sendResolved; } + @JsonIgnore + public TelegramConfigBuilder edit() { + return new TelegramConfigBuilder(this); + } + + @JsonIgnore + public TelegramConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/TimeInterval.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/TimeInterval.java index 5dc8d2de5c2..12253ab2dd9 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/TimeInterval.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/TimeInterval.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TimeInterval implements KubernetesResource +public class TimeInterval implements Editable , KubernetesResource { @JsonProperty("daysOfMonth") @@ -148,6 +149,16 @@ public void setYears(List years) { this.years = years; } + @JsonIgnore + public TimeIntervalBuilder edit() { + return new TimeIntervalBuilder(this); + } + + @JsonIgnore + public TimeIntervalBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/TimeRange.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/TimeRange.java index 083ecdd1f7c..659a40c0bdb 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/TimeRange.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/TimeRange.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TimeRange implements KubernetesResource +public class TimeRange implements Editable , KubernetesResource { @JsonProperty("endTime") @@ -99,6 +100,16 @@ public void setStartTime(String startTime) { this.startTime = startTime; } + @JsonIgnore + public TimeRangeBuilder edit() { + return new TimeRangeBuilder(this); + } + + @JsonIgnore + public TimeRangeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/VictorOpsConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/VictorOpsConfig.java index 8ce10d93098..7ac7781ddaf 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/VictorOpsConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/VictorOpsConfig.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -67,7 +68,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class VictorOpsConfig implements KubernetesResource +public class VictorOpsConfig implements Editable , KubernetesResource { @JsonProperty("apiKey") @@ -215,6 +216,16 @@ public void setStateMessage(String stateMessage) { this.stateMessage = stateMessage; } + @JsonIgnore + public VictorOpsConfigBuilder edit() { + return new VictorOpsConfigBuilder(this); + } + + @JsonIgnore + public VictorOpsConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/WeChatConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/WeChatConfig.java index 3db72179598..9caa0eca475 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/WeChatConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/WeChatConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -66,7 +67,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class WeChatConfig implements KubernetesResource +public class WeChatConfig implements Editable , KubernetesResource { @JsonProperty("agentID") @@ -226,6 +227,16 @@ public void setToUser(String toUser) { this.toUser = toUser; } + @JsonIgnore + public WeChatConfigBuilder edit() { + return new WeChatConfigBuilder(this); + } + + @JsonIgnore + public WeChatConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/WebhookConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/WebhookConfig.java index 5dcdac36b28..109b121d01b 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/WebhookConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/WebhookConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class WebhookConfig implements KubernetesResource +public class WebhookConfig implements Editable , KubernetesResource { @JsonProperty("httpConfig") @@ -142,6 +143,16 @@ public void setUrlSecret(SecretKeySelector urlSecret) { this.urlSecret = urlSecret; } + @JsonIgnore + public WebhookConfigBuilder edit() { + return new WebhookConfigBuilder(this); + } + + @JsonIgnore + public WebhookConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/main/resources/schema/kube-schema.json b/kubernetes-model-generator/openshift-model-monitoring/src/main/resources/schema/kube-schema.json index 196a7da25db..1d87faa906d 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/main/resources/schema/kube-schema.json +++ b/kubernetes-model-generator/openshift-model-monitoring/src/main/resources/schema/kube-schema.json @@ -923,6 +923,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -1737,6 +1740,13 @@ "type": "string" } }, + "allocatedResourceStatuses": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "existingJavaType": "java.util.Map\u003cString, String\u003e" + }, "allocatedResources": { "type": "object", "additionalProperties": { @@ -1763,9 +1773,6 @@ }, "phase": { "type": "string" - }, - "resizeStatus": { - "type": "string" } }, "additionalProperties": true, diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/openshift-model-monitoring/src/main/resources/schema/validation-schema.json index 5cd2bf43c9b..33f5589bbeb 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/openshift-model-monitoring/src/main/resources/schema/validation-schema.json @@ -923,6 +923,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -1737,6 +1740,13 @@ "type": "string" } }, + "allocatedResourceStatuses": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "existingJavaType": "java.util.Map\u003cString, String\u003e" + }, "allocatedResources": { "type": "object", "additionalProperties": { @@ -1763,9 +1773,6 @@ }, "phase": { "type": "string" - }, - "resizeStatus": { - "type": "string" } }, "additionalProperties": true, @@ -8514,6 +8521,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -10018,6 +10028,13 @@ "type": "string" } }, + "allocatedResourceStatuses": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "existingJavaType": "java.util.Map\u003cString, String\u003e" + }, "allocatedResources": { "type": "object", "additionalProperties": { @@ -10044,9 +10061,6 @@ }, "phase": { "type": "string" - }, - "resizeStatus": { - "type": "string" } }, "additionalProperties": true diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index d8bc2302032..b7375410e62 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -163,7 +164,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -959,6 +961,16 @@ public void setTypeMeta(TypeMeta typeMeta) { this.typeMeta = typeMeta; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index 60e0e75973d..539a48df23e 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -163,7 +164,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -959,6 +961,16 @@ public void setTypeMeta(TypeMeta typeMeta) { this.typeMeta = typeMeta; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/LogEntry.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/LogEntry.java index 5b0f9675663..d03cffaeb5e 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/LogEntry.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/LogEntry.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.Duration; import io.fabric8.kubernetes.api.model.IntOrString; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class LogEntry implements KubernetesResource +public class LogEntry implements Editable , KubernetesResource { @JsonProperty("latency") @@ -142,6 +143,16 @@ public void setTime(String time) { this.time = time; } + @JsonIgnore + public LogEntryBuilder edit() { + return new LogEntryBuilder(this); + } + + @JsonIgnore + public LogEntryBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/OutageEntry.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/OutageEntry.java index 2422c801b8e..fa2b5dc3987 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/OutageEntry.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/OutageEntry.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OutageEntry implements KubernetesResource +public class OutageEntry implements Editable , KubernetesResource { @JsonProperty("end") @@ -145,6 +146,16 @@ public void setStartLogs(List startLogs) { this.startLogs = startLogs; } + @JsonIgnore + public OutageEntryBuilder edit() { + return new OutageEntryBuilder(this); + } + + @JsonIgnore + public OutageEntryBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/PodNetworkConnectivityCheck.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/PodNetworkConnectivityCheck.java index d8d70fc1701..3d31020be62 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/PodNetworkConnectivityCheck.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/PodNetworkConnectivityCheck.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1alpha1") @Group("controlplane.operator.openshift.io") @Generated("jsonschema2pojo") -public class PodNetworkConnectivityCheck implements HasMetadata, Namespaced +public class PodNetworkConnectivityCheck implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(PodNetworkConnectivityCheckStatus status) { this.status = status; } + @JsonIgnore + public PodNetworkConnectivityCheckBuilder edit() { + return new PodNetworkConnectivityCheckBuilder(this); + } + + @JsonIgnore + public PodNetworkConnectivityCheckBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/PodNetworkConnectivityCheckCondition.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/PodNetworkConnectivityCheckCondition.java index 3fd1ac16557..0e65d677d0e 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/PodNetworkConnectivityCheckCondition.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/PodNetworkConnectivityCheckCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PodNetworkConnectivityCheckCondition implements KubernetesResource +public class PodNetworkConnectivityCheckCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public PodNetworkConnectivityCheckConditionBuilder edit() { + return new PodNetworkConnectivityCheckConditionBuilder(this); + } + + @JsonIgnore + public PodNetworkConnectivityCheckConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/PodNetworkConnectivityCheckList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/PodNetworkConnectivityCheckList.java index 6c7ff288671..25ebdd3a18b 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/PodNetworkConnectivityCheckList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/PodNetworkConnectivityCheckList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha1") @Group("controlplane.operator.openshift.io") @Generated("jsonschema2pojo") -public class PodNetworkConnectivityCheckList implements KubernetesResource, KubernetesResourceList +public class PodNetworkConnectivityCheckList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PodNetworkConnectivityCheckListBuilder edit() { + return new PodNetworkConnectivityCheckListBuilder(this); + } + + @JsonIgnore + public PodNetworkConnectivityCheckListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/PodNetworkConnectivityCheckSpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/PodNetworkConnectivityCheckSpec.java index 9c6d67df6ca..66256f2c634 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/PodNetworkConnectivityCheckSpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/PodNetworkConnectivityCheckSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PodNetworkConnectivityCheckSpec implements KubernetesResource +public class PodNetworkConnectivityCheckSpec implements Editable , KubernetesResource { @JsonProperty("sourcePod") @@ -114,6 +115,16 @@ public void setTlsClientCert(SecretNameReference tlsClientCert) { this.tlsClientCert = tlsClientCert; } + @JsonIgnore + public PodNetworkConnectivityCheckSpecBuilder edit() { + return new PodNetworkConnectivityCheckSpecBuilder(this); + } + + @JsonIgnore + public PodNetworkConnectivityCheckSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/PodNetworkConnectivityCheckStatus.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/PodNetworkConnectivityCheckStatus.java index dfe21698cf7..f545c89306e 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/PodNetworkConnectivityCheckStatus.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/PodNetworkConnectivityCheckStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PodNetworkConnectivityCheckStatus implements KubernetesResource +public class PodNetworkConnectivityCheckStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -133,6 +134,16 @@ public void setSuccesses(List successes) { this.successes = successes; } + @JsonIgnore + public PodNetworkConnectivityCheckStatusBuilder edit() { + return new PodNetworkConnectivityCheckStatusBuilder(this); + } + + @JsonIgnore + public PodNetworkConnectivityCheckStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AWSCSIDriverConfigSpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AWSCSIDriverConfigSpec.java index b2b8692d3ee..21de7f2bce4 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AWSCSIDriverConfigSpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AWSCSIDriverConfigSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AWSCSIDriverConfigSpec implements KubernetesResource +public class AWSCSIDriverConfigSpec implements Editable , KubernetesResource { @JsonProperty("kmsKeyARN") @@ -85,6 +86,16 @@ public void setKmsKeyARN(String kmsKeyARN) { this.kmsKeyARN = kmsKeyARN; } + @JsonIgnore + public AWSCSIDriverConfigSpecBuilder edit() { + return new AWSCSIDriverConfigSpecBuilder(this); + } + + @JsonIgnore + public AWSCSIDriverConfigSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AWSClassicLoadBalancerParameters.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AWSClassicLoadBalancerParameters.java index d9352f6fdc3..6e5750cedc0 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AWSClassicLoadBalancerParameters.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AWSClassicLoadBalancerParameters.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.Duration; import io.fabric8.kubernetes.api.model.IntOrString; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AWSClassicLoadBalancerParameters implements KubernetesResource +public class AWSClassicLoadBalancerParameters implements Editable , KubernetesResource { @JsonProperty("connectionIdleTimeout") @@ -86,6 +87,16 @@ public void setConnectionIdleTimeout(Duration connectionIdleTimeout) { this.connectionIdleTimeout = connectionIdleTimeout; } + @JsonIgnore + public AWSClassicLoadBalancerParametersBuilder edit() { + return new AWSClassicLoadBalancerParametersBuilder(this); + } + + @JsonIgnore + public AWSClassicLoadBalancerParametersBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AWSLoadBalancerParameters.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AWSLoadBalancerParameters.java index 3e3548facec..55d36f6242c 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AWSLoadBalancerParameters.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AWSLoadBalancerParameters.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AWSLoadBalancerParameters implements KubernetesResource +public class AWSLoadBalancerParameters implements Editable , KubernetesResource { @JsonProperty("classicLoadBalancer") @@ -113,6 +114,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public AWSLoadBalancerParametersBuilder edit() { + return new AWSLoadBalancerParametersBuilder(this); + } + + @JsonIgnore + public AWSLoadBalancerParametersBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AWSNetworkLoadBalancerParameters.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AWSNetworkLoadBalancerParameters.java index ded386cbc78..e9af423999d 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AWSNetworkLoadBalancerParameters.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AWSNetworkLoadBalancerParameters.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AWSNetworkLoadBalancerParameters implements KubernetesResource +public class AWSNetworkLoadBalancerParameters implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public AWSNetworkLoadBalancerParametersBuilder edit() { + return new AWSNetworkLoadBalancerParametersBuilder(this); + } + + @JsonIgnore + public AWSNetworkLoadBalancerParametersBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AccessLogging.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AccessLogging.java index 24f0e2bfd28..44d8b794a54 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AccessLogging.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AccessLogging.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AccessLogging implements KubernetesResource +public class AccessLogging implements Editable , KubernetesResource { @JsonProperty("destination") @@ -144,6 +145,16 @@ public void setLogEmptyRequests(String logEmptyRequests) { this.logEmptyRequests = logEmptyRequests; } + @JsonIgnore + public AccessLoggingBuilder edit() { + return new AccessLoggingBuilder(this); + } + + @JsonIgnore + public AccessLoggingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AddPage.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AddPage.java index 205fee90ba5..af9c441df26 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AddPage.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AddPage.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AddPage implements KubernetesResource +public class AddPage implements Editable , KubernetesResource { @JsonProperty("disabledActions") @@ -88,6 +89,16 @@ public void setDisabledActions(List disabledActions) { this.disabledActions = disabledActions; } + @JsonIgnore + public AddPageBuilder edit() { + return new AddPageBuilder(this); + } + + @JsonIgnore + public AddPageBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AdditionalNetworkDefinition.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AdditionalNetworkDefinition.java index 6c35bacd8bf..79a0286ec2e 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AdditionalNetworkDefinition.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AdditionalNetworkDefinition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AdditionalNetworkDefinition implements KubernetesResource +public class AdditionalNetworkDefinition implements Editable , KubernetesResource { @JsonProperty("name") @@ -141,6 +142,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public AdditionalNetworkDefinitionBuilder edit() { + return new AdditionalNetworkDefinitionBuilder(this); + } + + @JsonIgnore + public AdditionalNetworkDefinitionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Authentication.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Authentication.java index 05d2854b4a4..cd7285f3fbc 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Authentication.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Authentication.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class Authentication implements HasMetadata +public class Authentication implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(AuthenticationStatus status) { this.status = status; } + @JsonIgnore + public AuthenticationBuilder edit() { + return new AuthenticationBuilder(this); + } + + @JsonIgnore + public AuthenticationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AuthenticationList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AuthenticationList.java index 57d8871b632..01aec6efdcf 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AuthenticationList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AuthenticationList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class AuthenticationList implements KubernetesResource, KubernetesResourceList +public class AuthenticationList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public AuthenticationListBuilder edit() { + return new AuthenticationListBuilder(this); + } + + @JsonIgnore + public AuthenticationListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AuthenticationSpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AuthenticationSpec.java index c2229e0a1db..24e47910a14 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AuthenticationSpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AuthenticationSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.GenericKubernetesResource; import io.fabric8.kubernetes.api.model.IntOrString; @@ -63,7 +64,7 @@ @BuildableReference(RawExtension.class) }) @Generated("jsonschema2pojo") -public class AuthenticationSpec implements KubernetesResource +public class AuthenticationSpec implements Editable , KubernetesResource { @JsonProperty("logLevel") @@ -145,6 +146,16 @@ public void setUnsupportedConfigOverrides(KubernetesResource unsupportedConfigOv this.unsupportedConfigOverrides = unsupportedConfigOverrides; } + @JsonIgnore + public AuthenticationSpecBuilder edit() { + return new AuthenticationSpecBuilder(this); + } + + @JsonIgnore + public AuthenticationSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AuthenticationStatus.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AuthenticationStatus.java index 575c98c15b3..f3a8df686c8 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AuthenticationStatus.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AuthenticationStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AuthenticationStatus implements KubernetesResource +public class AuthenticationStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -159,6 +160,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public AuthenticationStatusBuilder edit() { + return new AuthenticationStatusBuilder(this); + } + + @JsonIgnore + public AuthenticationStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AzureCSIDriverConfigSpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AzureCSIDriverConfigSpec.java index d05970cfa46..83096effeb3 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AzureCSIDriverConfigSpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AzureCSIDriverConfigSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AzureCSIDriverConfigSpec implements KubernetesResource +public class AzureCSIDriverConfigSpec implements Editable , KubernetesResource { @JsonProperty("diskEncryptionSet") @@ -85,6 +86,16 @@ public void setDiskEncryptionSet(AzureDiskEncryptionSet diskEncryptionSet) { this.diskEncryptionSet = diskEncryptionSet; } + @JsonIgnore + public AzureCSIDriverConfigSpecBuilder edit() { + return new AzureCSIDriverConfigSpecBuilder(this); + } + + @JsonIgnore + public AzureCSIDriverConfigSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AzureDiskEncryptionSet.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AzureDiskEncryptionSet.java index d1448e3e83c..dd6b62c9c8e 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AzureDiskEncryptionSet.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AzureDiskEncryptionSet.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AzureDiskEncryptionSet implements KubernetesResource +public class AzureDiskEncryptionSet implements Editable , KubernetesResource { @JsonProperty("name") @@ -113,6 +114,16 @@ public void setSubscriptionID(String subscriptionID) { this.subscriptionID = subscriptionID; } + @JsonIgnore + public AzureDiskEncryptionSetBuilder edit() { + return new AzureDiskEncryptionSetBuilder(this); + } + + @JsonIgnore + public AzureDiskEncryptionSetBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CSIDriverConfigSpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CSIDriverConfigSpec.java index 8cac7ace8f1..a569b60c941 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CSIDriverConfigSpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CSIDriverConfigSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CSIDriverConfigSpec implements KubernetesResource +public class CSIDriverConfigSpec implements Editable , KubernetesResource { @JsonProperty("aws") @@ -141,6 +142,16 @@ public void setVSphere(VSphereCSIDriverConfigSpec vSphere) { this.vSphere = vSphere; } + @JsonIgnore + public CSIDriverConfigSpecBuilder edit() { + return new CSIDriverConfigSpecBuilder(this); + } + + @JsonIgnore + public CSIDriverConfigSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CSISnapshotController.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CSISnapshotController.java index 7685cd56455..1ef0e66ccf7 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CSISnapshotController.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CSISnapshotController.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class CSISnapshotController implements HasMetadata +public class CSISnapshotController implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(CSISnapshotControllerStatus status) { this.status = status; } + @JsonIgnore + public CSISnapshotControllerBuilder edit() { + return new CSISnapshotControllerBuilder(this); + } + + @JsonIgnore + public CSISnapshotControllerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CSISnapshotControllerList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CSISnapshotControllerList.java index a715949c5c2..83a8e9fe9dc 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CSISnapshotControllerList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CSISnapshotControllerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class CSISnapshotControllerList implements KubernetesResource, KubernetesResourceList +public class CSISnapshotControllerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public CSISnapshotControllerListBuilder edit() { + return new CSISnapshotControllerListBuilder(this); + } + + @JsonIgnore + public CSISnapshotControllerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CSISnapshotControllerSpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CSISnapshotControllerSpec.java index b061ed9d313..818adadc91c 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CSISnapshotControllerSpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CSISnapshotControllerSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.GenericKubernetesResource; import io.fabric8.kubernetes.api.model.IntOrString; @@ -63,7 +64,7 @@ @BuildableReference(RawExtension.class) }) @Generated("jsonschema2pojo") -public class CSISnapshotControllerSpec implements KubernetesResource +public class CSISnapshotControllerSpec implements Editable , KubernetesResource { @JsonProperty("logLevel") @@ -145,6 +146,16 @@ public void setUnsupportedConfigOverrides(KubernetesResource unsupportedConfigOv this.unsupportedConfigOverrides = unsupportedConfigOverrides; } + @JsonIgnore + public CSISnapshotControllerSpecBuilder edit() { + return new CSISnapshotControllerSpecBuilder(this); + } + + @JsonIgnore + public CSISnapshotControllerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CSISnapshotControllerStatus.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CSISnapshotControllerStatus.java index 1efbca66326..0181eb969ef 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CSISnapshotControllerStatus.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CSISnapshotControllerStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CSISnapshotControllerStatus implements KubernetesResource +public class CSISnapshotControllerStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -145,6 +146,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public CSISnapshotControllerStatusBuilder edit() { + return new CSISnapshotControllerStatusBuilder(this); + } + + @JsonIgnore + public CSISnapshotControllerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ClientTLS.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ClientTLS.java index ac0313b4c2b..7ae1787e4d9 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ClientTLS.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ClientTLS.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClientTLS implements KubernetesResource +public class ClientTLS implements Editable , KubernetesResource { @JsonProperty("allowedSubjectPatterns") @@ -117,6 +118,16 @@ public void setClientCertificatePolicy(String clientCertificatePolicy) { this.clientCertificatePolicy = clientCertificatePolicy; } + @JsonIgnore + public ClientTLSBuilder edit() { + return new ClientTLSBuilder(this); + } + + @JsonIgnore + public ClientTLSBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CloudCredential.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CloudCredential.java index 08c710959f9..69caa707387 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CloudCredential.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CloudCredential.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class CloudCredential implements HasMetadata +public class CloudCredential implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(CloudCredentialStatus status) { this.status = status; } + @JsonIgnore + public CloudCredentialBuilder edit() { + return new CloudCredentialBuilder(this); + } + + @JsonIgnore + public CloudCredentialBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CloudCredentialList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CloudCredentialList.java index 4602422c99a..7fabac56b0c 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CloudCredentialList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CloudCredentialList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class CloudCredentialList implements KubernetesResource, KubernetesResourceList +public class CloudCredentialList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public CloudCredentialListBuilder edit() { + return new CloudCredentialListBuilder(this); + } + + @JsonIgnore + public CloudCredentialListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CloudCredentialSpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CloudCredentialSpec.java index 1abd22e846e..8777b18e4c2 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CloudCredentialSpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CloudCredentialSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.GenericKubernetesResource; import io.fabric8.kubernetes.api.model.IntOrString; @@ -64,7 +65,7 @@ @BuildableReference(RawExtension.class) }) @Generated("jsonschema2pojo") -public class CloudCredentialSpec implements KubernetesResource +public class CloudCredentialSpec implements Editable , KubernetesResource { @JsonProperty("credentialsMode") @@ -159,6 +160,16 @@ public void setUnsupportedConfigOverrides(KubernetesResource unsupportedConfigOv this.unsupportedConfigOverrides = unsupportedConfigOverrides; } + @JsonIgnore + public CloudCredentialSpecBuilder edit() { + return new CloudCredentialSpecBuilder(this); + } + + @JsonIgnore + public CloudCredentialSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CloudCredentialStatus.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CloudCredentialStatus.java index 3f9ee7fe2f5..ce3722d1b6d 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CloudCredentialStatus.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CloudCredentialStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CloudCredentialStatus implements KubernetesResource +public class CloudCredentialStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -145,6 +146,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public CloudCredentialStatusBuilder edit() { + return new CloudCredentialStatusBuilder(this); + } + + @JsonIgnore + public CloudCredentialStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ClusterCSIDriver.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ClusterCSIDriver.java index b634818789b..b5cc2c68133 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ClusterCSIDriver.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ClusterCSIDriver.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class ClusterCSIDriver implements HasMetadata +public class ClusterCSIDriver implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(ClusterCSIDriverStatus status) { this.status = status; } + @JsonIgnore + public ClusterCSIDriverBuilder edit() { + return new ClusterCSIDriverBuilder(this); + } + + @JsonIgnore + public ClusterCSIDriverBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ClusterCSIDriverList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ClusterCSIDriverList.java index d867a49f28f..13766649032 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ClusterCSIDriverList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ClusterCSIDriverList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class ClusterCSIDriverList implements KubernetesResource, KubernetesResourceList +public class ClusterCSIDriverList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterCSIDriverListBuilder edit() { + return new ClusterCSIDriverListBuilder(this); + } + + @JsonIgnore + public ClusterCSIDriverListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ClusterCSIDriverSpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ClusterCSIDriverSpec.java index 8e2e11a8704..63a8470ba67 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ClusterCSIDriverSpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ClusterCSIDriverSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.GenericKubernetesResource; import io.fabric8.kubernetes.api.model.IntOrString; @@ -65,7 +66,7 @@ @BuildableReference(RawExtension.class) }) @Generated("jsonschema2pojo") -public class ClusterCSIDriverSpec implements KubernetesResource +public class ClusterCSIDriverSpec implements Editable , KubernetesResource { @JsonProperty("driverConfig") @@ -173,6 +174,16 @@ public void setUnsupportedConfigOverrides(KubernetesResource unsupportedConfigOv this.unsupportedConfigOverrides = unsupportedConfigOverrides; } + @JsonIgnore + public ClusterCSIDriverSpecBuilder edit() { + return new ClusterCSIDriverSpecBuilder(this); + } + + @JsonIgnore + public ClusterCSIDriverSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ClusterCSIDriverStatus.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ClusterCSIDriverStatus.java index 9a89b959a2e..03a678b40f4 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ClusterCSIDriverStatus.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ClusterCSIDriverStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterCSIDriverStatus implements KubernetesResource +public class ClusterCSIDriverStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -145,6 +146,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public ClusterCSIDriverStatusBuilder edit() { + return new ClusterCSIDriverStatusBuilder(this); + } + + @JsonIgnore + public ClusterCSIDriverStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ClusterNetworkEntry.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ClusterNetworkEntry.java index 5c48f6a1314..5a3e5b876a8 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ClusterNetworkEntry.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ClusterNetworkEntry.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterNetworkEntry implements KubernetesResource +public class ClusterNetworkEntry implements Editable , KubernetesResource { @JsonProperty("cidr") @@ -99,6 +100,16 @@ public void setHostPrefix(Integer hostPrefix) { this.hostPrefix = hostPrefix; } + @JsonIgnore + public ClusterNetworkEntryBuilder edit() { + return new ClusterNetworkEntryBuilder(this); + } + + @JsonIgnore + public ClusterNetworkEntryBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Config.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Config.java index 0b9b57712c5..41eb694d713 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Config.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Config.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class Config implements HasMetadata +public class Config implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(ConfigStatus status) { this.status = status; } + @JsonIgnore + public ConfigBuilder edit() { + return new ConfigBuilder(this); + } + + @JsonIgnore + public ConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConfigList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConfigList.java index d9ed695fc9e..a38d1430330 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConfigList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConfigList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class ConfigList implements KubernetesResource, KubernetesResourceList +public class ConfigList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ConfigListBuilder edit() { + return new ConfigListBuilder(this); + } + + @JsonIgnore + public ConfigListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConfigSpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConfigSpec.java index d14f89c6ef4..b006f8fafee 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConfigSpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConfigSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.GenericKubernetesResource; import io.fabric8.kubernetes.api.model.IntOrString; @@ -63,7 +64,7 @@ @BuildableReference(RawExtension.class) }) @Generated("jsonschema2pojo") -public class ConfigSpec implements KubernetesResource +public class ConfigSpec implements Editable , KubernetesResource { @JsonProperty("logLevel") @@ -145,6 +146,16 @@ public void setUnsupportedConfigOverrides(KubernetesResource unsupportedConfigOv this.unsupportedConfigOverrides = unsupportedConfigOverrides; } + @JsonIgnore + public ConfigSpecBuilder edit() { + return new ConfigSpecBuilder(this); + } + + @JsonIgnore + public ConfigSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConfigStatus.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConfigStatus.java index b2b0e7f1184..3be37a1957d 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConfigStatus.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConfigStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ConfigStatus implements KubernetesResource +public class ConfigStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -145,6 +146,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public ConfigStatusBuilder edit() { + return new ConfigStatusBuilder(this); + } + + @JsonIgnore + public ConfigStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Console.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Console.java index 6a491dd697e..8bca543c61f 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Console.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Console.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class Console implements HasMetadata +public class Console implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(ConsoleStatus status) { this.status = status; } + @JsonIgnore + public ConsoleBuilder edit() { + return new ConsoleBuilder(this); + } + + @JsonIgnore + public ConsoleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleConfigRoute.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleConfigRoute.java index 7f33f03d311..c49bec1b23b 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleConfigRoute.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleConfigRoute.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ConsoleConfigRoute implements KubernetesResource +public class ConsoleConfigRoute implements Editable , KubernetesResource { @JsonProperty("hostname") @@ -100,6 +101,16 @@ public void setSecret(SecretNameReference secret) { this.secret = secret; } + @JsonIgnore + public ConsoleConfigRouteBuilder edit() { + return new ConsoleConfigRouteBuilder(this); + } + + @JsonIgnore + public ConsoleConfigRouteBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleCustomization.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleCustomization.java index 2b9781c11c5..3893f068ae4 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleCustomization.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleCustomization.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -66,7 +67,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ConsoleCustomization implements KubernetesResource +public class ConsoleCustomization implements Editable , KubernetesResource { @JsonProperty("addPage") @@ -201,6 +202,16 @@ public void setQuickStarts(QuickStarts quickStarts) { this.quickStarts = quickStarts; } + @JsonIgnore + public ConsoleCustomizationBuilder edit() { + return new ConsoleCustomizationBuilder(this); + } + + @JsonIgnore + public ConsoleCustomizationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleList.java index 70050010472..2aabc20ff94 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class ConsoleList implements KubernetesResource, KubernetesResourceList +public class ConsoleList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ConsoleListBuilder edit() { + return new ConsoleListBuilder(this); + } + + @JsonIgnore + public ConsoleListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleProviders.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleProviders.java index 21eb4691544..bd2db5a4573 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleProviders.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleProviders.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ConsoleProviders implements KubernetesResource +public class ConsoleProviders implements Editable , KubernetesResource { @JsonProperty("statuspage") @@ -85,6 +86,16 @@ public void setStatuspage(StatuspageProvider statuspage) { this.statuspage = statuspage; } + @JsonIgnore + public ConsoleProvidersBuilder edit() { + return new ConsoleProvidersBuilder(this); + } + + @JsonIgnore + public ConsoleProvidersBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleSpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleSpec.java index 588071b600a..362f2f2dadb 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleSpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.GenericKubernetesResource; import io.fabric8.kubernetes.api.model.IntOrString; @@ -69,7 +70,7 @@ @BuildableReference(RawExtension.class) }) @Generated("jsonschema2pojo") -public class ConsoleSpec implements KubernetesResource +public class ConsoleSpec implements Editable , KubernetesResource { @JsonProperty("customization") @@ -204,6 +205,16 @@ public void setUnsupportedConfigOverrides(KubernetesResource unsupportedConfigOv this.unsupportedConfigOverrides = unsupportedConfigOverrides; } + @JsonIgnore + public ConsoleSpecBuilder edit() { + return new ConsoleSpecBuilder(this); + } + + @JsonIgnore + public ConsoleSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleStatus.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleStatus.java index 0545088a2b2..14be0f336ff 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleStatus.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ConsoleStatus implements KubernetesResource +public class ConsoleStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -145,6 +146,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public ConsoleStatusBuilder edit() { + return new ConsoleStatusBuilder(this); + } + + @JsonIgnore + public ConsoleStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ContainerLoggingDestinationParameters.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ContainerLoggingDestinationParameters.java index 44085321c8a..1e69effebee 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ContainerLoggingDestinationParameters.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ContainerLoggingDestinationParameters.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ContainerLoggingDestinationParameters implements KubernetesResource +public class ContainerLoggingDestinationParameters implements Editable , KubernetesResource { @JsonProperty("maxLength") @@ -85,6 +86,16 @@ public void setMaxLength(Integer maxLength) { this.maxLength = maxLength; } + @JsonIgnore + public ContainerLoggingDestinationParametersBuilder edit() { + return new ContainerLoggingDestinationParametersBuilder(this); + } + + @JsonIgnore + public ContainerLoggingDestinationParametersBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNS.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNS.java index 6bae3236898..a5c10429555 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNS.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNS.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class DNS implements HasMetadata +public class DNS implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(DNSStatus status) { this.status = status; } + @JsonIgnore + public DNSBuilder edit() { + return new DNSBuilder(this); + } + + @JsonIgnore + public DNSBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSCache.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSCache.java index 15d82fc840d..a336204c7e9 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSCache.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSCache.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.Duration; import io.fabric8.kubernetes.api.model.IntOrString; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DNSCache implements KubernetesResource +public class DNSCache implements Editable , KubernetesResource { @JsonProperty("negativeTTL") @@ -100,6 +101,16 @@ public void setPositiveTTL(Duration positiveTTL) { this.positiveTTL = positiveTTL; } + @JsonIgnore + public DNSCacheBuilder edit() { + return new DNSCacheBuilder(this); + } + + @JsonIgnore + public DNSCacheBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSList.java index dc0b33a885a..04d850ce254 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class DNSList implements KubernetesResource, KubernetesResourceList +public class DNSList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public DNSListBuilder edit() { + return new DNSListBuilder(this); + } + + @JsonIgnore + public DNSListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSNodePlacement.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSNodePlacement.java index 38f49d42ef6..93b8a952f74 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSNodePlacement.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSNodePlacement.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DNSNodePlacement implements KubernetesResource +public class DNSNodePlacement implements Editable , KubernetesResource { @JsonProperty("nodeSelector") @@ -104,6 +105,16 @@ public void setTolerations(List tolerations) { this.tolerations = tolerations; } + @JsonIgnore + public DNSNodePlacementBuilder edit() { + return new DNSNodePlacementBuilder(this); + } + + @JsonIgnore + public DNSNodePlacementBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSOverTLSConfig.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSOverTLSConfig.java index ba49718387a..6898822f81f 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSOverTLSConfig.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSOverTLSConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DNSOverTLSConfig implements KubernetesResource +public class DNSOverTLSConfig implements Editable , KubernetesResource { @JsonProperty("caBundle") @@ -100,6 +101,16 @@ public void setServerName(String serverName) { this.serverName = serverName; } + @JsonIgnore + public DNSOverTLSConfigBuilder edit() { + return new DNSOverTLSConfigBuilder(this); + } + + @JsonIgnore + public DNSOverTLSConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSRecord.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSRecord.java index 2fba065d289..a6162da2e5b 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSRecord.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSRecord.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("ingress.operator.openshift.io") @Generated("jsonschema2pojo") -public class DNSRecord implements HasMetadata, Namespaced +public class DNSRecord implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(DNSRecordStatus status) { this.status = status; } + @JsonIgnore + public DNSRecordBuilder edit() { + return new DNSRecordBuilder(this); + } + + @JsonIgnore + public DNSRecordBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSRecordList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSRecordList.java index 6d9db66cdde..d4601ed1749 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSRecordList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSRecordList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("ingress.operator.openshift.io") @Generated("jsonschema2pojo") -public class DNSRecordList implements KubernetesResource, KubernetesResourceList +public class DNSRecordList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public DNSRecordListBuilder edit() { + return new DNSRecordListBuilder(this); + } + + @JsonIgnore + public DNSRecordListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSRecordSpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSRecordSpec.java index dddd6230ace..33c4f64e2e8 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSRecordSpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSRecordSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DNSRecordSpec implements KubernetesResource +public class DNSRecordSpec implements Editable , KubernetesResource { @JsonProperty("dnsManagementPolicy") @@ -144,6 +145,16 @@ public void setTargets(List targets) { this.targets = targets; } + @JsonIgnore + public DNSRecordSpecBuilder edit() { + return new DNSRecordSpecBuilder(this); + } + + @JsonIgnore + public DNSRecordSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSRecordStatus.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSRecordStatus.java index 5438ad3461a..67da5e535a9 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSRecordStatus.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSRecordStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DNSRecordStatus implements KubernetesResource +public class DNSRecordStatus implements Editable , KubernetesResource { @JsonProperty("observedGeneration") @@ -102,6 +103,16 @@ public void setZones(List zones) { this.zones = zones; } + @JsonIgnore + public DNSRecordStatusBuilder edit() { + return new DNSRecordStatusBuilder(this); + } + + @JsonIgnore + public DNSRecordStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSSpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSSpec.java index f2fc3425769..f6061c2e321 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSSpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -63,7 +64,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DNSSpec implements KubernetesResource +public class DNSSpec implements Editable , KubernetesResource { @JsonProperty("cache") @@ -172,6 +173,16 @@ public void setUpstreamResolvers(UpstreamResolvers upstreamResolvers) { this.upstreamResolvers = upstreamResolvers; } + @JsonIgnore + public DNSSpecBuilder edit() { + return new DNSSpecBuilder(this); + } + + @JsonIgnore + public DNSSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSStatus.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSStatus.java index 1995ab4fabf..c65a6abd414 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSStatus.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DNSStatus implements KubernetesResource +public class DNSStatus implements Editable , KubernetesResource { @JsonProperty("clusterDomain") @@ -116,6 +117,16 @@ public void setConditions(List conditions) { this.conditions = conditions; } + @JsonIgnore + public DNSStatusBuilder edit() { + return new DNSStatusBuilder(this); + } + + @JsonIgnore + public DNSStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSTransportConfig.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSTransportConfig.java index e39cc157392..9252e6e3534 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSTransportConfig.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSTransportConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DNSTransportConfig implements KubernetesResource +public class DNSTransportConfig implements Editable , KubernetesResource { @JsonProperty("tls") @@ -99,6 +100,16 @@ public void setTransport(String transport) { this.transport = transport; } + @JsonIgnore + public DNSTransportConfigBuilder edit() { + return new DNSTransportConfigBuilder(this); + } + + @JsonIgnore + public DNSTransportConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSZoneCondition.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSZoneCondition.java index 937ae497783..2f4594c93fb 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSZoneCondition.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSZoneCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DNSZoneCondition implements KubernetesResource +public class DNSZoneCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public DNSZoneConditionBuilder edit() { + return new DNSZoneConditionBuilder(this); + } + + @JsonIgnore + public DNSZoneConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSZoneStatus.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSZoneStatus.java index 409b675202d..c99bf0b283e 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSZoneStatus.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSZoneStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DNSZoneStatus implements KubernetesResource +public class DNSZoneStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -103,6 +104,16 @@ public void setDnsZone(DNSZone dnsZone) { this.dnsZone = dnsZone; } + @JsonIgnore + public DNSZoneStatusBuilder edit() { + return new DNSZoneStatusBuilder(this); + } + + @JsonIgnore + public DNSZoneStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DefaultNetworkDefinition.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DefaultNetworkDefinition.java index 21721a614b9..e16d5082b87 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DefaultNetworkDefinition.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DefaultNetworkDefinition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DefaultNetworkDefinition implements KubernetesResource +public class DefaultNetworkDefinition implements Editable , KubernetesResource { @JsonProperty("kuryrConfig") @@ -127,6 +128,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public DefaultNetworkDefinitionBuilder edit() { + return new DefaultNetworkDefinitionBuilder(this); + } + + @JsonIgnore + public DefaultNetworkDefinitionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DeveloperConsoleCatalogCategory.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DeveloperConsoleCatalogCategory.java index 0bde6be4031..ef86a8430f4 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DeveloperConsoleCatalogCategory.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DeveloperConsoleCatalogCategory.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DeveloperConsoleCatalogCategory implements KubernetesResource +public class DeveloperConsoleCatalogCategory implements Editable , KubernetesResource { @JsonProperty("id") @@ -131,6 +132,16 @@ public void setTags(List tags) { this.tags = tags; } + @JsonIgnore + public DeveloperConsoleCatalogCategoryBuilder edit() { + return new DeveloperConsoleCatalogCategoryBuilder(this); + } + + @JsonIgnore + public DeveloperConsoleCatalogCategoryBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DeveloperConsoleCatalogCategoryMeta.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DeveloperConsoleCatalogCategoryMeta.java index 810585f75fb..441e24efd58 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DeveloperConsoleCatalogCategoryMeta.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DeveloperConsoleCatalogCategoryMeta.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DeveloperConsoleCatalogCategoryMeta implements KubernetesResource +public class DeveloperConsoleCatalogCategoryMeta implements Editable , KubernetesResource { @JsonProperty("id") @@ -116,6 +117,16 @@ public void setTags(List tags) { this.tags = tags; } + @JsonIgnore + public DeveloperConsoleCatalogCategoryMetaBuilder edit() { + return new DeveloperConsoleCatalogCategoryMetaBuilder(this); + } + + @JsonIgnore + public DeveloperConsoleCatalogCategoryMetaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DeveloperConsoleCatalogCustomization.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DeveloperConsoleCatalogCustomization.java index afc1858625d..ae3ced9ef52 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DeveloperConsoleCatalogCustomization.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DeveloperConsoleCatalogCustomization.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DeveloperConsoleCatalogCustomization implements KubernetesResource +public class DeveloperConsoleCatalogCustomization implements Editable , KubernetesResource { @JsonProperty("categories") @@ -102,6 +103,16 @@ public void setTypes(DeveloperConsoleCatalogTypes types) { this.types = types; } + @JsonIgnore + public DeveloperConsoleCatalogCustomizationBuilder edit() { + return new DeveloperConsoleCatalogCustomizationBuilder(this); + } + + @JsonIgnore + public DeveloperConsoleCatalogCustomizationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DeveloperConsoleCatalogTypes.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DeveloperConsoleCatalogTypes.java index 124173e0e3a..1f142a2222c 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DeveloperConsoleCatalogTypes.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DeveloperConsoleCatalogTypes.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DeveloperConsoleCatalogTypes implements KubernetesResource +public class DeveloperConsoleCatalogTypes implements Editable , KubernetesResource { @JsonProperty("disabled") @@ -117,6 +118,16 @@ public void setState(String state) { this.state = state; } + @JsonIgnore + public DeveloperConsoleCatalogTypesBuilder edit() { + return new DeveloperConsoleCatalogTypesBuilder(this); + } + + @JsonIgnore + public DeveloperConsoleCatalogTypesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/EgressIPConfig.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/EgressIPConfig.java index 50a82b95a7e..aa389315dd8 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/EgressIPConfig.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/EgressIPConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class EgressIPConfig implements KubernetesResource +public class EgressIPConfig implements Editable , KubernetesResource { @JsonProperty("reachabilityTotalTimeoutSeconds") @@ -85,6 +86,16 @@ public void setReachabilityTotalTimeoutSeconds(Integer reachabilityTotalTimeoutS this.reachabilityTotalTimeoutSeconds = reachabilityTotalTimeoutSeconds; } + @JsonIgnore + public EgressIPConfigBuilder edit() { + return new EgressIPConfigBuilder(this); + } + + @JsonIgnore + public EgressIPConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/EndpointPublishingStrategy.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/EndpointPublishingStrategy.java index 588a835c070..712bf533c59 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/EndpointPublishingStrategy.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/EndpointPublishingStrategy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class EndpointPublishingStrategy implements KubernetesResource +public class EndpointPublishingStrategy implements Editable , KubernetesResource { @JsonProperty("hostNetwork") @@ -141,6 +142,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public EndpointPublishingStrategyBuilder edit() { + return new EndpointPublishingStrategyBuilder(this); + } + + @JsonIgnore + public EndpointPublishingStrategyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Etcd.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Etcd.java index ae8eb0f4463..1b53cababb8 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Etcd.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Etcd.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class Etcd implements HasMetadata +public class Etcd implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(EtcdStatus status) { this.status = status; } + @JsonIgnore + public EtcdBuilder edit() { + return new EtcdBuilder(this); + } + + @JsonIgnore + public EtcdBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/EtcdList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/EtcdList.java index aca22379f79..414ff68473a 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/EtcdList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/EtcdList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class EtcdList implements KubernetesResource, KubernetesResourceList +public class EtcdList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public EtcdListBuilder edit() { + return new EtcdListBuilder(this); + } + + @JsonIgnore + public EtcdListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/EtcdSpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/EtcdSpec.java index f91a81e115f..e4fee6a7545 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/EtcdSpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/EtcdSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.GenericKubernetesResource; import io.fabric8.kubernetes.api.model.IntOrString; @@ -66,7 +67,7 @@ @BuildableReference(RawExtension.class) }) @Generated("jsonschema2pojo") -public class EtcdSpec implements KubernetesResource +public class EtcdSpec implements Editable , KubernetesResource { @JsonProperty("failedRevisionLimit") @@ -187,6 +188,16 @@ public void setUnsupportedConfigOverrides(KubernetesResource unsupportedConfigOv this.unsupportedConfigOverrides = unsupportedConfigOverrides; } + @JsonIgnore + public EtcdSpecBuilder edit() { + return new EtcdSpecBuilder(this); + } + + @JsonIgnore + public EtcdSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/EtcdStatus.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/EtcdStatus.java index 55901909ee7..1b8d2926b50 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/EtcdStatus.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/EtcdStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class EtcdStatus implements KubernetesResource +public class EtcdStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -188,6 +189,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public EtcdStatusBuilder edit() { + return new EtcdStatusBuilder(this); + } + + @JsonIgnore + public EtcdStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ExportNetworkFlows.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ExportNetworkFlows.java index 25a8d2d2223..a1cc753db27 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ExportNetworkFlows.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ExportNetworkFlows.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ExportNetworkFlows implements KubernetesResource +public class ExportNetworkFlows implements Editable , KubernetesResource { @JsonProperty("ipfix") @@ -113,6 +114,16 @@ public void setSFlow(SFlowConfig sFlow) { this.sFlow = sFlow; } + @JsonIgnore + public ExportNetworkFlowsBuilder edit() { + return new ExportNetworkFlowsBuilder(this); + } + + @JsonIgnore + public ExportNetworkFlowsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/FeaturesMigration.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/FeaturesMigration.java index 253e2e54619..9f634f0cf3d 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/FeaturesMigration.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/FeaturesMigration.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class FeaturesMigration implements KubernetesResource +public class FeaturesMigration implements Editable , KubernetesResource { @JsonProperty("egressFirewall") @@ -113,6 +114,16 @@ public void setMulticast(Boolean multicast) { this.multicast = multicast; } + @JsonIgnore + public FeaturesMigrationBuilder edit() { + return new FeaturesMigrationBuilder(this); + } + + @JsonIgnore + public FeaturesMigrationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ForwardPlugin.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ForwardPlugin.java index 0df9da70834..442a805f8bf 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ForwardPlugin.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ForwardPlugin.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ForwardPlugin implements KubernetesResource +public class ForwardPlugin implements Editable , KubernetesResource { @JsonProperty("policy") @@ -130,6 +131,16 @@ public void setUpstreams(List upstreams) { this.upstreams = upstreams; } + @JsonIgnore + public ForwardPluginBuilder edit() { + return new ForwardPluginBuilder(this); + } + + @JsonIgnore + public ForwardPluginBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/GCPCSIDriverConfigSpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/GCPCSIDriverConfigSpec.java index d658a77bb82..5311a8aa054 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/GCPCSIDriverConfigSpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/GCPCSIDriverConfigSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GCPCSIDriverConfigSpec implements KubernetesResource +public class GCPCSIDriverConfigSpec implements Editable , KubernetesResource { @JsonProperty("kmsKey") @@ -85,6 +86,16 @@ public void setKmsKey(GCPKMSKeyReference kmsKey) { this.kmsKey = kmsKey; } + @JsonIgnore + public GCPCSIDriverConfigSpecBuilder edit() { + return new GCPCSIDriverConfigSpecBuilder(this); + } + + @JsonIgnore + public GCPCSIDriverConfigSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/GCPKMSKeyReference.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/GCPKMSKeyReference.java index 19acfa4ce31..73246c458d1 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/GCPKMSKeyReference.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/GCPKMSKeyReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GCPKMSKeyReference implements KubernetesResource +public class GCPKMSKeyReference implements Editable , KubernetesResource { @JsonProperty("keyRing") @@ -127,6 +128,16 @@ public void setProjectID(String projectID) { this.projectID = projectID; } + @JsonIgnore + public GCPKMSKeyReferenceBuilder edit() { + return new GCPKMSKeyReferenceBuilder(this); + } + + @JsonIgnore + public GCPKMSKeyReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/GCPLoadBalancerParameters.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/GCPLoadBalancerParameters.java index 19ceba3fb08..8e53d16c0fe 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/GCPLoadBalancerParameters.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/GCPLoadBalancerParameters.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GCPLoadBalancerParameters implements KubernetesResource +public class GCPLoadBalancerParameters implements Editable , KubernetesResource { @JsonProperty("clientAccess") @@ -85,6 +86,16 @@ public void setClientAccess(String clientAccess) { this.clientAccess = clientAccess; } + @JsonIgnore + public GCPLoadBalancerParametersBuilder edit() { + return new GCPLoadBalancerParametersBuilder(this); + } + + @JsonIgnore + public GCPLoadBalancerParametersBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/GatewayConfig.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/GatewayConfig.java index 4aef0c474e3..c8e2b2ea3c1 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/GatewayConfig.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/GatewayConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GatewayConfig implements KubernetesResource +public class GatewayConfig implements Editable , KubernetesResource { @JsonProperty("ipForwarding") @@ -99,6 +100,16 @@ public void setRoutingViaHost(Boolean routingViaHost) { this.routingViaHost = routingViaHost; } + @JsonIgnore + public GatewayConfigBuilder edit() { + return new GatewayConfigBuilder(this); + } + + @JsonIgnore + public GatewayConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/GenerationStatus.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/GenerationStatus.java index 7f080492767..7e7c97ea3f3 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/GenerationStatus.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/GenerationStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GenerationStatus implements KubernetesResource +public class GenerationStatus implements Editable , KubernetesResource { @JsonProperty("group") @@ -155,6 +156,16 @@ public void setResource(String resource) { this.resource = resource; } + @JsonIgnore + public GenerationStatusBuilder edit() { + return new GenerationStatusBuilder(this); + } + + @JsonIgnore + public GenerationStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/HTTPCompressionPolicy.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/HTTPCompressionPolicy.java index 1d74c2a54a6..b7cfd013e51 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/HTTPCompressionPolicy.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/HTTPCompressionPolicy.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HTTPCompressionPolicy implements KubernetesResource +public class HTTPCompressionPolicy implements Editable , KubernetesResource { @JsonProperty("mimeTypes") @@ -88,6 +89,16 @@ public void setMimeTypes(List mimeTypes) { this.mimeTypes = mimeTypes; } + @JsonIgnore + public HTTPCompressionPolicyBuilder edit() { + return new HTTPCompressionPolicyBuilder(this); + } + + @JsonIgnore + public HTTPCompressionPolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/HostNetworkStrategy.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/HostNetworkStrategy.java index c6b5004d18d..3d8c9973e16 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/HostNetworkStrategy.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/HostNetworkStrategy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HostNetworkStrategy implements KubernetesResource +public class HostNetworkStrategy implements Editable , KubernetesResource { @JsonProperty("httpPort") @@ -127,6 +128,16 @@ public void setStatsPort(Integer statsPort) { this.statsPort = statsPort; } + @JsonIgnore + public HostNetworkStrategyBuilder edit() { + return new HostNetworkStrategyBuilder(this); + } + + @JsonIgnore + public HostNetworkStrategyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/HybridOverlayConfig.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/HybridOverlayConfig.java index 3a8432cfd1b..ce75414dc91 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/HybridOverlayConfig.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/HybridOverlayConfig.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HybridOverlayConfig implements KubernetesResource +public class HybridOverlayConfig implements Editable , KubernetesResource { @JsonProperty("hybridClusterNetwork") @@ -102,6 +103,16 @@ public void setHybridOverlayVXLANPort(Integer hybridOverlayVXLANPort) { this.hybridOverlayVXLANPort = hybridOverlayVXLANPort; } + @JsonIgnore + public HybridOverlayConfigBuilder edit() { + return new HybridOverlayConfigBuilder(this); + } + + @JsonIgnore + public HybridOverlayConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IBMLoadBalancerParameters.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IBMLoadBalancerParameters.java index 028fbc87cba..26259e74467 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IBMLoadBalancerParameters.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IBMLoadBalancerParameters.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IBMLoadBalancerParameters implements KubernetesResource +public class IBMLoadBalancerParameters implements Editable , KubernetesResource { @JsonProperty("protocol") @@ -85,6 +86,16 @@ public void setProtocol(String protocol) { this.protocol = protocol; } + @JsonIgnore + public IBMLoadBalancerParametersBuilder edit() { + return new IBMLoadBalancerParametersBuilder(this); + } + + @JsonIgnore + public IBMLoadBalancerParametersBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IPAMConfig.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IPAMConfig.java index d8fb7337054..71e932f2e4d 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IPAMConfig.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IPAMConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IPAMConfig implements KubernetesResource +public class IPAMConfig implements Editable , KubernetesResource { @JsonProperty("staticIPAMConfig") @@ -99,6 +100,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public IPAMConfigBuilder edit() { + return new IPAMConfigBuilder(this); + } + + @JsonIgnore + public IPAMConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IPFIXConfig.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IPFIXConfig.java index 987740d999f..94ecbd463e2 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IPFIXConfig.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IPFIXConfig.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IPFIXConfig implements KubernetesResource +public class IPFIXConfig implements Editable , KubernetesResource { @JsonProperty("collectors") @@ -88,6 +89,16 @@ public void setCollectors(List collectors) { this.collectors = collectors; } + @JsonIgnore + public IPFIXConfigBuilder edit() { + return new IPFIXConfigBuilder(this); + } + + @JsonIgnore + public IPFIXConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IPsecConfig.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IPsecConfig.java index eaed44098b6..ada49454eb8 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IPsecConfig.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IPsecConfig.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IPsecConfig implements KubernetesResource +public class IPsecConfig implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public IPsecConfigBuilder edit() { + return new IPsecConfigBuilder(this); + } + + @JsonIgnore + public IPsecConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ImagePruner.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ImagePruner.java index af1b3c52f12..018e0ff75ce 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ImagePruner.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ImagePruner.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("imageregistry.operator.openshift.io") @Generated("jsonschema2pojo") -public class ImagePruner implements HasMetadata +public class ImagePruner implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(ImagePrunerStatus status) { this.status = status; } + @JsonIgnore + public ImagePrunerBuilder edit() { + return new ImagePrunerBuilder(this); + } + + @JsonIgnore + public ImagePrunerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ImagePrunerList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ImagePrunerList.java index 0def0503713..2f6bfb8ad8c 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ImagePrunerList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ImagePrunerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("imageregistry.operator.openshift.io") @Generated("jsonschema2pojo") -public class ImagePrunerList implements KubernetesResource, KubernetesResourceList +public class ImagePrunerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ImagePrunerListBuilder edit() { + return new ImagePrunerListBuilder(this); + } + + @JsonIgnore + public ImagePrunerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ImagePrunerSpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ImagePrunerSpec.java index 5602189c7f9..4f635deb053 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ImagePrunerSpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ImagePrunerSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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.Duration; @@ -71,7 +72,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImagePrunerSpec implements KubernetesResource +public class ImagePrunerSpec implements Editable , KubernetesResource { @JsonProperty("affinity") @@ -259,6 +260,16 @@ public void setTolerations(List tolerations) { this.tolerations = tolerations; } + @JsonIgnore + public ImagePrunerSpecBuilder edit() { + return new ImagePrunerSpecBuilder(this); + } + + @JsonIgnore + public ImagePrunerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ImagePrunerStatus.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ImagePrunerStatus.java index c546181d9ca..bef95caac5a 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ImagePrunerStatus.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ImagePrunerStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImagePrunerStatus implements KubernetesResource +public class ImagePrunerStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -102,6 +103,16 @@ public void setObservedGeneration(Long observedGeneration) { this.observedGeneration = observedGeneration; } + @JsonIgnore + public ImagePrunerStatusBuilder edit() { + return new ImagePrunerStatusBuilder(this); + } + + @JsonIgnore + public ImagePrunerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressController.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressController.java index 41b08415285..9d3e046ba38 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressController.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressController.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class IngressController implements HasMetadata, Namespaced +public class IngressController implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(IngressControllerStatus status) { this.status = status; } + @JsonIgnore + public IngressControllerBuilder edit() { + return new IngressControllerBuilder(this); + } + + @JsonIgnore + public IngressControllerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerCaptureHTTPCookie.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerCaptureHTTPCookie.java index 4a9db3b7929..3ae91ab0742 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerCaptureHTTPCookie.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerCaptureHTTPCookie.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressControllerCaptureHTTPCookie implements KubernetesResource +public class IngressControllerCaptureHTTPCookie implements Editable , KubernetesResource { @JsonProperty("matchType") @@ -127,6 +128,16 @@ public void setNamePrefix(String namePrefix) { this.namePrefix = namePrefix; } + @JsonIgnore + public IngressControllerCaptureHTTPCookieBuilder edit() { + return new IngressControllerCaptureHTTPCookieBuilder(this); + } + + @JsonIgnore + public IngressControllerCaptureHTTPCookieBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerCaptureHTTPHeader.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerCaptureHTTPHeader.java index d07dc4e88df..8a4c77a74df 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerCaptureHTTPHeader.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerCaptureHTTPHeader.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressControllerCaptureHTTPHeader implements KubernetesResource +public class IngressControllerCaptureHTTPHeader implements Editable , KubernetesResource { @JsonProperty("maxLength") @@ -99,6 +100,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public IngressControllerCaptureHTTPHeaderBuilder edit() { + return new IngressControllerCaptureHTTPHeaderBuilder(this); + } + + @JsonIgnore + public IngressControllerCaptureHTTPHeaderBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerCaptureHTTPHeaders.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerCaptureHTTPHeaders.java index c234d2c78b0..d05798dbac7 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerCaptureHTTPHeaders.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerCaptureHTTPHeaders.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressControllerCaptureHTTPHeaders implements KubernetesResource +public class IngressControllerCaptureHTTPHeaders implements Editable , KubernetesResource { @JsonProperty("request") @@ -103,6 +104,16 @@ public void setResponse(List response) { this.response = response; } + @JsonIgnore + public IngressControllerCaptureHTTPHeadersBuilder edit() { + return new IngressControllerCaptureHTTPHeadersBuilder(this); + } + + @JsonIgnore + public IngressControllerCaptureHTTPHeadersBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerHTTPHeaders.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerHTTPHeaders.java index 200a2da20ff..df6fab7cdfc 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerHTTPHeaders.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerHTTPHeaders.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressControllerHTTPHeaders implements KubernetesResource +public class IngressControllerHTTPHeaders implements Editable , KubernetesResource { @JsonProperty("forwardedHeaderPolicy") @@ -116,6 +117,16 @@ public void setUniqueId(IngressControllerHTTPUniqueIdHeaderPolicy uniqueId) { this.uniqueId = uniqueId; } + @JsonIgnore + public IngressControllerHTTPHeadersBuilder edit() { + return new IngressControllerHTTPHeadersBuilder(this); + } + + @JsonIgnore + public IngressControllerHTTPHeadersBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerHTTPUniqueIdHeaderPolicy.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerHTTPUniqueIdHeaderPolicy.java index 98227f7c535..36e53218c04 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerHTTPUniqueIdHeaderPolicy.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerHTTPUniqueIdHeaderPolicy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressControllerHTTPUniqueIdHeaderPolicy implements KubernetesResource +public class IngressControllerHTTPUniqueIdHeaderPolicy implements Editable , KubernetesResource { @JsonProperty("format") @@ -99,6 +100,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public IngressControllerHTTPUniqueIdHeaderPolicyBuilder edit() { + return new IngressControllerHTTPUniqueIdHeaderPolicyBuilder(this); + } + + @JsonIgnore + public IngressControllerHTTPUniqueIdHeaderPolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerList.java index 7fc8a24c42c..36b3ec819b9 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class IngressControllerList implements KubernetesResource, KubernetesResourceList +public class IngressControllerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public IngressControllerListBuilder edit() { + return new IngressControllerListBuilder(this); + } + + @JsonIgnore + public IngressControllerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerLogging.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerLogging.java index 43f185b10b5..5fe2d5bc039 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerLogging.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerLogging.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressControllerLogging implements KubernetesResource +public class IngressControllerLogging implements Editable , KubernetesResource { @JsonProperty("access") @@ -85,6 +86,16 @@ public void setAccess(AccessLogging access) { this.access = access; } + @JsonIgnore + public IngressControllerLoggingBuilder edit() { + return new IngressControllerLoggingBuilder(this); + } + + @JsonIgnore + public IngressControllerLoggingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerSpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerSpec.java index 9895df332a3..aa84cd2cc72 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerSpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.GenericKubernetesResource; import io.fabric8.kubernetes.api.model.IntOrString; @@ -75,7 +76,7 @@ @BuildableReference(RawExtension.class) }) @Generated("jsonschema2pojo") -public class IngressControllerSpec implements KubernetesResource +public class IngressControllerSpec implements Editable , KubernetesResource { @JsonProperty("clientTLS") @@ -313,6 +314,16 @@ public void setUnsupportedConfigOverrides(KubernetesResource unsupportedConfigOv this.unsupportedConfigOverrides = unsupportedConfigOverrides; } + @JsonIgnore + public IngressControllerSpecBuilder edit() { + return new IngressControllerSpecBuilder(this); + } + + @JsonIgnore + public IngressControllerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerStatus.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerStatus.java index ab88c141934..9c3b4107818 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerStatus.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -65,7 +66,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressControllerStatus implements KubernetesResource +public class IngressControllerStatus implements Editable , KubernetesResource { @JsonProperty("availableReplicas") @@ -200,6 +201,16 @@ public void setTlsProfile(TLSProfileSpec tlsProfile) { this.tlsProfile = tlsProfile; } + @JsonIgnore + public IngressControllerStatusBuilder edit() { + return new IngressControllerStatusBuilder(this); + } + + @JsonIgnore + public IngressControllerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerTuningOptions.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerTuningOptions.java index 1f8a3e719c2..89ee302f6d5 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerTuningOptions.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerTuningOptions.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.Duration; import io.fabric8.kubernetes.api.model.IntOrString; @@ -67,7 +68,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IngressControllerTuningOptions implements KubernetesResource +public class IngressControllerTuningOptions implements Editable , KubernetesResource { @JsonProperty("clientFinTimeout") @@ -240,6 +241,16 @@ public void setTunnelTimeout(Duration tunnelTimeout) { this.tunnelTimeout = tunnelTimeout; } + @JsonIgnore + public IngressControllerTuningOptionsBuilder edit() { + return new IngressControllerTuningOptionsBuilder(this); + } + + @JsonIgnore + public IngressControllerTuningOptionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeAPIServer.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeAPIServer.java index 4857082114f..19737b25f3b 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeAPIServer.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeAPIServer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class KubeAPIServer implements HasMetadata +public class KubeAPIServer implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(KubeAPIServerStatus status) { this.status = status; } + @JsonIgnore + public KubeAPIServerBuilder edit() { + return new KubeAPIServerBuilder(this); + } + + @JsonIgnore + public KubeAPIServerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeAPIServerList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeAPIServerList.java index b690892b6b8..fcb4bfa5507 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeAPIServerList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeAPIServerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class KubeAPIServerList implements KubernetesResource, KubernetesResourceList +public class KubeAPIServerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public KubeAPIServerListBuilder edit() { + return new KubeAPIServerListBuilder(this); + } + + @JsonIgnore + public KubeAPIServerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeAPIServerSpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeAPIServerSpec.java index eee574456ee..6e6ac30af2f 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeAPIServerSpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeAPIServerSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.GenericKubernetesResource; import io.fabric8.kubernetes.api.model.IntOrString; @@ -66,7 +67,7 @@ @BuildableReference(RawExtension.class) }) @Generated("jsonschema2pojo") -public class KubeAPIServerSpec implements KubernetesResource +public class KubeAPIServerSpec implements Editable , KubernetesResource { @JsonProperty("failedRevisionLimit") @@ -187,6 +188,16 @@ public void setUnsupportedConfigOverrides(KubernetesResource unsupportedConfigOv this.unsupportedConfigOverrides = unsupportedConfigOverrides; } + @JsonIgnore + public KubeAPIServerSpecBuilder edit() { + return new KubeAPIServerSpecBuilder(this); + } + + @JsonIgnore + public KubeAPIServerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeAPIServerStatus.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeAPIServerStatus.java index e1b9ed70e55..45af95d3b73 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeAPIServerStatus.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeAPIServerStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -65,7 +66,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeAPIServerStatus implements KubernetesResource +public class KubeAPIServerStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -203,6 +204,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public KubeAPIServerStatusBuilder edit() { + return new KubeAPIServerStatusBuilder(this); + } + + @JsonIgnore + public KubeAPIServerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeControllerManager.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeControllerManager.java index 3528d969302..9ceea28b883 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeControllerManager.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeControllerManager.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class KubeControllerManager implements HasMetadata +public class KubeControllerManager implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(KubeControllerManagerStatus status) { this.status = status; } + @JsonIgnore + public KubeControllerManagerBuilder edit() { + return new KubeControllerManagerBuilder(this); + } + + @JsonIgnore + public KubeControllerManagerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeControllerManagerList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeControllerManagerList.java index e2a16f4469a..3ddc3a48c08 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeControllerManagerList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeControllerManagerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class KubeControllerManagerList implements KubernetesResource, KubernetesResourceList +public class KubeControllerManagerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public KubeControllerManagerListBuilder edit() { + return new KubeControllerManagerListBuilder(this); + } + + @JsonIgnore + public KubeControllerManagerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeControllerManagerSpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeControllerManagerSpec.java index c88be4fbd8c..1dd9e95f689 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeControllerManagerSpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeControllerManagerSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.GenericKubernetesResource; import io.fabric8.kubernetes.api.model.IntOrString; @@ -67,7 +68,7 @@ @BuildableReference(RawExtension.class) }) @Generated("jsonschema2pojo") -public class KubeControllerManagerSpec implements KubernetesResource +public class KubeControllerManagerSpec implements Editable , KubernetesResource { @JsonProperty("failedRevisionLimit") @@ -201,6 +202,16 @@ public void setUseMoreSecureServiceCA(Boolean useMoreSecureServiceCA) { this.useMoreSecureServiceCA = useMoreSecureServiceCA; } + @JsonIgnore + public KubeControllerManagerSpecBuilder edit() { + return new KubeControllerManagerSpecBuilder(this); + } + + @JsonIgnore + public KubeControllerManagerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeControllerManagerStatus.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeControllerManagerStatus.java index 70bdf79add5..cb690cfbbfe 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeControllerManagerStatus.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeControllerManagerStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeControllerManagerStatus implements KubernetesResource +public class KubeControllerManagerStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -188,6 +189,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public KubeControllerManagerStatusBuilder edit() { + return new KubeControllerManagerStatusBuilder(this); + } + + @JsonIgnore + public KubeControllerManagerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeScheduler.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeScheduler.java index 4822e2cb286..077e1ed87fe 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeScheduler.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeScheduler.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class KubeScheduler implements HasMetadata +public class KubeScheduler implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(KubeSchedulerStatus status) { this.status = status; } + @JsonIgnore + public KubeSchedulerBuilder edit() { + return new KubeSchedulerBuilder(this); + } + + @JsonIgnore + public KubeSchedulerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeSchedulerList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeSchedulerList.java index 59531380943..7440ed00f49 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeSchedulerList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeSchedulerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class KubeSchedulerList implements KubernetesResource, KubernetesResourceList +public class KubeSchedulerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public KubeSchedulerListBuilder edit() { + return new KubeSchedulerListBuilder(this); + } + + @JsonIgnore + public KubeSchedulerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeSchedulerSpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeSchedulerSpec.java index eeba6d8e18b..937366b71be 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeSchedulerSpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeSchedulerSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.GenericKubernetesResource; import io.fabric8.kubernetes.api.model.IntOrString; @@ -66,7 +67,7 @@ @BuildableReference(RawExtension.class) }) @Generated("jsonschema2pojo") -public class KubeSchedulerSpec implements KubernetesResource +public class KubeSchedulerSpec implements Editable , KubernetesResource { @JsonProperty("failedRevisionLimit") @@ -187,6 +188,16 @@ public void setUnsupportedConfigOverrides(KubernetesResource unsupportedConfigOv this.unsupportedConfigOverrides = unsupportedConfigOverrides; } + @JsonIgnore + public KubeSchedulerSpecBuilder edit() { + return new KubeSchedulerSpecBuilder(this); + } + + @JsonIgnore + public KubeSchedulerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeSchedulerStatus.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeSchedulerStatus.java index 26cb9e289a0..6674afe6882 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeSchedulerStatus.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeSchedulerStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchedulerStatus implements KubernetesResource +public class KubeSchedulerStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -188,6 +189,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public KubeSchedulerStatusBuilder edit() { + return new KubeSchedulerStatusBuilder(this); + } + + @JsonIgnore + public KubeSchedulerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeStorageVersionMigrator.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeStorageVersionMigrator.java index 645e9e64f5b..178a0289463 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeStorageVersionMigrator.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeStorageVersionMigrator.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class KubeStorageVersionMigrator implements HasMetadata +public class KubeStorageVersionMigrator implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(KubeStorageVersionMigratorStatus status) { this.status = status; } + @JsonIgnore + public KubeStorageVersionMigratorBuilder edit() { + return new KubeStorageVersionMigratorBuilder(this); + } + + @JsonIgnore + public KubeStorageVersionMigratorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeStorageVersionMigratorList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeStorageVersionMigratorList.java index b033f8f9adf..2d9fba8b811 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeStorageVersionMigratorList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeStorageVersionMigratorList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class KubeStorageVersionMigratorList implements KubernetesResource, KubernetesResourceList +public class KubeStorageVersionMigratorList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public KubeStorageVersionMigratorListBuilder edit() { + return new KubeStorageVersionMigratorListBuilder(this); + } + + @JsonIgnore + public KubeStorageVersionMigratorListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeStorageVersionMigratorSpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeStorageVersionMigratorSpec.java index 05c0d2b601a..23dc70f8735 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeStorageVersionMigratorSpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeStorageVersionMigratorSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.GenericKubernetesResource; import io.fabric8.kubernetes.api.model.IntOrString; @@ -63,7 +64,7 @@ @BuildableReference(RawExtension.class) }) @Generated("jsonschema2pojo") -public class KubeStorageVersionMigratorSpec implements KubernetesResource +public class KubeStorageVersionMigratorSpec implements Editable , KubernetesResource { @JsonProperty("logLevel") @@ -145,6 +146,16 @@ public void setUnsupportedConfigOverrides(KubernetesResource unsupportedConfigOv this.unsupportedConfigOverrides = unsupportedConfigOverrides; } + @JsonIgnore + public KubeStorageVersionMigratorSpecBuilder edit() { + return new KubeStorageVersionMigratorSpecBuilder(this); + } + + @JsonIgnore + public KubeStorageVersionMigratorSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeStorageVersionMigratorStatus.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeStorageVersionMigratorStatus.java index ae4a32b8f92..c9c8f48c448 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeStorageVersionMigratorStatus.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeStorageVersionMigratorStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeStorageVersionMigratorStatus implements KubernetesResource +public class KubeStorageVersionMigratorStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -145,6 +146,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public KubeStorageVersionMigratorStatusBuilder edit() { + return new KubeStorageVersionMigratorStatusBuilder(this); + } + + @JsonIgnore + public KubeStorageVersionMigratorStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KuryrConfig.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KuryrConfig.java index db5ce0c4b25..411756a6631 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KuryrConfig.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KuryrConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KuryrConfig implements KubernetesResource +public class KuryrConfig implements Editable , KubernetesResource { @JsonProperty("controllerProbesPort") @@ -183,6 +184,16 @@ public void setPoolMinPorts(Integer poolMinPorts) { this.poolMinPorts = poolMinPorts; } + @JsonIgnore + public KuryrConfigBuilder edit() { + return new KuryrConfigBuilder(this); + } + + @JsonIgnore + public KuryrConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/LoadBalancerStrategy.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/LoadBalancerStrategy.java index 2c01879cddf..e005ce1dfa9 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/LoadBalancerStrategy.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/LoadBalancerStrategy.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class LoadBalancerStrategy implements KubernetesResource +public class LoadBalancerStrategy implements Editable , KubernetesResource { @JsonProperty("allowedSourceRanges") @@ -130,6 +131,16 @@ public void setScope(String scope) { this.scope = scope; } + @JsonIgnore + public LoadBalancerStrategyBuilder edit() { + return new LoadBalancerStrategyBuilder(this); + } + + @JsonIgnore + public LoadBalancerStrategyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/LoggingDestination.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/LoggingDestination.java index d94f7bbc042..e218783cd78 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/LoggingDestination.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/LoggingDestination.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class LoggingDestination implements KubernetesResource +public class LoggingDestination implements Editable , KubernetesResource { @JsonProperty("container") @@ -113,6 +114,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public LoggingDestinationBuilder edit() { + return new LoggingDestinationBuilder(this); + } + + @JsonIgnore + public LoggingDestinationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/MTUMigration.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/MTUMigration.java index 12b57b7473a..d1e0ceb3e7c 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/MTUMigration.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/MTUMigration.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MTUMigration implements KubernetesResource +public class MTUMigration implements Editable , KubernetesResource { @JsonProperty("machine") @@ -99,6 +100,16 @@ public void setNetwork(MTUMigrationValues network) { this.network = network; } + @JsonIgnore + public MTUMigrationBuilder edit() { + return new MTUMigrationBuilder(this); + } + + @JsonIgnore + public MTUMigrationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/MTUMigrationValues.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/MTUMigrationValues.java index 71cbed9e343..23506b98cc6 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/MTUMigrationValues.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/MTUMigrationValues.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MTUMigrationValues implements KubernetesResource +public class MTUMigrationValues implements Editable , KubernetesResource { @JsonProperty("from") @@ -99,6 +100,16 @@ public void setTo(Integer to) { this.to = to; } + @JsonIgnore + public MTUMigrationValuesBuilder edit() { + return new MTUMigrationValuesBuilder(this); + } + + @JsonIgnore + public MTUMigrationValuesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NetFlowConfig.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NetFlowConfig.java index 4e0458cd44f..38fca1f5ee4 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NetFlowConfig.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NetFlowConfig.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NetFlowConfig implements KubernetesResource +public class NetFlowConfig implements Editable , KubernetesResource { @JsonProperty("collectors") @@ -88,6 +89,16 @@ public void setCollectors(List collectors) { this.collectors = collectors; } + @JsonIgnore + public NetFlowConfigBuilder edit() { + return new NetFlowConfigBuilder(this); + } + + @JsonIgnore + public NetFlowConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Network.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Network.java index 5c5e4d1e5d3..d7db1540b74 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Network.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Network.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class Network implements HasMetadata +public class Network implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(NetworkStatus status) { this.status = status; } + @JsonIgnore + public NetworkBuilder edit() { + return new NetworkBuilder(this); + } + + @JsonIgnore + public NetworkBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NetworkList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NetworkList.java index c6caf7926ae..68916149133 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NetworkList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NetworkList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class NetworkList implements KubernetesResource, KubernetesResourceList +public class NetworkList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public NetworkListBuilder edit() { + return new NetworkListBuilder(this); + } + + @JsonIgnore + public NetworkListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NetworkMigration.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NetworkMigration.java index 26302939265..bfdb3be8474 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NetworkMigration.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NetworkMigration.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NetworkMigration implements KubernetesResource +public class NetworkMigration implements Editable , KubernetesResource { @JsonProperty("features") @@ -113,6 +114,16 @@ public void setNetworkType(String networkType) { this.networkType = networkType; } + @JsonIgnore + public NetworkMigrationBuilder edit() { + return new NetworkMigrationBuilder(this); + } + + @JsonIgnore + public NetworkMigrationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NetworkSpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NetworkSpec.java index 6d136761667..6c494008af5 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NetworkSpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NetworkSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.GenericKubernetesResource; import io.fabric8.kubernetes.api.model.IntOrString; @@ -76,7 +77,7 @@ @BuildableReference(RawExtension.class) }) @Generated("jsonschema2pojo") -public class NetworkSpec implements KubernetesResource +public class NetworkSpec implements Editable , KubernetesResource { @JsonProperty("additionalNetworks") @@ -304,6 +305,16 @@ public void setUseMultiNetworkPolicy(Boolean useMultiNetworkPolicy) { this.useMultiNetworkPolicy = useMultiNetworkPolicy; } + @JsonIgnore + public NetworkSpecBuilder edit() { + return new NetworkSpecBuilder(this); + } + + @JsonIgnore + public NetworkSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NetworkStatus.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NetworkStatus.java index bed7c888212..4a3830a0063 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NetworkStatus.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NetworkStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NetworkStatus implements KubernetesResource +public class NetworkStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -145,6 +146,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public NetworkStatusBuilder edit() { + return new NetworkStatusBuilder(this); + } + + @JsonIgnore + public NetworkStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NodePlacement.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NodePlacement.java index 851d7e2eb13..5fb08f0f480 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NodePlacement.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NodePlacement.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NodePlacement implements KubernetesResource +public class NodePlacement implements Editable , KubernetesResource { @JsonProperty("nodeSelector") @@ -102,6 +103,16 @@ public void setTolerations(List tolerations) { this.tolerations = tolerations; } + @JsonIgnore + public NodePlacementBuilder edit() { + return new NodePlacementBuilder(this); + } + + @JsonIgnore + public NodePlacementBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NodePortStrategy.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NodePortStrategy.java index 049b2da85a5..5c7fe1994e1 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NodePortStrategy.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NodePortStrategy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NodePortStrategy implements KubernetesResource +public class NodePortStrategy implements Editable , KubernetesResource { @JsonProperty("protocol") @@ -85,6 +86,16 @@ public void setProtocol(String protocol) { this.protocol = protocol; } + @JsonIgnore + public NodePortStrategyBuilder edit() { + return new NodePortStrategyBuilder(this); + } + + @JsonIgnore + public NodePortStrategyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NodeStatus.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NodeStatus.java index bed438e8f91..b77394192c5 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NodeStatus.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NodeStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -65,7 +66,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NodeStatus implements KubernetesResource +public class NodeStatus implements Editable , KubernetesResource { @JsonProperty("currentRevision") @@ -200,6 +201,16 @@ public void setTargetRevision(Integer targetRevision) { this.targetRevision = targetRevision; } + @JsonIgnore + public NodeStatusBuilder edit() { + return new NodeStatusBuilder(this); + } + + @JsonIgnore + public NodeStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OAuthAPIServerStatus.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OAuthAPIServerStatus.java index 5398edcd90f..7e00ec86b56 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OAuthAPIServerStatus.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OAuthAPIServerStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OAuthAPIServerStatus implements KubernetesResource +public class OAuthAPIServerStatus implements Editable , KubernetesResource { @JsonProperty("latestAvailableRevision") @@ -85,6 +86,16 @@ public void setLatestAvailableRevision(Integer latestAvailableRevision) { this.latestAvailableRevision = latestAvailableRevision; } + @JsonIgnore + public OAuthAPIServerStatusBuilder edit() { + return new OAuthAPIServerStatusBuilder(this); + } + + @JsonIgnore + public OAuthAPIServerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OVNKubernetesConfig.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OVNKubernetesConfig.java index 59dc6e04946..9511c76baf3 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OVNKubernetesConfig.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OVNKubernetesConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -63,7 +64,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OVNKubernetesConfig implements KubernetesResource +public class OVNKubernetesConfig implements Editable , KubernetesResource { @JsonProperty("egressIPConfig") @@ -197,6 +198,16 @@ public void setV6InternalSubnet(String v6InternalSubnet) { this.v6InternalSubnet = v6InternalSubnet; } + @JsonIgnore + public OVNKubernetesConfigBuilder edit() { + return new OVNKubernetesConfigBuilder(this); + } + + @JsonIgnore + public OVNKubernetesConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftAPIServer.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftAPIServer.java index 6df54728d99..43ea9b7aa57 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftAPIServer.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftAPIServer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class OpenShiftAPIServer implements HasMetadata +public class OpenShiftAPIServer implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(OpenShiftAPIServerStatus status) { this.status = status; } + @JsonIgnore + public OpenShiftAPIServerBuilder edit() { + return new OpenShiftAPIServerBuilder(this); + } + + @JsonIgnore + public OpenShiftAPIServerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftAPIServerList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftAPIServerList.java index a43bed272ac..ec6ce24addc 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftAPIServerList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftAPIServerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class OpenShiftAPIServerList implements KubernetesResource, KubernetesResourceList +public class OpenShiftAPIServerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public OpenShiftAPIServerListBuilder edit() { + return new OpenShiftAPIServerListBuilder(this); + } + + @JsonIgnore + public OpenShiftAPIServerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftAPIServerSpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftAPIServerSpec.java index 09c6be9c8f2..1c5893e1654 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftAPIServerSpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftAPIServerSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.GenericKubernetesResource; import io.fabric8.kubernetes.api.model.IntOrString; @@ -63,7 +64,7 @@ @BuildableReference(RawExtension.class) }) @Generated("jsonschema2pojo") -public class OpenShiftAPIServerSpec implements KubernetesResource +public class OpenShiftAPIServerSpec implements Editable , KubernetesResource { @JsonProperty("logLevel") @@ -145,6 +146,16 @@ public void setUnsupportedConfigOverrides(KubernetesResource unsupportedConfigOv this.unsupportedConfigOverrides = unsupportedConfigOverrides; } + @JsonIgnore + public OpenShiftAPIServerSpecBuilder edit() { + return new OpenShiftAPIServerSpecBuilder(this); + } + + @JsonIgnore + public OpenShiftAPIServerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftAPIServerStatus.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftAPIServerStatus.java index bf2934d4bb4..ebcb11c53ee 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftAPIServerStatus.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftAPIServerStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OpenShiftAPIServerStatus implements KubernetesResource +public class OpenShiftAPIServerStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -159,6 +160,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public OpenShiftAPIServerStatusBuilder edit() { + return new OpenShiftAPIServerStatusBuilder(this); + } + + @JsonIgnore + public OpenShiftAPIServerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftControllerManager.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftControllerManager.java index c0fc0e7e638..5e6e979849f 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftControllerManager.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftControllerManager.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class OpenShiftControllerManager implements HasMetadata +public class OpenShiftControllerManager implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(OpenShiftControllerManagerStatus status) { this.status = status; } + @JsonIgnore + public OpenShiftControllerManagerBuilder edit() { + return new OpenShiftControllerManagerBuilder(this); + } + + @JsonIgnore + public OpenShiftControllerManagerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftControllerManagerList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftControllerManagerList.java index 44319c94acb..0463e04f20f 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftControllerManagerList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftControllerManagerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class OpenShiftControllerManagerList implements KubernetesResource, KubernetesResourceList +public class OpenShiftControllerManagerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public OpenShiftControllerManagerListBuilder edit() { + return new OpenShiftControllerManagerListBuilder(this); + } + + @JsonIgnore + public OpenShiftControllerManagerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftControllerManagerSpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftControllerManagerSpec.java index 7704275627a..81888eaf6fb 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftControllerManagerSpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftControllerManagerSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.GenericKubernetesResource; import io.fabric8.kubernetes.api.model.IntOrString; @@ -63,7 +64,7 @@ @BuildableReference(RawExtension.class) }) @Generated("jsonschema2pojo") -public class OpenShiftControllerManagerSpec implements KubernetesResource +public class OpenShiftControllerManagerSpec implements Editable , KubernetesResource { @JsonProperty("logLevel") @@ -145,6 +146,16 @@ public void setUnsupportedConfigOverrides(KubernetesResource unsupportedConfigOv this.unsupportedConfigOverrides = unsupportedConfigOverrides; } + @JsonIgnore + public OpenShiftControllerManagerSpecBuilder edit() { + return new OpenShiftControllerManagerSpecBuilder(this); + } + + @JsonIgnore + public OpenShiftControllerManagerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftControllerManagerStatus.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftControllerManagerStatus.java index 9ba02318b84..0dc66dd0b38 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftControllerManagerStatus.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftControllerManagerStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OpenShiftControllerManagerStatus implements KubernetesResource +public class OpenShiftControllerManagerStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -145,6 +146,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public OpenShiftControllerManagerStatusBuilder edit() { + return new OpenShiftControllerManagerStatusBuilder(this); + } + + @JsonIgnore + public OpenShiftControllerManagerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftSDNConfig.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftSDNConfig.java index 29f01310356..9a89b388bed 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftSDNConfig.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftSDNConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OpenShiftSDNConfig implements KubernetesResource +public class OpenShiftSDNConfig implements Editable , KubernetesResource { @JsonProperty("enableUnidling") @@ -141,6 +142,16 @@ public void setVxlanPort(Integer vxlanPort) { this.vxlanPort = vxlanPort; } + @JsonIgnore + public OpenShiftSDNConfigBuilder edit() { + return new OpenShiftSDNConfigBuilder(this); + } + + @JsonIgnore + public OpenShiftSDNConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OperatorCondition.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OperatorCondition.java index 2709d2ab916..70b4af6546b 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OperatorCondition.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OperatorCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OperatorCondition implements KubernetesResource +public class OperatorCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public OperatorConditionBuilder edit() { + return new OperatorConditionBuilder(this); + } + + @JsonIgnore + public OperatorConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Perspective.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Perspective.java index a281765825f..b330350a04b 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Perspective.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Perspective.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Perspective implements KubernetesResource +public class Perspective implements Editable , KubernetesResource { @JsonProperty("id") @@ -116,6 +117,16 @@ public void setVisibility(PerspectiveVisibility visibility) { this.visibility = visibility; } + @JsonIgnore + public PerspectiveBuilder edit() { + return new PerspectiveBuilder(this); + } + + @JsonIgnore + public PerspectiveBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/PerspectiveVisibility.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/PerspectiveVisibility.java index 70c775293c7..133f754cf07 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/PerspectiveVisibility.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/PerspectiveVisibility.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PerspectiveVisibility implements KubernetesResource +public class PerspectiveVisibility implements Editable , KubernetesResource { @JsonProperty("accessReview") @@ -99,6 +100,16 @@ public void setState(String state) { this.state = state; } + @JsonIgnore + public PerspectiveVisibilityBuilder edit() { + return new PerspectiveVisibilityBuilder(this); + } + + @JsonIgnore + public PerspectiveVisibilityBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/PinnedResourceReference.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/PinnedResourceReference.java index ae501adec04..fbc0a69096b 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/PinnedResourceReference.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/PinnedResourceReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PinnedResourceReference implements KubernetesResource +public class PinnedResourceReference implements Editable , KubernetesResource { @JsonProperty("group") @@ -113,6 +114,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public PinnedResourceReferenceBuilder edit() { + return new PinnedResourceReferenceBuilder(this); + } + + @JsonIgnore + public PinnedResourceReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/PolicyAuditConfig.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/PolicyAuditConfig.java index 478788ad760..2b591a4397d 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/PolicyAuditConfig.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/PolicyAuditConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PolicyAuditConfig implements KubernetesResource +public class PolicyAuditConfig implements Editable , KubernetesResource { @JsonProperty("destination") @@ -141,6 +142,16 @@ public void setSyslogFacility(String syslogFacility) { this.syslogFacility = syslogFacility; } + @JsonIgnore + public PolicyAuditConfigBuilder edit() { + return new PolicyAuditConfigBuilder(this); + } + + @JsonIgnore + public PolicyAuditConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/PrivateStrategy.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/PrivateStrategy.java index fcb539dffd7..f94ceb2bc46 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/PrivateStrategy.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/PrivateStrategy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PrivateStrategy implements KubernetesResource +public class PrivateStrategy implements Editable , KubernetesResource { @JsonProperty("protocol") @@ -85,6 +86,16 @@ public void setProtocol(String protocol) { this.protocol = protocol; } + @JsonIgnore + public PrivateStrategyBuilder edit() { + return new PrivateStrategyBuilder(this); + } + + @JsonIgnore + public PrivateStrategyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ProjectAccess.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ProjectAccess.java index 83c011e9e26..78ee86f595a 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ProjectAccess.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ProjectAccess.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ProjectAccess implements KubernetesResource +public class ProjectAccess implements Editable , KubernetesResource { @JsonProperty("availableClusterRoles") @@ -88,6 +89,16 @@ public void setAvailableClusterRoles(List availableClusterRoles) { this.availableClusterRoles = availableClusterRoles; } + @JsonIgnore + public ProjectAccessBuilder edit() { + return new ProjectAccessBuilder(this); + } + + @JsonIgnore + public ProjectAccessBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ProviderLoadBalancerParameters.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ProviderLoadBalancerParameters.java index bd43dbf93e5..266315728ce 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ProviderLoadBalancerParameters.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ProviderLoadBalancerParameters.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ProviderLoadBalancerParameters implements KubernetesResource +public class ProviderLoadBalancerParameters implements Editable , KubernetesResource { @JsonProperty("aws") @@ -127,6 +128,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public ProviderLoadBalancerParametersBuilder edit() { + return new ProviderLoadBalancerParametersBuilder(this); + } + + @JsonIgnore + public ProviderLoadBalancerParametersBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ProxyConfig.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ProxyConfig.java index 132fd2ffaab..c8f4a04a0c2 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ProxyConfig.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ProxyConfig.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ProxyConfig implements KubernetesResource +public class ProxyConfig implements Editable , KubernetesResource { @JsonProperty("bindAddress") @@ -115,6 +116,16 @@ public void setProxyArguments(Map> proxyArguments) { this.proxyArguments = proxyArguments; } + @JsonIgnore + public ProxyConfigBuilder edit() { + return new ProxyConfigBuilder(this); + } + + @JsonIgnore + public ProxyConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/QuickStarts.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/QuickStarts.java index 84ad2179e0c..6b710b73630 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/QuickStarts.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/QuickStarts.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class QuickStarts implements KubernetesResource +public class QuickStarts implements Editable , KubernetesResource { @JsonProperty("disabled") @@ -88,6 +89,16 @@ public void setDisabled(List disabled) { this.disabled = disabled; } + @JsonIgnore + public QuickStartsBuilder edit() { + return new QuickStartsBuilder(this); + } + + @JsonIgnore + public QuickStartsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ResourceAttributesAccessReview.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ResourceAttributesAccessReview.java index bb733971368..8f107b287e0 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ResourceAttributesAccessReview.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ResourceAttributesAccessReview.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ResourceAttributesAccessReview implements KubernetesResource +public class ResourceAttributesAccessReview implements Editable , KubernetesResource { @JsonProperty("missing") @@ -104,6 +105,16 @@ public void setRequired(List required) { this.required = required; } + @JsonIgnore + public ResourceAttributesAccessReviewBuilder edit() { + return new ResourceAttributesAccessReviewBuilder(this); + } + + @JsonIgnore + public ResourceAttributesAccessReviewBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/RouteAdmissionPolicy.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/RouteAdmissionPolicy.java index 6f5306e50d5..d9778334d04 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/RouteAdmissionPolicy.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/RouteAdmissionPolicy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RouteAdmissionPolicy implements KubernetesResource +public class RouteAdmissionPolicy implements Editable , KubernetesResource { @JsonProperty("namespaceOwnership") @@ -99,6 +100,16 @@ public void setWildcardPolicy(String wildcardPolicy) { this.wildcardPolicy = wildcardPolicy; } + @JsonIgnore + public RouteAdmissionPolicyBuilder edit() { + return new RouteAdmissionPolicyBuilder(this); + } + + @JsonIgnore + public RouteAdmissionPolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/SFlowConfig.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/SFlowConfig.java index 23b55cd0505..044546a3fd6 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/SFlowConfig.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/SFlowConfig.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SFlowConfig implements KubernetesResource +public class SFlowConfig implements Editable , KubernetesResource { @JsonProperty("collectors") @@ -88,6 +89,16 @@ public void setCollectors(List collectors) { this.collectors = collectors; } + @JsonIgnore + public SFlowConfigBuilder edit() { + return new SFlowConfigBuilder(this); + } + + @JsonIgnore + public SFlowConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Server.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Server.java index 3ba51bd23e7..a6c8acb4c9a 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Server.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Server.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Server implements KubernetesResource +public class Server implements Editable , KubernetesResource { @JsonProperty("forwardPlugin") @@ -116,6 +117,16 @@ public void setZones(List zones) { this.zones = zones; } + @JsonIgnore + public ServerBuilder edit() { + return new ServerBuilder(this); + } + + @JsonIgnore + public ServerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceAccountIssuerStatus.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceAccountIssuerStatus.java index e239f3f3e49..06b469a1e63 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceAccountIssuerStatus.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceAccountIssuerStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ServiceAccountIssuerStatus implements KubernetesResource +public class ServiceAccountIssuerStatus implements Editable , KubernetesResource { @JsonProperty("expirationTime") @@ -99,6 +100,16 @@ public void setName(java.lang.String name) { this.name = name; } + @JsonIgnore + public ServiceAccountIssuerStatusBuilder edit() { + return new ServiceAccountIssuerStatusBuilder(this); + } + + @JsonIgnore + public ServiceAccountIssuerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCA.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCA.java index d5c09314c00..ae2c555ad02 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCA.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCA.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class ServiceCA implements HasMetadata +public class ServiceCA implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(ServiceCAStatus status) { this.status = status; } + @JsonIgnore + public ServiceCABuilder edit() { + return new ServiceCABuilder(this); + } + + @JsonIgnore + public ServiceCABuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCAList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCAList.java index 19bef5ebce2..627ecb63993 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCAList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCAList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class ServiceCAList implements KubernetesResource, KubernetesResourceList +public class ServiceCAList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ServiceCAListBuilder edit() { + return new ServiceCAListBuilder(this); + } + + @JsonIgnore + public ServiceCAListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCASpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCASpec.java index 2ab5be47ce4..76c4adebc62 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCASpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCASpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.GenericKubernetesResource; import io.fabric8.kubernetes.api.model.IntOrString; @@ -63,7 +64,7 @@ @BuildableReference(RawExtension.class) }) @Generated("jsonschema2pojo") -public class ServiceCASpec implements KubernetesResource +public class ServiceCASpec implements Editable , KubernetesResource { @JsonProperty("logLevel") @@ -145,6 +146,16 @@ public void setUnsupportedConfigOverrides(KubernetesResource unsupportedConfigOv this.unsupportedConfigOverrides = unsupportedConfigOverrides; } + @JsonIgnore + public ServiceCASpecBuilder edit() { + return new ServiceCASpecBuilder(this); + } + + @JsonIgnore + public ServiceCASpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCAStatus.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCAStatus.java index 738276eb757..f9f6c2264d7 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCAStatus.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCAStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ServiceCAStatus implements KubernetesResource +public class ServiceCAStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -145,6 +146,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public ServiceCAStatusBuilder edit() { + return new ServiceCAStatusBuilder(this); + } + + @JsonIgnore + public ServiceCAStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogAPIServer.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogAPIServer.java index 9e53b421c7d..84fbd5b11a3 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogAPIServer.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogAPIServer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class ServiceCatalogAPIServer implements HasMetadata +public class ServiceCatalogAPIServer implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(ServiceCatalogAPIServerStatus status) { this.status = status; } + @JsonIgnore + public ServiceCatalogAPIServerBuilder edit() { + return new ServiceCatalogAPIServerBuilder(this); + } + + @JsonIgnore + public ServiceCatalogAPIServerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogAPIServerList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogAPIServerList.java index cc449819fc1..48d58004806 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogAPIServerList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogAPIServerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class ServiceCatalogAPIServerList implements KubernetesResource, KubernetesResourceList +public class ServiceCatalogAPIServerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ServiceCatalogAPIServerListBuilder edit() { + return new ServiceCatalogAPIServerListBuilder(this); + } + + @JsonIgnore + public ServiceCatalogAPIServerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogAPIServerSpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogAPIServerSpec.java index 9588cb7e583..dc31c0370e4 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogAPIServerSpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogAPIServerSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.GenericKubernetesResource; import io.fabric8.kubernetes.api.model.IntOrString; @@ -63,7 +64,7 @@ @BuildableReference(RawExtension.class) }) @Generated("jsonschema2pojo") -public class ServiceCatalogAPIServerSpec implements KubernetesResource +public class ServiceCatalogAPIServerSpec implements Editable , KubernetesResource { @JsonProperty("logLevel") @@ -145,6 +146,16 @@ public void setUnsupportedConfigOverrides(KubernetesResource unsupportedConfigOv this.unsupportedConfigOverrides = unsupportedConfigOverrides; } + @JsonIgnore + public ServiceCatalogAPIServerSpecBuilder edit() { + return new ServiceCatalogAPIServerSpecBuilder(this); + } + + @JsonIgnore + public ServiceCatalogAPIServerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogAPIServerStatus.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogAPIServerStatus.java index c3062a5b576..273cfd3f493 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogAPIServerStatus.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogAPIServerStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ServiceCatalogAPIServerStatus implements KubernetesResource +public class ServiceCatalogAPIServerStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -145,6 +146,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public ServiceCatalogAPIServerStatusBuilder edit() { + return new ServiceCatalogAPIServerStatusBuilder(this); + } + + @JsonIgnore + public ServiceCatalogAPIServerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogControllerManager.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogControllerManager.java index 30ac3457cc2..4e0ce94f821 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogControllerManager.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogControllerManager.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class ServiceCatalogControllerManager implements HasMetadata +public class ServiceCatalogControllerManager implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(ServiceCatalogControllerManagerStatus status) { this.status = status; } + @JsonIgnore + public ServiceCatalogControllerManagerBuilder edit() { + return new ServiceCatalogControllerManagerBuilder(this); + } + + @JsonIgnore + public ServiceCatalogControllerManagerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogControllerManagerList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogControllerManagerList.java index 8e087336a5c..289969831fb 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogControllerManagerList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogControllerManagerList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class ServiceCatalogControllerManagerList implements KubernetesResource, KubernetesResourceList +public class ServiceCatalogControllerManagerList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ServiceCatalogControllerManagerListBuilder edit() { + return new ServiceCatalogControllerManagerListBuilder(this); + } + + @JsonIgnore + public ServiceCatalogControllerManagerListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogControllerManagerSpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogControllerManagerSpec.java index 5a9d77b5184..51a3f522b09 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogControllerManagerSpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogControllerManagerSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.GenericKubernetesResource; import io.fabric8.kubernetes.api.model.IntOrString; @@ -63,7 +64,7 @@ @BuildableReference(RawExtension.class) }) @Generated("jsonschema2pojo") -public class ServiceCatalogControllerManagerSpec implements KubernetesResource +public class ServiceCatalogControllerManagerSpec implements Editable , KubernetesResource { @JsonProperty("logLevel") @@ -145,6 +146,16 @@ public void setUnsupportedConfigOverrides(KubernetesResource unsupportedConfigOv this.unsupportedConfigOverrides = unsupportedConfigOverrides; } + @JsonIgnore + public ServiceCatalogControllerManagerSpecBuilder edit() { + return new ServiceCatalogControllerManagerSpecBuilder(this); + } + + @JsonIgnore + public ServiceCatalogControllerManagerSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogControllerManagerStatus.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogControllerManagerStatus.java index cc5a341fa67..27d1b10c940 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogControllerManagerStatus.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogControllerManagerStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ServiceCatalogControllerManagerStatus implements KubernetesResource +public class ServiceCatalogControllerManagerStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -145,6 +146,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public ServiceCatalogControllerManagerStatusBuilder edit() { + return new ServiceCatalogControllerManagerStatusBuilder(this); + } + + @JsonIgnore + public ServiceCatalogControllerManagerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/SimpleMacvlanConfig.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/SimpleMacvlanConfig.java index 4f92c36e5b0..2679c328d26 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/SimpleMacvlanConfig.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/SimpleMacvlanConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SimpleMacvlanConfig implements KubernetesResource +public class SimpleMacvlanConfig implements Editable , KubernetesResource { @JsonProperty("ipamConfig") @@ -127,6 +128,16 @@ public void setMtu(Integer mtu) { this.mtu = mtu; } + @JsonIgnore + public SimpleMacvlanConfigBuilder edit() { + return new SimpleMacvlanConfigBuilder(this); + } + + @JsonIgnore + public SimpleMacvlanConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StaticIPAMAddresses.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StaticIPAMAddresses.java index 5deb842df98..a465bd6f0be 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StaticIPAMAddresses.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StaticIPAMAddresses.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class StaticIPAMAddresses implements KubernetesResource +public class StaticIPAMAddresses implements Editable , KubernetesResource { @JsonProperty("address") @@ -99,6 +100,16 @@ public void setGateway(String gateway) { this.gateway = gateway; } + @JsonIgnore + public StaticIPAMAddressesBuilder edit() { + return new StaticIPAMAddressesBuilder(this); + } + + @JsonIgnore + public StaticIPAMAddressesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StaticIPAMConfig.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StaticIPAMConfig.java index 43bd2b7ab87..8304d2aad44 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StaticIPAMConfig.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StaticIPAMConfig.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class StaticIPAMConfig implements KubernetesResource +public class StaticIPAMConfig implements Editable , KubernetesResource { @JsonProperty("addresses") @@ -117,6 +118,16 @@ public void setRoutes(List routes) { this.routes = routes; } + @JsonIgnore + public StaticIPAMConfigBuilder edit() { + return new StaticIPAMConfigBuilder(this); + } + + @JsonIgnore + public StaticIPAMConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StaticIPAMDNS.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StaticIPAMDNS.java index 732c4c6dcbe..c0e6b3ef0b3 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StaticIPAMDNS.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StaticIPAMDNS.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class StaticIPAMDNS implements KubernetesResource +public class StaticIPAMDNS implements Editable , KubernetesResource { @JsonProperty("domain") @@ -117,6 +118,16 @@ public void setSearch(List search) { this.search = search; } + @JsonIgnore + public StaticIPAMDNSBuilder edit() { + return new StaticIPAMDNSBuilder(this); + } + + @JsonIgnore + public StaticIPAMDNSBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StaticIPAMRoutes.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StaticIPAMRoutes.java index 0a8b7374b34..e24d1d36ed3 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StaticIPAMRoutes.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StaticIPAMRoutes.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class StaticIPAMRoutes implements KubernetesResource +public class StaticIPAMRoutes implements Editable , KubernetesResource { @JsonProperty("destination") @@ -99,6 +100,16 @@ public void setGateway(String gateway) { this.gateway = gateway; } + @JsonIgnore + public StaticIPAMRoutesBuilder edit() { + return new StaticIPAMRoutesBuilder(this); + } + + @JsonIgnore + public StaticIPAMRoutesBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StatuspageProvider.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StatuspageProvider.java index 759bc325506..2d5e5e63260 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StatuspageProvider.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StatuspageProvider.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class StatuspageProvider implements KubernetesResource +public class StatuspageProvider implements Editable , KubernetesResource { @JsonProperty("pageID") @@ -85,6 +86,16 @@ public void setPageID(String pageID) { this.pageID = pageID; } + @JsonIgnore + public StatuspageProviderBuilder edit() { + return new StatuspageProviderBuilder(this); + } + + @JsonIgnore + public StatuspageProviderBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Storage.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Storage.java index aaf16555efa..51c98a4a9be 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Storage.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Storage.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class Storage implements HasMetadata +public class Storage implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(StorageStatus status) { this.status = status; } + @JsonIgnore + public StorageBuilder edit() { + return new StorageBuilder(this); + } + + @JsonIgnore + public StorageBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StorageList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StorageList.java index ac679fa7bc9..9e85b6e01e6 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StorageList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StorageList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class StorageList implements KubernetesResource, KubernetesResourceList +public class StorageList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public StorageListBuilder edit() { + return new StorageListBuilder(this); + } + + @JsonIgnore + public StorageListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StorageSpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StorageSpec.java index 778227209ea..a1b6f56e0d1 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StorageSpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StorageSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.GenericKubernetesResource; import io.fabric8.kubernetes.api.model.IntOrString; @@ -64,7 +65,7 @@ @BuildableReference(RawExtension.class) }) @Generated("jsonschema2pojo") -public class StorageSpec implements KubernetesResource +public class StorageSpec implements Editable , KubernetesResource { @JsonProperty("logLevel") @@ -159,6 +160,16 @@ public void setVsphereStorageDriver(String vsphereStorageDriver) { this.vsphereStorageDriver = vsphereStorageDriver; } + @JsonIgnore + public StorageSpecBuilder edit() { + return new StorageSpecBuilder(this); + } + + @JsonIgnore + public StorageSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StorageStatus.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StorageStatus.java index 5fb61b1d5e4..c5d672da55b 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StorageStatus.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StorageStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class StorageStatus implements KubernetesResource +public class StorageStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -145,6 +146,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public StorageStatusBuilder edit() { + return new StorageStatusBuilder(this); + } + + @JsonIgnore + public StorageStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/SyslogLoggingDestinationParameters.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/SyslogLoggingDestinationParameters.java index 54445dc51d2..6ff418bba21 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/SyslogLoggingDestinationParameters.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/SyslogLoggingDestinationParameters.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SyslogLoggingDestinationParameters implements KubernetesResource +public class SyslogLoggingDestinationParameters implements Editable , KubernetesResource { @JsonProperty("address") @@ -127,6 +128,16 @@ public void setPort(Integer port) { this.port = port; } + @JsonIgnore + public SyslogLoggingDestinationParametersBuilder edit() { + return new SyslogLoggingDestinationParametersBuilder(this); + } + + @JsonIgnore + public SyslogLoggingDestinationParametersBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Upstream.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Upstream.java index 8220d0d7bc1..62ab7d6ca00 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Upstream.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Upstream.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Upstream implements KubernetesResource +public class Upstream implements Editable , KubernetesResource { @JsonProperty("address") @@ -113,6 +114,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public UpstreamBuilder edit() { + return new UpstreamBuilder(this); + } + + @JsonIgnore + public UpstreamBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/UpstreamResolvers.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/UpstreamResolvers.java index 1d6af226e0a..06984678b4d 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/UpstreamResolvers.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/UpstreamResolvers.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class UpstreamResolvers implements KubernetesResource +public class UpstreamResolvers implements Editable , KubernetesResource { @JsonProperty("policy") @@ -130,6 +131,16 @@ public void setUpstreams(List upstreams) { this.upstreams = upstreams; } + @JsonIgnore + public UpstreamResolversBuilder edit() { + return new UpstreamResolversBuilder(this); + } + + @JsonIgnore + public UpstreamResolversBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/VSphereCSIDriverConfigSpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/VSphereCSIDriverConfigSpec.java index bf9ad1a4cc1..d431d8def31 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/VSphereCSIDriverConfigSpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/VSphereCSIDriverConfigSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class VSphereCSIDriverConfigSpec implements KubernetesResource +public class VSphereCSIDriverConfigSpec implements Editable , KubernetesResource { @JsonProperty("topologyCategories") @@ -88,6 +89,16 @@ public void setTopologyCategories(List topologyCategories) { this.topologyCategories = topologyCategories; } + @JsonIgnore + public VSphereCSIDriverConfigSpecBuilder edit() { + return new VSphereCSIDriverConfigSpecBuilder(this); + } + + @JsonIgnore + public VSphereCSIDriverConfigSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1alpha1/ImageContentSourcePolicy.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1alpha1/ImageContentSourcePolicy.java index 254039f9c0a..b4b1d37536e 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1alpha1/ImageContentSourcePolicy.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1alpha1/ImageContentSourcePolicy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -63,7 +64,7 @@ @Version("v1alpha1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class ImageContentSourcePolicy implements HasMetadata +public class ImageContentSourcePolicy implements Editable , HasMetadata { /** @@ -162,6 +163,16 @@ public void setSpec(ImageContentSourcePolicySpec spec) { this.spec = spec; } + @JsonIgnore + public ImageContentSourcePolicyBuilder edit() { + return new ImageContentSourcePolicyBuilder(this); + } + + @JsonIgnore + public ImageContentSourcePolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1alpha1/ImageContentSourcePolicyList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1alpha1/ImageContentSourcePolicyList.java index 69feeaf82da..4939a71eaaf 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1alpha1/ImageContentSourcePolicyList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1alpha1/ImageContentSourcePolicyList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha1") @Group("operator.openshift.io") @Generated("jsonschema2pojo") -public class ImageContentSourcePolicyList implements KubernetesResource, KubernetesResourceList +public class ImageContentSourcePolicyList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ImageContentSourcePolicyListBuilder edit() { + return new ImageContentSourcePolicyListBuilder(this); + } + + @JsonIgnore + public ImageContentSourcePolicyListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1alpha1/ImageContentSourcePolicySpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1alpha1/ImageContentSourcePolicySpec.java index 5d701a3752c..375920005fb 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1alpha1/ImageContentSourcePolicySpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1alpha1/ImageContentSourcePolicySpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageContentSourcePolicySpec implements KubernetesResource +public class ImageContentSourcePolicySpec implements Editable , KubernetesResource { @JsonProperty("repositoryDigestMirrors") @@ -88,6 +89,16 @@ public void setRepositoryDigestMirrors(List repositoryD this.repositoryDigestMirrors = repositoryDigestMirrors; } + @JsonIgnore + public ImageContentSourcePolicySpecBuilder edit() { + return new ImageContentSourcePolicySpecBuilder(this); + } + + @JsonIgnore + public ImageContentSourcePolicySpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1alpha1/RepositoryDigestMirrors.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1alpha1/RepositoryDigestMirrors.java index aec1f782fbc..c7818242658 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1alpha1/RepositoryDigestMirrors.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1alpha1/RepositoryDigestMirrors.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RepositoryDigestMirrors implements KubernetesResource +public class RepositoryDigestMirrors implements Editable , KubernetesResource { @JsonProperty("mirrors") @@ -102,6 +103,16 @@ public void setSource(String source) { this.source = source; } + @JsonIgnore + public RepositoryDigestMirrorsBuilder edit() { + return new RepositoryDigestMirrorsBuilder(this); + } + + @JsonIgnore + public RepositoryDigestMirrorsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; 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 index 3090b5b8feb..cbf4a286b7a 100644 --- 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 @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -101,7 +102,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -494,6 +496,16 @@ public void setTypeMeta(TypeMeta typeMeta) { this.typeMeta = typeMeta; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.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 index d5d870853c4..d5fd6286fa9 100644 --- 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 @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -101,7 +102,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -494,6 +496,16 @@ public void setTypeMeta(TypeMeta typeMeta) { this.typeMeta = typeMeta; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/AppLink.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/AppLink.java index d075d7838d1..0239f50d07f 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/AppLink.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/AppLink.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AppLink implements KubernetesResource +public class AppLink implements Editable , KubernetesResource { @JsonProperty("name") @@ -99,6 +100,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public AppLinkBuilder edit() { + return new AppLinkBuilder(this); + } + + @JsonIgnore + public AppLinkBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/CSVDescription.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/CSVDescription.java index e3af4316531..3af39bc9b71 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/CSVDescription.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/CSVDescription.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.GroupVersionKind; import io.fabric8.kubernetes.api.model.IntOrString; @@ -76,7 +77,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CSVDescription implements KubernetesResource +public class CSVDescription implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -309,6 +310,16 @@ public void setVersion(java.lang.String version) { this.version = version; } + @JsonIgnore + public CSVDescriptionBuilder edit() { + return new CSVDescriptionBuilder(this); + } + + @JsonIgnore + public CSVDescriptionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/Icon.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/Icon.java index 06e6ab7a895..c25d2b5b1d2 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/Icon.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/Icon.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Icon implements KubernetesResource +public class Icon implements Editable , KubernetesResource { @JsonProperty("base64data") @@ -99,6 +100,16 @@ public void setMediatype(String mediatype) { this.mediatype = mediatype; } + @JsonIgnore + public IconBuilder edit() { + return new IconBuilder(this); + } + + @JsonIgnore + public IconBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/Maintainer.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/Maintainer.java index 3a99464f56d..3ef4f388939 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/Maintainer.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/Maintainer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Maintainer implements KubernetesResource +public class Maintainer implements Editable , KubernetesResource { @JsonProperty("email") @@ -99,6 +100,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public MaintainerBuilder edit() { + return new MaintainerBuilder(this); + } + + @JsonIgnore + public MaintainerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; 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 aa90fb6817b..ae5aac917d1 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 @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PackageChannel implements KubernetesResource +public class PackageChannel implements Editable , KubernetesResource { @JsonProperty("currentCSV") @@ -113,6 +114,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public PackageChannelBuilder edit() { + return new PackageChannelBuilder(this); + } + + @JsonIgnore + public PackageChannelBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; 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 f85f0d792c7..0e62f049684 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 @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("packages.operators.coreos.com") @Generated("jsonschema2pojo") -public class PackageManifest implements HasMetadata, Namespaced +public class PackageManifest implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(PackageManifestStatus status) { this.status = status; } + @JsonIgnore + public PackageManifestBuilder edit() { + return new PackageManifestBuilder(this); + } + + @JsonIgnore + public PackageManifestBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/PackageManifestList.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/PackageManifestList.java index a89f93999c1..525f7b6e303 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/PackageManifestList.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/PackageManifestList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("packages.operators.coreos.com") @Generated("jsonschema2pojo") -public class PackageManifestList implements KubernetesResource, KubernetesResourceList +public class PackageManifestList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public PackageManifestListBuilder edit() { + return new PackageManifestListBuilder(this); + } + + @JsonIgnore + public PackageManifestListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/PackageManifestSpec.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/PackageManifestSpec.java index d8221a11387..b096b6199a2 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/PackageManifestSpec.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/PackageManifestSpec.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PackageManifestSpec implements KubernetesResource +public class PackageManifestSpec implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public PackageManifestSpecBuilder edit() { + return new PackageManifestSpecBuilder(this); + } + + @JsonIgnore + public PackageManifestSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; 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 6264e1c9b2a..86bf5ac0e4b 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 @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PackageManifestStatus implements KubernetesResource +public class PackageManifestStatus implements Editable , KubernetesResource { @JsonProperty("catalogSource") @@ -186,6 +187,16 @@ public void setProvider(AppLink provider) { this.provider = provider; } + @JsonIgnore + public PackageManifestStatusBuilder edit() { + return new PackageManifestStatusBuilder(this); + } + + @JsonIgnore + public PackageManifestStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.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/Components.java index c30eced5c03..03b08f39b73 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/Components.java @@ -14,6 +14,7 @@ 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; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Components implements KubernetesResource +public class Components implements Editable , KubernetesResource { @JsonProperty("labelSelector") @@ -102,6 +103,16 @@ public void setRefs(List refs) { this.refs = refs; } + @JsonIgnore + public ComponentsBuilder edit() { + return new ComponentsBuilder(this); + } + + @JsonIgnore + public ComponentsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.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 a60e599decb..782d64c44da 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 @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("operators.coreos.com") @Generated("jsonschema2pojo") -public class Operator implements HasMetadata +public class Operator implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(OperatorStatus status) { this.status = status; } + @JsonIgnore + public OperatorBuilder edit() { + return new OperatorBuilder(this); + } + + @JsonIgnore + public OperatorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; 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 10520840f1f..8131d90dff8 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 @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("operators.coreos.com") @Generated("jsonschema2pojo") -public class OperatorCondition implements HasMetadata, Namespaced +public class OperatorCondition implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ 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; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorConditionList.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorConditionList.java index d836d093ac8..73b97b51d62 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorConditionList.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorConditionList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("operators.coreos.com") @Generated("jsonschema2pojo") -public class OperatorConditionList implements KubernetesResource, KubernetesResourceList +public class OperatorConditionList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ 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; 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 a9f2b44d347..edef15db5a2 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 @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OperatorConditionSpec implements KubernetesResource +public class OperatorConditionSpec implements Editable , KubernetesResource { @JsonProperty("deployments") @@ -119,6 +120,16 @@ 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; 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 cb11103805c..be9628bf336 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 @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OperatorConditionStatus implements KubernetesResource +public class OperatorConditionStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -89,6 +90,16 @@ 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; 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 9c419ae96f1..09c2d1bd509 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 @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("operators.coreos.com") @Generated("jsonschema2pojo") -public class OperatorGroup implements HasMetadata, Namespaced +public class OperatorGroup implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ 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; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroupList.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroupList.java index 4e6b69f7e44..4bc1af164c4 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroupList.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroupList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("operators.coreos.com") @Generated("jsonschema2pojo") -public class OperatorGroupList implements KubernetesResource, KubernetesResourceList +public class OperatorGroupList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ 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; 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 18c0dea7d2e..8be8ec1204c 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 @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OperatorGroupSpec implements KubernetesResource +public class OperatorGroupSpec implements Editable , KubernetesResource { @JsonProperty("selector") @@ -129,6 +130,16 @@ 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; 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 9c891401128..6ff64470772 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 @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OperatorGroupStatus implements KubernetesResource +public class OperatorGroupStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -131,6 +132,16 @@ public void setServiceAccountRef(io.fabric8.kubernetes.api.model.ObjectReference this.serviceAccountRef = serviceAccountRef; } + @JsonIgnore + public OperatorGroupStatusBuilder edit() { + return new OperatorGroupStatusBuilder(this); + } + + @JsonIgnore + public OperatorGroupStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorList.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorList.java index 5473c6055f8..a3917e3f6da 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorList.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("operators.coreos.com") @Generated("jsonschema2pojo") -public class OperatorList implements KubernetesResource, KubernetesResourceList +public class OperatorList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public OperatorListBuilder edit() { + return new OperatorListBuilder(this); + } + + @JsonIgnore + public OperatorListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.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 index c69cc529af5..b5b0a0f171c 100644 --- 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 @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OperatorSpec implements KubernetesResource +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; 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 2f2a6ee0b92..f83a7a030ff 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 @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OperatorStatus implements KubernetesResource +public class OperatorStatus implements Editable , KubernetesResource { @JsonProperty("components") @@ -85,6 +86,16 @@ public void setComponents(Components components) { this.components = components; } + @JsonIgnore + public OperatorStatusBuilder edit() { + return new OperatorStatusBuilder(this); + } + + @JsonIgnore + public OperatorStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/APIResourceReference.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/APIResourceReference.java index 0489435cd94..5edf7c4f354 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/APIResourceReference.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/APIResourceReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class APIResourceReference implements KubernetesResource +public class APIResourceReference implements Editable , KubernetesResource { @JsonProperty("kind") @@ -112,6 +113,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public APIResourceReferenceBuilder edit() { + return new APIResourceReferenceBuilder(this); + } + + @JsonIgnore + public APIResourceReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/APIServiceDefinitions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/APIServiceDefinitions.java index bf4cac376fa..cf8b3cc4136 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/APIServiceDefinitions.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/APIServiceDefinitions.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class APIServiceDefinitions implements KubernetesResource +public class APIServiceDefinitions implements Editable , KubernetesResource { @JsonProperty("owned") @@ -103,6 +104,16 @@ public void setRequired(List required) { this.required = required; } + @JsonIgnore + public APIServiceDefinitionsBuilder edit() { + return new APIServiceDefinitionsBuilder(this); + } + + @JsonIgnore + public APIServiceDefinitionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/APIServiceDescription.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/APIServiceDescription.java index fd04d040f7e..282fa2e4a7b 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/APIServiceDescription.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/APIServiceDescription.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -67,7 +68,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class APIServiceDescription implements KubernetesResource +public class APIServiceDescription implements Editable , KubernetesResource { @JsonProperty("actionDescriptors") @@ -244,6 +245,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public APIServiceDescriptionBuilder edit() { + return new APIServiceDescriptionBuilder(this); + } + + @JsonIgnore + public APIServiceDescriptionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ActionDescriptor.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ActionDescriptor.java index da715f3272c..1d239c8dd27 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ActionDescriptor.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ActionDescriptor.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ActionDescriptor implements KubernetesResource +public class ActionDescriptor implements Editable , KubernetesResource { @JsonProperty("description") @@ -144,6 +145,16 @@ public void setXDescriptors(List xDescriptors) { this.xDescriptors = xDescriptors; } + @JsonIgnore + public ActionDescriptorBuilder edit() { + return new ActionDescriptorBuilder(this); + } + + @JsonIgnore + public ActionDescriptorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.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/AppLink.java index 9258b6f48dd..7fe57936abe 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/AppLink.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AppLink implements KubernetesResource +public class AppLink implements Editable , KubernetesResource { @JsonProperty("name") @@ -99,6 +100,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public AppLinkBuilder edit() { + return new AppLinkBuilder(this); + } + + @JsonIgnore + public AppLinkBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/BundleLookup.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/BundleLookup.java index 05fe4f0fba5..00e2a4196ab 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/BundleLookup.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/BundleLookup.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BundleLookup implements KubernetesResource +public class BundleLookup implements Editable , KubernetesResource { @JsonProperty("catalogSourceRef") @@ -157,6 +158,16 @@ public void setReplaces(String replaces) { this.replaces = replaces; } + @JsonIgnore + public BundleLookupBuilder edit() { + return new BundleLookupBuilder(this); + } + + @JsonIgnore + public BundleLookupBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.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/BundleLookupCondition.java index ea416adddf3..8d99c848901 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/BundleLookupCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BundleLookupCondition implements KubernetesResource +public class BundleLookupCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -155,6 +156,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public BundleLookupConditionBuilder edit() { + return new BundleLookupConditionBuilder(this); + } + + @JsonIgnore + public BundleLookupConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CRDDescription.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CRDDescription.java index 7ebc95ce8a3..ecf84a2d409 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CRDDescription.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CRDDescription.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CRDDescription implements KubernetesResource +public class CRDDescription implements Editable , KubernetesResource { @JsonProperty("actionDescriptors") @@ -202,6 +203,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public CRDDescriptionBuilder edit() { + return new CRDDescriptionBuilder(this); + } + + @JsonIgnore + public CRDDescriptionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; 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 687c0bdb7aa..b6f3e61e3a3 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 @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1alpha1") @Group("operators.coreos.com") @Generated("jsonschema2pojo") -public class CatalogSource implements HasMetadata, Namespaced +public class CatalogSource implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(CatalogSourceStatus status) { this.status = status; } + @JsonIgnore + public CatalogSourceBuilder edit() { + return new CatalogSourceBuilder(this); + } + + @JsonIgnore + public CatalogSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceList.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceList.java index f1803b93bf3..a445b13562a 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceList.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha1") @Group("operators.coreos.com") @Generated("jsonschema2pojo") -public class CatalogSourceList implements KubernetesResource, KubernetesResourceList +public class CatalogSourceList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public CatalogSourceListBuilder edit() { + return new CatalogSourceListBuilder(this); + } + + @JsonIgnore + public CatalogSourceListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; 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 6aa8cec859b..a1c93b08ebd 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 @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -67,7 +68,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CatalogSourceSpec implements KubernetesResource +public class CatalogSourceSpec implements Editable , KubernetesResource { @JsonProperty("address") @@ -228,6 +229,16 @@ public void setUpdateStrategy(UpdateStrategy updateStrategy) { this.updateStrategy = updateStrategy; } + @JsonIgnore + public CatalogSourceSpecBuilder edit() { + return new CatalogSourceSpecBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; 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 853f0c93e4b..0941958d782 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 @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CatalogSourceStatus implements KubernetesResource +public class CatalogSourceStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -173,6 +174,16 @@ public void setRegistryService(RegistryServiceStatus registryService) { this.registryService = registryService; } + @JsonIgnore + public CatalogSourceStatusBuilder edit() { + return new CatalogSourceStatusBuilder(this); + } + + @JsonIgnore + public CatalogSourceStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.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/CleanupSpec.java index 6bb92cfc1cc..dac775d6405 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/CleanupSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CleanupSpec implements KubernetesResource +public class CleanupSpec implements Editable , KubernetesResource { @JsonProperty("enabled") @@ -85,6 +86,16 @@ public void setEnabled(Boolean enabled) { this.enabled = enabled; } + @JsonIgnore + public CleanupSpecBuilder edit() { + return new CleanupSpecBuilder(this); + } + + @JsonIgnore + public CleanupSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; 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/CleanupStatus.java index d2fd9975969..78ed085c34b 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/CleanupStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CleanupStatus implements KubernetesResource +public class CleanupStatus implements Editable , KubernetesResource { @JsonProperty("pendingDeletion") @@ -88,6 +89,16 @@ public void setPendingDeletion(List pendingDeletion) { this.pendingDeletion = pendingDeletion; } + @JsonIgnore + public CleanupStatusBuilder edit() { + return new CleanupStatusBuilder(this); + } + + @JsonIgnore + public CleanupStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersion.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersion.java index e7b00562db2..1c112757d5a 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersion.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersion.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1alpha1") @Group("operators.coreos.com") @Generated("jsonschema2pojo") -public class ClusterServiceVersion implements HasMetadata, Namespaced +public class ClusterServiceVersion implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(ClusterServiceVersionStatus status) { this.status = status; } + @JsonIgnore + public ClusterServiceVersionBuilder edit() { + return new ClusterServiceVersionBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; 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/ClusterServiceVersionCondition.java index d52b02b33b4..d3e4963c7b7 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/ClusterServiceVersionCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterServiceVersionCondition implements KubernetesResource +public class ClusterServiceVersionCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setReason(java.lang.String reason) { this.reason = reason; } + @JsonIgnore + public ClusterServiceVersionConditionBuilder edit() { + return new ClusterServiceVersionConditionBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionList.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionList.java index 7eb8c1eb98e..d51bdb2b8fd 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionList.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha1") @Group("operators.coreos.com") @Generated("jsonschema2pojo") -public class ClusterServiceVersionList implements KubernetesResource, KubernetesResourceList +public class ClusterServiceVersionList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterServiceVersionListBuilder edit() { + return new ClusterServiceVersionListBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpec.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpec.java index 0afef187329..fa0f209624e 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpec.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.GroupVersionKind; import io.fabric8.kubernetes.api.model.IntOrString; @@ -79,7 +80,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterServiceVersionSpec implements KubernetesResource +public class ClusterServiceVersionSpec implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -406,6 +407,16 @@ public void setWebhookdefinitions(List webhookdefinitions) { this.webhookdefinitions = webhookdefinitions; } + @JsonIgnore + public ClusterServiceVersionSpecBuilder edit() { + return new ClusterServiceVersionSpecBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; 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 f36a01e1cdf..35ca94e2568 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 @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -66,7 +67,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterServiceVersionStatus implements KubernetesResource +public class ClusterServiceVersionStatus implements Editable , KubernetesResource { @JsonProperty("certsLastUpdated") @@ -215,6 +216,16 @@ public void setRequirementStatus(List requirementStatus) { this.requirementStatus = requirementStatus; } + @JsonIgnore + public ClusterServiceVersionStatusBuilder edit() { + return new ClusterServiceVersionStatusBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.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/ConfigMapResourceReference.java index 3f86b12f6db..68454fd65de 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/ConfigMapResourceReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ConfigMapResourceReference implements KubernetesResource +public class ConfigMapResourceReference implements Editable , KubernetesResource { @JsonProperty("lastUpdateTime") @@ -141,6 +142,16 @@ public void setUid(java.lang.String uid) { this.uid = uid; } + @JsonIgnore + public ConfigMapResourceReferenceBuilder edit() { + return new ConfigMapResourceReferenceBuilder(this); + } + + @JsonIgnore + public ConfigMapResourceReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CustomResourceDefinitions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CustomResourceDefinitions.java index a2d4807864d..56ee85d0436 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CustomResourceDefinitions.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CustomResourceDefinitions.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CustomResourceDefinitions implements KubernetesResource +public class CustomResourceDefinitions implements Editable , KubernetesResource { @JsonProperty("owned") @@ -103,6 +104,16 @@ public void setRequired(List required) { this.required = required; } + @JsonIgnore + public CustomResourceDefinitionsBuilder edit() { + return new CustomResourceDefinitionsBuilder(this); + } + + @JsonIgnore + public CustomResourceDefinitionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/DependentStatus.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/DependentStatus.java index d7f20dacddf..eccee3c9c1b 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/DependentStatus.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/DependentStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DependentStatus implements KubernetesResource +public class DependentStatus implements Editable , KubernetesResource { @JsonProperty("group") @@ -154,6 +155,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public DependentStatusBuilder edit() { + return new DependentStatusBuilder(this); + } + + @JsonIgnore + public DependentStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/GRPCConnectionState.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/GRPCConnectionState.java index 704e2ba40cf..f2321d4e9ce 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/GRPCConnectionState.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/GRPCConnectionState.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GRPCConnectionState implements KubernetesResource +public class GRPCConnectionState implements Editable , KubernetesResource { @JsonProperty("address") @@ -113,6 +114,16 @@ public void setLastObservedState(java.lang.String lastObservedState) { this.lastObservedState = lastObservedState; } + @JsonIgnore + public GRPCConnectionStateBuilder edit() { + return new GRPCConnectionStateBuilder(this); + } + + @JsonIgnore + public GRPCConnectionStateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; 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/Icon.java index c71a96f42b6..aa37540ae72 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/Icon.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Icon implements KubernetesResource +public class Icon implements Editable , KubernetesResource { @JsonProperty("base64data") @@ -99,6 +100,16 @@ public void setMediatype(String mediatype) { this.mediatype = mediatype; } + @JsonIgnore + public IconBuilder edit() { + return new IconBuilder(this); + } + + @JsonIgnore + public IconBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallMode.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallMode.java index cde20e0514b..94050514c2f 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallMode.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallMode.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class InstallMode implements KubernetesResource +public class InstallMode implements Editable , KubernetesResource { @JsonProperty("supported") @@ -99,6 +100,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public InstallModeBuilder edit() { + return new InstallModeBuilder(this); + } + + @JsonIgnore + public InstallModeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; 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 e809756a201..95884c22a46 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 @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1alpha1") @Group("operators.coreos.com") @Generated("jsonschema2pojo") -public class InstallPlan implements HasMetadata, Namespaced +public class InstallPlan implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(InstallPlanStatus status) { this.status = status; } + @JsonIgnore + public InstallPlanBuilder edit() { + return new InstallPlanBuilder(this); + } + + @JsonIgnore + public InstallPlanBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; 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/InstallPlanCondition.java index 067c215e6e5..e3c6dc116df 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/InstallPlanCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class InstallPlanCondition implements KubernetesResource +public class InstallPlanCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -155,6 +156,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public InstallPlanConditionBuilder edit() { + return new InstallPlanConditionBuilder(this); + } + + @JsonIgnore + public InstallPlanConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanList.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanList.java index 36cab80a1a9..44350b4be2c 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanList.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha1") @Group("operators.coreos.com") @Generated("jsonschema2pojo") -public class InstallPlanList implements KubernetesResource, KubernetesResourceList +public class InstallPlanList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public InstallPlanListBuilder edit() { + return new InstallPlanListBuilder(this); + } + + @JsonIgnore + public InstallPlanListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.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/InstallPlanReference.java index 4f27f0b2959..315d7206cf8 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/InstallPlanReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class InstallPlanReference implements KubernetesResource +public class InstallPlanReference implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -125,6 +126,16 @@ public void setUuid(String uuid) { this.uuid = uuid; } + @JsonIgnore + public InstallPlanReferenceBuilder edit() { + return new InstallPlanReferenceBuilder(this); + } + + @JsonIgnore + public InstallPlanReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanSpec.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanSpec.java index 5be9171aa66..d49b59b764f 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanSpec.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class InstallPlanSpec implements KubernetesResource +public class InstallPlanSpec implements Editable , KubernetesResource { @JsonProperty("approval") @@ -158,6 +159,16 @@ public void setSourceNamespace(String sourceNamespace) { this.sourceNamespace = sourceNamespace; } + @JsonIgnore + public InstallPlanSpecBuilder edit() { + return new InstallPlanSpecBuilder(this); + } + + @JsonIgnore + public InstallPlanSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; 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 157cc3be182..12c9b29b296 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 @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -63,7 +64,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class InstallPlanStatus implements KubernetesResource +public class InstallPlanStatus implements Editable , KubernetesResource { @JsonProperty("attenuatedServiceAccountRef") @@ -188,6 +189,16 @@ public void setStartTime(String startTime) { this.startTime = startTime; } + @JsonIgnore + public InstallPlanStatusBuilder edit() { + return new InstallPlanStatusBuilder(this); + } + + @JsonIgnore + public InstallPlanStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; 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/Maintainer.java index ada5e78dd3a..f9a4dfc6e45 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/Maintainer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Maintainer implements KubernetesResource +public class Maintainer implements Editable , KubernetesResource { @JsonProperty("email") @@ -99,6 +100,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public MaintainerBuilder edit() { + return new MaintainerBuilder(this); + } + + @JsonIgnore + public MaintainerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.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/NamedInstallStrategy.java index 898240bee9b..afb2ba3e783 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/NamedInstallStrategy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NamedInstallStrategy implements KubernetesResource +public class NamedInstallStrategy implements Editable , KubernetesResource { @JsonProperty("spec") @@ -99,6 +100,16 @@ public void setStrategy(String strategy) { this.strategy = strategy; } + @JsonIgnore + public NamedInstallStrategyBuilder edit() { + return new NamedInstallStrategyBuilder(this); + } + + @JsonIgnore + public NamedInstallStrategyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; 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/RegistryPoll.java index 167f740b73d..227210b8699 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/RegistryPoll.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.Duration; import io.fabric8.kubernetes.api.model.IntOrString; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RegistryPoll implements KubernetesResource +public class RegistryPoll implements Editable , KubernetesResource { @JsonProperty("interval") @@ -86,6 +87,16 @@ public void setInterval(Duration interval) { this.interval = interval; } + @JsonIgnore + public RegistryPollBuilder edit() { + return new RegistryPollBuilder(this); + } + + @JsonIgnore + public RegistryPollBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; 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/RegistryServiceStatus.java index 92dc3a4cd54..c87f167b053 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/RegistryServiceStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RegistryServiceStatus implements KubernetesResource +public class RegistryServiceStatus implements Editable , KubernetesResource { @JsonProperty("createdAt") @@ -141,6 +142,16 @@ public void setServiceNamespace(java.lang.String serviceNamespace) { this.serviceNamespace = serviceNamespace; } + @JsonIgnore + public RegistryServiceStatusBuilder edit() { + return new RegistryServiceStatusBuilder(this); + } + + @JsonIgnore + public RegistryServiceStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.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/RelatedImage.java index ab2c9d31b05..3af896cb2da 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/RelatedImage.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RelatedImage implements KubernetesResource +public class RelatedImage implements Editable , KubernetesResource { @JsonProperty("image") @@ -99,6 +100,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public RelatedImageBuilder edit() { + return new RelatedImageBuilder(this); + } + + @JsonIgnore + public RelatedImageBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; 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/RequirementStatus.java index 467c139a521..7e7ab6f9f11 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/RequirementStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -63,7 +64,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RequirementStatus implements KubernetesResource +public class RequirementStatus implements Editable , KubernetesResource { @JsonProperty("dependents") @@ -185,6 +186,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public RequirementStatusBuilder edit() { + return new RequirementStatusBuilder(this); + } + + @JsonIgnore + public RequirementStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; 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/ResourceInstance.java index 3f7b02ecf68..5cacb582cc9 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/ResourceInstance.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ResourceInstance implements KubernetesResource +public class ResourceInstance implements Editable , KubernetesResource { @JsonProperty("name") @@ -99,6 +100,16 @@ public void setNamespace(String namespace) { this.namespace = namespace; } + @JsonIgnore + public ResourceInstanceBuilder edit() { + return new ResourceInstanceBuilder(this); + } + + @JsonIgnore + public ResourceInstanceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; 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/ResourceList.java index cd99c4ffd34..6e90f9050ec 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/ResourceList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ResourceList implements KubernetesResource +public class ResourceList implements Editable , KubernetesResource { @JsonProperty("group") @@ -115,6 +116,16 @@ public void setKind(String kind) { this.kind = kind; } + @JsonIgnore + public ResourceListBuilder edit() { + return new ResourceListBuilder(this); + } + + @JsonIgnore + public ResourceListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SpecDescriptor.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SpecDescriptor.java index 6d5500c5faf..0ebc9d94470 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SpecDescriptor.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SpecDescriptor.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SpecDescriptor implements KubernetesResource +public class SpecDescriptor implements Editable , KubernetesResource { @JsonProperty("description") @@ -144,6 +145,16 @@ public void setXDescriptors(List xDescriptors) { this.xDescriptors = xDescriptors; } + @JsonIgnore + public SpecDescriptorBuilder edit() { + return new SpecDescriptorBuilder(this); + } + + @JsonIgnore + public SpecDescriptorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/StatusDescriptor.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/StatusDescriptor.java index bf29f97450a..62ce5c9d047 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/StatusDescriptor.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/StatusDescriptor.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class StatusDescriptor implements KubernetesResource +public class StatusDescriptor implements Editable , KubernetesResource { @JsonProperty("description") @@ -144,6 +145,16 @@ public void setXDescriptors(List xDescriptors) { this.xDescriptors = xDescriptors; } + @JsonIgnore + public StatusDescriptorBuilder edit() { + return new StatusDescriptorBuilder(this); + } + + @JsonIgnore + public StatusDescriptorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; 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/Step.java index e2f2180233a..66c9332d729 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/Step.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Step implements KubernetesResource +public class Step implements Editable , KubernetesResource { @JsonProperty("resolving") @@ -113,6 +114,16 @@ public void setStatus(String status) { this.status = status; } + @JsonIgnore + public StepBuilder edit() { + return new StepBuilder(this); + } + + @JsonIgnore + public StepBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/StepResource.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/StepResource.java index d18089fcd7e..01af927e3ea 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/StepResource.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/StepResource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class StepResource implements KubernetesResource +public class StepResource implements Editable , KubernetesResource { @JsonProperty("group") @@ -168,6 +169,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public StepResourceBuilder edit() { + return new StepResourceBuilder(this); + } + + @JsonIgnore + public StepResourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.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/StrategyDeploymentPermissions.java index a1473071f5c..f3e82fa9bdb 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/StrategyDeploymentPermissions.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class StrategyDeploymentPermissions implements KubernetesResource +public class StrategyDeploymentPermissions implements Editable , KubernetesResource { @JsonProperty("rules") @@ -103,6 +104,16 @@ public void setServiceAccountName(String serviceAccountName) { this.serviceAccountName = serviceAccountName; } + @JsonIgnore + public StrategyDeploymentPermissionsBuilder edit() { + return new StrategyDeploymentPermissionsBuilder(this); + } + + @JsonIgnore + public StrategyDeploymentPermissionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.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/StrategyDeploymentSpec.java index a90dc1d3029..0d340d6ee74 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/StrategyDeploymentSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class StrategyDeploymentSpec implements KubernetesResource +public class StrategyDeploymentSpec implements Editable , KubernetesResource { @JsonProperty("label") @@ -115,6 +116,16 @@ public void setSpec(DeploymentSpec spec) { this.spec = spec; } + @JsonIgnore + public StrategyDeploymentSpecBuilder edit() { + return new StrategyDeploymentSpecBuilder(this); + } + + @JsonIgnore + public StrategyDeploymentSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.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/StrategyDetailsDeployment.java index 65c62f215d8..2fdd4656d8a 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/StrategyDetailsDeployment.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class StrategyDetailsDeployment implements KubernetesResource +public class StrategyDetailsDeployment implements Editable , KubernetesResource { @JsonProperty("clusterPermissions") @@ -118,6 +119,16 @@ public void setPermissions(List permissions) { this.permissions = permissions; } + @JsonIgnore + public StrategyDetailsDeploymentBuilder edit() { + return new StrategyDetailsDeploymentBuilder(this); + } + + @JsonIgnore + public StrategyDetailsDeploymentBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; 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 8767395cc0c..51ef1e1f6c2 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 @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1alpha1") @Group("operators.coreos.com") @Generated("jsonschema2pojo") -public class Subscription implements HasMetadata, Namespaced +public class Subscription implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(SubscriptionStatus status) { this.status = status; } + @JsonIgnore + public SubscriptionBuilder edit() { + return new SubscriptionBuilder(this); + } + + @JsonIgnore + public SubscriptionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.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/SubscriptionCatalogHealth.java index 20838725c58..c82712f0e19 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/SubscriptionCatalogHealth.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SubscriptionCatalogHealth implements KubernetesResource +public class SubscriptionCatalogHealth implements Editable , KubernetesResource { @JsonProperty("catalogSourceRef") @@ -112,6 +113,16 @@ public void setLastUpdated(String lastUpdated) { this.lastUpdated = lastUpdated; } + @JsonIgnore + public SubscriptionCatalogHealthBuilder edit() { + return new SubscriptionCatalogHealthBuilder(this); + } + + @JsonIgnore + public SubscriptionCatalogHealthBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; 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 index b595facce49..ab011c3b59a 100644 --- 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 @@ -12,6 +12,7 @@ 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; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SubscriptionCondition implements KubernetesResource +public class SubscriptionCondition implements Editable , KubernetesResource { @JsonProperty("lastHeartbeatTime") @@ -219,6 +220,16 @@ public void setType(java.lang.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; 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/SubscriptionConfig.java index 30f7f16c511..fcd27a5da1e 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/SubscriptionConfig.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.EnvFromSource; import io.fabric8.kubernetes.api.model.EnvVar; @@ -67,7 +68,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SubscriptionConfig implements KubernetesResource +public class SubscriptionConfig implements Editable , KubernetesResource { @JsonProperty("env") @@ -194,6 +195,16 @@ public void setVolumes(List volumes) { this.volumes = volumes; } + @JsonIgnore + public SubscriptionConfigBuilder edit() { + return new SubscriptionConfigBuilder(this); + } + + @JsonIgnore + public SubscriptionConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionList.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionList.java index 270f6d09daa..d5fcc3f185d 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionList.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha1") @Group("operators.coreos.com") @Generated("jsonschema2pojo") -public class SubscriptionList implements KubernetesResource, KubernetesResourceList +public class SubscriptionList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public SubscriptionListBuilder edit() { + return new SubscriptionListBuilder(this); + } + + @JsonIgnore + public SubscriptionListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.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 c80e7d6886a..fa3b5d91074 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 @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SubscriptionSpec implements KubernetesResource +public class SubscriptionSpec implements Editable , KubernetesResource { @JsonProperty("channel") @@ -169,6 +170,16 @@ public void setStartingCSV(String startingCSV) { this.startingCSV = startingCSV; } + @JsonIgnore + public SubscriptionSpecBuilder edit() { + return new SubscriptionSpecBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; 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 79b06ee9bce..416ec5577ce 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 @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -65,7 +66,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SubscriptionStatus implements KubernetesResource +public class SubscriptionStatus implements Editable , KubernetesResource { @JsonProperty("catalogHealth") @@ -214,6 +215,16 @@ public void setState(java.lang.String state) { this.state = state; } + @JsonIgnore + public SubscriptionStatusBuilder edit() { + return new SubscriptionStatusBuilder(this); + } + + @JsonIgnore + public SubscriptionStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; 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/UpdateStrategy.java index deeebeaa2af..bd53d06c7b8 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/UpdateStrategy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class UpdateStrategy implements KubernetesResource +public class UpdateStrategy implements Editable , KubernetesResource { @JsonProperty("registryPoll") @@ -85,6 +86,16 @@ public void setRegistryPoll(RegistryPoll registryPoll) { this.registryPoll = registryPoll; } + @JsonIgnore + public UpdateStrategyBuilder edit() { + return new UpdateStrategyBuilder(this); + } + + @JsonIgnore + public UpdateStrategyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.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/WebhookDescription.java index f7ed28f42d8..c6c105f199e 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/WebhookDescription.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LocalObjectReference; @@ -70,7 +71,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class WebhookDescription implements KubernetesResource +public class WebhookDescription implements Editable , KubernetesResource { @JsonProperty("admissionReviewVersions") @@ -285,6 +286,16 @@ public void setWebhookPath(String webhookPath) { this.webhookPath = webhookPath; } + @JsonIgnore + public WebhookDescriptionBuilder edit() { + return new WebhookDescriptionBuilder(this); + } + + @JsonIgnore + public WebhookDescriptionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/main/resources/schema/kube-schema.json b/kubernetes-model-generator/openshift-model-operatorhub/src/main/resources/schema/kube-schema.json index 231a7c9d1d8..6b7656f3393 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/main/resources/schema/kube-schema.json +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/main/resources/schema/kube-schema.json @@ -1244,6 +1244,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -1558,6 +1561,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -1684,6 +1690,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/openshift-model-operatorhub/src/main/resources/schema/validation-schema.json index cf00f2c1042..30d26cea730 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/main/resources/schema/validation-schema.json @@ -1244,6 +1244,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -1558,6 +1561,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -1684,6 +1690,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -7333,13 +7342,13 @@ "$ref": "#/definitions/kubernetes_apimachinery_Time", "existingJavaType": "String" }, - "lastUpdateTime": { - "$ref": "#/definitions/kubernetes_apimachinery_Time", - "existingJavaType": "String" - }, "message": { "type": "string" }, + "observedGeneration": { + "type": "integer", + "existingJavaType": "Long" + }, "reason": { "type": "string" }, @@ -7514,6 +7523,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -8132,6 +8144,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -8253,6 +8268,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" diff --git a/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index 07e47a5e726..d51cad1193c 100644 --- a/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -70,7 +71,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -255,6 +257,16 @@ public void setTypeMeta(TypeMeta typeMeta) { this.typeMeta = typeMeta; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index 5d5dab15dcf..cea58ab6937 100644 --- a/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -70,7 +71,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -255,6 +257,16 @@ public void setTypeMeta(TypeMeta typeMeta) { this.typeMeta = typeMeta; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/GroupResource.java b/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/GroupResource.java index ab3cf3130eb..47dbeaacd77 100644 --- a/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/GroupResource.java +++ b/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/GroupResource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GroupResource implements KubernetesResource +public class GroupResource implements Editable , KubernetesResource { @JsonProperty("group") @@ -99,6 +100,16 @@ public void setResource(String resource) { this.resource = resource; } + @JsonIgnore + public GroupResourceBuilder edit() { + return new GroupResourceBuilder(this); + } + + @JsonIgnore + public GroupResourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/GroupVersionResource.java b/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/GroupVersionResource.java index 684f405dc62..06f5f1d4f2a 100644 --- a/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/GroupVersionResource.java +++ b/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/GroupVersionResource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GroupVersionResource implements KubernetesResource +public class GroupVersionResource implements Editable , KubernetesResource { @JsonProperty("group") @@ -113,6 +114,16 @@ public void setVersion(String version) { this.version = version; } + @JsonIgnore + public GroupVersionResourceBuilder edit() { + return new GroupVersionResourceBuilder(this); + } + + @JsonIgnore + public GroupVersionResourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/MigrationCondition.java b/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/MigrationCondition.java index a08c2b421f4..be60335f408 100644 --- a/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/MigrationCondition.java +++ b/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/MigrationCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MigrationCondition implements KubernetesResource +public class MigrationCondition implements Editable , KubernetesResource { @JsonProperty("lastUpdateTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public MigrationConditionBuilder edit() { + return new MigrationConditionBuilder(this); + } + + @JsonIgnore + public MigrationConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageState.java b/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageState.java index db30c7864a7..3510ac2cdfe 100644 --- a/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageState.java +++ b/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageState.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1alpha1") @Group("migration.k8s.io") @Generated("jsonschema2pojo") -public class StorageState implements HasMetadata +public class StorageState implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(StorageStateStatus status) { this.status = status; } + @JsonIgnore + public StorageStateBuilder edit() { + return new StorageStateBuilder(this); + } + + @JsonIgnore + public StorageStateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageStateList.java b/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageStateList.java index 6734ac3b56a..6bdc285efdc 100644 --- a/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageStateList.java +++ b/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageStateList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha1") @Group("migration.k8s.io") @Generated("jsonschema2pojo") -public class StorageStateList implements KubernetesResource, KubernetesResourceList +public class StorageStateList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public StorageStateListBuilder edit() { + return new StorageStateListBuilder(this); + } + + @JsonIgnore + public StorageStateListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageStateSpec.java b/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageStateSpec.java index d715a9c6ad4..eacd4f421b2 100644 --- a/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageStateSpec.java +++ b/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageStateSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class StorageStateSpec implements KubernetesResource +public class StorageStateSpec implements Editable , KubernetesResource { @JsonProperty("resource") @@ -85,6 +86,16 @@ public void setResource(GroupResource resource) { this.resource = resource; } + @JsonIgnore + public StorageStateSpecBuilder edit() { + return new StorageStateSpecBuilder(this); + } + + @JsonIgnore + public StorageStateSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageStateStatus.java b/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageStateStatus.java index 80bfd96a647..5fb59f14ff3 100644 --- a/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageStateStatus.java +++ b/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageStateStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class StorageStateStatus implements KubernetesResource +public class StorageStateStatus implements Editable , KubernetesResource { @JsonProperty("currentStorageVersionHash") @@ -116,6 +117,16 @@ public void setPersistedStorageVersionHashes(List persistedSto this.persistedStorageVersionHashes = persistedStorageVersionHashes; } + @JsonIgnore + public StorageStateStatusBuilder edit() { + return new StorageStateStatusBuilder(this); + } + + @JsonIgnore + public StorageStateStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageVersionMigration.java b/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageVersionMigration.java index f6bf5687309..61ad360c6ff 100644 --- a/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageVersionMigration.java +++ b/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageVersionMigration.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1alpha1") @Group("migration.k8s.io") @Generated("jsonschema2pojo") -public class StorageVersionMigration implements HasMetadata +public class StorageVersionMigration implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(StorageVersionMigrationStatus status) { this.status = status; } + @JsonIgnore + public StorageVersionMigrationBuilder edit() { + return new StorageVersionMigrationBuilder(this); + } + + @JsonIgnore + public StorageVersionMigrationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageVersionMigrationList.java b/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageVersionMigrationList.java index ebb490afb27..1bd6153a0d9 100644 --- a/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageVersionMigrationList.java +++ b/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageVersionMigrationList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha1") @Group("migration.k8s.io") @Generated("jsonschema2pojo") -public class StorageVersionMigrationList implements KubernetesResource, KubernetesResourceList +public class StorageVersionMigrationList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public StorageVersionMigrationListBuilder edit() { + return new StorageVersionMigrationListBuilder(this); + } + + @JsonIgnore + public StorageVersionMigrationListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageVersionMigrationSpec.java b/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageVersionMigrationSpec.java index d649cf0c457..1ab8aa8d6f1 100644 --- a/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageVersionMigrationSpec.java +++ b/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageVersionMigrationSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class StorageVersionMigrationSpec implements KubernetesResource +public class StorageVersionMigrationSpec implements Editable , KubernetesResource { @JsonProperty("continueToken") @@ -99,6 +100,16 @@ public void setResource(GroupVersionResource resource) { this.resource = resource; } + @JsonIgnore + public StorageVersionMigrationSpecBuilder edit() { + return new StorageVersionMigrationSpecBuilder(this); + } + + @JsonIgnore + public StorageVersionMigrationSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageVersionMigrationStatus.java b/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageVersionMigrationStatus.java index 6ac2bce12a2..e63415e750d 100644 --- a/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageVersionMigrationStatus.java +++ b/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageVersionMigrationStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class StorageVersionMigrationStatus implements KubernetesResource +public class StorageVersionMigrationStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -88,6 +89,16 @@ public void setConditions(List conditions) { this.conditions = conditions; } + @JsonIgnore + public StorageVersionMigrationStatusBuilder edit() { + return new StorageVersionMigrationStatusBuilder(this); + } + + @JsonIgnore + public StorageVersionMigrationStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index 1ae97256b02..98243c05473 100644 --- a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -70,7 +71,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -255,6 +257,16 @@ public void setTypeMeta(TypeMeta typeMeta) { this.typeMeta = typeMeta; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index dcda6441558..a642297b124 100644 --- a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -70,7 +71,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -255,6 +257,16 @@ public void setTypeMeta(TypeMeta typeMeta) { this.typeMeta = typeMeta; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/OperandConfig.java b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/OperandConfig.java index 130058ced8a..f7707d84fe6 100644 --- a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/OperandConfig.java +++ b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/OperandConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OperandConfig implements KubernetesResource +public class OperandConfig implements Editable , KubernetesResource { @JsonProperty("debug") @@ -85,6 +86,16 @@ public void setDebug(Boolean debug) { this.debug = debug; } + @JsonIgnore + public OperandConfigBuilder edit() { + return new OperandConfigBuilder(this); + } + + @JsonIgnore + public OperandConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/Profile.java b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/Profile.java index 3c723fbf7ba..7e8f9a769d5 100644 --- a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/Profile.java +++ b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/Profile.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("tuned.openshift.io") @Generated("jsonschema2pojo") -public class Profile implements HasMetadata, Namespaced +public class Profile implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(ProfileStatus status) { this.status = status; } + @JsonIgnore + public ProfileBuilder edit() { + return new ProfileBuilder(this); + } + + @JsonIgnore + public ProfileBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/ProfileConfig.java b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/ProfileConfig.java index 06e2fe7b05b..ad539570665 100644 --- a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/ProfileConfig.java +++ b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/ProfileConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ProfileConfig implements KubernetesResource +public class ProfileConfig implements Editable , KubernetesResource { @JsonProperty("debug") @@ -99,6 +100,16 @@ public void setTunedProfile(String tunedProfile) { this.tunedProfile = tunedProfile; } + @JsonIgnore + public ProfileConfigBuilder edit() { + return new ProfileConfigBuilder(this); + } + + @JsonIgnore + public ProfileConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/ProfileList.java b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/ProfileList.java index d6eb78cc9f5..4f8c4e99822 100644 --- a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/ProfileList.java +++ b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/ProfileList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("tuned.openshift.io") @Generated("jsonschema2pojo") -public class ProfileList implements KubernetesResource, KubernetesResourceList +public class ProfileList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ProfileListBuilder edit() { + return new ProfileListBuilder(this); + } + + @JsonIgnore + public ProfileListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/ProfileSpec.java b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/ProfileSpec.java index 70980352c20..68309cb0c00 100644 --- a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/ProfileSpec.java +++ b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/ProfileSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ProfileSpec implements KubernetesResource +public class ProfileSpec implements Editable , KubernetesResource { @JsonProperty("config") @@ -85,6 +86,16 @@ public void setConfig(ProfileConfig config) { this.config = config; } + @JsonIgnore + public ProfileSpecBuilder edit() { + return new ProfileSpecBuilder(this); + } + + @JsonIgnore + public ProfileSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/ProfileStatus.java b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/ProfileStatus.java index 5bdebde82cd..daeb3b16908 100644 --- a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/ProfileStatus.java +++ b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/ProfileStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ProfileStatus implements KubernetesResource +public class ProfileStatus implements Editable , KubernetesResource { @JsonProperty("bootcmdline") @@ -130,6 +131,16 @@ public void setTunedProfile(String tunedProfile) { this.tunedProfile = tunedProfile; } + @JsonIgnore + public ProfileStatusBuilder edit() { + return new ProfileStatusBuilder(this); + } + + @JsonIgnore + public ProfileStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/ProfileStatusCondition.java b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/ProfileStatusCondition.java index c35f2f46f20..c41d7a8065e 100644 --- a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/ProfileStatusCondition.java +++ b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/ProfileStatusCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ProfileStatusCondition implements KubernetesResource +public class ProfileStatusCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public ProfileStatusConditionBuilder edit() { + return new ProfileStatusConditionBuilder(this); + } + + @JsonIgnore + public ProfileStatusConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/Tuned.java b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/Tuned.java index 61e4116061d..5d519a1dd48 100644 --- a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/Tuned.java +++ b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/Tuned.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("tuned.openshift.io") @Generated("jsonschema2pojo") -public class Tuned implements HasMetadata, Namespaced +public class Tuned implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(TunedStatus status) { this.status = status; } + @JsonIgnore + public TunedBuilder edit() { + return new TunedBuilder(this); + } + + @JsonIgnore + public TunedBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedList.java b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedList.java index 6f346ba87df..994fc22c732 100644 --- a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedList.java +++ b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("tuned.openshift.io") @Generated("jsonschema2pojo") -public class TunedList implements KubernetesResource, KubernetesResourceList +public class TunedList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public TunedListBuilder edit() { + return new TunedListBuilder(this); + } + + @JsonIgnore + public TunedListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedMatch.java b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedMatch.java index e8f24b3cf47..5f7f4d9fcd7 100644 --- a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedMatch.java +++ b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedMatch.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TunedMatch implements KubernetesResource +public class TunedMatch implements Editable , KubernetesResource { @JsonProperty("label") @@ -130,6 +131,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public TunedMatchBuilder edit() { + return new TunedMatchBuilder(this); + } + + @JsonIgnore + public TunedMatchBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedProfile.java b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedProfile.java index 81bf494073d..30c860a3c25 100644 --- a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedProfile.java +++ b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedProfile.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TunedProfile implements KubernetesResource +public class TunedProfile implements Editable , KubernetesResource { @JsonProperty("data") @@ -99,6 +100,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public TunedProfileBuilder edit() { + return new TunedProfileBuilder(this); + } + + @JsonIgnore + public TunedProfileBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedRecommend.java b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedRecommend.java index ccb7b4adc64..e9adc020fc5 100644 --- a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedRecommend.java +++ b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedRecommend.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TunedRecommend implements KubernetesResource +public class TunedRecommend implements Editable , KubernetesResource { @JsonProperty("machineConfigLabels") @@ -145,6 +146,16 @@ public void setProfile(java.lang.String profile) { this.profile = profile; } + @JsonIgnore + public TunedRecommendBuilder edit() { + return new TunedRecommendBuilder(this); + } + + @JsonIgnore + public TunedRecommendBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedSpec.java b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedSpec.java index 6fc6bb9ffc2..ffa64172d24 100644 --- a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedSpec.java +++ b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TunedSpec implements KubernetesResource +public class TunedSpec implements Editable , KubernetesResource { @JsonProperty("managementState") @@ -117,6 +118,16 @@ public void setRecommend(List recommend) { this.recommend = recommend; } + @JsonIgnore + public TunedSpecBuilder edit() { + return new TunedSpecBuilder(this); + } + + @JsonIgnore + public TunedSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedStatus.java b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedStatus.java index c858f866ad0..6e9603c17d3 100644 --- a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedStatus.java +++ b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedStatus.java @@ -10,6 +10,7 @@ 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; @@ -53,12 +54,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TunedStatus implements KubernetesResource +public class TunedStatus implements Editable , KubernetesResource { @JsonIgnore private Map additionalProperties = new LinkedHashMap(); + @JsonIgnore + public TunedStatusBuilder edit() { + return new TunedStatusBuilder(this); + } + + @JsonIgnore + public TunedStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index 0f55987f4fe..8dd1a4dcd6c 100644 --- a/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -72,7 +73,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -270,6 +272,16 @@ public void setTypeMeta(TypeMeta typeMeta) { this.typeMeta = typeMeta; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index 13f5d3fb715..31772097274 100644 --- a/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -72,7 +73,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -270,6 +272,16 @@ public void setTypeMeta(TypeMeta typeMeta) { this.typeMeta = typeMeta; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/IPAllocation.java b/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/IPAllocation.java index 9b2f4f417d6..9bcf7ae731d 100644 --- a/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/IPAllocation.java +++ b/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/IPAllocation.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IPAllocation implements KubernetesResource +public class IPAllocation implements Editable , KubernetesResource { @JsonProperty("id") @@ -99,6 +100,16 @@ public void setPodref(String podref) { this.podref = podref; } + @JsonIgnore + public IPAllocationBuilder edit() { + return new IPAllocationBuilder(this); + } + + @JsonIgnore + public IPAllocationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/IPPool.java b/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/IPPool.java index bb4884ef1b8..04137824ebe 100644 --- a/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/IPPool.java +++ b/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/IPPool.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1alpha1") @Group("whereabouts.cni.cncf.io") @Generated("jsonschema2pojo") -public class IPPool implements HasMetadata, Namespaced +public class IPPool implements Editable , HasMetadata, Namespaced { /** @@ -163,6 +164,16 @@ public void setSpec(IPPoolSpec spec) { this.spec = spec; } + @JsonIgnore + public IPPoolBuilder edit() { + return new IPPoolBuilder(this); + } + + @JsonIgnore + public IPPoolBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/IPPoolList.java b/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/IPPoolList.java index 0a4d0d83731..d1bc4000a81 100644 --- a/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/IPPoolList.java +++ b/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/IPPoolList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha1") @Group("whereabouts.cni.cncf.io") @Generated("jsonschema2pojo") -public class IPPoolList implements KubernetesResource, KubernetesResourceList +public class IPPoolList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public IPPoolListBuilder edit() { + return new IPPoolListBuilder(this); + } + + @JsonIgnore + public IPPoolListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/IPPoolSpec.java b/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/IPPoolSpec.java index 0853466d541..48ac5d6b9e8 100644 --- a/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/IPPoolSpec.java +++ b/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/IPPoolSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IPPoolSpec implements KubernetesResource +public class IPPoolSpec implements Editable , KubernetesResource { @JsonProperty("allocations") @@ -100,6 +101,16 @@ public void setRange(java.lang.String range) { this.range = range; } + @JsonIgnore + public IPPoolSpecBuilder edit() { + return new IPPoolSpecBuilder(this); + } + + @JsonIgnore + public IPPoolSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/OverlappingRangeIPReservation.java b/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/OverlappingRangeIPReservation.java index 514086dd8ca..aceaffea434 100644 --- a/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/OverlappingRangeIPReservation.java +++ b/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/OverlappingRangeIPReservation.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1alpha1") @Group("whereabouts.cni.cncf.io") @Generated("jsonschema2pojo") -public class OverlappingRangeIPReservation implements HasMetadata, Namespaced +public class OverlappingRangeIPReservation implements Editable , HasMetadata, Namespaced { /** @@ -163,6 +164,16 @@ public void setSpec(OverlappingRangeIPReservationSpec spec) { this.spec = spec; } + @JsonIgnore + public OverlappingRangeIPReservationBuilder edit() { + return new OverlappingRangeIPReservationBuilder(this); + } + + @JsonIgnore + public OverlappingRangeIPReservationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/OverlappingRangeIPReservationList.java b/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/OverlappingRangeIPReservationList.java index 23a219193f3..576c682db55 100644 --- a/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/OverlappingRangeIPReservationList.java +++ b/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/OverlappingRangeIPReservationList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1alpha1") @Group("whereabouts.cni.cncf.io") @Generated("jsonschema2pojo") -public class OverlappingRangeIPReservationList implements KubernetesResource, KubernetesResourceList +public class OverlappingRangeIPReservationList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public OverlappingRangeIPReservationListBuilder edit() { + return new OverlappingRangeIPReservationListBuilder(this); + } + + @JsonIgnore + public OverlappingRangeIPReservationListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/OverlappingRangeIPReservationSpec.java b/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/OverlappingRangeIPReservationSpec.java index 2f7a675ce8c..e7cac851841 100644 --- a/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/OverlappingRangeIPReservationSpec.java +++ b/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/OverlappingRangeIPReservationSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OverlappingRangeIPReservationSpec implements KubernetesResource +public class OverlappingRangeIPReservationSpec implements Editable , KubernetesResource { @JsonProperty("containerid") @@ -99,6 +100,16 @@ public void setPodref(String podref) { this.podref = podref; } + @JsonIgnore + public OverlappingRangeIPReservationSpecBuilder edit() { + return new OverlappingRangeIPReservationSpecBuilder(this); + } + + @JsonIgnore + public OverlappingRangeIPReservationSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java index 4f51c0db800..88768f6ff34 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -243,7 +244,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KubeSchema { +public class KubeSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -1611,6 +1613,16 @@ public void setUserOAuthAccessTokenList(UserOAuthAccessTokenList userOAuthAccess this.userOAuthAccessTokenList = userOAuthAccessTokenList; } + @JsonIgnore + public KubeSchemaBuilder edit() { + return new KubeSchemaBuilder(this); + } + + @JsonIgnore + public KubeSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java index d8b78c4b639..36eaf3906f8 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -243,7 +244,8 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ValidationSchema { +public class ValidationSchema implements Editable +{ @JsonProperty("APIGroup") private APIGroup aPIGroup; @@ -1611,6 +1613,16 @@ public void setUserOAuthAccessTokenList(UserOAuthAccessTokenList userOAuthAccess this.userOAuthAccessTokenList = userOAuthAccessTokenList; } + @JsonIgnore + public ValidationSchemaBuilder edit() { + return new ValidationSchemaBuilder(this); + } + + @JsonIgnore + public ValidationSchemaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/AllowedFlexVolume.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/AllowedFlexVolume.java index 60563471b59..b800e8d8878 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/AllowedFlexVolume.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/AllowedFlexVolume.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AllowedFlexVolume implements KubernetesResource +public class AllowedFlexVolume implements Editable , KubernetesResource { @JsonProperty("driver") @@ -85,6 +86,16 @@ public void setDriver(String driver) { this.driver = driver; } + @JsonIgnore + public AllowedFlexVolumeBuilder edit() { + return new AllowedFlexVolumeBuilder(this); + } + + @JsonIgnore + public AllowedFlexVolumeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/AppliedClusterResourceQuota.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/AppliedClusterResourceQuota.java index 0c51e88bcdf..ec96578ab6c 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/AppliedClusterResourceQuota.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/AppliedClusterResourceQuota.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("quota.openshift.io") @Generated("jsonschema2pojo") -public class AppliedClusterResourceQuota implements HasMetadata, Namespaced +public class AppliedClusterResourceQuota implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(ClusterResourceQuotaStatus status) { this.status = status; } + @JsonIgnore + public AppliedClusterResourceQuotaBuilder edit() { + return new AppliedClusterResourceQuotaBuilder(this); + } + + @JsonIgnore + public AppliedClusterResourceQuotaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/AppliedClusterResourceQuotaList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/AppliedClusterResourceQuotaList.java index 05f11af0f1f..532c17a65f3 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/AppliedClusterResourceQuotaList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/AppliedClusterResourceQuotaList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("quota.openshift.io") @Generated("jsonschema2pojo") -public class AppliedClusterResourceQuotaList implements KubernetesResource, KubernetesResourceList +public class AppliedClusterResourceQuotaList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public AppliedClusterResourceQuotaListBuilder edit() { + return new AppliedClusterResourceQuotaListBuilder(this); + } + + @JsonIgnore + public AppliedClusterResourceQuotaListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BinaryBuildSource.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BinaryBuildSource.java index 2eaf9687d4b..5c7ddb6b030 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BinaryBuildSource.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BinaryBuildSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BinaryBuildSource implements KubernetesResource +public class BinaryBuildSource implements Editable , KubernetesResource { @JsonProperty("asFile") @@ -85,6 +86,16 @@ public void setAsFile(String asFile) { this.asFile = asFile; } + @JsonIgnore + public BinaryBuildSourceBuilder edit() { + return new BinaryBuildSourceBuilder(this); + } + + @JsonIgnore + public BinaryBuildSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BitbucketWebHookCause.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BitbucketWebHookCause.java index 42ac1bdca69..d5477147ec2 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BitbucketWebHookCause.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BitbucketWebHookCause.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BitbucketWebHookCause implements KubernetesResource +public class BitbucketWebHookCause implements Editable , KubernetesResource { @JsonProperty("revision") @@ -99,6 +100,16 @@ public void setSecret(String secret) { this.secret = secret; } + @JsonIgnore + public BitbucketWebHookCauseBuilder edit() { + return new BitbucketWebHookCauseBuilder(this); + } + + @JsonIgnore + public BitbucketWebHookCauseBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BrokerTemplateInstance.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BrokerTemplateInstance.java index 4b037d544c6..d7d68cf7fa3 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BrokerTemplateInstance.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BrokerTemplateInstance.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -63,7 +64,7 @@ @Version("v1") @Group("template.openshift.io") @Generated("jsonschema2pojo") -public class BrokerTemplateInstance implements HasMetadata +public class BrokerTemplateInstance implements Editable , HasMetadata { /** @@ -162,6 +163,16 @@ public void setSpec(BrokerTemplateInstanceSpec spec) { this.spec = spec; } + @JsonIgnore + public BrokerTemplateInstanceBuilder edit() { + return new BrokerTemplateInstanceBuilder(this); + } + + @JsonIgnore + public BrokerTemplateInstanceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BrokerTemplateInstanceList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BrokerTemplateInstanceList.java index a2517a76743..0fdf746447a 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BrokerTemplateInstanceList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BrokerTemplateInstanceList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("template.openshift.io") @Generated("jsonschema2pojo") -public class BrokerTemplateInstanceList implements KubernetesResource, KubernetesResourceList +public class BrokerTemplateInstanceList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public BrokerTemplateInstanceListBuilder edit() { + return new BrokerTemplateInstanceListBuilder(this); + } + + @JsonIgnore + public BrokerTemplateInstanceListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BrokerTemplateInstanceSpec.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BrokerTemplateInstanceSpec.java index cedaffbd605..b9d5f9b781f 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BrokerTemplateInstanceSpec.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BrokerTemplateInstanceSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BrokerTemplateInstanceSpec implements KubernetesResource +public class BrokerTemplateInstanceSpec implements Editable , KubernetesResource { @JsonProperty("bindingIDs") @@ -115,6 +116,16 @@ public void setTemplateInstance(io.fabric8.kubernetes.api.model.ObjectReference this.templateInstance = templateInstance; } + @JsonIgnore + public BrokerTemplateInstanceSpecBuilder edit() { + return new BrokerTemplateInstanceSpecBuilder(this); + } + + @JsonIgnore + public BrokerTemplateInstanceSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Build.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Build.java index 0c09225a73b..f12c6b8e353 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Build.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Build.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("build.openshift.io") @Generated("jsonschema2pojo") -public class Build implements HasMetadata, Namespaced +public class Build implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(BuildStatus status) { this.status = status; } + @JsonIgnore + public BuildBuilder edit() { + return new BuildBuilder(this); + } + + @JsonIgnore + public BuildBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildCondition.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildCondition.java index 060db5b156e..e80ccfae863 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildCondition.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BuildCondition implements KubernetesResource +public class BuildCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -155,6 +156,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public BuildConditionBuilder edit() { + return new BuildConditionBuilder(this); + } + + @JsonIgnore + public BuildConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildConfig.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildConfig.java index dd719ef0f19..34448355628 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildConfig.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("build.openshift.io") @Generated("jsonschema2pojo") -public class BuildConfig implements HasMetadata, Namespaced +public class BuildConfig implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(BuildConfigStatus status) { this.status = status; } + @JsonIgnore + public BuildConfigBuilder edit() { + return new BuildConfigBuilder(this); + } + + @JsonIgnore + public BuildConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildConfigList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildConfigList.java index 1f0f53b429c..bf6c398e4a1 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildConfigList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildConfigList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("build.openshift.io") @Generated("jsonschema2pojo") -public class BuildConfigList implements KubernetesResource, KubernetesResourceList +public class BuildConfigList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public BuildConfigListBuilder edit() { + return new BuildConfigListBuilder(this); + } + + @JsonIgnore + public BuildConfigListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildConfigSpec.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildConfigSpec.java index cb98c524867..379f278f288 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildConfigSpec.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildConfigSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -69,7 +70,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BuildConfigSpec implements KubernetesResource +public class BuildConfigSpec implements Editable , KubernetesResource { @JsonProperty("completionDeadlineSeconds") @@ -270,6 +271,16 @@ public void setTriggers(List triggers) { this.triggers = triggers; } + @JsonIgnore + public BuildConfigSpecBuilder edit() { + return new BuildConfigSpecBuilder(this); + } + + @JsonIgnore + public BuildConfigSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildConfigStatus.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildConfigStatus.java index 3bdbd89e0c6..819c99249d9 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildConfigStatus.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildConfigStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BuildConfigStatus implements KubernetesResource +public class BuildConfigStatus implements Editable , KubernetesResource { @JsonProperty("imageChangeTriggers") @@ -102,6 +103,16 @@ public void setLastVersion(Long lastVersion) { this.lastVersion = lastVersion; } + @JsonIgnore + public BuildConfigStatusBuilder edit() { + return new BuildConfigStatusBuilder(this); + } + + @JsonIgnore + public BuildConfigStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildList.java index ba8f61b3f3d..b1ed27215aa 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("build.openshift.io") @Generated("jsonschema2pojo") -public class BuildList implements KubernetesResource, KubernetesResourceList +public class BuildList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public BuildListBuilder edit() { + return new BuildListBuilder(this); + } + + @JsonIgnore + public BuildListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildOutput.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildOutput.java index e1247bf6e80..adf5a48ee29 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildOutput.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildOutput.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BuildOutput implements KubernetesResource +public class BuildOutput implements Editable , KubernetesResource { @JsonProperty("imageLabels") @@ -114,6 +115,16 @@ public void setTo(io.fabric8.kubernetes.api.model.ObjectReference to) { this.to = to; } + @JsonIgnore + public BuildOutputBuilder edit() { + return new BuildOutputBuilder(this); + } + + @JsonIgnore + public BuildOutputBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildPostCommitSpec.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildPostCommitSpec.java index e61b2773ace..82580df61ac 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildPostCommitSpec.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildPostCommitSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BuildPostCommitSpec implements KubernetesResource +public class BuildPostCommitSpec implements Editable , KubernetesResource { @JsonProperty("args") @@ -117,6 +118,16 @@ public void setScript(String script) { this.script = script; } + @JsonIgnore + public BuildPostCommitSpecBuilder edit() { + return new BuildPostCommitSpecBuilder(this); + } + + @JsonIgnore + public BuildPostCommitSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildRequest.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildRequest.java index 8dce0e3506b..fb8c60b770e 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildRequest.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildRequest.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; @@ -74,7 +75,7 @@ @Version("v1") @Group("build.openshift.io") @Generated("jsonschema2pojo") -public class BuildRequest implements HasMetadata, Namespaced +public class BuildRequest implements Editable , HasMetadata, Namespaced { /** @@ -279,6 +280,16 @@ public void setTriggeredByImage(io.fabric8.kubernetes.api.model.ObjectReference this.triggeredByImage = triggeredByImage; } + @JsonIgnore + public BuildRequestBuilder edit() { + return new BuildRequestBuilder(this); + } + + @JsonIgnore + public BuildRequestBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildSource.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildSource.java index 9dfa2a0269d..de3f8b9eff4 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildSource.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildSource.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BuildSource implements KubernetesResource +public class BuildSource implements Editable , KubernetesResource { @JsonProperty("binary") @@ -201,6 +202,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public BuildSourceBuilder edit() { + return new BuildSourceBuilder(this); + } + + @JsonIgnore + public BuildSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildSpec.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildSpec.java index 60b645d07d0..f1781c7e41b 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildSpec.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -66,7 +67,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BuildSpec implements KubernetesResource +public class BuildSpec implements Editable , KubernetesResource { @JsonProperty("completionDeadlineSeconds") @@ -228,6 +229,16 @@ public void setTriggeredBy(List triggeredBy) { this.triggeredBy = triggeredBy; } + @JsonIgnore + public BuildSpecBuilder edit() { + return new BuildSpecBuilder(this); + } + + @JsonIgnore + public BuildSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildStatus.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildStatus.java index 830d6440d71..f8a787cddac 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildStatus.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BuildStatus implements KubernetesResource +public class BuildStatus implements Editable , KubernetesResource { @JsonProperty("cancelled") @@ -256,6 +257,16 @@ public void setStartTimestamp(String startTimestamp) { this.startTimestamp = startTimestamp; } + @JsonIgnore + public BuildStatusBuilder edit() { + return new BuildStatusBuilder(this); + } + + @JsonIgnore + public BuildStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildStatusOutput.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildStatusOutput.java index 0e51e566948..4f62fee12f9 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildStatusOutput.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildStatusOutput.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BuildStatusOutput implements KubernetesResource +public class BuildStatusOutput implements Editable , KubernetesResource { @JsonProperty("to") @@ -85,6 +86,16 @@ public void setTo(BuildStatusOutputTo to) { this.to = to; } + @JsonIgnore + public BuildStatusOutputBuilder edit() { + return new BuildStatusOutputBuilder(this); + } + + @JsonIgnore + public BuildStatusOutputBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildStatusOutputTo.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildStatusOutputTo.java index fba6f28c495..e4b63b49cf9 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildStatusOutputTo.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildStatusOutputTo.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BuildStatusOutputTo implements KubernetesResource +public class BuildStatusOutputTo implements Editable , KubernetesResource { @JsonProperty("imageDigest") @@ -85,6 +86,16 @@ public void setImageDigest(String imageDigest) { this.imageDigest = imageDigest; } + @JsonIgnore + public BuildStatusOutputToBuilder edit() { + return new BuildStatusOutputToBuilder(this); + } + + @JsonIgnore + public BuildStatusOutputToBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildStrategy.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildStrategy.java index e05860b0db0..cc6fa8f2906 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildStrategy.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildStrategy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BuildStrategy implements KubernetesResource +public class BuildStrategy implements Editable , KubernetesResource { @JsonProperty("customStrategy") @@ -141,6 +142,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public BuildStrategyBuilder edit() { + return new BuildStrategyBuilder(this); + } + + @JsonIgnore + public BuildStrategyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildTriggerCause.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildTriggerCause.java index bef52340c2d..c4317e35a81 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildTriggerCause.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildTriggerCause.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BuildTriggerCause implements KubernetesResource +public class BuildTriggerCause implements Editable , KubernetesResource { @JsonProperty("bitbucketWebHook") @@ -155,6 +156,16 @@ public void setMessage(String message) { this.message = message; } + @JsonIgnore + public BuildTriggerCauseBuilder edit() { + return new BuildTriggerCauseBuilder(this); + } + + @JsonIgnore + public BuildTriggerCauseBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildTriggerPolicy.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildTriggerPolicy.java index c2c6e55596c..70a30e700e1 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildTriggerPolicy.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildTriggerPolicy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BuildTriggerPolicy implements KubernetesResource +public class BuildTriggerPolicy implements Editable , KubernetesResource { @JsonProperty("bitbucket") @@ -155,6 +156,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public BuildTriggerPolicyBuilder edit() { + return new BuildTriggerPolicyBuilder(this); + } + + @JsonIgnore + public BuildTriggerPolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildVolume.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildVolume.java index 248558a24f5..fc12de87cb9 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildVolume.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildVolume.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BuildVolume implements KubernetesResource +public class BuildVolume implements Editable , KubernetesResource { @JsonProperty("mounts") @@ -116,6 +117,16 @@ public void setSource(BuildVolumeSource source) { this.source = source; } + @JsonIgnore + public BuildVolumeBuilder edit() { + return new BuildVolumeBuilder(this); + } + + @JsonIgnore + public BuildVolumeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildVolumeMount.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildVolumeMount.java index 1829d6fc32d..0c2568df464 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildVolumeMount.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildVolumeMount.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BuildVolumeMount implements KubernetesResource +public class BuildVolumeMount implements Editable , KubernetesResource { @JsonProperty("destinationPath") @@ -85,6 +86,16 @@ public void setDestinationPath(String destinationPath) { this.destinationPath = destinationPath; } + @JsonIgnore + public BuildVolumeMountBuilder edit() { + return new BuildVolumeMountBuilder(this); + } + + @JsonIgnore + public BuildVolumeMountBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildVolumeSource.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildVolumeSource.java index d350f502f3b..e895c2317bb 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildVolumeSource.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildVolumeSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.CSIVolumeSource; import io.fabric8.kubernetes.api.model.ConfigMapVolumeSource; import io.fabric8.kubernetes.api.model.Container; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BuildVolumeSource implements KubernetesResource +public class BuildVolumeSource implements Editable , KubernetesResource { @JsonProperty("configMap") @@ -130,6 +131,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public BuildVolumeSourceBuilder edit() { + return new BuildVolumeSourceBuilder(this); + } + + @JsonIgnore + public BuildVolumeSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterNetwork.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterNetwork.java index 29e0e74a55e..913bf898460 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterNetwork.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterNetwork.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -71,7 +72,7 @@ @Version("v1") @Group("network.openshift.io") @Generated("jsonschema2pojo") -public class ClusterNetwork implements HasMetadata +public class ClusterNetwork implements Editable , HasMetadata { /** @@ -249,6 +250,16 @@ public void setVxlanPort(Integer vxlanPort) { this.vxlanPort = vxlanPort; } + @JsonIgnore + public ClusterNetworkBuilder edit() { + return new ClusterNetworkBuilder(this); + } + + @JsonIgnore + public ClusterNetworkBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterNetworkEntry.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterNetworkEntry.java index e38b4f2bcec..aa6d70eead3 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterNetworkEntry.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterNetworkEntry.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterNetworkEntry implements KubernetesResource +public class ClusterNetworkEntry implements Editable , KubernetesResource { @JsonProperty("CIDR") @@ -99,6 +100,16 @@ public void setHostSubnetLength(Integer hostSubnetLength) { this.hostSubnetLength = hostSubnetLength; } + @JsonIgnore + public ClusterNetworkEntryBuilder edit() { + return new ClusterNetworkEntryBuilder(this); + } + + @JsonIgnore + public ClusterNetworkEntryBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterNetworkList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterNetworkList.java index abc09286135..4808c3d7697 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterNetworkList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterNetworkList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("network.openshift.io") @Generated("jsonschema2pojo") -public class ClusterNetworkList implements KubernetesResource, KubernetesResourceList +public class ClusterNetworkList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterNetworkListBuilder edit() { + return new ClusterNetworkListBuilder(this); + } + + @JsonIgnore + public ClusterNetworkListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterResourceQuota.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterResourceQuota.java index 725bab1a183..b9a29dfc460 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterResourceQuota.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterResourceQuota.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("quota.openshift.io") @Generated("jsonschema2pojo") -public class ClusterResourceQuota implements HasMetadata +public class ClusterResourceQuota implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(ClusterResourceQuotaStatus status) { this.status = status; } + @JsonIgnore + public ClusterResourceQuotaBuilder edit() { + return new ClusterResourceQuotaBuilder(this); + } + + @JsonIgnore + public ClusterResourceQuotaBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterResourceQuotaList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterResourceQuotaList.java index 7db06f20d0b..d87325c245a 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterResourceQuotaList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterResourceQuotaList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("quota.openshift.io") @Generated("jsonschema2pojo") -public class ClusterResourceQuotaList implements KubernetesResource, KubernetesResourceList +public class ClusterResourceQuotaList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterResourceQuotaListBuilder edit() { + return new ClusterResourceQuotaListBuilder(this); + } + + @JsonIgnore + public ClusterResourceQuotaListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterResourceQuotaSelector.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterResourceQuotaSelector.java index 8eb32489d98..2947f8ee03a 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterResourceQuotaSelector.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterResourceQuotaSelector.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterResourceQuotaSelector implements KubernetesResource +public class ClusterResourceQuotaSelector implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -99,6 +100,16 @@ public void setLabels(io.fabric8.kubernetes.api.model.LabelSelector labels) { this.labels = labels; } + @JsonIgnore + public ClusterResourceQuotaSelectorBuilder edit() { + return new ClusterResourceQuotaSelectorBuilder(this); + } + + @JsonIgnore + public ClusterResourceQuotaSelectorBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterResourceQuotaSpec.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterResourceQuotaSpec.java index a7182832100..f388493e217 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterResourceQuotaSpec.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterResourceQuotaSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterResourceQuotaSpec implements KubernetesResource +public class ClusterResourceQuotaSpec implements Editable , KubernetesResource { @JsonProperty("quota") @@ -100,6 +101,16 @@ public void setSelector(ClusterResourceQuotaSelector selector) { this.selector = selector; } + @JsonIgnore + public ClusterResourceQuotaSpecBuilder edit() { + return new ClusterResourceQuotaSpecBuilder(this); + } + + @JsonIgnore + public ClusterResourceQuotaSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterResourceQuotaStatus.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterResourceQuotaStatus.java index d27d9cc41c8..a7d80eb7dce 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterResourceQuotaStatus.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterResourceQuotaStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterResourceQuotaStatus implements KubernetesResource +public class ClusterResourceQuotaStatus implements Editable , KubernetesResource { @JsonProperty("namespaces") @@ -103,6 +104,16 @@ public void setTotal(ResourceQuotaStatus total) { this.total = total; } + @JsonIgnore + public ClusterResourceQuotaStatusBuilder edit() { + return new ClusterResourceQuotaStatusBuilder(this); + } + + @JsonIgnore + public ClusterResourceQuotaStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRole.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRole.java index 39754275702..09a79190ea2 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRole.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRole.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -67,7 +68,7 @@ @Version("v1") @Group("authorization.openshift.io") @Generated("jsonschema2pojo") -public class ClusterRole implements HasMetadata +public class ClusterRole implements Editable , HasMetadata { @JsonProperty("aggregationRule") @@ -180,6 +181,16 @@ public void setRules(List rules) { this.rules = rules; } + @JsonIgnore + public ClusterRoleBuilder edit() { + return new ClusterRoleBuilder(this); + } + + @JsonIgnore + public ClusterRoleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleBinding.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleBinding.java index f524652a69c..b75e5ea51cf 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleBinding.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleBinding.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -67,7 +68,7 @@ @Version("v1") @Group("authorization.openshift.io") @Generated("jsonschema2pojo") -public class ClusterRoleBinding implements HasMetadata +public class ClusterRoleBinding implements Editable , HasMetadata { /** @@ -208,6 +209,16 @@ public void setUserNames(List userNames) { this.userNames = userNames; } + @JsonIgnore + public ClusterRoleBindingBuilder edit() { + return new ClusterRoleBindingBuilder(this); + } + + @JsonIgnore + public ClusterRoleBindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleBindingList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleBindingList.java index 220fc49c119..87b183a4e84 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleBindingList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleBindingList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("authorization.openshift.io") @Generated("jsonschema2pojo") -public class ClusterRoleBindingList implements KubernetesResource, KubernetesResourceList +public class ClusterRoleBindingList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterRoleBindingListBuilder edit() { + return new ClusterRoleBindingListBuilder(this); + } + + @JsonIgnore + public ClusterRoleBindingListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleList.java index 14137a01f2a..eb89ea08fd6 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("authorization.openshift.io") @Generated("jsonschema2pojo") -public class ClusterRoleList implements KubernetesResource, KubernetesResourceList +public class ClusterRoleList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ClusterRoleListBuilder edit() { + return new ClusterRoleListBuilder(this); + } + + @JsonIgnore + public ClusterRoleListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleScopeRestriction.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleScopeRestriction.java index 471f3268fe6..86e6faa20a8 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleScopeRestriction.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleScopeRestriction.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterRoleScopeRestriction implements KubernetesResource +public class ClusterRoleScopeRestriction implements Editable , KubernetesResource { @JsonProperty("allowEscalation") @@ -117,6 +118,16 @@ public void setRoleNames(List roleNames) { this.roleNames = roleNames; } + @JsonIgnore + public ClusterRoleScopeRestrictionBuilder edit() { + return new ClusterRoleScopeRestrictionBuilder(this); + } + + @JsonIgnore + public ClusterRoleScopeRestrictionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ConfigMapBuildSource.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ConfigMapBuildSource.java index 35374fa1e9c..f34d8af6478 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ConfigMapBuildSource.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ConfigMapBuildSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ConfigMapBuildSource implements KubernetesResource +public class ConfigMapBuildSource implements Editable , KubernetesResource { @JsonProperty("configMap") @@ -98,6 +99,16 @@ public void setDestinationDir(String destinationDir) { this.destinationDir = destinationDir; } + @JsonIgnore + public ConfigMapBuildSourceBuilder edit() { + return new ConfigMapBuildSourceBuilder(this); + } + + @JsonIgnore + public ConfigMapBuildSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ConnectionConfig.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ConnectionConfig.java index 23e54f7de92..737d43ba98c 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ConnectionConfig.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ConnectionConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ConnectionConfig implements KubernetesResource +public class ConnectionConfig implements Editable , KubernetesResource { @JsonProperty("ca") @@ -115,6 +116,16 @@ public void setUrl(String url) { this.url = url; } + @JsonIgnore + public ConnectionConfigBuilder edit() { + return new ConnectionConfigBuilder(this); + } + + @JsonIgnore + public ConnectionConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/CustomBuildStrategy.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/CustomBuildStrategy.java index 5c00810d84b..1a9ff3bfd65 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/CustomBuildStrategy.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/CustomBuildStrategy.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CustomBuildStrategy implements KubernetesResource +public class CustomBuildStrategy implements Editable , KubernetesResource { @JsonProperty("buildAPIVersion") @@ -172,6 +173,16 @@ public void setSecrets(List secrets) { this.secrets = secrets; } + @JsonIgnore + public CustomBuildStrategyBuilder edit() { + return new CustomBuildStrategyBuilder(this); + } + + @JsonIgnore + public CustomBuildStrategyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/CustomDeploymentStrategyParams.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/CustomDeploymentStrategyParams.java index 179efd4b2ee..e868e1ee974 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/CustomDeploymentStrategyParams.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/CustomDeploymentStrategyParams.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CustomDeploymentStrategyParams implements KubernetesResource +public class CustomDeploymentStrategyParams implements Editable , KubernetesResource { @JsonProperty("command") @@ -118,6 +119,16 @@ public void setImage(String image) { this.image = image; } + @JsonIgnore + public CustomDeploymentStrategyParamsBuilder edit() { + return new CustomDeploymentStrategyParamsBuilder(this); + } + + @JsonIgnore + public CustomDeploymentStrategyParamsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentCause.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentCause.java index de5f7f7aa98..d46e01831aa 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentCause.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentCause.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DeploymentCause implements KubernetesResource +public class DeploymentCause implements Editable , KubernetesResource { @JsonProperty("imageTrigger") @@ -99,6 +100,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public DeploymentCauseBuilder edit() { + return new DeploymentCauseBuilder(this); + } + + @JsonIgnore + public DeploymentCauseBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentCauseImageTrigger.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentCauseImageTrigger.java index 9e5b79756fb..f58f11f8253 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentCauseImageTrigger.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentCauseImageTrigger.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -54,7 +55,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DeploymentCauseImageTrigger implements KubernetesResource +public class DeploymentCauseImageTrigger implements Editable , KubernetesResource { @JsonProperty("from") @@ -84,6 +85,16 @@ public void setFrom(io.fabric8.kubernetes.api.model.ObjectReference from) { this.from = from; } + @JsonIgnore + public DeploymentCauseImageTriggerBuilder edit() { + return new DeploymentCauseImageTriggerBuilder(this); + } + + @JsonIgnore + public DeploymentCauseImageTriggerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentCondition.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentCondition.java index f5738dd01c0..47de42a993a 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentCondition.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DeploymentCondition implements KubernetesResource +public class DeploymentCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -155,6 +156,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public DeploymentConditionBuilder edit() { + return new DeploymentConditionBuilder(this); + } + + @JsonIgnore + public DeploymentConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentConfig.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentConfig.java index 8a23c5f27a0..4ac7daf70ca 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentConfig.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("apps.openshift.io") @Generated("jsonschema2pojo") -public class DeploymentConfig implements HasMetadata, Namespaced +public class DeploymentConfig implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(DeploymentConfigStatus status) { this.status = status; } + @JsonIgnore + public DeploymentConfigBuilder edit() { + return new DeploymentConfigBuilder(this); + } + + @JsonIgnore + public DeploymentConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentConfigList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentConfigList.java index af8229bee88..d1b0003145e 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentConfigList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentConfigList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("apps.openshift.io") @Generated("jsonschema2pojo") -public class DeploymentConfigList implements KubernetesResource, KubernetesResourceList +public class DeploymentConfigList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public DeploymentConfigListBuilder edit() { + return new DeploymentConfigListBuilder(this); + } + + @JsonIgnore + public DeploymentConfigListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentConfigSpec.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentConfigSpec.java index 15c5de76cf1..92ade412202 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentConfigSpec.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentConfigSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DeploymentConfigSpec implements KubernetesResource +public class DeploymentConfigSpec implements Editable , KubernetesResource { @JsonProperty("minReadySeconds") @@ -200,6 +201,16 @@ public void setTriggers(List triggers) { this.triggers = triggers; } + @JsonIgnore + public DeploymentConfigSpecBuilder edit() { + return new DeploymentConfigSpecBuilder(this); + } + + @JsonIgnore + public DeploymentConfigSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentConfigStatus.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentConfigStatus.java index e8e7498dce9..83558284a2c 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentConfigStatus.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentConfigStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -65,7 +66,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DeploymentConfigStatus implements KubernetesResource +public class DeploymentConfigStatus implements Editable , KubernetesResource { @JsonProperty("availableReplicas") @@ -200,6 +201,16 @@ public void setUpdatedReplicas(Integer updatedReplicas) { this.updatedReplicas = updatedReplicas; } + @JsonIgnore + public DeploymentConfigStatusBuilder edit() { + return new DeploymentConfigStatusBuilder(this); + } + + @JsonIgnore + public DeploymentConfigStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentDetails.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentDetails.java index 0283fd28255..ad701c97380 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentDetails.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentDetails.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DeploymentDetails implements KubernetesResource +public class DeploymentDetails implements Editable , KubernetesResource { @JsonProperty("causes") @@ -102,6 +103,16 @@ public void setMessage(String message) { this.message = message; } + @JsonIgnore + public DeploymentDetailsBuilder edit() { + return new DeploymentDetailsBuilder(this); + } + + @JsonIgnore + public DeploymentDetailsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentStrategy.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentStrategy.java index 9002e50c155..107f18ff473 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentStrategy.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentStrategy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DeploymentStrategy implements KubernetesResource +public class DeploymentStrategy implements Editable , KubernetesResource { @JsonProperty("activeDeadlineSeconds") @@ -184,6 +185,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public DeploymentStrategyBuilder edit() { + return new DeploymentStrategyBuilder(this); + } + + @JsonIgnore + public DeploymentStrategyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentTriggerImageChangeParams.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentTriggerImageChangeParams.java index d185be1f383..9b46d41e3af 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentTriggerImageChangeParams.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentTriggerImageChangeParams.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DeploymentTriggerImageChangeParams implements KubernetesResource +public class DeploymentTriggerImageChangeParams implements Editable , KubernetesResource { @JsonProperty("automatic") @@ -129,6 +130,16 @@ public void setLastTriggeredImage(String lastTriggeredImage) { this.lastTriggeredImage = lastTriggeredImage; } + @JsonIgnore + public DeploymentTriggerImageChangeParamsBuilder edit() { + return new DeploymentTriggerImageChangeParamsBuilder(this); + } + + @JsonIgnore + public DeploymentTriggerImageChangeParamsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentTriggerPolicy.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentTriggerPolicy.java index e273d56acbf..97103e2a395 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentTriggerPolicy.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentTriggerPolicy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DeploymentTriggerPolicy implements KubernetesResource +public class DeploymentTriggerPolicy implements Editable , KubernetesResource { @JsonProperty("imageChangeParams") @@ -99,6 +100,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public DeploymentTriggerPolicyBuilder edit() { + return new DeploymentTriggerPolicyBuilder(this); + } + + @JsonIgnore + public DeploymentTriggerPolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DockerBuildStrategy.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DockerBuildStrategy.java index f5b599a3124..7393ad9dc6c 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DockerBuildStrategy.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DockerBuildStrategy.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DockerBuildStrategy implements KubernetesResource +public class DockerBuildStrategy implements Editable , KubernetesResource { @JsonProperty("buildArgs") @@ -201,6 +202,16 @@ public void setVolumes(List volumes) { this.volumes = volumes; } + @JsonIgnore + public DockerBuildStrategyBuilder edit() { + return new DockerBuildStrategyBuilder(this); + } + + @JsonIgnore + public DockerBuildStrategyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DockerStrategyOptions.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DockerStrategyOptions.java index b1ee9bf9504..8beb40a6e34 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DockerStrategyOptions.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DockerStrategyOptions.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DockerStrategyOptions implements KubernetesResource +public class DockerStrategyOptions implements Editable , KubernetesResource { @JsonProperty("buildArgs") @@ -103,6 +104,16 @@ public void setNoCache(Boolean noCache) { this.noCache = noCache; } + @JsonIgnore + public DockerStrategyOptionsBuilder edit() { + return new DockerStrategyOptionsBuilder(this); + } + + @JsonIgnore + public DockerStrategyOptionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/EgressNetworkPolicy.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/EgressNetworkPolicy.java index 82970b6dfc2..b140c4bd614 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/EgressNetworkPolicy.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/EgressNetworkPolicy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("network.openshift.io") @Generated("jsonschema2pojo") -public class EgressNetworkPolicy implements HasMetadata, Namespaced +public class EgressNetworkPolicy implements Editable , HasMetadata, Namespaced { /** @@ -163,6 +164,16 @@ public void setSpec(EgressNetworkPolicySpec spec) { this.spec = spec; } + @JsonIgnore + public EgressNetworkPolicyBuilder edit() { + return new EgressNetworkPolicyBuilder(this); + } + + @JsonIgnore + public EgressNetworkPolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/EgressNetworkPolicyList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/EgressNetworkPolicyList.java index 9c6527d0842..97974849717 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/EgressNetworkPolicyList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/EgressNetworkPolicyList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("network.openshift.io") @Generated("jsonschema2pojo") -public class EgressNetworkPolicyList implements KubernetesResource, KubernetesResourceList +public class EgressNetworkPolicyList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public EgressNetworkPolicyListBuilder edit() { + return new EgressNetworkPolicyListBuilder(this); + } + + @JsonIgnore + public EgressNetworkPolicyListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/EgressNetworkPolicyPeer.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/EgressNetworkPolicyPeer.java index 7ab5b15a773..018c4990202 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/EgressNetworkPolicyPeer.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/EgressNetworkPolicyPeer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class EgressNetworkPolicyPeer implements KubernetesResource +public class EgressNetworkPolicyPeer implements Editable , KubernetesResource { @JsonProperty("cidrSelector") @@ -99,6 +100,16 @@ public void setDnsName(String dnsName) { this.dnsName = dnsName; } + @JsonIgnore + public EgressNetworkPolicyPeerBuilder edit() { + return new EgressNetworkPolicyPeerBuilder(this); + } + + @JsonIgnore + public EgressNetworkPolicyPeerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/EgressNetworkPolicyRule.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/EgressNetworkPolicyRule.java index 55aeb0a85ee..d7e411c035a 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/EgressNetworkPolicyRule.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/EgressNetworkPolicyRule.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class EgressNetworkPolicyRule implements KubernetesResource +public class EgressNetworkPolicyRule implements Editable , KubernetesResource { @JsonProperty("to") @@ -99,6 +100,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public EgressNetworkPolicyRuleBuilder edit() { + return new EgressNetworkPolicyRuleBuilder(this); + } + + @JsonIgnore + public EgressNetworkPolicyRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/EgressNetworkPolicySpec.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/EgressNetworkPolicySpec.java index db9c5d2498d..f5eb70eb9e5 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/EgressNetworkPolicySpec.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/EgressNetworkPolicySpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class EgressNetworkPolicySpec implements KubernetesResource +public class EgressNetworkPolicySpec implements Editable , KubernetesResource { @JsonProperty("egress") @@ -88,6 +89,16 @@ public void setEgress(List egress) { this.egress = egress; } + @JsonIgnore + public EgressNetworkPolicySpecBuilder edit() { + return new EgressNetworkPolicySpecBuilder(this); + } + + @JsonIgnore + public EgressNetworkPolicySpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ExecNewPodHook.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ExecNewPodHook.java index a385f0d0c2a..f86394a54b6 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ExecNewPodHook.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ExecNewPodHook.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ExecNewPodHook implements KubernetesResource +public class ExecNewPodHook implements Editable , KubernetesResource { @JsonProperty("command") @@ -133,6 +134,16 @@ public void setVolumes(List volumes) { this.volumes = volumes; } + @JsonIgnore + public ExecNewPodHookBuilder edit() { + return new ExecNewPodHookBuilder(this); + } + + @JsonIgnore + public ExecNewPodHookBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/FSGroupStrategyOptions.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/FSGroupStrategyOptions.java index 794ef4a9a04..f59ff345962 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/FSGroupStrategyOptions.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/FSGroupStrategyOptions.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class FSGroupStrategyOptions implements KubernetesResource +public class FSGroupStrategyOptions implements Editable , KubernetesResource { @JsonProperty("ranges") @@ -102,6 +103,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public FSGroupStrategyOptionsBuilder edit() { + return new FSGroupStrategyOptionsBuilder(this); + } + + @JsonIgnore + public FSGroupStrategyOptionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GenericWebHookCause.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GenericWebHookCause.java index c94c928825e..b3547fbf5ca 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GenericWebHookCause.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GenericWebHookCause.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GenericWebHookCause implements KubernetesResource +public class GenericWebHookCause implements Editable , KubernetesResource { @JsonProperty("revision") @@ -99,6 +100,16 @@ public void setSecret(String secret) { this.secret = secret; } + @JsonIgnore + public GenericWebHookCauseBuilder edit() { + return new GenericWebHookCauseBuilder(this); + } + + @JsonIgnore + public GenericWebHookCauseBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GitBuildSource.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GitBuildSource.java index a8f28511129..5baa77a820c 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GitBuildSource.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GitBuildSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GitBuildSource implements KubernetesResource +public class GitBuildSource implements Editable , KubernetesResource { @JsonProperty("httpProxy") @@ -141,6 +142,16 @@ public void setUri(String uri) { this.uri = uri; } + @JsonIgnore + public GitBuildSourceBuilder edit() { + return new GitBuildSourceBuilder(this); + } + + @JsonIgnore + public GitBuildSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GitHubWebHookCause.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GitHubWebHookCause.java index fb45c3a04a8..c867aabbc76 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GitHubWebHookCause.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GitHubWebHookCause.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GitHubWebHookCause implements KubernetesResource +public class GitHubWebHookCause implements Editable , KubernetesResource { @JsonProperty("revision") @@ -99,6 +100,16 @@ public void setSecret(String secret) { this.secret = secret; } + @JsonIgnore + public GitHubWebHookCauseBuilder edit() { + return new GitHubWebHookCauseBuilder(this); + } + + @JsonIgnore + public GitHubWebHookCauseBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GitLabWebHookCause.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GitLabWebHookCause.java index 431a9d4edd3..c9e627e3570 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GitLabWebHookCause.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GitLabWebHookCause.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GitLabWebHookCause implements KubernetesResource +public class GitLabWebHookCause implements Editable , KubernetesResource { @JsonProperty("revision") @@ -99,6 +100,16 @@ public void setSecret(String secret) { this.secret = secret; } + @JsonIgnore + public GitLabWebHookCauseBuilder edit() { + return new GitLabWebHookCauseBuilder(this); + } + + @JsonIgnore + public GitLabWebHookCauseBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GitSourceRevision.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GitSourceRevision.java index ed16e94e09d..706c92c5695 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GitSourceRevision.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GitSourceRevision.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GitSourceRevision implements KubernetesResource +public class GitSourceRevision implements Editable , KubernetesResource { @JsonProperty("author") @@ -127,6 +128,16 @@ public void setMessage(String message) { this.message = message; } + @JsonIgnore + public GitSourceRevisionBuilder edit() { + return new GitSourceRevisionBuilder(this); + } + + @JsonIgnore + public GitSourceRevisionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Group.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Group.java index 885b95ab6a2..52bfec93dd8 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Group.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Group.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @io.fabric8.kubernetes.model.annotation.Group("user.openshift.io") @Generated("jsonschema2pojo") -public class Group implements HasMetadata +public class Group implements Editable , HasMetadata { /** @@ -164,6 +165,16 @@ public void setUsers(List users) { this.users = users; } + @JsonIgnore + public GroupBuilder edit() { + return new GroupBuilder(this); + } + + @JsonIgnore + public GroupBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GroupList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GroupList.java index 57bebac3825..85c46bb0aef 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GroupList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GroupList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -67,7 +68,7 @@ @Version("v1") @io.fabric8.kubernetes.model.annotation.Group("user.openshift.io") @Generated("jsonschema2pojo") -public class GroupList implements KubernetesResource, KubernetesResourceList +public class GroupList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -167,6 +168,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public GroupListBuilder edit() { + return new GroupListBuilder(this); + } + + @JsonIgnore + public GroupListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GroupRestriction.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GroupRestriction.java index 9f4bad39dfc..597fead15d5 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GroupRestriction.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GroupRestriction.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GroupRestriction implements KubernetesResource +public class GroupRestriction implements Editable , KubernetesResource { @JsonProperty("groups") @@ -102,6 +103,16 @@ public void setLabels(List labels this.labels = labels; } + @JsonIgnore + public GroupRestrictionBuilder edit() { + return new GroupRestrictionBuilder(this); + } + + @JsonIgnore + public GroupRestrictionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HelmChartRepository.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HelmChartRepository.java index 1bac12d5f9c..2ff7fe2730d 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HelmChartRepository.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HelmChartRepository.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1beta1") @Group("helm.openshift.io") @Generated("jsonschema2pojo") -public class HelmChartRepository implements HasMetadata +public class HelmChartRepository implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(HelmChartRepositoryStatus status) { this.status = status; } + @JsonIgnore + public HelmChartRepositoryBuilder edit() { + return new HelmChartRepositoryBuilder(this); + } + + @JsonIgnore + public HelmChartRepositoryBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HelmChartRepositoryList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HelmChartRepositoryList.java index f8345ab25ef..5a3e028a8b5 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HelmChartRepositoryList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HelmChartRepositoryList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1beta1") @Group("helm.openshift.io") @Generated("jsonschema2pojo") -public class HelmChartRepositoryList implements KubernetesResource, KubernetesResourceList +public class HelmChartRepositoryList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public HelmChartRepositoryListBuilder edit() { + return new HelmChartRepositoryListBuilder(this); + } + + @JsonIgnore + public HelmChartRepositoryListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HelmChartRepositorySpec.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HelmChartRepositorySpec.java index 70eb6d1ab0b..525c427ac46 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HelmChartRepositorySpec.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HelmChartRepositorySpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HelmChartRepositorySpec implements KubernetesResource +public class HelmChartRepositorySpec implements Editable , KubernetesResource { @JsonProperty("connectionConfig") @@ -127,6 +128,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public HelmChartRepositorySpecBuilder edit() { + return new HelmChartRepositorySpecBuilder(this); + } + + @JsonIgnore + public HelmChartRepositorySpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HelmChartRepositoryStatus.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HelmChartRepositoryStatus.java index fe0b148e836..3d051f8e22a 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HelmChartRepositoryStatus.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HelmChartRepositoryStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.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; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HelmChartRepositoryStatus implements KubernetesResource +public class HelmChartRepositoryStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -89,6 +90,16 @@ public void setConditions(List conditions) { this.conditions = conditions; } + @JsonIgnore + public HelmChartRepositoryStatusBuilder edit() { + return new HelmChartRepositoryStatusBuilder(this); + } + + @JsonIgnore + public HelmChartRepositoryStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HostSubnet.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HostSubnet.java index 980daab448a..1ede970480b 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HostSubnet.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HostSubnet.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -69,7 +70,7 @@ @Version("v1") @Group("network.openshift.io") @Generated("jsonschema2pojo") -public class HostSubnet implements HasMetadata +public class HostSubnet implements Editable , HasMetadata { /** @@ -222,6 +223,16 @@ public void setSubnet(String subnet) { this.subnet = subnet; } + @JsonIgnore + public HostSubnetBuilder edit() { + return new HostSubnetBuilder(this); + } + + @JsonIgnore + public HostSubnetBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HostSubnetList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HostSubnetList.java index b844ece10b9..aec56a52330 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HostSubnetList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HostSubnetList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("network.openshift.io") @Generated("jsonschema2pojo") -public class HostSubnetList implements KubernetesResource, KubernetesResourceList +public class HostSubnetList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public HostSubnetListBuilder edit() { + return new HostSubnetListBuilder(this); + } + + @JsonIgnore + public HostSubnetListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/IDRange.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/IDRange.java index c06dc94d9e2..e7273cf65c3 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/IDRange.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/IDRange.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class IDRange implements KubernetesResource +public class IDRange implements Editable , KubernetesResource { @JsonProperty("max") @@ -99,6 +100,16 @@ public void setMin(Long min) { this.min = min; } + @JsonIgnore + public IDRangeBuilder edit() { + return new IDRangeBuilder(this); + } + + @JsonIgnore + public IDRangeBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Identity.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Identity.java index 5f34e642dab..84c435d3ccb 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Identity.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Identity.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("user.openshift.io") @Generated("jsonschema2pojo") -public class Identity implements HasMetadata +public class Identity implements Editable , HasMetadata { /** @@ -204,6 +205,16 @@ public void setUser(io.fabric8.kubernetes.api.model.ObjectReference user) { this.user = user; } + @JsonIgnore + public IdentityBuilder edit() { + return new IdentityBuilder(this); + } + + @JsonIgnore + public IdentityBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/IdentityList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/IdentityList.java index 5a549a25cea..f162b290bee 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/IdentityList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/IdentityList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("user.openshift.io") @Generated("jsonschema2pojo") -public class IdentityList implements KubernetesResource, KubernetesResourceList +public class IdentityList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public IdentityListBuilder edit() { + return new IdentityListBuilder(this); + } + + @JsonIgnore + public IdentityListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Image.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Image.java index dc94c29c1e0..417c064c7f5 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Image.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Image.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -75,7 +76,7 @@ @Version("v1") @Group("image.openshift.io") @Generated("jsonschema2pojo") -public class Image implements HasMetadata +public class Image implements Editable , HasMetadata { /** @@ -295,6 +296,16 @@ public void setSignatures(List signatures) { this.signatures = signatures; } + @JsonIgnore + public ImageBuilder edit() { + return new ImageBuilder(this); + } + + @JsonIgnore + public ImageBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageChangeCause.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageChangeCause.java index 47a5db45783..c63eb4ddf63 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageChangeCause.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageChangeCause.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageChangeCause implements KubernetesResource +public class ImageChangeCause implements Editable , KubernetesResource { @JsonProperty("fromRef") @@ -98,6 +99,16 @@ public void setImageID(String imageID) { this.imageID = imageID; } + @JsonIgnore + public ImageChangeCauseBuilder edit() { + return new ImageChangeCauseBuilder(this); + } + + @JsonIgnore + public ImageChangeCauseBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageChangeTrigger.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageChangeTrigger.java index 2b19e0d8f79..419ec275283 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageChangeTrigger.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageChangeTrigger.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageChangeTrigger implements KubernetesResource +public class ImageChangeTrigger implements Editable , KubernetesResource { @JsonProperty("from") @@ -112,6 +113,16 @@ public void setPaused(Boolean paused) { this.paused = paused; } + @JsonIgnore + public ImageChangeTriggerBuilder edit() { + return new ImageChangeTriggerBuilder(this); + } + + @JsonIgnore + public ImageChangeTriggerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageChangeTriggerStatus.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageChangeTriggerStatus.java index 272e6893a25..d2b74ecf498 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageChangeTriggerStatus.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageChangeTriggerStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageChangeTriggerStatus implements KubernetesResource +public class ImageChangeTriggerStatus implements Editable , KubernetesResource { @JsonProperty("from") @@ -113,6 +114,16 @@ public void setLastTriggeredImageID(java.lang.String lastTriggeredImageID) { this.lastTriggeredImageID = lastTriggeredImageID; } + @JsonIgnore + public ImageChangeTriggerStatusBuilder edit() { + return new ImageChangeTriggerStatusBuilder(this); + } + + @JsonIgnore + public ImageChangeTriggerStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageImportSpec.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageImportSpec.java index 75d28a550da..ac77d11fc8a 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageImportSpec.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageImportSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageImportSpec implements KubernetesResource +public class ImageImportSpec implements Editable , KubernetesResource { @JsonProperty("from") @@ -139,6 +140,16 @@ public void setTo(io.fabric8.kubernetes.api.model.LocalObjectReference to) { this.to = to; } + @JsonIgnore + public ImageImportSpecBuilder edit() { + return new ImageImportSpecBuilder(this); + } + + @JsonIgnore + public ImageImportSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageImportStatus.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageImportStatus.java index 5b3ad3755a8..da8a47ad23c 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageImportStatus.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageImportStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageImportStatus implements KubernetesResource +public class ImageImportStatus implements Editable , KubernetesResource { @JsonProperty("image") @@ -131,6 +132,16 @@ public void setTag(String tag) { this.tag = tag; } + @JsonIgnore + public ImageImportStatusBuilder edit() { + return new ImageImportStatusBuilder(this); + } + + @JsonIgnore + public ImageImportStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageLabel.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageLabel.java index 950d76c283d..6c2c9826655 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageLabel.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageLabel.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageLabel implements KubernetesResource +public class ImageLabel implements Editable , KubernetesResource { @JsonProperty("name") @@ -99,6 +100,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public ImageLabelBuilder edit() { + return new ImageLabelBuilder(this); + } + + @JsonIgnore + public ImageLabelBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageLayer.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageLayer.java index 7921868d488..50997582966 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageLayer.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageLayer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageLayer implements KubernetesResource +public class ImageLayer implements Editable , KubernetesResource { @JsonProperty("mediaType") @@ -113,6 +114,16 @@ public void setSize(Long size) { this.size = size; } + @JsonIgnore + public ImageLayerBuilder edit() { + return new ImageLayerBuilder(this); + } + + @JsonIgnore + public ImageLayerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageList.java index be83d766a4e..2e27431c34f 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("image.openshift.io") @Generated("jsonschema2pojo") -public class ImageList implements KubernetesResource, KubernetesResourceList +public class ImageList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ImageListBuilder edit() { + return new ImageListBuilder(this); + } + + @JsonIgnore + public ImageListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageLookupPolicy.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageLookupPolicy.java index 9ae2d54b752..5b4f00968cd 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageLookupPolicy.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageLookupPolicy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageLookupPolicy implements KubernetesResource +public class ImageLookupPolicy implements Editable , KubernetesResource { @JsonProperty("local") @@ -85,6 +86,16 @@ public void setLocal(Boolean local) { this.local = local; } + @JsonIgnore + public ImageLookupPolicyBuilder edit() { + return new ImageLookupPolicyBuilder(this); + } + + @JsonIgnore + public ImageLookupPolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageManifest.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageManifest.java index 77380fde634..0f14156e04a 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageManifest.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageManifest.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageManifest implements KubernetesResource +public class ImageManifest implements Editable , KubernetesResource { @JsonProperty("architecture") @@ -155,6 +156,16 @@ public void setVariant(String variant) { this.variant = variant; } + @JsonIgnore + public ImageManifestBuilder edit() { + return new ImageManifestBuilder(this); + } + + @JsonIgnore + public ImageManifestBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageSignature.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageSignature.java index 96a849f007c..3a720228014 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageSignature.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageSignature.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -72,7 +73,7 @@ @Version("v1") @Group("image.openshift.io") @Generated("jsonschema2pojo") -public class ImageSignature implements HasMetadata +public class ImageSignature implements Editable , HasMetadata { /** @@ -264,6 +265,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public ImageSignatureBuilder edit() { + return new ImageSignatureBuilder(this); + } + + @JsonIgnore + public ImageSignatureBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageSource.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageSource.java index 3f93ad1b526..28ce1bb271f 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageSource.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageSource.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageSource implements KubernetesResource +public class ImageSource implements Editable , KubernetesResource { @JsonProperty("as") @@ -129,6 +130,16 @@ public void setPullSecret(io.fabric8.kubernetes.api.model.LocalObjectReference p this.pullSecret = pullSecret; } + @JsonIgnore + public ImageSourceBuilder edit() { + return new ImageSourceBuilder(this); + } + + @JsonIgnore + public ImageSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageSourcePath.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageSourcePath.java index f21b5d312a7..5320707ae57 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageSourcePath.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageSourcePath.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageSourcePath implements KubernetesResource +public class ImageSourcePath implements Editable , KubernetesResource { @JsonProperty("destinationDir") @@ -99,6 +100,16 @@ public void setSourcePath(String sourcePath) { this.sourcePath = sourcePath; } + @JsonIgnore + public ImageSourcePathBuilder edit() { + return new ImageSourcePathBuilder(this); + } + + @JsonIgnore + public ImageSourcePathBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStream.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStream.java index 02de63a1d96..e2afd200d9d 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStream.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStream.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("image.openshift.io") @Generated("jsonschema2pojo") -public class ImageStream implements HasMetadata, Namespaced +public class ImageStream implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(ImageStreamStatus status) { this.status = status; } + @JsonIgnore + public ImageStreamBuilder edit() { + return new ImageStreamBuilder(this); + } + + @JsonIgnore + public ImageStreamBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamImage.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamImage.java index 6d3b1426c9e..ae479b35c32 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamImage.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamImage.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("image.openshift.io") @Generated("jsonschema2pojo") -public class ImageStreamImage implements HasMetadata, Namespaced +public class ImageStreamImage implements Editable , HasMetadata, Namespaced { /** @@ -163,6 +164,16 @@ public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ImageStreamImageBuilder edit() { + return new ImageStreamImageBuilder(this); + } + + @JsonIgnore + public ImageStreamImageBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamImport.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamImport.java index 7eed8b7c007..b4898a64cf2 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamImport.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamImport.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("image.openshift.io") @Generated("jsonschema2pojo") -public class ImageStreamImport implements HasMetadata, Namespaced +public class ImageStreamImport implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(ImageStreamImportStatus status) { this.status = status; } + @JsonIgnore + public ImageStreamImportBuilder edit() { + return new ImageStreamImportBuilder(this); + } + + @JsonIgnore + public ImageStreamImportBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamImportSpec.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamImportSpec.java index c39d7d5c71c..33f48473aad 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamImportSpec.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamImportSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageStreamImportSpec implements KubernetesResource +public class ImageStreamImportSpec implements Editable , KubernetesResource { @JsonProperty("images") @@ -116,6 +117,16 @@ public void setRepository(RepositoryImportSpec repository) { this.repository = repository; } + @JsonIgnore + public ImageStreamImportSpecBuilder edit() { + return new ImageStreamImportSpecBuilder(this); + } + + @JsonIgnore + public ImageStreamImportSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamImportStatus.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamImportStatus.java index 4d401eb8482..5bee38c8577 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamImportStatus.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamImportStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageStreamImportStatus implements KubernetesResource +public class ImageStreamImportStatus implements Editable , KubernetesResource { @JsonProperty("images") @@ -116,6 +117,16 @@ public void setRepository(RepositoryImportStatus repository) { this.repository = repository; } + @JsonIgnore + public ImageStreamImportStatusBuilder edit() { + return new ImageStreamImportStatusBuilder(this); + } + + @JsonIgnore + public ImageStreamImportStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamList.java index e1d261f61a4..74c0c0009b3 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("image.openshift.io") @Generated("jsonschema2pojo") -public class ImageStreamList implements KubernetesResource, KubernetesResourceList +public class ImageStreamList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ImageStreamListBuilder edit() { + return new ImageStreamListBuilder(this); + } + + @JsonIgnore + public ImageStreamListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamMapping.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamMapping.java index aff49b1915b..85ed2f1944f 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamMapping.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamMapping.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("image.openshift.io") @Generated("jsonschema2pojo") -public class ImageStreamMapping implements HasMetadata, Namespaced +public class ImageStreamMapping implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setTag(String tag) { this.tag = tag; } + @JsonIgnore + public ImageStreamMappingBuilder edit() { + return new ImageStreamMappingBuilder(this); + } + + @JsonIgnore + public ImageStreamMappingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamSpec.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamSpec.java index 10f47b39f3b..4de26888c2d 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamSpec.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageStreamSpec implements KubernetesResource +public class ImageStreamSpec implements Editable , KubernetesResource { @JsonProperty("dockerImageRepository") @@ -116,6 +117,16 @@ public void setTags(List tags) { this.tags = tags; } + @JsonIgnore + public ImageStreamSpecBuilder edit() { + return new ImageStreamSpecBuilder(this); + } + + @JsonIgnore + public ImageStreamSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamStatus.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamStatus.java index 239d759847d..fccc0ab040f 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamStatus.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageStreamStatus implements KubernetesResource +public class ImageStreamStatus implements Editable , KubernetesResource { @JsonProperty("dockerImageRepository") @@ -116,6 +117,16 @@ public void setTags(List tags) { this.tags = tags; } + @JsonIgnore + public ImageStreamStatusBuilder edit() { + return new ImageStreamStatusBuilder(this); + } + + @JsonIgnore + public ImageStreamStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamTag.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamTag.java index 17b184803a2..7b245f0ca0a 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamTag.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamTag.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -70,7 +71,7 @@ @Version("v1") @Group("image.openshift.io") @Generated("jsonschema2pojo") -public class ImageStreamTag implements HasMetadata, Namespaced +public class ImageStreamTag implements Editable , HasMetadata, Namespaced { /** @@ -222,6 +223,16 @@ public void setTag(TagReference tag) { this.tag = tag; } + @JsonIgnore + public ImageStreamTagBuilder edit() { + return new ImageStreamTagBuilder(this); + } + + @JsonIgnore + public ImageStreamTagBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamTagList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamTagList.java index 0134e078b48..941c0daaa82 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamTagList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamTagList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("image.openshift.io") @Generated("jsonschema2pojo") -public class ImageStreamTagList implements KubernetesResource, KubernetesResourceList +public class ImageStreamTagList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ImageStreamTagListBuilder edit() { + return new ImageStreamTagListBuilder(this); + } + + @JsonIgnore + public ImageStreamTagListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamTagReference.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamTagReference.java index cd4615b4004..62b803d0d00 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamTagReference.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamTagReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ImageStreamTagReference implements KubernetesResource +public class ImageStreamTagReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -99,6 +100,16 @@ public void setNamespace(String namespace) { this.namespace = namespace; } + @JsonIgnore + public ImageStreamTagReferenceBuilder edit() { + return new ImageStreamTagReferenceBuilder(this); + } + + @JsonIgnore + public ImageStreamTagReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageTag.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageTag.java index 77d98ee2168..7db68b5ea5e 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageTag.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageTag.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -66,7 +67,7 @@ @Version("v1") @Group("image.openshift.io") @Generated("jsonschema2pojo") -public class ImageTag implements HasMetadata, Namespaced +public class ImageTag implements Editable , HasMetadata, Namespaced { /** @@ -191,6 +192,16 @@ public void setStatus(NamedTagEventList status) { this.status = status; } + @JsonIgnore + public ImageTagBuilder edit() { + return new ImageTagBuilder(this); + } + + @JsonIgnore + public ImageTagBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageTagList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageTagList.java index 069f76a3a7a..127452e8350 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageTagList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageTagList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("image.openshift.io") @Generated("jsonschema2pojo") -public class ImageTagList implements KubernetesResource, KubernetesResourceList +public class ImageTagList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ImageTagListBuilder edit() { + return new ImageTagListBuilder(this); + } + + @JsonIgnore + public ImageTagListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/JenkinsPipelineBuildStrategy.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/JenkinsPipelineBuildStrategy.java index 415b2edb798..a037803e551 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/JenkinsPipelineBuildStrategy.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/JenkinsPipelineBuildStrategy.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class JenkinsPipelineBuildStrategy implements KubernetesResource +public class JenkinsPipelineBuildStrategy implements Editable , KubernetesResource { @JsonProperty("env") @@ -117,6 +118,16 @@ public void setJenkinsfilePath(String jenkinsfilePath) { this.jenkinsfilePath = jenkinsfilePath; } + @JsonIgnore + public JenkinsPipelineBuildStrategyBuilder edit() { + return new JenkinsPipelineBuildStrategyBuilder(this); + } + + @JsonIgnore + public JenkinsPipelineBuildStrategyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/LifecycleHook.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/LifecycleHook.java index 561060d607e..bf09fcf7b8b 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/LifecycleHook.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/LifecycleHook.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class LifecycleHook implements KubernetesResource +public class LifecycleHook implements Editable , KubernetesResource { @JsonProperty("execNewPod") @@ -116,6 +117,16 @@ public void setTagImages(List tagImages) { this.tagImages = tagImages; } + @JsonIgnore + public LifecycleHookBuilder edit() { + return new LifecycleHookBuilder(this); + } + + @JsonIgnore + public LifecycleHookBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/LocalResourceAccessReview.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/LocalResourceAccessReview.java index 1d4da1a1088..75ffdbe67ca 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/LocalResourceAccessReview.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/LocalResourceAccessReview.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.GenericKubernetesResource; import io.fabric8.kubernetes.api.model.IntOrString; @@ -77,7 +78,7 @@ @Version("v1") @Group("authorization.openshift.io") @Generated("jsonschema2pojo") -public class LocalResourceAccessReview implements KubernetesResource, Namespaced +public class LocalResourceAccessReview implements Editable , KubernetesResource, Namespaced { /** @@ -267,6 +268,16 @@ public void setVerb(String verb) { this.verb = verb; } + @JsonIgnore + public LocalResourceAccessReviewBuilder edit() { + return new LocalResourceAccessReviewBuilder(this); + } + + @JsonIgnore + public LocalResourceAccessReviewBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/LocalSubjectAccessReview.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/LocalSubjectAccessReview.java index fb2dec65797..c9ea7812851 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/LocalSubjectAccessReview.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/LocalSubjectAccessReview.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.GenericKubernetesResource; import io.fabric8.kubernetes.api.model.IntOrString; @@ -82,7 +83,7 @@ @Version("v1") @Group("authorization.openshift.io") @Generated("jsonschema2pojo") -public class LocalSubjectAccessReview implements KubernetesResource, Namespaced +public class LocalSubjectAccessReview implements Editable , KubernetesResource, Namespaced { /** @@ -313,6 +314,16 @@ public void setVerb(String verb) { this.verb = verb; } + @JsonIgnore + public LocalSubjectAccessReviewBuilder edit() { + return new LocalSubjectAccessReviewBuilder(this); + } + + @JsonIgnore + public LocalSubjectAccessReviewBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/NamedTagEventList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/NamedTagEventList.java index e98d325a647..65988ad9e65 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/NamedTagEventList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/NamedTagEventList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NamedTagEventList implements KubernetesResource +public class NamedTagEventList implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -117,6 +118,16 @@ public void setTag(String tag) { this.tag = tag; } + @JsonIgnore + public NamedTagEventListBuilder edit() { + return new NamedTagEventListBuilder(this); + } + + @JsonIgnore + public NamedTagEventListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/NetNamespace.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/NetNamespace.java index 34db145c1b1..19875dce972 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/NetNamespace.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/NetNamespace.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -67,7 +68,7 @@ @Version("v1") @Group("network.openshift.io") @Generated("jsonschema2pojo") -public class NetNamespace implements HasMetadata +public class NetNamespace implements Editable , HasMetadata { /** @@ -193,6 +194,16 @@ public void setNetname(String netname) { this.netname = netname; } + @JsonIgnore + public NetNamespaceBuilder edit() { + return new NetNamespaceBuilder(this); + } + + @JsonIgnore + public NetNamespaceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/NetNamespaceList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/NetNamespaceList.java index 22c68e960e1..0df61c14cc1 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/NetNamespaceList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/NetNamespaceList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("network.openshift.io") @Generated("jsonschema2pojo") -public class NetNamespaceList implements KubernetesResource, KubernetesResourceList +public class NetNamespaceList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public NetNamespaceListBuilder edit() { + return new NetNamespaceListBuilder(this); + } + + @JsonIgnore + public NetNamespaceListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthAccessToken.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthAccessToken.java index 874c1af8260..5186a642a7d 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthAccessToken.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthAccessToken.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -73,7 +74,7 @@ @Version("v1") @Group("oauth.openshift.io") @Generated("jsonschema2pojo") -public class OAuthAccessToken implements HasMetadata +public class OAuthAccessToken implements Editable , HasMetadata { /** @@ -277,6 +278,16 @@ public void setUserUID(String userUID) { this.userUID = userUID; } + @JsonIgnore + public OAuthAccessTokenBuilder edit() { + return new OAuthAccessTokenBuilder(this); + } + + @JsonIgnore + public OAuthAccessTokenBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthAccessTokenList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthAccessTokenList.java index 087e5b76dd5..864fd604a01 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthAccessTokenList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthAccessTokenList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("oauth.openshift.io") @Generated("jsonschema2pojo") -public class OAuthAccessTokenList implements KubernetesResource, KubernetesResourceList +public class OAuthAccessTokenList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public OAuthAccessTokenListBuilder edit() { + return new OAuthAccessTokenListBuilder(this); + } + + @JsonIgnore + public OAuthAccessTokenListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthAuthorizeToken.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthAuthorizeToken.java index b5a7d5f6208..b3481edee3f 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthAuthorizeToken.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthAuthorizeToken.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -73,7 +74,7 @@ @Version("v1") @Group("oauth.openshift.io") @Generated("jsonschema2pojo") -public class OAuthAuthorizeToken implements HasMetadata +public class OAuthAuthorizeToken implements Editable , HasMetadata { /** @@ -277,6 +278,16 @@ public void setUserUID(String userUID) { this.userUID = userUID; } + @JsonIgnore + public OAuthAuthorizeTokenBuilder edit() { + return new OAuthAuthorizeTokenBuilder(this); + } + + @JsonIgnore + public OAuthAuthorizeTokenBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthAuthorizeTokenList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthAuthorizeTokenList.java index 3f586278708..c10950e2641 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthAuthorizeTokenList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthAuthorizeTokenList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("oauth.openshift.io") @Generated("jsonschema2pojo") -public class OAuthAuthorizeTokenList implements KubernetesResource, KubernetesResourceList +public class OAuthAuthorizeTokenList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public OAuthAuthorizeTokenListBuilder edit() { + return new OAuthAuthorizeTokenListBuilder(this); + } + + @JsonIgnore + public OAuthAuthorizeTokenListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthClient.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthClient.java index f1758945bf9..fc61901e8ce 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthClient.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthClient.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -72,7 +73,7 @@ @Version("v1") @Group("oauth.openshift.io") @Generated("jsonschema2pojo") -public class OAuthClient implements HasMetadata +public class OAuthClient implements Editable , HasMetadata { @JsonProperty("accessTokenInactivityTimeoutSeconds") @@ -265,6 +266,16 @@ public void setSecret(String secret) { this.secret = secret; } + @JsonIgnore + public OAuthClientBuilder edit() { + return new OAuthClientBuilder(this); + } + + @JsonIgnore + public OAuthClientBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthClientAuthorization.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthClientAuthorization.java index cf2977705f6..7e2149c175a 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthClientAuthorization.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthClientAuthorization.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -68,7 +69,7 @@ @Version("v1") @Group("oauth.openshift.io") @Generated("jsonschema2pojo") -public class OAuthClientAuthorization implements HasMetadata +public class OAuthClientAuthorization implements Editable , HasMetadata { /** @@ -207,6 +208,16 @@ public void setUserUID(String userUID) { this.userUID = userUID; } + @JsonIgnore + public OAuthClientAuthorizationBuilder edit() { + return new OAuthClientAuthorizationBuilder(this); + } + + @JsonIgnore + public OAuthClientAuthorizationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthClientAuthorizationList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthClientAuthorizationList.java index 47eba38cebf..eba8b695711 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthClientAuthorizationList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthClientAuthorizationList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("oauth.openshift.io") @Generated("jsonschema2pojo") -public class OAuthClientAuthorizationList implements KubernetesResource, KubernetesResourceList +public class OAuthClientAuthorizationList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public OAuthClientAuthorizationListBuilder edit() { + return new OAuthClientAuthorizationListBuilder(this); + } + + @JsonIgnore + public OAuthClientAuthorizationListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthClientList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthClientList.java index 0b726b796a1..43b022e3ffe 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthClientList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthClientList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("oauth.openshift.io") @Generated("jsonschema2pojo") -public class OAuthClientList implements KubernetesResource, KubernetesResourceList +public class OAuthClientList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public OAuthClientListBuilder edit() { + return new OAuthClientListBuilder(this); + } + + @JsonIgnore + public OAuthClientListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Parameter.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Parameter.java index 5aee79d4422..a5b75e5bf91 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Parameter.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Parameter.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Parameter implements KubernetesResource +public class Parameter implements Editable , KubernetesResource { @JsonProperty("description") @@ -169,6 +170,16 @@ public void setValue(String value) { this.value = value; } + @JsonIgnore + public ParameterBuilder edit() { + return new ParameterBuilder(this); + } + + @JsonIgnore + public ParameterBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicyReview.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicyReview.java index 70d3ea62bbd..1b76475702e 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicyReview.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicyReview.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -66,7 +67,7 @@ @Version("v1") @Group("security.openshift.io") @Generated("jsonschema2pojo") -public class PodSecurityPolicyReview implements KubernetesResource, Namespaced +public class PodSecurityPolicyReview implements Editable , KubernetesResource, Namespaced { /** @@ -165,6 +166,16 @@ public void setStatus(PodSecurityPolicyReviewStatus status) { this.status = status; } + @JsonIgnore + public PodSecurityPolicyReviewBuilder edit() { + return new PodSecurityPolicyReviewBuilder(this); + } + + @JsonIgnore + public PodSecurityPolicyReviewBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicyReviewSpec.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicyReviewSpec.java index 5dc8b04ad7b..6a443ad96f9 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicyReviewSpec.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicyReviewSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PodSecurityPolicyReviewSpec implements KubernetesResource +public class PodSecurityPolicyReviewSpec implements Editable , KubernetesResource { @JsonProperty("serviceAccountNames") @@ -101,6 +102,16 @@ public void setTemplate(io.fabric8.kubernetes.api.model.PodTemplateSpec template this.template = template; } + @JsonIgnore + public PodSecurityPolicyReviewSpecBuilder edit() { + return new PodSecurityPolicyReviewSpecBuilder(this); + } + + @JsonIgnore + public PodSecurityPolicyReviewSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicyReviewStatus.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicyReviewStatus.java index 420a1143660..603d5fcaae1 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicyReviewStatus.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicyReviewStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PodSecurityPolicyReviewStatus implements KubernetesResource +public class PodSecurityPolicyReviewStatus implements Editable , KubernetesResource { @JsonProperty("allowedServiceAccounts") @@ -88,6 +89,16 @@ public void setAllowedServiceAccounts(List getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicySelfSubjectReview.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicySelfSubjectReview.java index 2f9688d2c64..ff2e6ae6837 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicySelfSubjectReview.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicySelfSubjectReview.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -66,7 +67,7 @@ @Version("v1") @Group("security.openshift.io") @Generated("jsonschema2pojo") -public class PodSecurityPolicySelfSubjectReview implements KubernetesResource, Namespaced +public class PodSecurityPolicySelfSubjectReview implements Editable , KubernetesResource, Namespaced { /** @@ -165,6 +166,16 @@ public void setStatus(PodSecurityPolicySubjectReviewStatus status) { this.status = status; } + @JsonIgnore + public PodSecurityPolicySelfSubjectReviewBuilder edit() { + return new PodSecurityPolicySelfSubjectReviewBuilder(this); + } + + @JsonIgnore + public PodSecurityPolicySelfSubjectReviewBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicySelfSubjectReviewSpec.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicySelfSubjectReviewSpec.java index d148eafda5e..714df0404d9 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicySelfSubjectReviewSpec.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicySelfSubjectReviewSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -54,7 +55,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PodSecurityPolicySelfSubjectReviewSpec implements KubernetesResource +public class PodSecurityPolicySelfSubjectReviewSpec implements Editable , KubernetesResource { @JsonProperty("template") @@ -84,6 +85,16 @@ public void setTemplate(io.fabric8.kubernetes.api.model.PodTemplateSpec template this.template = template; } + @JsonIgnore + public PodSecurityPolicySelfSubjectReviewSpecBuilder edit() { + return new PodSecurityPolicySelfSubjectReviewSpecBuilder(this); + } + + @JsonIgnore + public PodSecurityPolicySelfSubjectReviewSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicySubjectReview.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicySubjectReview.java index 829e3a8f358..31fb5f97584 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicySubjectReview.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicySubjectReview.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -66,7 +67,7 @@ @Version("v1") @Group("security.openshift.io") @Generated("jsonschema2pojo") -public class PodSecurityPolicySubjectReview implements KubernetesResource, Namespaced +public class PodSecurityPolicySubjectReview implements Editable , KubernetesResource, Namespaced { /** @@ -165,6 +166,16 @@ public void setStatus(PodSecurityPolicySubjectReviewStatus status) { this.status = status; } + @JsonIgnore + public PodSecurityPolicySubjectReviewBuilder edit() { + return new PodSecurityPolicySubjectReviewBuilder(this); + } + + @JsonIgnore + public PodSecurityPolicySubjectReviewBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicySubjectReviewSpec.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicySubjectReviewSpec.java index 38b1a6ec44d..f46f40a9f5e 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicySubjectReviewSpec.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicySubjectReviewSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PodSecurityPolicySubjectReviewSpec implements KubernetesResource +public class PodSecurityPolicySubjectReviewSpec implements Editable , KubernetesResource { @JsonProperty("groups") @@ -115,6 +116,16 @@ public void setUser(String user) { this.user = user; } + @JsonIgnore + public PodSecurityPolicySubjectReviewSpecBuilder edit() { + return new PodSecurityPolicySubjectReviewSpecBuilder(this); + } + + @JsonIgnore + public PodSecurityPolicySubjectReviewSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicySubjectReviewStatus.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicySubjectReviewStatus.java index 3f556b124ac..2537db99992 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicySubjectReviewStatus.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicySubjectReviewStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PodSecurityPolicySubjectReviewStatus implements KubernetesResource +public class PodSecurityPolicySubjectReviewStatus implements Editable , KubernetesResource { @JsonProperty("allowedBy") @@ -111,6 +112,16 @@ public void setTemplate(io.fabric8.kubernetes.api.model.PodTemplateSpec template this.template = template; } + @JsonIgnore + public PodSecurityPolicySubjectReviewStatusBuilder edit() { + return new PodSecurityPolicySubjectReviewStatusBuilder(this); + } + + @JsonIgnore + public PodSecurityPolicySubjectReviewStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PolicyRule.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PolicyRule.java index 2bb8feb178d..65d5d601067 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PolicyRule.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PolicyRule.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.GenericKubernetesResource; import io.fabric8.kubernetes.api.model.IntOrString; @@ -66,7 +67,7 @@ @BuildableReference(RawExtension.class) }) @Generated("jsonschema2pojo") -public class PolicyRule implements KubernetesResource +public class PolicyRule implements Editable , KubernetesResource { @JsonProperty("apiGroups") @@ -166,6 +167,16 @@ public void setVerbs(List verbs) { this.verbs = verbs; } + @JsonIgnore + public PolicyRuleBuilder edit() { + return new PolicyRuleBuilder(this); + } + + @JsonIgnore + public PolicyRuleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Project.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Project.java index a7b5c4967c4..9ceb1522698 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Project.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Project.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("project.openshift.io") @Generated("jsonschema2pojo") -public class Project implements HasMetadata +public class Project implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setStatus(ProjectStatus status) { this.status = status; } + @JsonIgnore + public ProjectBuilder edit() { + return new ProjectBuilder(this); + } + + @JsonIgnore + public ProjectBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ProjectList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ProjectList.java index 462b2b529d6..613f4674772 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ProjectList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ProjectList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("project.openshift.io") @Generated("jsonschema2pojo") -public class ProjectList implements KubernetesResource, KubernetesResourceList +public class ProjectList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ProjectListBuilder edit() { + return new ProjectListBuilder(this); + } + + @JsonIgnore + public ProjectListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ProjectRequest.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ProjectRequest.java index 002796b1b95..960cd2583b2 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ProjectRequest.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ProjectRequest.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("project.openshift.io") @Generated("jsonschema2pojo") -public class ProjectRequest implements HasMetadata +public class ProjectRequest implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public ProjectRequestBuilder edit() { + return new ProjectRequestBuilder(this); + } + + @JsonIgnore + public ProjectRequestBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ProjectSpec.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ProjectSpec.java index 1c6602abeaf..30c2c3f96f5 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ProjectSpec.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ProjectSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ProjectSpec implements KubernetesResource +public class ProjectSpec implements Editable , KubernetesResource { @JsonProperty("finalizers") @@ -88,6 +89,16 @@ public void setFinalizers(List finalizers) { this.finalizers = finalizers; } + @JsonIgnore + public ProjectSpecBuilder edit() { + return new ProjectSpecBuilder(this); + } + + @JsonIgnore + public ProjectSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ProjectStatus.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ProjectStatus.java index bbfb1193176..ece6484b447 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ProjectStatus.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ProjectStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ProjectStatus implements KubernetesResource +public class ProjectStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -103,6 +104,16 @@ public void setPhase(String phase) { this.phase = phase; } + @JsonIgnore + public ProjectStatusBuilder edit() { + return new ProjectStatusBuilder(this); + } + + @JsonIgnore + public ProjectStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RangeAllocation.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RangeAllocation.java index 0993699f213..16f4c4a3f4a 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RangeAllocation.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RangeAllocation.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("security.openshift.io") @Generated("jsonschema2pojo") -public class RangeAllocation implements HasMetadata +public class RangeAllocation implements Editable , HasMetadata { /** @@ -176,6 +177,16 @@ public void setRange(String range) { this.range = range; } + @JsonIgnore + public RangeAllocationBuilder edit() { + return new RangeAllocationBuilder(this); + } + + @JsonIgnore + public RangeAllocationBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RangeAllocationList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RangeAllocationList.java index ea0d12ca78f..0270649dd7e 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RangeAllocationList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RangeAllocationList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("security.openshift.io") @Generated("jsonschema2pojo") -public class RangeAllocationList implements KubernetesResource, KubernetesResourceList +public class RangeAllocationList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public RangeAllocationListBuilder edit() { + return new RangeAllocationListBuilder(this); + } + + @JsonIgnore + public RangeAllocationListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RecreateDeploymentStrategyParams.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RecreateDeploymentStrategyParams.java index 6820090440a..b9a9fa688f5 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RecreateDeploymentStrategyParams.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RecreateDeploymentStrategyParams.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RecreateDeploymentStrategyParams implements KubernetesResource +public class RecreateDeploymentStrategyParams implements Editable , KubernetesResource { @JsonProperty("mid") @@ -127,6 +128,16 @@ public void setTimeoutSeconds(Long timeoutSeconds) { this.timeoutSeconds = timeoutSeconds; } + @JsonIgnore + public RecreateDeploymentStrategyParamsBuilder edit() { + return new RecreateDeploymentStrategyParamsBuilder(this); + } + + @JsonIgnore + public RecreateDeploymentStrategyParamsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RepositoryImportSpec.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RepositoryImportSpec.java index 50e5d48bddd..01e091bb418 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RepositoryImportSpec.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RepositoryImportSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RepositoryImportSpec implements KubernetesResource +public class RepositoryImportSpec implements Editable , KubernetesResource { @JsonProperty("from") @@ -126,6 +127,16 @@ public void setReferencePolicy(TagReferencePolicy referencePolicy) { this.referencePolicy = referencePolicy; } + @JsonIgnore + public RepositoryImportSpecBuilder edit() { + return new RepositoryImportSpecBuilder(this); + } + + @JsonIgnore + public RepositoryImportSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RepositoryImportStatus.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RepositoryImportStatus.java index bb2d4eb77bb..7f2323e4559 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RepositoryImportStatus.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RepositoryImportStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RepositoryImportStatus implements KubernetesResource +public class RepositoryImportStatus implements Editable , KubernetesResource { @JsonProperty("additionalTags") @@ -118,6 +119,16 @@ public void setStatus(Status status) { this.status = status; } + @JsonIgnore + public RepositoryImportStatusBuilder edit() { + return new RepositoryImportStatusBuilder(this); + } + + @JsonIgnore + public RepositoryImportStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ResourceAccessReview.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ResourceAccessReview.java index 7e985141850..2aba2f81e85 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ResourceAccessReview.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ResourceAccessReview.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.GenericKubernetesResource; import io.fabric8.kubernetes.api.model.IntOrString; @@ -76,7 +77,7 @@ @Version("v1") @Group("authorization.openshift.io") @Generated("jsonschema2pojo") -public class ResourceAccessReview implements KubernetesResource +public class ResourceAccessReview implements Editable , KubernetesResource { /** @@ -266,6 +267,16 @@ public void setVerb(String verb) { this.verb = verb; } + @JsonIgnore + public ResourceAccessReviewBuilder edit() { + return new ResourceAccessReviewBuilder(this); + } + + @JsonIgnore + public ResourceAccessReviewBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ResourceAccessReviewResponse.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ResourceAccessReviewResponse.java index 92f020ee0c8..0a64f842c30 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ResourceAccessReviewResponse.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ResourceAccessReviewResponse.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -69,7 +70,7 @@ @Version("v1") @Group("authorization.openshift.io") @Generated("jsonschema2pojo") -public class ResourceAccessReviewResponse implements KubernetesResource +public class ResourceAccessReviewResponse implements Editable , KubernetesResource { /** @@ -196,6 +197,16 @@ public void setUsers(List users) { this.users = users; } + @JsonIgnore + public ResourceAccessReviewResponseBuilder edit() { + return new ResourceAccessReviewResponseBuilder(this); + } + + @JsonIgnore + public ResourceAccessReviewResponseBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ResourceQuotaStatusByNamespace.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ResourceQuotaStatusByNamespace.java index a615a2c6ece..bcbad3d5ab4 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ResourceQuotaStatusByNamespace.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ResourceQuotaStatusByNamespace.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ResourceQuotaStatusByNamespace implements KubernetesResource +public class ResourceQuotaStatusByNamespace implements Editable , KubernetesResource { @JsonProperty("namespace") @@ -100,6 +101,16 @@ public void setStatus(ResourceQuotaStatus status) { this.status = status; } + @JsonIgnore + public ResourceQuotaStatusByNamespaceBuilder edit() { + return new ResourceQuotaStatusByNamespaceBuilder(this); + } + + @JsonIgnore + public ResourceQuotaStatusByNamespaceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Role.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Role.java index 95f0ed348b6..211e3cd5266 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Role.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Role.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -66,7 +67,7 @@ @Version("v1") @Group("authorization.openshift.io") @Generated("jsonschema2pojo") -public class Role implements HasMetadata, Namespaced +public class Role implements Editable , HasMetadata, Namespaced { /** @@ -166,6 +167,16 @@ public void setRules(List rules) { this.rules = rules; } + @JsonIgnore + public RoleBuilder edit() { + return new RoleBuilder(this); + } + + @JsonIgnore + public RoleBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBinding.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBinding.java index ca818eaefb2..0b708981011 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBinding.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBinding.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -68,7 +69,7 @@ @Version("v1") @Group("authorization.openshift.io") @Generated("jsonschema2pojo") -public class RoleBinding implements HasMetadata, Namespaced +public class RoleBinding implements Editable , HasMetadata, Namespaced { /** @@ -209,6 +210,16 @@ public void setUserNames(List userNames) { this.userNames = userNames; } + @JsonIgnore + public RoleBindingBuilder edit() { + return new RoleBindingBuilder(this); + } + + @JsonIgnore + public RoleBindingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBindingList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBindingList.java index d90dd4c22d4..6fe98fb8281 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBindingList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBindingList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("authorization.openshift.io") @Generated("jsonschema2pojo") -public class RoleBindingList implements KubernetesResource, KubernetesResourceList +public class RoleBindingList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public RoleBindingListBuilder edit() { + return new RoleBindingListBuilder(this); + } + + @JsonIgnore + public RoleBindingListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBindingRestriction.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBindingRestriction.java index b5afdc60147..e2f922fb41f 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBindingRestriction.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBindingRestriction.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -64,7 +65,7 @@ @Version("v1") @Group("authorization.openshift.io") @Generated("jsonschema2pojo") -public class RoleBindingRestriction implements HasMetadata, Namespaced +public class RoleBindingRestriction implements Editable , HasMetadata, Namespaced { /** @@ -163,6 +164,16 @@ public void setSpec(RoleBindingRestrictionSpec spec) { this.spec = spec; } + @JsonIgnore + public RoleBindingRestrictionBuilder edit() { + return new RoleBindingRestrictionBuilder(this); + } + + @JsonIgnore + public RoleBindingRestrictionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBindingRestrictionList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBindingRestrictionList.java index 398023ed8b7..c0d88945540 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBindingRestrictionList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBindingRestrictionList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("authorization.openshift.io") @Generated("jsonschema2pojo") -public class RoleBindingRestrictionList implements KubernetesResource, KubernetesResourceList +public class RoleBindingRestrictionList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public RoleBindingRestrictionListBuilder edit() { + return new RoleBindingRestrictionListBuilder(this); + } + + @JsonIgnore + public RoleBindingRestrictionListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBindingRestrictionSpec.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBindingRestrictionSpec.java index 7cdf97cbe3c..2daa4b80de6 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBindingRestrictionSpec.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBindingRestrictionSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RoleBindingRestrictionSpec implements KubernetesResource +public class RoleBindingRestrictionSpec implements Editable , KubernetesResource { @JsonProperty("grouprestriction") @@ -113,6 +114,16 @@ public void setUserrestriction(UserRestriction userrestriction) { this.userrestriction = userrestriction; } + @JsonIgnore + public RoleBindingRestrictionSpecBuilder edit() { + return new RoleBindingRestrictionSpecBuilder(this); + } + + @JsonIgnore + public RoleBindingRestrictionSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleList.java index ae781133fa2..abe290bef1d 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("authorization.openshift.io") @Generated("jsonschema2pojo") -public class RoleList implements KubernetesResource, KubernetesResourceList +public class RoleList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public RoleListBuilder edit() { + return new RoleListBuilder(this); + } + + @JsonIgnore + public RoleListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RollingDeploymentStrategyParams.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RollingDeploymentStrategyParams.java index 322e21aaac6..e98e8129d8f 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RollingDeploymentStrategyParams.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RollingDeploymentStrategyParams.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RollingDeploymentStrategyParams implements KubernetesResource +public class RollingDeploymentStrategyParams implements Editable , KubernetesResource { @JsonProperty("intervalSeconds") @@ -168,6 +169,16 @@ public void setUpdatePeriodSeconds(Long updatePeriodSeconds) { this.updatePeriodSeconds = updatePeriodSeconds; } + @JsonIgnore + public RollingDeploymentStrategyParamsBuilder edit() { + return new RollingDeploymentStrategyParamsBuilder(this); + } + + @JsonIgnore + public RollingDeploymentStrategyParamsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Route.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Route.java index c6a01b88e36..e67472d83ef 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Route.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Route.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("route.openshift.io") @Generated("jsonschema2pojo") -public class Route implements HasMetadata, Namespaced +public class Route implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(RouteStatus status) { this.status = status; } + @JsonIgnore + public RouteBuilder edit() { + return new RouteBuilder(this); + } + + @JsonIgnore + public RouteBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RouteIngress.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RouteIngress.java index 335f5c08d83..1d7783f0ff2 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RouteIngress.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RouteIngress.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -61,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RouteIngress implements KubernetesResource +public class RouteIngress implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -144,6 +145,16 @@ public void setWildcardPolicy(String wildcardPolicy) { this.wildcardPolicy = wildcardPolicy; } + @JsonIgnore + public RouteIngressBuilder edit() { + return new RouteIngressBuilder(this); + } + + @JsonIgnore + public RouteIngressBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RouteIngressCondition.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RouteIngressCondition.java index 94016fadae8..694a322e91d 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RouteIngressCondition.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RouteIngressCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RouteIngressCondition implements KubernetesResource +public class RouteIngressCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public RouteIngressConditionBuilder edit() { + return new RouteIngressConditionBuilder(this); + } + + @JsonIgnore + public RouteIngressConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RouteList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RouteList.java index 246e76e1c38..c97c69965cf 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RouteList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RouteList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("route.openshift.io") @Generated("jsonschema2pojo") -public class RouteList implements KubernetesResource, KubernetesResourceList +public class RouteList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public RouteListBuilder edit() { + return new RouteListBuilder(this); + } + + @JsonIgnore + public RouteListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoutePort.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoutePort.java index ea65528f7a6..09adf10eca9 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoutePort.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoutePort.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -54,7 +55,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RoutePort implements KubernetesResource +public class RoutePort implements Editable , KubernetesResource { @JsonProperty("targetPort") @@ -84,6 +85,16 @@ public void setTargetPort(io.fabric8.kubernetes.api.model.IntOrString targetPort this.targetPort = targetPort; } + @JsonIgnore + public RoutePortBuilder edit() { + return new RoutePortBuilder(this); + } + + @JsonIgnore + public RoutePortBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RouteSpec.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RouteSpec.java index ec5e66d6d01..8ed2aabebec 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RouteSpec.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RouteSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -64,7 +65,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RouteSpec implements KubernetesResource +public class RouteSpec implements Editable , KubernetesResource { @JsonProperty("alternateBackends") @@ -186,6 +187,16 @@ public void setWildcardPolicy(String wildcardPolicy) { this.wildcardPolicy = wildcardPolicy; } + @JsonIgnore + public RouteSpecBuilder edit() { + return new RouteSpecBuilder(this); + } + + @JsonIgnore + public RouteSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RouteStatus.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RouteStatus.java index a0d6de60697..f30ad329494 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RouteStatus.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RouteStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RouteStatus implements KubernetesResource +public class RouteStatus implements Editable , KubernetesResource { @JsonProperty("ingress") @@ -88,6 +89,16 @@ public void setIngress(List ingress) { this.ingress = ingress; } + @JsonIgnore + public RouteStatusBuilder edit() { + return new RouteStatusBuilder(this); + } + + @JsonIgnore + public RouteStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RouteTargetReference.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RouteTargetReference.java index 46af5f2e514..61f791ce067 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RouteTargetReference.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RouteTargetReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RouteTargetReference implements KubernetesResource +public class RouteTargetReference implements Editable , KubernetesResource { @JsonProperty("kind") @@ -112,6 +113,16 @@ public void setWeight(Integer weight) { this.weight = weight; } + @JsonIgnore + public RouteTargetReferenceBuilder edit() { + return new RouteTargetReferenceBuilder(this); + } + + @JsonIgnore + public RouteTargetReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RunAsUserStrategyOptions.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RunAsUserStrategyOptions.java index 630a5d77caf..fc558fd25d6 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RunAsUserStrategyOptions.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RunAsUserStrategyOptions.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RunAsUserStrategyOptions implements KubernetesResource +public class RunAsUserStrategyOptions implements Editable , KubernetesResource { @JsonProperty("type") @@ -127,6 +128,16 @@ public void setUidRangeMin(Long uidRangeMin) { this.uidRangeMin = uidRangeMin; } + @JsonIgnore + public RunAsUserStrategyOptionsBuilder edit() { + return new RunAsUserStrategyOptionsBuilder(this); + } + + @JsonIgnore + public RunAsUserStrategyOptionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SELinuxContextStrategyOptions.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SELinuxContextStrategyOptions.java index 22621095f16..5bddb54a261 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SELinuxContextStrategyOptions.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SELinuxContextStrategyOptions.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SELinuxContextStrategyOptions implements KubernetesResource +public class SELinuxContextStrategyOptions implements Editable , KubernetesResource { @JsonProperty("seLinuxOptions") @@ -100,6 +101,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public SELinuxContextStrategyOptionsBuilder edit() { + return new SELinuxContextStrategyOptionsBuilder(this); + } + + @JsonIgnore + public SELinuxContextStrategyOptionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ScopeRestriction.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ScopeRestriction.java index d5e3b300f3f..348ef9e9030 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ScopeRestriction.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ScopeRestriction.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ScopeRestriction implements KubernetesResource +public class ScopeRestriction implements Editable , KubernetesResource { @JsonProperty("clusterRole") @@ -102,6 +103,16 @@ public void setLiterals(List literals) { this.literals = literals; } + @JsonIgnore + public ScopeRestrictionBuilder edit() { + return new ScopeRestrictionBuilder(this); + } + + @JsonIgnore + public ScopeRestrictionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SecretBuildSource.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SecretBuildSource.java index 1112ee0ebf7..394a54e89fc 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SecretBuildSource.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SecretBuildSource.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SecretBuildSource implements KubernetesResource +public class SecretBuildSource implements Editable , KubernetesResource { @JsonProperty("destinationDir") @@ -98,6 +99,16 @@ public void setSecret(io.fabric8.kubernetes.api.model.LocalObjectReference secre this.secret = secret; } + @JsonIgnore + public SecretBuildSourceBuilder edit() { + return new SecretBuildSourceBuilder(this); + } + + @JsonIgnore + public SecretBuildSourceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SecretLocalReference.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SecretLocalReference.java index 28778109ed6..e39e620b121 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SecretLocalReference.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SecretLocalReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SecretLocalReference implements KubernetesResource +public class SecretLocalReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -85,6 +86,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public SecretLocalReferenceBuilder edit() { + return new SecretLocalReferenceBuilder(this); + } + + @JsonIgnore + public SecretLocalReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SecretSpec.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SecretSpec.java index dcf9c017e60..04e0b55aa91 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SecretSpec.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SecretSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SecretSpec implements KubernetesResource +public class SecretSpec implements Editable , KubernetesResource { @JsonProperty("mountPath") @@ -98,6 +99,16 @@ public void setSecretSource(io.fabric8.kubernetes.api.model.LocalObjectReference this.secretSource = secretSource; } + @JsonIgnore + public SecretSpecBuilder edit() { + return new SecretSpecBuilder(this); + } + + @JsonIgnore + public SecretSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SecurityContextConstraints.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SecurityContextConstraints.java index 7449dfbcfb3..14cc6687064 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SecurityContextConstraints.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SecurityContextConstraints.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -88,7 +89,7 @@ @Version("v1") @Group("security.openshift.io") @Generated("jsonschema2pojo") -public class SecurityContextConstraints implements HasMetadata +public class SecurityContextConstraints implements Editable , HasMetadata { @JsonProperty("allowHostDirVolumePlugin") @@ -496,6 +497,16 @@ public void setVolumes(List volumes) { this.volumes = volumes; } + @JsonIgnore + public SecurityContextConstraintsBuilder edit() { + return new SecurityContextConstraintsBuilder(this); + } + + @JsonIgnore + public SecurityContextConstraintsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SecurityContextConstraintsList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SecurityContextConstraintsList.java index 23b525a6130..f8924ce33a7 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SecurityContextConstraintsList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SecurityContextConstraintsList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("security.openshift.io") @Generated("jsonschema2pojo") -public class SecurityContextConstraintsList implements KubernetesResource, KubernetesResourceList +public class SecurityContextConstraintsList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public SecurityContextConstraintsListBuilder edit() { + return new SecurityContextConstraintsListBuilder(this); + } + + @JsonIgnore + public SecurityContextConstraintsListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SelfSubjectRulesReview.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SelfSubjectRulesReview.java index a0cf060fd0b..d8cd314bc0b 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SelfSubjectRulesReview.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SelfSubjectRulesReview.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -66,7 +67,7 @@ @Version("v1") @Group("authorization.openshift.io") @Generated("jsonschema2pojo") -public class SelfSubjectRulesReview implements KubernetesResource, Namespaced +public class SelfSubjectRulesReview implements Editable , KubernetesResource, Namespaced { /** @@ -165,6 +166,16 @@ public void setStatus(SubjectRulesReviewStatus status) { this.status = status; } + @JsonIgnore + public SelfSubjectRulesReviewBuilder edit() { + return new SelfSubjectRulesReviewBuilder(this); + } + + @JsonIgnore + public SelfSubjectRulesReviewBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SelfSubjectRulesReviewSpec.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SelfSubjectRulesReviewSpec.java index 70aced578f9..335d4e3c494 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SelfSubjectRulesReviewSpec.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SelfSubjectRulesReviewSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SelfSubjectRulesReviewSpec implements KubernetesResource +public class SelfSubjectRulesReviewSpec implements Editable , KubernetesResource { @JsonProperty("scopes") @@ -88,6 +89,16 @@ public void setScopes(List scopes) { this.scopes = scopes; } + @JsonIgnore + public SelfSubjectRulesReviewSpecBuilder edit() { + return new SelfSubjectRulesReviewSpecBuilder(this); + } + + @JsonIgnore + public SelfSubjectRulesReviewSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ServiceAccountPodSecurityPolicyReviewStatus.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ServiceAccountPodSecurityPolicyReviewStatus.java index 27a0e96da71..7a035aba2c8 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ServiceAccountPodSecurityPolicyReviewStatus.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ServiceAccountPodSecurityPolicyReviewStatus.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ServiceAccountPodSecurityPolicyReviewStatus implements KubernetesResource +public class ServiceAccountPodSecurityPolicyReviewStatus implements Editable , KubernetesResource { @JsonProperty("allowedBy") @@ -125,6 +126,16 @@ public void setTemplate(io.fabric8.kubernetes.api.model.PodTemplateSpec template this.template = template; } + @JsonIgnore + public ServiceAccountPodSecurityPolicyReviewStatusBuilder edit() { + return new ServiceAccountPodSecurityPolicyReviewStatusBuilder(this); + } + + @JsonIgnore + public ServiceAccountPodSecurityPolicyReviewStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ServiceAccountReference.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ServiceAccountReference.java index 1549997226f..e7a1f5bf33d 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ServiceAccountReference.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ServiceAccountReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ServiceAccountReference implements KubernetesResource +public class ServiceAccountReference implements Editable , KubernetesResource { @JsonProperty("name") @@ -99,6 +100,16 @@ public void setNamespace(String namespace) { this.namespace = namespace; } + @JsonIgnore + public ServiceAccountReferenceBuilder edit() { + return new ServiceAccountReferenceBuilder(this); + } + + @JsonIgnore + public ServiceAccountReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ServiceAccountRestriction.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ServiceAccountRestriction.java index 207b97e34ee..aa11b9d754e 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ServiceAccountRestriction.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ServiceAccountRestriction.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ServiceAccountRestriction implements KubernetesResource +public class ServiceAccountRestriction implements Editable , KubernetesResource { @JsonProperty("namespaces") @@ -103,6 +104,16 @@ public void setServiceaccounts(List serviceaccounts) { this.serviceaccounts = serviceaccounts; } + @JsonIgnore + public ServiceAccountRestrictionBuilder edit() { + return new ServiceAccountRestrictionBuilder(this); + } + + @JsonIgnore + public ServiceAccountRestrictionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SignatureCondition.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SignatureCondition.java index 25d525167f4..7a84d93d21e 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SignatureCondition.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SignatureCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SignatureCondition implements KubernetesResource +public class SignatureCondition implements Editable , KubernetesResource { @JsonProperty("lastProbeTime") @@ -155,6 +156,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public SignatureConditionBuilder edit() { + return new SignatureConditionBuilder(this); + } + + @JsonIgnore + public SignatureConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SignatureIssuer.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SignatureIssuer.java index 3e4aaf7c8fb..11c7faffc8f 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SignatureIssuer.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SignatureIssuer.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SignatureIssuer implements KubernetesResource +public class SignatureIssuer implements Editable , KubernetesResource { @JsonProperty("commonName") @@ -99,6 +100,16 @@ public void setOrganization(String organization) { this.organization = organization; } + @JsonIgnore + public SignatureIssuerBuilder edit() { + return new SignatureIssuerBuilder(this); + } + + @JsonIgnore + public SignatureIssuerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SignatureSubject.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SignatureSubject.java index 18bd6b095ce..1b877784c30 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SignatureSubject.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SignatureSubject.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SignatureSubject implements KubernetesResource +public class SignatureSubject implements Editable , KubernetesResource { @JsonProperty("commonName") @@ -113,6 +114,16 @@ public void setPublicKeyID(String publicKeyID) { this.publicKeyID = publicKeyID; } + @JsonIgnore + public SignatureSubjectBuilder edit() { + return new SignatureSubjectBuilder(this); + } + + @JsonIgnore + public SignatureSubjectBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SourceBuildStrategy.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SourceBuildStrategy.java index 88a537d69d2..58abb1480bd 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SourceBuildStrategy.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SourceBuildStrategy.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; @@ -62,7 +63,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SourceBuildStrategy implements KubernetesResource +public class SourceBuildStrategy implements Editable , KubernetesResource { @JsonProperty("env") @@ -172,6 +173,16 @@ public void setVolumes(List volumes) { this.volumes = volumes; } + @JsonIgnore + public SourceBuildStrategyBuilder edit() { + return new SourceBuildStrategyBuilder(this); + } + + @JsonIgnore + public SourceBuildStrategyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SourceControlUser.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SourceControlUser.java index 96fb48a105f..615eae33698 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SourceControlUser.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SourceControlUser.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SourceControlUser implements KubernetesResource +public class SourceControlUser implements Editable , KubernetesResource { @JsonProperty("email") @@ -99,6 +100,16 @@ public void setName(String name) { this.name = name; } + @JsonIgnore + public SourceControlUserBuilder edit() { + return new SourceControlUserBuilder(this); + } + + @JsonIgnore + public SourceControlUserBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SourceRevision.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SourceRevision.java index 3869a0df654..9bc6682a628 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SourceRevision.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SourceRevision.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SourceRevision implements KubernetesResource +public class SourceRevision implements Editable , KubernetesResource { @JsonProperty("git") @@ -99,6 +100,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public SourceRevisionBuilder edit() { + return new SourceRevisionBuilder(this); + } + + @JsonIgnore + public SourceRevisionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SourceStrategyOptions.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SourceStrategyOptions.java index 1a9a6329004..0465879e5d2 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SourceStrategyOptions.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SourceStrategyOptions.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SourceStrategyOptions implements KubernetesResource +public class SourceStrategyOptions implements Editable , KubernetesResource { @JsonProperty("incremental") @@ -85,6 +86,16 @@ public void setIncremental(Boolean incremental) { this.incremental = incremental; } + @JsonIgnore + public SourceStrategyOptionsBuilder edit() { + return new SourceStrategyOptionsBuilder(this); + } + + @JsonIgnore + public SourceStrategyOptionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/StageInfo.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/StageInfo.java index 0d97a4fb369..25d9ad36bad 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/StageInfo.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/StageInfo.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class StageInfo implements KubernetesResource +public class StageInfo implements Editable , KubernetesResource { @JsonProperty("durationMilliseconds") @@ -130,6 +131,16 @@ public void setSteps(List steps) { this.steps = steps; } + @JsonIgnore + public StageInfoBuilder edit() { + return new StageInfoBuilder(this); + } + + @JsonIgnore + public StageInfoBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/StepInfo.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/StepInfo.java index 8d6ab9f1c31..0a149c5bf82 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/StepInfo.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/StepInfo.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class StepInfo implements KubernetesResource +public class StepInfo implements Editable , KubernetesResource { @JsonProperty("durationMilliseconds") @@ -113,6 +114,16 @@ public void setStartTime(String startTime) { this.startTime = startTime; } + @JsonIgnore + public StepInfoBuilder edit() { + return new StepInfoBuilder(this); + } + + @JsonIgnore + public StepInfoBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectAccessReview.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectAccessReview.java index cdc99e47205..6c70d866202 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectAccessReview.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectAccessReview.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.GenericKubernetesResource; import io.fabric8.kubernetes.api.model.IntOrString; @@ -81,7 +82,7 @@ @Version("v1") @Group("authorization.openshift.io") @Generated("jsonschema2pojo") -public class SubjectAccessReview implements KubernetesResource +public class SubjectAccessReview implements Editable , KubernetesResource { /** @@ -312,6 +313,16 @@ public void setVerb(String verb) { this.verb = verb; } + @JsonIgnore + public SubjectAccessReviewBuilder edit() { + return new SubjectAccessReviewBuilder(this); + } + + @JsonIgnore + public SubjectAccessReviewBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectAccessReviewResponse.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectAccessReviewResponse.java index b13ba1b7619..bc86c9db526 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectAccessReviewResponse.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectAccessReviewResponse.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -67,7 +68,7 @@ @Version("v1") @Group("authorization.openshift.io") @Generated("jsonschema2pojo") -public class SubjectAccessReviewResponse implements KubernetesResource +public class SubjectAccessReviewResponse implements Editable , KubernetesResource { @JsonProperty("allowed") @@ -192,6 +193,16 @@ public void setReason(String reason) { this.reason = reason; } + @JsonIgnore + public SubjectAccessReviewResponseBuilder edit() { + return new SubjectAccessReviewResponseBuilder(this); + } + + @JsonIgnore + public SubjectAccessReviewResponseBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectRulesReview.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectRulesReview.java index ff7002ddd9c..d007e92abfa 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectRulesReview.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectRulesReview.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -66,7 +67,7 @@ @Version("v1") @Group("authorization.openshift.io") @Generated("jsonschema2pojo") -public class SubjectRulesReview implements KubernetesResource, Namespaced +public class SubjectRulesReview implements Editable , KubernetesResource, Namespaced { /** @@ -165,6 +166,16 @@ public void setStatus(SubjectRulesReviewStatus status) { this.status = status; } + @JsonIgnore + public SubjectRulesReviewBuilder edit() { + return new SubjectRulesReviewBuilder(this); + } + + @JsonIgnore + public SubjectRulesReviewBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectRulesReviewSpec.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectRulesReviewSpec.java index eea718cc828..aa1401ed568 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectRulesReviewSpec.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectRulesReviewSpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SubjectRulesReviewSpec implements KubernetesResource +public class SubjectRulesReviewSpec implements Editable , KubernetesResource { @JsonProperty("groups") @@ -117,6 +118,16 @@ public void setUser(String user) { this.user = user; } + @JsonIgnore + public SubjectRulesReviewSpecBuilder edit() { + return new SubjectRulesReviewSpecBuilder(this); + } + + @JsonIgnore + public SubjectRulesReviewSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectRulesReviewStatus.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectRulesReviewStatus.java index fc4833d75ab..fa39c3e7a6c 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectRulesReviewStatus.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectRulesReviewStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SubjectRulesReviewStatus implements KubernetesResource +public class SubjectRulesReviewStatus implements Editable , KubernetesResource { @JsonProperty("evaluationError") @@ -102,6 +103,16 @@ public void setRules(List rules) { this.rules = rules; } + @JsonIgnore + public SubjectRulesReviewStatusBuilder edit() { + return new SubjectRulesReviewStatusBuilder(this); + } + + @JsonIgnore + public SubjectRulesReviewStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SupplementalGroupsStrategyOptions.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SupplementalGroupsStrategyOptions.java index efca1663a1e..23eaadc99a7 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SupplementalGroupsStrategyOptions.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SupplementalGroupsStrategyOptions.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SupplementalGroupsStrategyOptions implements KubernetesResource +public class SupplementalGroupsStrategyOptions implements Editable , KubernetesResource { @JsonProperty("ranges") @@ -102,6 +103,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public SupplementalGroupsStrategyOptionsBuilder edit() { + return new SupplementalGroupsStrategyOptionsBuilder(this); + } + + @JsonIgnore + public SupplementalGroupsStrategyOptionsBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TLSConfig.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TLSConfig.java index 7fb872e8a54..1a34bca6f92 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TLSConfig.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TLSConfig.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TLSConfig implements KubernetesResource +public class TLSConfig implements Editable , KubernetesResource { @JsonProperty("caCertificate") @@ -155,6 +156,16 @@ public void setTermination(String termination) { this.termination = termination; } + @JsonIgnore + public TLSConfigBuilder edit() { + return new TLSConfigBuilder(this); + } + + @JsonIgnore + public TLSConfigBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TagEvent.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TagEvent.java index bc109d31b1c..78fc557139d 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TagEvent.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TagEvent.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TagEvent implements KubernetesResource +public class TagEvent implements Editable , KubernetesResource { @JsonProperty("created") @@ -127,6 +128,16 @@ public void setImage(java.lang.String image) { this.image = image; } + @JsonIgnore + public TagEventBuilder edit() { + return new TagEventBuilder(this); + } + + @JsonIgnore + public TagEventBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TagEventCondition.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TagEventCondition.java index 6c4dd519267..c63833a4375 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TagEventCondition.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TagEventCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TagEventCondition implements KubernetesResource +public class TagEventCondition implements Editable , KubernetesResource { @JsonProperty("generation") @@ -155,6 +156,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public TagEventConditionBuilder edit() { + return new TagEventConditionBuilder(this); + } + + @JsonIgnore + public TagEventConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TagImageHook.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TagImageHook.java index 12caeeb5829..63d1b96710c 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TagImageHook.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TagImageHook.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TagImageHook implements KubernetesResource +public class TagImageHook implements Editable , KubernetesResource { @JsonProperty("containerName") @@ -98,6 +99,16 @@ public void setTo(io.fabric8.kubernetes.api.model.ObjectReference to) { this.to = to; } + @JsonIgnore + public TagImageHookBuilder edit() { + return new TagImageHookBuilder(this); + } + + @JsonIgnore + public TagImageHookBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TagImportPolicy.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TagImportPolicy.java index 9ce46df7634..c82dfcdd81f 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TagImportPolicy.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TagImportPolicy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TagImportPolicy implements KubernetesResource +public class TagImportPolicy implements Editable , KubernetesResource { @JsonProperty("importMode") @@ -113,6 +114,16 @@ public void setScheduled(Boolean scheduled) { this.scheduled = scheduled; } + @JsonIgnore + public TagImportPolicyBuilder edit() { + return new TagImportPolicyBuilder(this); + } + + @JsonIgnore + public TagImportPolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TagReference.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TagReference.java index 379a8ac81a7..47fd03aa002 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TagReference.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TagReference.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TagReference implements KubernetesResource +public class TagReference implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -169,6 +170,16 @@ public void setReferencePolicy(TagReferencePolicy referencePolicy) { this.referencePolicy = referencePolicy; } + @JsonIgnore + public TagReferenceBuilder edit() { + return new TagReferenceBuilder(this); + } + + @JsonIgnore + public TagReferenceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TagReferencePolicy.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TagReferencePolicy.java index 842aeedea9a..2f14402c074 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TagReferencePolicy.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TagReferencePolicy.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -55,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TagReferencePolicy implements KubernetesResource +public class TagReferencePolicy implements Editable , KubernetesResource { @JsonProperty("type") @@ -85,6 +86,16 @@ public void setType(String type) { this.type = type; } + @JsonIgnore + public TagReferencePolicyBuilder edit() { + return new TagReferencePolicyBuilder(this); + } + + @JsonIgnore + public TagReferencePolicyBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Template.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Template.java index 8999f6b47b3..e80281e78f5 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Template.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Template.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.GenericKubernetesResource; import io.fabric8.kubernetes.api.model.HasMetadata; @@ -73,7 +74,7 @@ @Version("v1") @Group("template.openshift.io") @Generated("jsonschema2pojo") -public class Template implements HasMetadata, Namespaced +public class Template implements Editable , HasMetadata, Namespaced { /** @@ -214,6 +215,16 @@ public void setParameters(List parameters) { this.parameters = parameters; } + @JsonIgnore + public TemplateBuilder edit() { + return new TemplateBuilder(this); + } + + @JsonIgnore + public TemplateBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstance.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstance.java index 74e071774d8..90d50ccdc7d 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstance.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstance.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -65,7 +66,7 @@ @Version("v1") @Group("template.openshift.io") @Generated("jsonschema2pojo") -public class TemplateInstance implements HasMetadata, Namespaced +public class TemplateInstance implements Editable , HasMetadata, Namespaced { /** @@ -177,6 +178,16 @@ public void setStatus(TemplateInstanceStatus status) { this.status = status; } + @JsonIgnore + public TemplateInstanceBuilder edit() { + return new TemplateInstanceBuilder(this); + } + + @JsonIgnore + public TemplateInstanceBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstanceCondition.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstanceCondition.java index 2b3fb4b6d2c..82c8041a077 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstanceCondition.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstanceCondition.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TemplateInstanceCondition implements KubernetesResource +public class TemplateInstanceCondition implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -141,6 +142,16 @@ public void setType(java.lang.String type) { this.type = type; } + @JsonIgnore + public TemplateInstanceConditionBuilder edit() { + return new TemplateInstanceConditionBuilder(this); + } + + @JsonIgnore + public TemplateInstanceConditionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstanceList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstanceList.java index d7adfadad26..5a84f89f943 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstanceList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstanceList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("template.openshift.io") @Generated("jsonschema2pojo") -public class TemplateInstanceList implements KubernetesResource, KubernetesResourceList +public class TemplateInstanceList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public TemplateInstanceListBuilder edit() { + return new TemplateInstanceListBuilder(this); + } + + @JsonIgnore + public TemplateInstanceListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstanceObject.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstanceObject.java index ae2b484f26f..d3e3d866a24 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstanceObject.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstanceObject.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -54,7 +55,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TemplateInstanceObject implements KubernetesResource +public class TemplateInstanceObject implements Editable , KubernetesResource { @JsonProperty("ref") @@ -84,6 +85,16 @@ public void setRef(io.fabric8.kubernetes.api.model.ObjectReference ref) { this.ref = ref; } + @JsonIgnore + public TemplateInstanceObjectBuilder edit() { + return new TemplateInstanceObjectBuilder(this); + } + + @JsonIgnore + public TemplateInstanceObjectBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstanceRequester.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstanceRequester.java index bcc035ae394..aa360ce3b12 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstanceRequester.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstanceRequester.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -60,7 +61,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TemplateInstanceRequester implements KubernetesResource +public class TemplateInstanceRequester implements Editable , KubernetesResource { @JsonProperty("extra") @@ -131,6 +132,16 @@ public void setUsername(java.lang.String username) { this.username = username; } + @JsonIgnore + public TemplateInstanceRequesterBuilder edit() { + return new TemplateInstanceRequesterBuilder(this); + } + + @JsonIgnore + public TemplateInstanceRequesterBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstanceSpec.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstanceSpec.java index 7b401882db4..6d640ffe1e0 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstanceSpec.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstanceSpec.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -56,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TemplateInstanceSpec implements KubernetesResource +public class TemplateInstanceSpec implements Editable , KubernetesResource { @JsonProperty("requester") @@ -112,6 +113,16 @@ public void setTemplate(Template template) { this.template = template; } + @JsonIgnore + public TemplateInstanceSpecBuilder edit() { + return new TemplateInstanceSpecBuilder(this); + } + + @JsonIgnore + public TemplateInstanceSpecBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstanceStatus.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstanceStatus.java index 38003b5922f..ff5ed61414e 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstanceStatus.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstanceStatus.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TemplateInstanceStatus implements KubernetesResource +public class TemplateInstanceStatus implements Editable , KubernetesResource { @JsonProperty("conditions") @@ -103,6 +104,16 @@ public void setObjects(List objects) { this.objects = objects; } + @JsonIgnore + public TemplateInstanceStatusBuilder edit() { + return new TemplateInstanceStatusBuilder(this); + } + + @JsonIgnore + public TemplateInstanceStatusBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateList.java index cde7e6f9b98..94ff37e1727 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("template.openshift.io") @Generated("jsonschema2pojo") -public class TemplateList implements KubernetesResource, KubernetesResourceList +public class TemplateList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public TemplateListBuilder edit() { + return new TemplateListBuilder(this); + } + + @JsonIgnore + public TemplateListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/User.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/User.java index d1ba700f4c1..7f225f61078 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/User.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/User.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -67,7 +68,7 @@ @Version("v1") @Group("user.openshift.io") @Generated("jsonschema2pojo") -public class User implements HasMetadata +public class User implements Editable , HasMetadata { /** @@ -194,6 +195,16 @@ public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public UserBuilder edit() { + return new UserBuilder(this); + } + + @JsonIgnore + public UserBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserIdentityMapping.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserIdentityMapping.java index 5df1f7a08f9..a67b39e730c 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserIdentityMapping.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserIdentityMapping.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -63,7 +64,7 @@ @Version("v1") @Group("user.openshift.io") @Generated("jsonschema2pojo") -public class UserIdentityMapping implements HasMetadata +public class UserIdentityMapping implements Editable , HasMetadata { /** @@ -175,6 +176,16 @@ public void setUser(io.fabric8.kubernetes.api.model.ObjectReference user) { this.user = user; } + @JsonIgnore + public UserIdentityMappingBuilder edit() { + return new UserIdentityMappingBuilder(this); + } + + @JsonIgnore + public UserIdentityMappingBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserList.java index cd76ffc05a4..e2706e0e43c 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("user.openshift.io") @Generated("jsonschema2pojo") -public class UserList implements KubernetesResource, KubernetesResourceList +public class UserList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public UserListBuilder edit() { + return new UserListBuilder(this); + } + + @JsonIgnore + public UserListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserOAuthAccessToken.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserOAuthAccessToken.java index d6c7016783d..f50801d1fc8 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserOAuthAccessToken.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserOAuthAccessToken.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.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; @@ -73,7 +74,7 @@ @Version("v1") @Group("oauth.openshift.io") @Generated("jsonschema2pojo") -public class UserOAuthAccessToken implements HasMetadata +public class UserOAuthAccessToken implements Editable , HasMetadata { /** @@ -277,6 +278,16 @@ public void setUserUID(String userUID) { this.userUID = userUID; } + @JsonIgnore + public UserOAuthAccessTokenBuilder edit() { + return new UserOAuthAccessTokenBuilder(this); + } + + @JsonIgnore + public UserOAuthAccessTokenBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserOAuthAccessTokenList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserOAuthAccessTokenList.java index b16818282cc..85452c93ae2 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserOAuthAccessTokenList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserOAuthAccessTokenList.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -68,7 +69,7 @@ @Version("v1") @Group("oauth.openshift.io") @Generated("jsonschema2pojo") -public class UserOAuthAccessTokenList implements KubernetesResource, KubernetesResourceList +public class UserOAuthAccessTokenList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -168,6 +169,16 @@ public void setMetadata(ListMeta metadata) { this.metadata = metadata; } + @JsonIgnore + public UserOAuthAccessTokenListBuilder edit() { + return new UserOAuthAccessTokenListBuilder(this); + } + + @JsonIgnore + public UserOAuthAccessTokenListBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserRestriction.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserRestriction.java index 2b19bab818f..ce8fece6526 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserRestriction.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserRestriction.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -58,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class UserRestriction implements KubernetesResource +public class UserRestriction implements Editable , KubernetesResource { @JsonProperty("groups") @@ -117,6 +118,16 @@ public void setUsers(List users) { this.users = users; } + @JsonIgnore + public UserRestrictionBuilder edit() { + return new UserRestrictionBuilder(this); + } + + @JsonIgnore + public UserRestrictionBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/WebHookTrigger.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/WebHookTrigger.java index dc558e506b3..feaffc024b5 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/WebHookTrigger.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/WebHookTrigger.java @@ -11,6 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -57,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class WebHookTrigger implements KubernetesResource +public class WebHookTrigger implements Editable , KubernetesResource { @JsonProperty("allowEnv") @@ -113,6 +114,16 @@ public void setSecretReference(SecretLocalReference secretReference) { this.secretReference = secretReference; } + @JsonIgnore + public WebHookTriggerBuilder edit() { + return new WebHookTriggerBuilder(this); + } + + @JsonIgnore + public WebHookTriggerBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; diff --git a/kubernetes-model-generator/openshift-model/src/main/resources/schema/kube-schema.json b/kubernetes-model-generator/openshift-model/src/main/resources/schema/kube-schema.json index d95b7d09e15..d0ba9e261eb 100644 --- a/kubernetes-model-generator/openshift-model/src/main/resources/schema/kube-schema.json +++ b/kubernetes-model-generator/openshift-model/src/main/resources/schema/kube-schema.json @@ -1677,6 +1677,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -1991,6 +1994,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -2117,6 +2123,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" diff --git a/kubernetes-model-generator/openshift-model/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/openshift-model/src/main/resources/schema/validation-schema.json index 8907d59f294..e2ec9077ac5 100644 --- a/kubernetes-model-generator/openshift-model/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/openshift-model/src/main/resources/schema/validation-schema.json @@ -1677,6 +1677,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -1991,6 +1994,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -2117,6 +2123,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -13280,6 +13289,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -14137,6 +14149,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" @@ -14258,6 +14273,9 @@ "$ref": "#/definitions/kubernetes_core_ResourceRequirements", "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" }, + "restartPolicy": { + "type": "string" + }, "securityContext": { "$ref": "#/definitions/kubernetes_core_SecurityContext", "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" diff --git a/kubernetes-model-generator/pkg/schemagen/generate.go b/kubernetes-model-generator/pkg/schemagen/generate.go index f3acac0b66a..d75ea4ff7a0 100644 --- a/kubernetes-model-generator/pkg/schemagen/generate.go +++ b/kubernetes-model-generator/pkg/schemagen/generate.go @@ -178,7 +178,7 @@ func (g *schemaGenerator) javaType(t reflect.Type) string { case "Time": return "String" case "RawExtension": - return "io.fabric8.kubernetes.api.model.KubernetesResource" + return "io.fabric8.kubernetes.api.model.KubernetesResource" case "List": return pkgDesc.JavaPackage + ".KubernetesList" default: @@ -194,7 +194,7 @@ func (g *schemaGenerator) javaType(t reflect.Type) string { case reflect.Bool: return "bool" case reflect.Uint8: - return "Byte" + return "Byte" case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Uint, reflect.Uint16, reflect.Uint32: @@ -211,10 +211,10 @@ func (g *schemaGenerator) javaType(t reflect.Type) string { case reflect.Map: return "java.util.Map" default: - if t.Name() == "RawExtension" { - return "io.fabric8.kubernetes.api.model.KubernetesResource" - } - if t.Name() == "Time" { + if t.Name() == "RawExtension" { + return "io.fabric8.kubernetes.api.model.KubernetesResource" + } + if t.Name() == "Time" { return "String" } if len(t.Name()) == 0 && t.NumField() == 0 { @@ -301,7 +301,7 @@ func (g *schemaGenerator) generate(t reflect.Type, moduleName string) (*JSONSche ExistingJavaType: javaType, } } - + s.Definitions[name] = value s.Resources[resource] = v } @@ -557,14 +557,14 @@ func (g *schemaGenerator) isNamespaceScopedResource(t reflect.Type) bool { } func (g *schemaGenerator) isSubresourceContainingMetadata(t reflect.Type) bool { - subResourcesContainingMetadataList := []string{ - "JobTemplateSpec", - "PodTemplateSpec", - "PersistentVolumeClaimTemplate", - "MachineSpec", - "MachineTemplateSpec", - "ResourceClaimTemplateSpec", - } + subResourcesContainingMetadataList := []string{ + "JobTemplateSpec", + "PodTemplateSpec", + "PersistentVolumeClaimTemplate", + "MachineSpec", + "MachineTemplateSpec", + "ResourceClaimTemplateSpec", + } return Contains(subResourcesContainingMetadataList, t.Name()) } @@ -578,9 +578,12 @@ func (g *schemaGenerator) isClusterScopedResource(t reflect.Type) bool { "k8s.io/api/authentication/v1/TokenReview", "k8s.io/api/authentication/v1alpha1/SelfSubjectReview", "k8s.io/api/authentication/v1beta1/SelfSubjectReview", + "k8s.io/api/authentication/v1/SelfSubjectReview", "k8s.io/api/admissionregistration/v1beta1/MutatingWebhookConfiguration", "k8s.io/api/admissionregistration/v1alpha1/ValidatingAdmissionPolicy", + "k8s.io/api/admissionregistration/v1beta1/ValidatingAdmissionPolicy", "k8s.io/api/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding", + "k8s.io/api/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding", "k8s.io/api/authorization/v1/SelfSubjectRulesReview", "k8s.io/api/authorization/v1beta1/SubjectAccessReview", "k8s.io/api/admissionregistration/v1beta1/ValidatingWebhookConfiguration", @@ -703,14 +706,14 @@ func (g *schemaGenerator) isClusterScopedResource(t reflect.Type) bool { "github.com/openshift/machine-config-operator/pkg/apis/machineconfiguration.openshift.io/v1/MachineConfigPool", "github.com/openshift/machine-config-operator/pkg/apis/machineconfiguration.openshift.io/v1/MachineConfig", "github.com/openshift/cluster-autoscaler-operator/pkg/apis/autoscaling/v1/ClusterAutoscaler", - "github.com/openshift/hive/apis/hive/v1/ClusterImageSet", - "github.com/openshift/hive/apis/hive/v1/SelectorSyncIdentityProvider", - "github.com/openshift/hive/apis/hive/v1/SelectorSyncSet", - "github.com/openshift/hive/apis/hive/v1/HiveConfig", + "github.com/openshift/hive/apis/hive/v1/ClusterImageSet", + "github.com/openshift/hive/apis/hive/v1/SelectorSyncIdentityProvider", + "github.com/openshift/hive/apis/hive/v1/SelectorSyncSet", + "github.com/openshift/hive/apis/hive/v1/HiveConfig", "sigs.k8s.io/kube-storage-version-migrator/pkg/apis/migration/v1alpha1/StorageState", "sigs.k8s.io/kube-storage-version-migrator/pkg/apis/migration/v1alpha1/StorageVersionMigration", - "sigs.k8s.io/gateway-api/apis/v1alpha2/GatewayClass", - "sigs.k8s.io/gateway-api/apis/v1beta1/GatewayClass", + "sigs.k8s.io/gateway-api/apis/v1alpha2/GatewayClass", + "sigs.k8s.io/gateway-api/apis/v1beta1/GatewayClass", } return Contains(clusterScopedResourcesList, t.PkgPath()+"/"+t.Name()) diff --git a/kubernetes-tests/src/test/java/io/fabric8/kubernetes/client/mock/DefaultSharedIndexInformerTest.java b/kubernetes-tests/src/test/java/io/fabric8/kubernetes/client/mock/DefaultSharedIndexInformerTest.java index 3412b68ed62..4314e18d429 100644 --- a/kubernetes-tests/src/test/java/io/fabric8/kubernetes/client/mock/DefaultSharedIndexInformerTest.java +++ b/kubernetes-tests/src/test/java/io/fabric8/kubernetes/client/mock/DefaultSharedIndexInformerTest.java @@ -1204,6 +1204,23 @@ void testCustomExceptionHandler() throws InterruptedException { assertEquals(0, foundExistingAnimal.getCount()); } + @Test + void testClientStopClosesInformer() throws InterruptedException { + // Given + setupMockServerExpectations(Animal.class, "ns1", this::getList, + r -> new WatchEvent(getAnimal("red-panda", "Carnivora", r), "ADDED"), null, null); + + // When + SharedIndexInformer animalSharedIndexInformer = client + .genericKubernetesResources(animalContext) + .inNamespace("ns1") + .runnableInformer(60 * WATCH_EVENT_EMIT_TIME); + + client.close(); + + assertTrue(animalSharedIndexInformer.stopped().toCompletableFuture().isDone()); + } + private KubernetesResource getAnimal(String name, String order, String resourceVersion) { AnimalSpec animalSpec = new AnimalSpec(); animalSpec.setOrder(order); diff --git a/kubernetes-tests/src/test/java/io/fabric8/kubernetes/client/mock/ResourceTest.java b/kubernetes-tests/src/test/java/io/fabric8/kubernetes/client/mock/ResourceTest.java index 90a7f7796b8..9dfb97533cc 100644 --- a/kubernetes-tests/src/test/java/io/fabric8/kubernetes/client/mock/ResourceTest.java +++ b/kubernetes-tests/src/test/java/io/fabric8/kubernetes/client/mock/ResourceTest.java @@ -39,6 +39,7 @@ import io.fabric8.kubernetes.client.server.mock.EnableKubernetesMockClient; import io.fabric8.kubernetes.client.server.mock.KubernetesMockServer; import io.fabric8.kubernetes.client.utils.Serialization; +import io.fabric8.kubernetes.client.utils.Utils; import okhttp3.mockwebserver.RecordedRequest; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.DisplayName; @@ -47,6 +48,7 @@ import java.net.HttpURLConnection; import java.util.Objects; import java.util.concurrent.CountDownLatch; +import java.util.concurrent.TimeUnit; import static java.net.HttpURLConnection.HTTP_GONE; import static java.util.concurrent.TimeUnit.MILLISECONDS; @@ -447,6 +449,42 @@ void testWaitUntilCondition() throws InterruptedException { .containsExactly(tuple("Ready", "True"), tuple("Dummy", "True")); } + @Test + void testWaitUntilConditionClosedClient() throws InterruptedException { + Pod pod1 = new PodBuilder().withNewMetadata() + .withName("pod1") + .withResourceVersion("1") + .withNamespace("test") + .and() + .build(); + + Pod noReady = createReadyFrom(pod1, "False", "1"); + list(noReady); + + server.expect() + .get() + .withPath( + "/api/v1/namespaces/test/pods?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dpod1&resourceVersion=1&timeoutSeconds=600&watch=true") + .andUpgradeToWebSocket() + .open() + .waitFor(4000) + .andEmit(new WatchEvent(noReady, "DELETED")) + .done() + .always(); + + Utils.schedule(Runnable::run, client::close, 2, TimeUnit.SECONDS); + + PodResource podResource = client.pods().withName("pod1"); + KubernetesClientException exception = assertThrows(KubernetesClientException.class, () -> podResource.waitUntilCondition( + r -> r.getStatus() + .getConditions() + .stream() + .anyMatch(c -> "Dummy".equals(c.getType()) && "True".equals(c.getStatus())), + 10, SECONDS)); + assertEquals("Informer was stopped", exception.getMessage()); + + } + @Test void testErrorEventDuringWaitReturnFromAPIIfMatch() throws InterruptedException { Pod pod1 = new PodBuilder().withNewMetadata() diff --git a/kubernetes-tests/src/test/java/io/fabric8/kubernetes/client/mock/V1SelfSubjectReviewTest.java b/kubernetes-tests/src/test/java/io/fabric8/kubernetes/client/mock/V1SelfSubjectReviewTest.java new file mode 100644 index 00000000000..9ca7ae83817 --- /dev/null +++ b/kubernetes-tests/src/test/java/io/fabric8/kubernetes/client/mock/V1SelfSubjectReviewTest.java @@ -0,0 +1,65 @@ +/** + * 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 io.fabric8.kubernetes.client.mock; + +import io.fabric8.kubernetes.api.model.authentication.SelfSubjectReview; +import io.fabric8.kubernetes.api.model.authentication.SelfSubjectReviewBuilder; +import io.fabric8.kubernetes.client.KubernetesClient; +import io.fabric8.kubernetes.client.server.mock.EnableKubernetesMockClient; +import io.fabric8.kubernetes.client.server.mock.KubernetesMockServer; +import org.junit.jupiter.api.Test; + +import java.util.Arrays; +import java.util.List; + +import static java.net.HttpURLConnection.HTTP_CREATED; +import static org.assertj.core.api.AssertionsForClassTypes.assertThat; + +@EnableKubernetesMockClient +class V1SelfSubjectReviewTest { + private KubernetesClient client; + private KubernetesMockServer server; + + @Test + void create_whenInvoked_shouldReturnObjectWithUpdatedStatus() { + // Given + SelfSubjectReview ssr = new SelfSubjectReview(); + server.expect().post() + .withPath("/apis/authentication.k8s.io/v1/selfsubjectreviews") + .andReturn(HTTP_CREATED, createNewSelfSubjectReview(Arrays.asList("system:masters", "system:authenticated"))) + .once(); + + // When + SelfSubjectReview result = client.authentication().v1().selfSubjectReviews().create(ssr); + + // Then + assertThat(result) + .isNotNull() + .hasFieldOrPropertyWithValue("status.userInfo.username", "kubernetes-admin") + .hasFieldOrPropertyWithValue("status.userInfo.groups", Arrays.asList("system:masters", "system:authenticated")); + } + + private SelfSubjectReview createNewSelfSubjectReview(List groups) { + return new SelfSubjectReviewBuilder() + .withNewStatus() + .withNewUserInfo() + .withUsername("kubernetes-admin") + .withGroups(groups) + .endUserInfo() + .endStatus() + .build(); + } +} diff --git a/kubernetes-tests/src/test/java/io/fabric8/kubernetes/client/mock/V1beta1ValidatingAdmissionPolicyBindingTest.java b/kubernetes-tests/src/test/java/io/fabric8/kubernetes/client/mock/V1beta1ValidatingAdmissionPolicyBindingTest.java new file mode 100644 index 00000000000..f87325193fe --- /dev/null +++ b/kubernetes-tests/src/test/java/io/fabric8/kubernetes/client/mock/V1beta1ValidatingAdmissionPolicyBindingTest.java @@ -0,0 +1,140 @@ +/** + * 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 io.fabric8.kubernetes.client.mock; + +import io.fabric8.kubernetes.api.model.HasMetadata; +import io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBinding; +import io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBindingBuilder; +import io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBindingList; +import io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBindingListBuilder; +import io.fabric8.kubernetes.client.KubernetesClient; +import io.fabric8.kubernetes.client.server.mock.EnableKubernetesMockClient; +import io.fabric8.kubernetes.client.server.mock.KubernetesMockServer; +import org.assertj.core.api.AssertionsForClassTypes; +import org.junit.jupiter.api.Test; + +import java.net.HttpURLConnection; +import java.util.List; + +import static org.assertj.core.api.AssertionsForInterfaceTypes.assertThat; + +@EnableKubernetesMockClient +class V1beta1ValidatingAdmissionPolicyBindingTest { + + private KubernetesMockServer server; + private KubernetesClient client; + + @Test + void load() { + List items = client.load(getClass().getResourceAsStream("/test-v1beta1-validatingadmissionpolicybinding.yml")) + .items(); + assertThat(items).isNotNull().hasSize(1); + AssertionsForClassTypes.assertThat(items.get(0)) + .isInstanceOf(ValidatingAdmissionPolicyBinding.class) + .hasFieldOrPropertyWithValue("metadata.name", "demo-binding-test.example.com"); + } + + @Test + void get() { + // Given + server.expect().get() + .withPath("/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings/demo-binding-test.example.com") + .andReturn(HttpURLConnection.HTTP_OK, createValidatingAdmissionPolicyBinding()) + .once(); + + // When + ValidatingAdmissionPolicyBinding validatingAdmissionPolicyBinding = client.admissionRegistration().v1beta1() + .validatingAdmissionPolicyBindings().withName("demo-binding-test.example.com").get(); + + // Then + AssertionsForClassTypes.assertThat(validatingAdmissionPolicyBinding) + .isNotNull() + .hasFieldOrPropertyWithValue("metadata.name", "demo-binding-test.example.com"); + } + + @Test + void list() { + // Given + server.expect().get().withPath("/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings") + .andReturn(HttpURLConnection.HTTP_OK, new ValidatingAdmissionPolicyBindingListBuilder() + .addToItems(createValidatingAdmissionPolicyBinding()) + .build()) + .once(); + + // When + ValidatingAdmissionPolicyBindingList flowSchemas = client.admissionRegistration().v1beta1() + .validatingAdmissionPolicyBindings().list(); + + // Then + AssertionsForClassTypes.assertThat(flowSchemas).isNotNull(); + assertThat(flowSchemas.getItems()).hasSize(1); + AssertionsForClassTypes.assertThat(flowSchemas.getItems().get(0)) + .hasFieldOrPropertyWithValue("metadata.name", "demo-binding-test.example.com"); + } + + @Test + void create() { + // Given + ValidatingAdmissionPolicyBinding validatingAdmissionPolicyBinding = createValidatingAdmissionPolicyBinding(); + server.expect().post().withPath("/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings") + .andReturn(HttpURLConnection.HTTP_OK, validatingAdmissionPolicyBinding) + .once(); + + // When + ValidatingAdmissionPolicyBinding createdValidatingAdmissionPolicyBinding = client.admissionRegistration().v1beta1() + .validatingAdmissionPolicyBindings().resource(validatingAdmissionPolicyBinding).create(); + + // Then + AssertionsForClassTypes.assertThat(createdValidatingAdmissionPolicyBinding).isNotNull(); + AssertionsForClassTypes.assertThat(createdValidatingAdmissionPolicyBinding) + .hasFieldOrPropertyWithValue("metadata.name", "demo-binding-test.example.com"); + } + + @Test + void delete() { + // Given + ValidatingAdmissionPolicyBinding flowSchema = createValidatingAdmissionPolicyBinding(); + server.expect().delete() + .withPath("/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings/demo-binding-test.example.com") + .andReturn(HttpURLConnection.HTTP_OK, flowSchema) + .once(); + + // When + boolean isDeleted = client.admissionRegistration().v1beta1().validatingAdmissionPolicyBindings() + .withName("demo-binding-test.example.com").delete().size() == 1; + + // Then + AssertionsForClassTypes.assertThat(isDeleted).isTrue(); + } + + private ValidatingAdmissionPolicyBinding createValidatingAdmissionPolicyBinding() { + return new ValidatingAdmissionPolicyBindingBuilder() + .withNewMetadata().withName("demo-binding-test.example.com").endMetadata() + .withNewSpec() + .withPolicyName("demo-policy.example.com") + .withNewMatchResources() + .withNewNamespaceSelector() + .addNewMatchExpression() + .withKey("environment") + .withOperator("In") + .withValues("test") + .endMatchExpression() + .endNamespaceSelector() + .endMatchResources() + .endSpec() + .build(); + } +} diff --git a/kubernetes-tests/src/test/java/io/fabric8/kubernetes/client/mock/V1beta1ValidatingAdmissionPolicyTest.java b/kubernetes-tests/src/test/java/io/fabric8/kubernetes/client/mock/V1beta1ValidatingAdmissionPolicyTest.java new file mode 100644 index 00000000000..13e8f791228 --- /dev/null +++ b/kubernetes-tests/src/test/java/io/fabric8/kubernetes/client/mock/V1beta1ValidatingAdmissionPolicyTest.java @@ -0,0 +1,138 @@ +/** + * 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 io.fabric8.kubernetes.client.mock; + +import io.fabric8.kubernetes.api.model.HasMetadata; +import io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicy; +import io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBuilder; +import io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyList; +import io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyListBuilder; +import io.fabric8.kubernetes.client.KubernetesClient; +import io.fabric8.kubernetes.client.server.mock.EnableKubernetesMockClient; +import io.fabric8.kubernetes.client.server.mock.KubernetesMockServer; +import org.assertj.core.api.AssertionsForClassTypes; +import org.junit.jupiter.api.Test; + +import java.net.HttpURLConnection; +import java.util.List; + +import static org.assertj.core.api.AssertionsForInterfaceTypes.assertThat; + +@EnableKubernetesMockClient +class V1beta1ValidatingAdmissionPolicyTest { + + private KubernetesMockServer server; + private KubernetesClient client; + + @Test + void load() { + List items = client.load(getClass().getResourceAsStream("/test-v1beta1-validatingadmissionpolicy.yml")) + .items(); + assertThat(items).isNotNull().hasSize(1); + AssertionsForClassTypes.assertThat(items.get(0)) + .isInstanceOf(ValidatingAdmissionPolicy.class) + .hasFieldOrPropertyWithValue("metadata.name", "demo-policy.example.com"); + } + + @Test + void get() { + // Given + server.expect().get() + .withPath("/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/demo-policy.example.com") + .andReturn(HttpURLConnection.HTTP_OK, createValidatingAdmissionPolicy()) + .once(); + + // When + ValidatingAdmissionPolicy validatingAdmissionPolicy = client.admissionRegistration().v1beta1() + .validatingAdmissionPolicies().withName("demo-policy.example.com").get(); + + // Then + AssertionsForClassTypes.assertThat(validatingAdmissionPolicy) + .isNotNull() + .hasFieldOrPropertyWithValue("metadata.name", "demo-policy.example.com"); + } + + @Test + void list() { + // Given + server.expect().get().withPath("/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies") + .andReturn(HttpURLConnection.HTTP_OK, new ValidatingAdmissionPolicyListBuilder() + .addToItems(createValidatingAdmissionPolicy()) + .build()) + .once(); + + // When + ValidatingAdmissionPolicyList flowSchemas = client.admissionRegistration().v1beta1().validatingAdmissionPolicies().list(); + + // Then + AssertionsForClassTypes.assertThat(flowSchemas).isNotNull(); + assertThat(flowSchemas.getItems()).hasSize(1); + AssertionsForClassTypes.assertThat(flowSchemas.getItems().get(0)) + .hasFieldOrPropertyWithValue("metadata.name", "demo-policy.example.com"); + } + + @Test + void create() { + // Given + ValidatingAdmissionPolicy validatingAdmissionPolicy = createValidatingAdmissionPolicy(); + server.expect().post().withPath("/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies") + .andReturn(HttpURLConnection.HTTP_OK, validatingAdmissionPolicy) + .once(); + + // When + ValidatingAdmissionPolicy createdValidatingAdmissionPolicy = client.admissionRegistration().v1beta1() + .validatingAdmissionPolicies().resource(validatingAdmissionPolicy).create(); + + // Then + AssertionsForClassTypes.assertThat(createdValidatingAdmissionPolicy).isNotNull(); + AssertionsForClassTypes.assertThat(createdValidatingAdmissionPolicy) + .hasFieldOrPropertyWithValue("metadata.name", "demo-policy.example.com"); + } + + @Test + void delete() { + // Given + ValidatingAdmissionPolicy flowSchema = createValidatingAdmissionPolicy(); + server.expect().delete() + .withPath("/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/demo-policy.example.com") + .andReturn(HttpURLConnection.HTTP_OK, flowSchema) + .once(); + + // When + boolean isDeleted = client.admissionRegistration().v1beta1().validatingAdmissionPolicies() + .withName("demo-policy.example.com").delete().size() == 1; + + // Then + AssertionsForClassTypes.assertThat(isDeleted).isTrue(); + } + + private ValidatingAdmissionPolicy createValidatingAdmissionPolicy() { + return new ValidatingAdmissionPolicyBuilder() + .withNewMetadata().withName("demo-policy.example.com").endMetadata() + .withNewSpec() + .addNewValidation().withExpression("object.spec.replicas <= 5").endValidation() + .withNewMatchConstraints() + .addNewResourceRule() + .addToApiGroups("apps") + .addToApiVersions("v1") + .addToOperations("CREATE", "UPDATE") + .addToResources("deployments") + .endResourceRule() + .endMatchConstraints() + .endSpec() + .build(); + } +} diff --git a/kubernetes-tests/src/test/java/io/fabric8/kubernetes/client/mock/WatchTest.java b/kubernetes-tests/src/test/java/io/fabric8/kubernetes/client/mock/WatchTest.java index 68466ee5c40..c9f89f8abed 100644 --- a/kubernetes-tests/src/test/java/io/fabric8/kubernetes/client/mock/WatchTest.java +++ b/kubernetes-tests/src/test/java/io/fabric8/kubernetes/client/mock/WatchTest.java @@ -499,6 +499,39 @@ public void onClose(WatcherException cause) { assertTrue(latch.await(10, TimeUnit.SECONDS)); } + @Test + void testOnlyHttpWatch() throws InterruptedException { + // Given + + String dummyEvent = Serialization.asJson(new WatchEventBuilder().withType("MODIFIED") + .withObject(new PodBuilder().withNewMetadata().endMetadata().build()) + .build()) + "\n"; + + server.expect() + .withPath("/api/v1/namespaces/test/pods?allowWatchBookmarks=true&watch=true") + .andReturn(200, dummyEvent) + .once(); + + CountDownLatch latch = new CountDownLatch(1); + + client.getConfiguration().setOnlyHttpWatches(true); + + client.pods().watch(new Watcher() { + + @Override + public void eventReceived(Action action, Pod resource) { + latch.countDown(); + } + + @Override + public void onClose(WatcherException cause) { + } + }); + + // ensure that the exception does not inhibit further message processing + assertTrue(latch.await(10, TimeUnit.SECONDS)); + } + @Test void testErrorAfterReady() throws InterruptedException { // Given diff --git a/kubernetes-tests/src/test/resources/test-v1beta1-validatingadmissionpolicy.yml b/kubernetes-tests/src/test/resources/test-v1beta1-validatingadmissionpolicy.yml new file mode 100644 index 00000000000..201621fd416 --- /dev/null +++ b/kubernetes-tests/src/test/resources/test-v1beta1-validatingadmissionpolicy.yml @@ -0,0 +1,124 @@ +# +# 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. +# + +apiVersion: admissionregistration.k8s.io/v1beta1 +kind: ValidatingAdmissionPolicy +metadata: + annotations: + annotationsKey: annotationsValue + creationTimestamp: "2008-01-01T01:01:01Z" + deletionGracePeriodSeconds: 10 + deletionTimestamp: "2009-01-01T01:01:01Z" + finalizers: + - finalizersValue + generateName: generateNameValue + generation: 7 + labels: + labelsKey: labelsValue + managedFields: + - apiVersion: apiVersionValue + fieldsType: fieldsTypeValue + fieldsV1: {} + manager: managerValue + operation: operationValue + subresource: subresourceValue + time: "2004-01-01T01:01:01Z" + name: demo-policy.example.com + namespace: namespaceValue + ownerReferences: + - apiVersion: apiVersionValue + blockOwnerDeletion: true + controller: true + kind: kindValue + name: nameValue + uid: uidValue + resourceVersion: resourceVersionValue + selfLink: selfLinkValue + uid: uidValue +spec: + auditAnnotations: + - key: keyValue + valueExpression: valueExpressionValue + failurePolicy: failurePolicyValue + matchConditions: + - expression: expressionValue + name: nameValue + matchConstraints: + excludeResourceRules: + - apiGroups: + - apiGroupsValue + apiVersions: + - apiVersionsValue + operations: + - operationsValue + resourceNames: + - resourceNamesValue + resources: + - resourcesValue + scope: scopeValue + matchPolicy: matchPolicyValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + objectSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + resourceRules: + - apiGroups: + - apiGroupsValue + apiVersions: + - apiVersionsValue + operations: + - operationsValue + resourceNames: + - resourceNamesValue + resources: + - resourcesValue + scope: scopeValue + paramKind: + apiVersion: apiVersionValue + kind: kindValue + validations: + - expression: expressionValue + message: messageValue + messageExpression: messageExpressionValue + reason: reasonValue + variables: + - expression: expressionValue + name: nameValue +status: + conditions: + - lastTransitionTime: "2004-01-01T01:01:01Z" + message: messageValue + observedGeneration: 3 + reason: reasonValue + status: statusValue + type: typeValue + observedGeneration: 1 + typeChecking: + expressionWarnings: + - fieldRef: fieldRefValue + warning: warningValue diff --git a/kubernetes-tests/src/test/resources/test-v1beta1-validatingadmissionpolicybinding.yml b/kubernetes-tests/src/test/resources/test-v1beta1-validatingadmissionpolicybinding.yml new file mode 100644 index 00000000000..7d1f3ef942e --- /dev/null +++ b/kubernetes-tests/src/test/resources/test-v1beta1-validatingadmissionpolicybinding.yml @@ -0,0 +1,108 @@ +# +# 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. +# + +apiVersion: admissionregistration.k8s.io/v1beta1 +kind: ValidatingAdmissionPolicyBinding +metadata: + annotations: + annotationsKey: annotationsValue + creationTimestamp: "2008-01-01T01:01:01Z" + deletionGracePeriodSeconds: 10 + deletionTimestamp: "2009-01-01T01:01:01Z" + finalizers: + - finalizersValue + generateName: generateNameValue + generation: 7 + labels: + labelsKey: labelsValue + managedFields: + - apiVersion: apiVersionValue + fieldsType: fieldsTypeValue + fieldsV1: {} + manager: managerValue + operation: operationValue + subresource: subresourceValue + time: "2004-01-01T01:01:01Z" + name: demo-binding-test.example.com + namespace: namespaceValue + ownerReferences: + - apiVersion: apiVersionValue + blockOwnerDeletion: true + controller: true + kind: kindValue + name: nameValue + uid: uidValue + resourceVersion: resourceVersionValue + selfLink: selfLinkValue + uid: uidValue +spec: + matchResources: + excludeResourceRules: + - apiGroups: + - apiGroupsValue + apiVersions: + - apiVersionsValue + operations: + - operationsValue + resourceNames: + - resourceNamesValue + resources: + - resourcesValue + scope: scopeValue + matchPolicy: matchPolicyValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + objectSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + resourceRules: + - apiGroups: + - apiGroupsValue + apiVersions: + - apiVersionsValue + operations: + - operationsValue + resourceNames: + - resourceNamesValue + resources: + - resourcesValue + scope: scopeValue + paramRef: + name: nameValue + namespace: namespaceValue + parameterNotFoundAction: parameterNotFoundActionValue + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + policyName: policyNameValue + validationActions: + - validationActionsValue diff --git a/openshift-client-api/src/main/java/io/fabric8/openshift/client/OpenShiftConfig.java b/openshift-client-api/src/main/java/io/fabric8/openshift/client/OpenShiftConfig.java index c35e17ad42f..fcaa95b0669 100644 --- a/openshift-client-api/src/main/java/io/fabric8/openshift/client/OpenShiftConfig.java +++ b/openshift-client-api/src/main/java/io/fabric8/openshift/client/OpenShiftConfig.java @@ -86,7 +86,7 @@ public OpenShiftConfig(String openShiftUrl, String oapiVersion, String masterUrl String trustStorePassphrase, String keyStoreFile, String keyStorePassphrase, String impersonateUsername, String[] impersonateGroups, Map> impersonateExtras, OAuthTokenProvider oauthTokenProvider, Map customHeaders, int requestRetryBackoffLimit, int requestRetryBackoffInterval, - int uploadRequestTimeout, long buildTimeout, + int uploadRequestTimeout, boolean onlyHttpWatches, long buildTimeout, boolean disableApiGroupCheck) { super(masterUrl, apiVersion, namespace, trustCerts, disableHostnameVerification, caCertFile, caCertData, clientCertFile, @@ -100,7 +100,7 @@ public OpenShiftConfig(String openShiftUrl, String oapiVersion, String masterUrl impersonateExtras, oauthTokenProvider, customHeaders, requestRetryBackoffLimit, requestRetryBackoffInterval, - uploadRequestTimeout); + uploadRequestTimeout, onlyHttpWatches); this.setOapiVersion(oapiVersion); this.setBuildTimeout(buildTimeout); this.setDisableApiGroupCheck(disableApiGroupCheck); @@ -141,6 +141,7 @@ public OpenShiftConfig(Config kubernetesConfig, String openShiftUrl, String oapi kubernetesConfig.getOauthTokenProvider(), kubernetesConfig.getCustomHeaders(), kubernetesConfig.getRequestRetryBackoffLimit(), kubernetesConfig.getRequestRetryBackoffInterval(), kubernetesConfig.getUploadRequestTimeout(), + kubernetesConfig.isOnlyHttpWatches(), buildTimeout, false); } diff --git a/platforms/karaf/pom.xml b/platforms/karaf/pom.xml index be29c6462ed..18e6665d8b6 100644 --- a/platforms/karaf/pom.xml +++ b/platforms/karaf/pom.xml @@ -34,7 +34,7 @@ - 4.4.3 + 4.4.4 6.0.0 4.13.5 diff --git a/pom.xml b/pom.xml index d54975ec860..94e7f9a29b0 100644 --- a/pom.xml +++ b/pom.xml @@ -97,10 +97,10 @@ 1.15.0_1 2.15.2 11.0.16 - 0.2.2 3.9.4 3.9.0 4.4.5 + 0.3.0 3.0.2 @@ -113,6 +113,7 @@ 4.2.0 19.0.0 4.11.0 + 2.3-groovy-4.0 1.4.2_1 1.0.2 @@ -122,8 +123,8 @@ 8.0.1 ${jackson.version} 0.3.0 - 1.7.36 - 1.18.28 + 2.0.9 + 1.18.30 2.7 2.0 1.76 @@ -145,17 +146,18 @@ 1.26.4 3.3.1 3.0.1 - 3.5.0 + 3.6.0 3.3.0 3.4.1 3.1.1 3.1.0 3.1.0 3.6.0 - 3.5.0 + 3.5.1 3.1.1 3.6.0 3.9.0 + 3.0.0 0.0.3 1.2.3 2.4.3.Final @@ -203,6 +205,7 @@ kubernetes-model-generator kubernetes-client-api kubernetes-client + junit/mockwebserver junit/kubernetes-junit-jupiter junit/kubernetes-junit-jupiter-autodetected junit/kubernetes-server-mock @@ -271,7 +274,6 @@ io.fabric8 - kubernetes-model-autoscaling ${project.version} @@ -447,11 +449,6 @@ kubernetes-httpclient-okhttp ${project.version} - - com.squareup.okhttp3 - okhttp - ${okhttp.version} - io.fabric8 kubernetes-httpclient-jdk @@ -482,6 +479,11 @@ openshift-client ${project.version} + + io.fabric8 + mockwebserver + ${project.version} + io.fabric8 kubernetes-junit-jupiter @@ -730,6 +732,16 @@ ${sundrio.version} provided + + com.squareup.okhttp3 + okhttp + ${okhttp.version} + + + com.squareup.okhttp3 + mockwebserver + ${okhttp.version} + org.apache.commons commons-compress @@ -815,16 +827,9 @@ io.fabric8 - mockwebserver - ${mockwebserver.version} - - - com.sun - tools - - + zjsonpatch + ${zjsonpatch.version} - org.mockito mockito-core @@ -872,6 +877,13 @@ test + + org.spockframework + spock-core + ${spock.version} + test + + javax.validation validation-api