![JAR search and dependency download from the Maven repository](/logo.png)
io.kubernetes.client.openapi.models.V1GitRepoVolumeSourceFluentImpl Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import java.lang.StringBuffer;
import java.lang.StringBuilder;
import com.google.gson.annotations.SerializedName;
import io.kubernetes.client.fluent.BaseFluent;
import java.lang.Object;
import java.lang.String;
import java.lang.Boolean;
public class V1GitRepoVolumeSourceFluentImpl> extends io.kubernetes.client.fluent.BaseFluent implements V1GitRepoVolumeSourceFluent {
private String directory;
private String repository;
private String revision;
public V1GitRepoVolumeSourceFluentImpl() {
}
public V1GitRepoVolumeSourceFluentImpl(V1GitRepoVolumeSource instance) {
this.withDirectory(instance.getDirectory());
this.withRepository(instance.getRepository());
this.withRevision(instance.getRevision());
}
public String getDirectory() {
return this.directory;
}
public A withDirectory(String directory) {
this.directory=directory; return (A) this;
}
public Boolean hasDirectory() {
return this.directory != null;
}
public A withNewDirectory(String arg1) {
return (A)withDirectory(new String(arg1));
}
public A withNewDirectory(StringBuilder arg1) {
return (A)withDirectory(new String(arg1));
}
public A withNewDirectory(StringBuffer arg1) {
return (A)withDirectory(new String(arg1));
}
public String getRepository() {
return this.repository;
}
public A withRepository(String repository) {
this.repository=repository; return (A) this;
}
public Boolean hasRepository() {
return this.repository != null;
}
public A withNewRepository(String arg1) {
return (A)withRepository(new String(arg1));
}
public A withNewRepository(StringBuilder arg1) {
return (A)withRepository(new String(arg1));
}
public A withNewRepository(StringBuffer arg1) {
return (A)withRepository(new String(arg1));
}
public String getRevision() {
return this.revision;
}
public A withRevision(String revision) {
this.revision=revision; return (A) this;
}
public Boolean hasRevision() {
return this.revision != null;
}
public A withNewRevision(String arg1) {
return (A)withRevision(new String(arg1));
}
public A withNewRevision(StringBuilder arg1) {
return (A)withRevision(new String(arg1));
}
public A withNewRevision(StringBuffer arg1) {
return (A)withRevision(new String(arg1));
}
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
V1GitRepoVolumeSourceFluentImpl that = (V1GitRepoVolumeSourceFluentImpl) o;
if (directory != null ? !directory.equals(that.directory) :that.directory != null) return false;
if (repository != null ? !repository.equals(that.repository) :that.repository != null) return false;
if (revision != null ? !revision.equals(that.revision) :that.revision != null) return false;
return true;
}
public int hashCode() {
return java.util.Objects.hash(directory, repository, revision, super.hashCode());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy