
io.fabric8.docker.api.model.VolumeCreateRequest Maven / Gradle / Ivy
package io.fabric8.docker.api.model;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.Generated;
import javax.validation.Valid;
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.docker.api.model.Volume;
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({
"Driver",
"DriverOpts",
"Name"
})
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@ToString
@EqualsAndHashCode
@Buildable(editableEnabled = true, validationEnabled = true, generateBuilderPackage = true, builderPackage = "io.fabric8.docker.api.builder", inline = {
@Inline(type = io.fabric8.docker.api.model.Doneable.class, prefix = "Doneable", value = "done"),
@Inline(type = io.fabric8.docker.api.model.Doneable.class, returnType = Volume.class, name = "InlineVolumeCreate", value = "done")
})
public class VolumeCreateRequest implements Serializable
{
/**
*
*
*/
@JsonProperty("Driver")
private java.lang.String Driver;
/**
*
*
*/
@JsonProperty("DriverOpts")
@Valid
private Map DriverOpts;
/**
*
*
*/
@JsonProperty("Name")
private java.lang.String Name;
@JsonIgnore
private Map additionalProperties = new HashMap();
/**
* No args constructor for use in serialization
*
*/
public VolumeCreateRequest() {
}
/**
*
* @param DriverOpts
* @param Driver
* @param Name
*/
public VolumeCreateRequest(java.lang.String Driver, Map DriverOpts, java.lang.String Name) {
this.Driver = Driver;
this.DriverOpts = DriverOpts;
this.Name = Name;
}
/**
*
*
* @return
* The Driver
*/
@JsonProperty("Driver")
public java.lang.String getDriver() {
return Driver;
}
/**
*
*
* @param Driver
* The Driver
*/
@JsonProperty("Driver")
public void setDriver(java.lang.String Driver) {
this.Driver = Driver;
}
/**
*
*
* @return
* The DriverOpts
*/
@JsonProperty("DriverOpts")
public Map getDriverOpts() {
return DriverOpts;
}
/**
*
*
* @param DriverOpts
* The DriverOpts
*/
@JsonProperty("DriverOpts")
public void setDriverOpts(Map DriverOpts) {
this.DriverOpts = DriverOpts;
}
/**
*
*
* @return
* The Name
*/
@JsonProperty("Name")
public java.lang.String getName() {
return Name;
}
/**
*
*
* @param Name
* The Name
*/
@JsonProperty("Name")
public void setName(java.lang.String Name) {
this.Name = Name;
}
@JsonAnyGetter
public Map getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(java.lang.String name, Object value) {
this.additionalProperties.put(name, value);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy