All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.kintone.client.api.common.DownloadFileRequest Maven / Gradle / Ivy

// Generated by delombok at Fri Jan 21 13:34:53 JST 2022
package com.kintone.client.api.common;

/**
 * A request object for Download File API.
 */
public class DownloadFileRequest {
    /**
     * The identifier of the file to download (required).
     */
    private String fileKey;

    @java.lang.SuppressWarnings("all")
    public DownloadFileRequest() {
    }

    /**
     * The identifier of the file to download (required).
     */
    @java.lang.SuppressWarnings("all")
    public String getFileKey() {
        return this.fileKey;
    }

    /**
     * The identifier of the file to download (required).
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public DownloadFileRequest setFileKey(final String fileKey) {
        this.fileKey = fileKey;
        return this;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    public boolean equals(final java.lang.Object o) {
        if (o == this) return true;
        if (!(o instanceof DownloadFileRequest)) return false;
        final DownloadFileRequest other = (DownloadFileRequest) o;
        if (!other.canEqual((java.lang.Object) this)) return false;
        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.SuppressWarnings("all")
    protected boolean canEqual(final java.lang.Object other) {
        return other instanceof DownloadFileRequest;
    }

    @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 "DownloadFileRequest(fileKey=" + this.getFileKey() + ")";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy