
com.kintone.client.api.common.UploadFileResponseBody Maven / Gradle / Ivy
// Generated by delombok at Fri Jan 21 13:34:53 JST 2022
package com.kintone.client.api.common;
import com.kintone.client.api.KintoneResponseBody;
/**
* A response object for Upload File API.
*/
public final class UploadFileResponseBody implements KintoneResponseBody {
/**
* The identifier of the uploaded file.
*/
private final String fileKey;
@java.beans.ConstructorProperties({"fileKey"})
@java.lang.SuppressWarnings("all")
public UploadFileResponseBody(final String fileKey) {
this.fileKey = fileKey;
}
/**
* The identifier of the uploaded file.
*/
@java.lang.SuppressWarnings("all")
public String getFileKey() {
return this.fileKey;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof UploadFileResponseBody)) return false;
final UploadFileResponseBody other = (UploadFileResponseBody) o;
final java.lang.Object this$fileKey = this.getFileKey();
final java.lang.Object other$fileKey = other.getFileKey();
if (this$fileKey == null ? other$fileKey != null : !this$fileKey.equals(other$fileKey)) return false;
return true;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public int hashCode() {
final int PRIME = 59;
int result = 1;
final java.lang.Object $fileKey = this.getFileKey();
result = result * PRIME + ($fileKey == null ? 43 : $fileKey.hashCode());
return result;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "UploadFileResponseBody(fileKey=" + this.getFileKey() + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy