
com.appscode.stash.client.models.V1alpha1RestoreStats Maven / Gradle / Ivy
The newest version!
/*
* Stash
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: v0.7.0
* Contact: [email protected]
*
* 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 com.appscode.stash.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;
/**
* V1alpha1RestoreStats
*/
public class V1alpha1RestoreStats {
@SerializedName("duration")
private String duration = null;
@SerializedName("path")
private String path = null;
@SerializedName("phase")
private String phase = null;
public V1alpha1RestoreStats duration(String duration) {
this.duration = duration;
return this;
}
/**
* Get duration
* @return duration
**/
@ApiModelProperty(value = "")
public String getDuration() {
return duration;
}
public void setDuration(String duration) {
this.duration = duration;
}
public V1alpha1RestoreStats path(String path) {
this.path = path;
return this;
}
/**
* Get path
* @return path
**/
@ApiModelProperty(value = "")
public String getPath() {
return path;
}
public void setPath(String path) {
this.path = path;
}
public V1alpha1RestoreStats phase(String phase) {
this.phase = phase;
return this;
}
/**
* Get phase
* @return phase
**/
@ApiModelProperty(value = "")
public String getPhase() {
return phase;
}
public void setPhase(String phase) {
this.phase = phase;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
V1alpha1RestoreStats v1alpha1RestoreStats = (V1alpha1RestoreStats) o;
return Objects.equals(this.duration, v1alpha1RestoreStats.duration) &&
Objects.equals(this.path, v1alpha1RestoreStats.path) &&
Objects.equals(this.phase, v1alpha1RestoreStats.phase);
}
@Override
public int hashCode() {
return Objects.hash(duration, path, phase);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class V1alpha1RestoreStats {\n");
sb.append(" duration: ").append(toIndentedString(duration)).append("\n");
sb.append(" path: ").append(toIndentedString(path)).append("\n");
sb.append(" phase: ").append(toIndentedString(phase)).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