
org.jclouds.b2.domain.AutoValue_DeleteFileResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jclouds-shaded Show documentation
Show all versions of jclouds-shaded Show documentation
Provides a shaded jclouds with relocated guava and guice
The newest version!
package org.jclouds.b2.domain;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_DeleteFileResponse extends DeleteFileResponse {
private final String fileName;
private final String fileId;
AutoValue_DeleteFileResponse(
String fileName,
String fileId) {
if (fileName == null) {
throw new NullPointerException("Null fileName");
}
this.fileName = fileName;
if (fileId == null) {
throw new NullPointerException("Null fileId");
}
this.fileId = fileId;
}
@Override
public String fileName() {
return fileName;
}
@Override
public String fileId() {
return fileId;
}
@Override
public String toString() {
return "DeleteFileResponse{"
+ "fileName=" + fileName + ", "
+ "fileId=" + fileId
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof DeleteFileResponse) {
DeleteFileResponse that = (DeleteFileResponse) o;
return (this.fileName.equals(that.fileName()))
&& (this.fileId.equals(that.fileId()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.fileName.hashCode();
h *= 1000003;
h ^= this.fileId.hashCode();
return h;
}
}