
com.appscode.stash.client.models.V1alpha1GCSSpec 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;
/**
* V1alpha1GCSSpec
*/
public class V1alpha1GCSSpec {
@SerializedName("bucket")
private String bucket = null;
@SerializedName("prefix")
private String prefix = null;
public V1alpha1GCSSpec bucket(String bucket) {
this.bucket = bucket;
return this;
}
/**
* Get bucket
* @return bucket
**/
@ApiModelProperty(value = "")
public String getBucket() {
return bucket;
}
public void setBucket(String bucket) {
this.bucket = bucket;
}
public V1alpha1GCSSpec prefix(String prefix) {
this.prefix = prefix;
return this;
}
/**
* Get prefix
* @return prefix
**/
@ApiModelProperty(value = "")
public String getPrefix() {
return prefix;
}
public void setPrefix(String prefix) {
this.prefix = prefix;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
V1alpha1GCSSpec v1alpha1GCSSpec = (V1alpha1GCSSpec) o;
return Objects.equals(this.bucket, v1alpha1GCSSpec.bucket) &&
Objects.equals(this.prefix, v1alpha1GCSSpec.prefix);
}
@Override
public int hashCode() {
return Objects.hash(bucket, prefix);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class V1alpha1GCSSpec {\n");
sb.append(" bucket: ").append(toIndentedString(bucket)).append("\n");
sb.append(" prefix: ").append(toIndentedString(prefix)).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