com.kintone.client.api.app.AddAppResponseBody Maven / Gradle / Ivy
// Generated by delombok at Fri Jan 21 13:34:53 JST 2022
package com.kintone.client.api.app;
import com.kintone.client.api.KintoneResponseBody;
/**
* A response object for Add App API.
*/
public final class AddAppResponseBody implements KintoneResponseBody {
/**
* The App ID of the created preview App.
*/
private final long app;
/**
* The revision number of the App settings.
*/
private final long revision;
@java.beans.ConstructorProperties({"app", "revision"})
@java.lang.SuppressWarnings("all")
public AddAppResponseBody(final long app, final long revision) {
this.app = app;
this.revision = revision;
}
/**
* The App ID of the created preview App.
*/
@java.lang.SuppressWarnings("all")
public long getApp() {
return this.app;
}
/**
* The revision number of the App settings.
*/
@java.lang.SuppressWarnings("all")
public long getRevision() {
return this.revision;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof AddAppResponseBody)) return false;
final AddAppResponseBody other = (AddAppResponseBody) o;
if (this.getApp() != other.getApp()) return false;
if (this.getRevision() != other.getRevision()) return false;
return true;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public int hashCode() {
final int PRIME = 59;
int result = 1;
final long $app = this.getApp();
result = result * PRIME + (int) ($app >>> 32 ^ $app);
final long $revision = this.getRevision();
result = result * PRIME + (int) ($revision >>> 32 ^ $revision);
return result;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "AddAppResponseBody(app=" + this.getApp() + ", revision=" + this.getRevision() + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy