From d62f8481debc49b89cd20a8ddba2f2a26d08fae5 Mon Sep 17 00:00:00 2001 From: tunahanertekin Date: Mon, 4 Mar 2024 08:13:20 +0000 Subject: [PATCH] build(ci): generate fabric8 models 0.1.0-alpha.25 for robot.roboscale.io v0.2.7-alpha.5, fleet.roboscale.io v0.1.6-alpha.14 and connection-hub.roboscale.io v0.1.7-alpha.12 --- pom.xml | 2 +- .../types/v1beta1/FederatedROS2Workload.java | 10 +++ .../v1beta1/FederatedROS2WorkloadSpec.java | 45 ++++++++++++ .../v1beta1/FederatedROS2WorkloadStatus.java | 45 ++++++++++++ .../federatedros2workloadspec/Overrides.java | 33 +++++++++ .../federatedros2workloadspec/Placement.java | 33 +++++++++ .../federatedros2workloadspec/Template.java | 27 +++++++ .../overrides/ClusterOverrides.java | 47 ++++++++++++ .../placement/ClusterSelector.java | 33 +++++++++ .../placement/Clusters.java | 22 ++++++ .../clusterselector/MatchExpressions.java | 47 ++++++++++++ .../federatedros2workloadstatus/Clusters.java | 46 ++++++++++++ .../Conditions.java | 71 +++++++++++++++++++ .../clusters/RemoteStatus.java | 27 +++++++ 14 files changed, 487 insertions(+), 1 deletion(-) create mode 100644 src/main/java/io/kubefed/types/v1beta1/FederatedROS2Workload.java create mode 100644 src/main/java/io/kubefed/types/v1beta1/FederatedROS2WorkloadSpec.java create mode 100644 src/main/java/io/kubefed/types/v1beta1/FederatedROS2WorkloadStatus.java create mode 100644 src/main/java/io/kubefed/types/v1beta1/federatedros2workloadspec/Overrides.java create mode 100644 src/main/java/io/kubefed/types/v1beta1/federatedros2workloadspec/Placement.java create mode 100644 src/main/java/io/kubefed/types/v1beta1/federatedros2workloadspec/Template.java create mode 100644 src/main/java/io/kubefed/types/v1beta1/federatedros2workloadspec/overrides/ClusterOverrides.java create mode 100644 src/main/java/io/kubefed/types/v1beta1/federatedros2workloadspec/placement/ClusterSelector.java create mode 100644 src/main/java/io/kubefed/types/v1beta1/federatedros2workloadspec/placement/Clusters.java create mode 100644 src/main/java/io/kubefed/types/v1beta1/federatedros2workloadspec/placement/clusterselector/MatchExpressions.java create mode 100644 src/main/java/io/kubefed/types/v1beta1/federatedros2workloadstatus/Clusters.java create mode 100644 src/main/java/io/kubefed/types/v1beta1/federatedros2workloadstatus/Conditions.java create mode 100644 src/main/java/io/kubefed/types/v1beta1/federatedros2workloadstatus/clusters/RemoteStatus.java diff --git a/pom.xml b/pom.xml index 7d9029a9..ddcf4fe5 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 io.roboscale.robot robot-fabric8-client - 0.1.0-alpha.24 + 0.1.0-alpha.25 robot-fabric8-client https://robolaunch.io diff --git a/src/main/java/io/kubefed/types/v1beta1/FederatedROS2Workload.java b/src/main/java/io/kubefed/types/v1beta1/FederatedROS2Workload.java new file mode 100644 index 00000000..18ebf092 --- /dev/null +++ b/src/main/java/io/kubefed/types/v1beta1/FederatedROS2Workload.java @@ -0,0 +1,10 @@ +package io.kubefed.types.v1beta1; + +@io.fabric8.kubernetes.model.annotation.Version(value = "v1beta1" , storage = true , served = true) +@io.fabric8.kubernetes.model.annotation.Group("types.kubefed.io") +@io.fabric8.kubernetes.model.annotation.Singular("federatedros2workload") +@io.fabric8.kubernetes.model.annotation.Plural("federatedros2workloads") +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FederatedROS2Workload extends io.fabric8.kubernetes.client.CustomResource implements io.fabric8.kubernetes.api.model.Namespaced { +} + diff --git a/src/main/java/io/kubefed/types/v1beta1/FederatedROS2WorkloadSpec.java b/src/main/java/io/kubefed/types/v1beta1/FederatedROS2WorkloadSpec.java new file mode 100644 index 00000000..9ee1968f --- /dev/null +++ b/src/main/java/io/kubefed/types/v1beta1/FederatedROS2WorkloadSpec.java @@ -0,0 +1,45 @@ +package io.kubefed.types.v1beta1; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"overrides","placement","template"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FederatedROS2WorkloadSpec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("overrides") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List overrides; + + public java.util.List getOverrides() { + return overrides; + } + + public void setOverrides(java.util.List overrides) { + this.overrides = overrides; + } + + @com.fasterxml.jackson.annotation.JsonProperty("placement") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private io.kubefed.types.v1beta1.federatedros2workloadspec.Placement placement; + + public io.kubefed.types.v1beta1.federatedros2workloadspec.Placement getPlacement() { + return placement; + } + + public void setPlacement(io.kubefed.types.v1beta1.federatedros2workloadspec.Placement placement) { + this.placement = placement; + } + + @com.fasterxml.jackson.annotation.JsonProperty("template") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private io.kubefed.types.v1beta1.federatedros2workloadspec.Template template; + + public io.kubefed.types.v1beta1.federatedros2workloadspec.Template getTemplate() { + return template; + } + + public void setTemplate(io.kubefed.types.v1beta1.federatedros2workloadspec.Template template) { + this.template = template; + } +} + diff --git a/src/main/java/io/kubefed/types/v1beta1/FederatedROS2WorkloadStatus.java b/src/main/java/io/kubefed/types/v1beta1/FederatedROS2WorkloadStatus.java new file mode 100644 index 00000000..9efe5ab1 --- /dev/null +++ b/src/main/java/io/kubefed/types/v1beta1/FederatedROS2WorkloadStatus.java @@ -0,0 +1,45 @@ +package io.kubefed.types.v1beta1; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"clusters","conditions","observedGeneration"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FederatedROS2WorkloadStatus implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("clusters") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List clusters; + + public java.util.List getClusters() { + return clusters; + } + + public void setClusters(java.util.List clusters) { + this.clusters = clusters; + } + + @com.fasterxml.jackson.annotation.JsonProperty("conditions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List conditions; + + public java.util.List getConditions() { + return conditions; + } + + public void setConditions(java.util.List conditions) { + this.conditions = conditions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("observedGeneration") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long observedGeneration; + + public Long getObservedGeneration() { + return observedGeneration; + } + + public void setObservedGeneration(Long observedGeneration) { + this.observedGeneration = observedGeneration; + } +} + diff --git a/src/main/java/io/kubefed/types/v1beta1/federatedros2workloadspec/Overrides.java b/src/main/java/io/kubefed/types/v1beta1/federatedros2workloadspec/Overrides.java new file mode 100644 index 00000000..675e9c13 --- /dev/null +++ b/src/main/java/io/kubefed/types/v1beta1/federatedros2workloadspec/Overrides.java @@ -0,0 +1,33 @@ +package io.kubefed.types.v1beta1.federatedros2workloadspec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"clusterName","clusterOverrides"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Overrides implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("clusterName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String clusterName; + + public String getClusterName() { + return clusterName; + } + + public void setClusterName(String clusterName) { + this.clusterName = clusterName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("clusterOverrides") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List clusterOverrides; + + public java.util.List getClusterOverrides() { + return clusterOverrides; + } + + public void setClusterOverrides(java.util.List clusterOverrides) { + this.clusterOverrides = clusterOverrides; + } +} + diff --git a/src/main/java/io/kubefed/types/v1beta1/federatedros2workloadspec/Placement.java b/src/main/java/io/kubefed/types/v1beta1/federatedros2workloadspec/Placement.java new file mode 100644 index 00000000..f0ecbd27 --- /dev/null +++ b/src/main/java/io/kubefed/types/v1beta1/federatedros2workloadspec/Placement.java @@ -0,0 +1,33 @@ +package io.kubefed.types.v1beta1.federatedros2workloadspec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"clusterSelector","clusters"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Placement implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("clusterSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private io.kubefed.types.v1beta1.federatedros2workloadspec.placement.ClusterSelector clusterSelector; + + public io.kubefed.types.v1beta1.federatedros2workloadspec.placement.ClusterSelector getClusterSelector() { + return clusterSelector; + } + + public void setClusterSelector(io.kubefed.types.v1beta1.federatedros2workloadspec.placement.ClusterSelector clusterSelector) { + this.clusterSelector = clusterSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("clusters") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List clusters; + + public java.util.List getClusters() { + return clusters; + } + + public void setClusters(java.util.List clusters) { + this.clusters = clusters; + } +} + diff --git a/src/main/java/io/kubefed/types/v1beta1/federatedros2workloadspec/Template.java b/src/main/java/io/kubefed/types/v1beta1/federatedros2workloadspec/Template.java new file mode 100644 index 00000000..b87e28f0 --- /dev/null +++ b/src/main/java/io/kubefed/types/v1beta1/federatedros2workloadspec/Template.java @@ -0,0 +1,27 @@ +package io.kubefed.types.v1beta1.federatedros2workloadspec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Template implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonIgnore() + private java.util.Map additionalProperties = new java.util.HashMap<>(); + + @com.fasterxml.jackson.annotation.JsonAnyGetter() + public java.util.Map getAdditionalProperties() { + return additionalProperties; + } + + @com.fasterxml.jackson.annotation.JsonAnySetter() + public void setAdditionalProperties(java.util.Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + + @com.fasterxml.jackson.annotation.JsonAnySetter() + public void setAdditionalProperty(java.lang.String key, java.lang.Object value) { + this.additionalProperties.put(key, value); + } +} + diff --git a/src/main/java/io/kubefed/types/v1beta1/federatedros2workloadspec/overrides/ClusterOverrides.java b/src/main/java/io/kubefed/types/v1beta1/federatedros2workloadspec/overrides/ClusterOverrides.java new file mode 100644 index 00000000..88202c24 --- /dev/null +++ b/src/main/java/io/kubefed/types/v1beta1/federatedros2workloadspec/overrides/ClusterOverrides.java @@ -0,0 +1,47 @@ +package io.kubefed.types.v1beta1.federatedros2workloadspec.overrides; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"op","path","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ClusterOverrides implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("op") + @io.fabric8.generator.annotation.Pattern("^(add|remove|replace)?$") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String op; + + public String getOp() { + return op; + } + + public void setOp(String op) { + this.op = op; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private io.fabric8.kubernetes.api.model.AnyType value; + + public io.fabric8.kubernetes.api.model.AnyType getValue() { + return value; + } + + public void setValue(io.fabric8.kubernetes.api.model.AnyType value) { + this.value = value; + } +} + diff --git a/src/main/java/io/kubefed/types/v1beta1/federatedros2workloadspec/placement/ClusterSelector.java b/src/main/java/io/kubefed/types/v1beta1/federatedros2workloadspec/placement/ClusterSelector.java new file mode 100644 index 00000000..fb1b89b0 --- /dev/null +++ b/src/main/java/io/kubefed/types/v1beta1/federatedros2workloadspec/placement/ClusterSelector.java @@ -0,0 +1,33 @@ +package io.kubefed.types.v1beta1.federatedros2workloadspec.placement; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ClusterSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/io/kubefed/types/v1beta1/federatedros2workloadspec/placement/Clusters.java b/src/main/java/io/kubefed/types/v1beta1/federatedros2workloadspec/placement/Clusters.java new file mode 100644 index 00000000..3bb24304 --- /dev/null +++ b/src/main/java/io/kubefed/types/v1beta1/federatedros2workloadspec/placement/Clusters.java @@ -0,0 +1,22 @@ +package io.kubefed.types.v1beta1.federatedros2workloadspec.placement; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Clusters implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/io/kubefed/types/v1beta1/federatedros2workloadspec/placement/clusterselector/MatchExpressions.java b/src/main/java/io/kubefed/types/v1beta1/federatedros2workloadspec/placement/clusterselector/MatchExpressions.java new file mode 100644 index 00000000..e1bad9d8 --- /dev/null +++ b/src/main/java/io/kubefed/types/v1beta1/federatedros2workloadspec/placement/clusterselector/MatchExpressions.java @@ -0,0 +1,47 @@ +package io.kubefed.types.v1beta1.federatedros2workloadspec.placement.clusterselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/io/kubefed/types/v1beta1/federatedros2workloadstatus/Clusters.java b/src/main/java/io/kubefed/types/v1beta1/federatedros2workloadstatus/Clusters.java new file mode 100644 index 00000000..7d7f4ae2 --- /dev/null +++ b/src/main/java/io/kubefed/types/v1beta1/federatedros2workloadstatus/Clusters.java @@ -0,0 +1,46 @@ +package io.kubefed.types.v1beta1.federatedros2workloadstatus; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","remoteStatus","status"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Clusters implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("remoteStatus") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private io.kubefed.types.v1beta1.federatedros2workloadstatus.clusters.RemoteStatus remoteStatus; + + public io.kubefed.types.v1beta1.federatedros2workloadstatus.clusters.RemoteStatus getRemoteStatus() { + return remoteStatus; + } + + public void setRemoteStatus(io.kubefed.types.v1beta1.federatedros2workloadstatus.clusters.RemoteStatus remoteStatus) { + this.remoteStatus = remoteStatus; + } + + @com.fasterxml.jackson.annotation.JsonProperty("status") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String status; + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } +} + diff --git a/src/main/java/io/kubefed/types/v1beta1/federatedros2workloadstatus/Conditions.java b/src/main/java/io/kubefed/types/v1beta1/federatedros2workloadstatus/Conditions.java new file mode 100644 index 00000000..596ded34 --- /dev/null +++ b/src/main/java/io/kubefed/types/v1beta1/federatedros2workloadstatus/Conditions.java @@ -0,0 +1,71 @@ +package io.kubefed.types.v1beta1.federatedros2workloadstatus; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"lastTransitionTime","lastUpdateTime","reason","status","type"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Conditions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("lastTransitionTime") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String lastTransitionTime; + + public String getLastTransitionTime() { + return lastTransitionTime; + } + + public void setLastTransitionTime(String lastTransitionTime) { + this.lastTransitionTime = lastTransitionTime; + } + + @com.fasterxml.jackson.annotation.JsonProperty("lastUpdateTime") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String lastUpdateTime; + + public String getLastUpdateTime() { + return lastUpdateTime; + } + + public void setLastUpdateTime(String lastUpdateTime) { + this.lastUpdateTime = lastUpdateTime; + } + + @com.fasterxml.jackson.annotation.JsonProperty("reason") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String reason; + + public String getReason() { + return reason; + } + + public void setReason(String reason) { + this.reason = reason; + } + + @com.fasterxml.jackson.annotation.JsonProperty("status") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String status; + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } +} + diff --git a/src/main/java/io/kubefed/types/v1beta1/federatedros2workloadstatus/clusters/RemoteStatus.java b/src/main/java/io/kubefed/types/v1beta1/federatedros2workloadstatus/clusters/RemoteStatus.java new file mode 100644 index 00000000..453a26ff --- /dev/null +++ b/src/main/java/io/kubefed/types/v1beta1/federatedros2workloadstatus/clusters/RemoteStatus.java @@ -0,0 +1,27 @@ +package io.kubefed.types.v1beta1.federatedros2workloadstatus.clusters; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class RemoteStatus implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonIgnore() + private java.util.Map additionalProperties = new java.util.HashMap<>(); + + @com.fasterxml.jackson.annotation.JsonAnyGetter() + public java.util.Map getAdditionalProperties() { + return additionalProperties; + } + + @com.fasterxml.jackson.annotation.JsonAnySetter() + public void setAdditionalProperties(java.util.Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + + @com.fasterxml.jackson.annotation.JsonAnySetter() + public void setAdditionalProperty(java.lang.String key, java.lang.Object value) { + this.additionalProperties.put(key, value); + } +} +