io.fabric8.kubernetes.api.model.ScaleIOPersistentVolumeSource Maven / Gradle / Ivy
package io.fabric8.kubernetes.api.model;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
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.Doneable;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.Inline;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@Generated("org.jsonschema2pojo")
@JsonPropertyOrder({
"apiVersion",
"kind",
"metadata",
"fsType",
"gateway",
"protectionDomain",
"readOnly",
"secretRef",
"sslEnabled",
"storageMode",
"storagePool",
"system",
"volumeName"
})
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@ToString
@EqualsAndHashCode
@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = true, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", inline = @Inline(type = Doneable.class, prefix = "Doneable", value = "done"))
public class ScaleIOPersistentVolumeSource implements KubernetesResource
{
/**
*
*
*/
@JsonProperty("fsType")
private String fsType;
/**
*
*
*/
@JsonProperty("gateway")
private String gateway;
/**
*
*
*/
@JsonProperty("protectionDomain")
private String protectionDomain;
/**
*
*
*/
@JsonProperty("readOnly")
private Boolean readOnly;
/**
*
*
*/
@JsonProperty("secretRef")
private SecretReference secretRef;
/**
*
*
*/
@JsonProperty("sslEnabled")
private Boolean sslEnabled;
/**
*
*
*/
@JsonProperty("storageMode")
private String storageMode;
/**
*
*
*/
@JsonProperty("storagePool")
private String storagePool;
/**
*
*
*/
@JsonProperty("system")
private String system;
/**
*
*
*/
@JsonProperty("volumeName")
private String volumeName;
@JsonIgnore
private Map additionalProperties = new HashMap();
/**
* No args constructor for use in serialization
*
*/
public ScaleIOPersistentVolumeSource() {
}
/**
*
* @param system
* @param protectionDomain
* @param sslEnabled
* @param storageMode
* @param volumeName
* @param secretRef
* @param readOnly
* @param fsType
* @param storagePool
* @param gateway
*/
public ScaleIOPersistentVolumeSource(String fsType, String gateway, String protectionDomain, Boolean readOnly, SecretReference secretRef, Boolean sslEnabled, String storageMode, String storagePool, String system, String volumeName) {
this.fsType = fsType;
this.gateway = gateway;
this.protectionDomain = protectionDomain;
this.readOnly = readOnly;
this.secretRef = secretRef;
this.sslEnabled = sslEnabled;
this.storageMode = storageMode;
this.storagePool = storagePool;
this.system = system;
this.volumeName = volumeName;
}
/**
*
*
* @return
* The fsType
*/
@JsonProperty("fsType")
public String getFsType() {
return fsType;
}
/**
*
*
* @param fsType
* The fsType
*/
@JsonProperty("fsType")
public void setFsType(String fsType) {
this.fsType = fsType;
}
/**
*
*
* @return
* The gateway
*/
@JsonProperty("gateway")
public String getGateway() {
return gateway;
}
/**
*
*
* @param gateway
* The gateway
*/
@JsonProperty("gateway")
public void setGateway(String gateway) {
this.gateway = gateway;
}
/**
*
*
* @return
* The protectionDomain
*/
@JsonProperty("protectionDomain")
public String getProtectionDomain() {
return protectionDomain;
}
/**
*
*
* @param protectionDomain
* The protectionDomain
*/
@JsonProperty("protectionDomain")
public void setProtectionDomain(String protectionDomain) {
this.protectionDomain = protectionDomain;
}
/**
*
*
* @return
* The readOnly
*/
@JsonProperty("readOnly")
public Boolean getReadOnly() {
return readOnly;
}
/**
*
*
* @param readOnly
* The readOnly
*/
@JsonProperty("readOnly")
public void setReadOnly(Boolean readOnly) {
this.readOnly = readOnly;
}
/**
*
*
* @return
* The secretRef
*/
@JsonProperty("secretRef")
public SecretReference getSecretRef() {
return secretRef;
}
/**
*
*
* @param secretRef
* The secretRef
*/
@JsonProperty("secretRef")
public void setSecretRef(SecretReference secretRef) {
this.secretRef = secretRef;
}
/**
*
*
* @return
* The sslEnabled
*/
@JsonProperty("sslEnabled")
public Boolean getSslEnabled() {
return sslEnabled;
}
/**
*
*
* @param sslEnabled
* The sslEnabled
*/
@JsonProperty("sslEnabled")
public void setSslEnabled(Boolean sslEnabled) {
this.sslEnabled = sslEnabled;
}
/**
*
*
* @return
* The storageMode
*/
@JsonProperty("storageMode")
public String getStorageMode() {
return storageMode;
}
/**
*
*
* @param storageMode
* The storageMode
*/
@JsonProperty("storageMode")
public void setStorageMode(String storageMode) {
this.storageMode = storageMode;
}
/**
*
*
* @return
* The storagePool
*/
@JsonProperty("storagePool")
public String getStoragePool() {
return storagePool;
}
/**
*
*
* @param storagePool
* The storagePool
*/
@JsonProperty("storagePool")
public void setStoragePool(String storagePool) {
this.storagePool = storagePool;
}
/**
*
*
* @return
* The system
*/
@JsonProperty("system")
public String getSystem() {
return system;
}
/**
*
*
* @param system
* The system
*/
@JsonProperty("system")
public void setSystem(String system) {
this.system = system;
}
/**
*
*
* @return
* The volumeName
*/
@JsonProperty("volumeName")
public String getVolumeName() {
return volumeName;
}
/**
*
*
* @param volumeName
* The volumeName
*/
@JsonProperty("volumeName")
public void setVolumeName(String volumeName) {
this.volumeName = volumeName;
}
@JsonAnyGetter
public Map getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy