io.strimzi.api.kafka.model.connect.build.ZipArtifactFluent Maven / Gradle / Ivy
package io.strimzi.api.kafka.model.connect.build;
import java.lang.SuppressWarnings;
import java.lang.Object;
import java.lang.String;
/**
* Generated
*/
@SuppressWarnings("unchecked")
public class ZipArtifactFluent> extends DownloadableArtifactFluent{
public ZipArtifactFluent() {
}
public ZipArtifactFluent(ZipArtifact instance) {
this.copyInstance(instance);
}
protected void copyInstance(ZipArtifact instance) {
instance = (instance != null ? instance : new ZipArtifact());
if (instance != null) {
this.withUrl(instance.getUrl());
this.withSha512sum(instance.getSha512sum());
this.withInsecure(instance.getInsecure());
}
}
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
if (!super.equals(o)) return false;
ZipArtifactFluent that = (ZipArtifactFluent) o;
return true;
}
public int hashCode() {
return java.util.Objects.hash(super.hashCode());
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
sb.append("}");
return sb.toString();
}
}