-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: openshift-model-miscellaneous generated from OpenAPI schemas
Signed-off-by: Marc Nuri <[email protected]>
- Loading branch information
Showing
222 changed files
with
55,253 additions
and
37,033 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
103 changes: 103 additions & 0 deletions
103
...core/src/generated/java/io/fabric8/kubernetes/api/model/clusterapi/v1beta1/Bootstrap.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
|
||
package io.fabric8.kubernetes.api.model.clusterapi.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.KubernetesResource; | ||
import io.fabric8.kubernetes.api.model.ObjectReference; | ||
import io.sundr.builder.annotations.Buildable; | ||
import lombok.EqualsAndHashCode; | ||
import lombok.ToString; | ||
import lombok.experimental.Accessors; | ||
|
||
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) | ||
@JsonInclude(JsonInclude.Include.NON_NULL) | ||
@JsonPropertyOrder({ | ||
"configRef", | ||
"dataSecretName" | ||
}) | ||
@ToString | ||
@EqualsAndHashCode | ||
@Accessors(prefix = { | ||
"_", | ||
"" | ||
}) | ||
@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") | ||
@Generated("jsonschema2pojo") | ||
public class Bootstrap implements Editable<BootstrapBuilder> , KubernetesResource | ||
{ | ||
|
||
@JsonProperty("configRef") | ||
private ObjectReference configRef; | ||
@JsonProperty("dataSecretName") | ||
private String dataSecretName; | ||
@JsonIgnore | ||
private Map<String, Object> additionalProperties = new LinkedHashMap<String, Object>(); | ||
|
||
/** | ||
* No args constructor for use in serialization | ||
* | ||
*/ | ||
public Bootstrap() { | ||
} | ||
|
||
public Bootstrap(ObjectReference configRef, String dataSecretName) { | ||
super(); | ||
this.configRef = configRef; | ||
this.dataSecretName = dataSecretName; | ||
} | ||
|
||
@JsonProperty("configRef") | ||
public ObjectReference getConfigRef() { | ||
return configRef; | ||
} | ||
|
||
@JsonProperty("configRef") | ||
public void setConfigRef(ObjectReference configRef) { | ||
this.configRef = configRef; | ||
} | ||
|
||
@JsonProperty("dataSecretName") | ||
public String getDataSecretName() { | ||
return dataSecretName; | ||
} | ||
|
||
@JsonProperty("dataSecretName") | ||
public void setDataSecretName(String dataSecretName) { | ||
this.dataSecretName = dataSecretName; | ||
} | ||
|
||
@JsonIgnore | ||
public BootstrapBuilder edit() { | ||
return new BootstrapBuilder(this); | ||
} | ||
|
||
@JsonIgnore | ||
public BootstrapBuilder toBuilder() { | ||
return edit(); | ||
} | ||
|
||
@JsonAnyGetter | ||
public Map<String, Object> getAdditionalProperties() { | ||
return this.additionalProperties; | ||
} | ||
|
||
@JsonAnySetter | ||
public void setAdditionalProperty(String name, Object value) { | ||
this.additionalProperties.put(name, value); | ||
} | ||
|
||
public void setAdditionalProperties(Map<String, Object> additionalProperties) { | ||
this.additionalProperties = additionalProperties; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
145 changes: 145 additions & 0 deletions
145
...l-core/src/generated/java/io/fabric8/kubernetes/api/model/clusterapi/v1beta1/Machine.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
|
||
package io.fabric8.kubernetes.api.model.clusterapi.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.KubernetesResource; | ||
import io.fabric8.kubernetes.api.model.ObjectMeta; | ||
import io.sundr.builder.annotations.Buildable; | ||
import lombok.EqualsAndHashCode; | ||
import lombok.ToString; | ||
import lombok.experimental.Accessors; | ||
|
||
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) | ||
@JsonInclude(JsonInclude.Include.NON_NULL) | ||
@JsonPropertyOrder({ | ||
"apiVersion", | ||
"kind", | ||
"metadata", | ||
"spec", | ||
"status" | ||
}) | ||
@ToString | ||
@EqualsAndHashCode | ||
@Accessors(prefix = { | ||
"_", | ||
"" | ||
}) | ||
@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder") | ||
@Generated("jsonschema2pojo") | ||
public class Machine implements Editable<MachineBuilder> , KubernetesResource | ||
{ | ||
|
||
@JsonProperty("apiVersion") | ||
private String apiVersion; | ||
@JsonProperty("kind") | ||
private String kind; | ||
@JsonProperty("metadata") | ||
private ObjectMeta metadata; | ||
@JsonProperty("spec") | ||
private MachineSpec spec; | ||
@JsonProperty("status") | ||
private MachineStatus status; | ||
@JsonIgnore | ||
private Map<String, Object> additionalProperties = new LinkedHashMap<String, Object>(); | ||
|
||
/** | ||
* No args constructor for use in serialization | ||
* | ||
*/ | ||
public Machine() { | ||
} | ||
|
||
public Machine(String apiVersion, String kind, ObjectMeta metadata, MachineSpec spec, MachineStatus status) { | ||
super(); | ||
this.apiVersion = apiVersion; | ||
this.kind = kind; | ||
this.metadata = metadata; | ||
this.spec = spec; | ||
this.status = status; | ||
} | ||
|
||
@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; | ||
} | ||
|
||
@JsonProperty("metadata") | ||
public ObjectMeta getMetadata() { | ||
return metadata; | ||
} | ||
|
||
@JsonProperty("metadata") | ||
public void setMetadata(ObjectMeta metadata) { | ||
this.metadata = metadata; | ||
} | ||
|
||
@JsonProperty("spec") | ||
public MachineSpec getSpec() { | ||
return spec; | ||
} | ||
|
||
@JsonProperty("spec") | ||
public void setSpec(MachineSpec spec) { | ||
this.spec = spec; | ||
} | ||
|
||
@JsonProperty("status") | ||
public MachineStatus getStatus() { | ||
return status; | ||
} | ||
|
||
@JsonProperty("status") | ||
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<String, Object> getAdditionalProperties() { | ||
return this.additionalProperties; | ||
} | ||
|
||
@JsonAnySetter | ||
public void setAdditionalProperty(String name, Object value) { | ||
this.additionalProperties.put(name, value); | ||
} | ||
|
||
public void setAdditionalProperties(Map<String, Object> additionalProperties) { | ||
this.additionalProperties = additionalProperties; | ||
} | ||
|
||
} |
Oops, something went wrong.