io.alauda.kubernetes.api.model.QuobyteVolumeSource Maven / Gradle / Ivy
package io.alauda.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.alauda.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",
"group",
"readOnly",
"registry",
"user",
"volume"
})
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@ToString
@EqualsAndHashCode
@Buildable(editableEnabled = false, validationEnabled = true, generateBuilderPackage = true, builderPackage = "io.alauda.kubernetes.api.builder", inline = @Inline(type = Doneable.class, prefix = "Doneable", value = "done"))
public class QuobyteVolumeSource implements KubernetesResource
{
/**
*
*
*/
@JsonProperty("group")
private String group;
/**
*
*
*/
@JsonProperty("readOnly")
private Boolean readOnly;
/**
*
*
*/
@JsonProperty("registry")
private String registry;
/**
*
*
*/
@JsonProperty("user")
private String user;
/**
*
*
*/
@JsonProperty("volume")
private String volume;
@JsonIgnore
private Map additionalProperties = new HashMap();
/**
* No args constructor for use in serialization
*
*/
public QuobyteVolumeSource() {
}
/**
*
* @param volume
* @param registry
* @param readOnly
* @param user
* @param group
*/
public QuobyteVolumeSource(String group, Boolean readOnly, String registry, String user, String volume) {
this.group = group;
this.readOnly = readOnly;
this.registry = registry;
this.user = user;
this.volume = volume;
}
/**
*
*
* @return
* The group
*/
@JsonProperty("group")
public String getGroup() {
return group;
}
/**
*
*
* @param group
* The group
*/
@JsonProperty("group")
public void setGroup(String group) {
this.group = group;
}
/**
*
*
* @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 registry
*/
@JsonProperty("registry")
public String getRegistry() {
return registry;
}
/**
*
*
* @param registry
* The registry
*/
@JsonProperty("registry")
public void setRegistry(String registry) {
this.registry = registry;
}
/**
*
*
* @return
* The user
*/
@JsonProperty("user")
public String getUser() {
return user;
}
/**
*
*
* @param user
* The user
*/
@JsonProperty("user")
public void setUser(String user) {
this.user = user;
}
/**
*
*
* @return
* The volume
*/
@JsonProperty("volume")
public String getVolume() {
return volume;
}
/**
*
*
* @param volume
* The volume
*/
@JsonProperty("volume")
public void setVolume(String volume) {
this.volume = volume;
}
@JsonAnyGetter
public Map getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}