
io.kubernetes.client.models.V1PhotonPersistentDiskVolumeSource Maven / Gradle / Ivy
/*
* Kubernetes
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: v1.11.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package io.kubernetes.client.models;
import java.util.Objects;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Represents a Photon Controller persistent disk resource.
*/
@ApiModel(description = "Represents a Photon Controller persistent disk resource.")
public class V1PhotonPersistentDiskVolumeSource {
@SerializedName("fsType")
private String fsType = null;
@SerializedName("pdID")
private String pdID = null;
public V1PhotonPersistentDiskVolumeSource fsType(String fsType) {
this.fsType = fsType;
return this;
}
/**
* Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.
* @return fsType
**/
@ApiModelProperty(value = "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.")
public String getFsType() {
return fsType;
}
public void setFsType(String fsType) {
this.fsType = fsType;
}
public V1PhotonPersistentDiskVolumeSource pdID(String pdID) {
this.pdID = pdID;
return this;
}
/**
* ID that identifies Photon Controller persistent disk
* @return pdID
**/
@ApiModelProperty(required = true, value = "ID that identifies Photon Controller persistent disk")
public String getPdID() {
return pdID;
}
public void setPdID(String pdID) {
this.pdID = pdID;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
V1PhotonPersistentDiskVolumeSource v1PhotonPersistentDiskVolumeSource = (V1PhotonPersistentDiskVolumeSource) o;
return Objects.equals(this.fsType, v1PhotonPersistentDiskVolumeSource.fsType) &&
Objects.equals(this.pdID, v1PhotonPersistentDiskVolumeSource.pdID);
}
@Override
public int hashCode() {
return Objects.hash(fsType, pdID);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class V1PhotonPersistentDiskVolumeSource {\n");
sb.append(" fsType: ").append(toIndentedString(fsType)).append("\n");
sb.append(" pdID: ").append(toIndentedString(pdID)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy