
com.kintone.client.api.app.UpdateViewsResponseBody 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;
import com.kintone.client.model.app.ViewId;
import java.util.Map;
/**
* A response object for Update Views API.
*/
public final class UpdateViewsResponseBody implements KintoneResponseBody {
/**
* An object containing data of the Views.
*/
private final Map views;
/**
* The revision number of the App settings.
*/
private final long revision;
@java.beans.ConstructorProperties({"views", "revision"})
@java.lang.SuppressWarnings("all")
public UpdateViewsResponseBody(final Map views, final long revision) {
this.views = views;
this.revision = revision;
}
/**
* An object containing data of the Views.
*/
@java.lang.SuppressWarnings("all")
public Map getViews() {
return this.views;
}
/**
* 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 UpdateViewsResponseBody)) return false;
final UpdateViewsResponseBody other = (UpdateViewsResponseBody) o;
if (this.getRevision() != other.getRevision()) return false;
final java.lang.Object this$views = this.getViews();
final java.lang.Object other$views = other.getViews();
if (this$views == null ? other$views != null : !this$views.equals(other$views)) return false;
return true;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public int hashCode() {
final int PRIME = 59;
int result = 1;
final long $revision = this.getRevision();
result = result * PRIME + (int) ($revision >>> 32 ^ $revision);
final java.lang.Object $views = this.getViews();
result = result * PRIME + ($views == null ? 43 : $views.hashCode());
return result;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "UpdateViewsResponseBody(views=" + this.getViews() + ", revision=" + this.getRevision() + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy