com.kintone.client.api.app.GetFormLayoutPreviewResponseBody 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.layout.Layout;
import java.util.List;
/**
* A response object for Get Form Layout Preview API.
*/
public final class GetFormLayoutPreviewResponseBody implements KintoneResponseBody {
/**
* The list of field layouts for each row.
*/
private final List layout;
/**
* The revision number of the App settings.
*/
private final long revision;
@java.beans.ConstructorProperties({"layout", "revision"})
@java.lang.SuppressWarnings("all")
public GetFormLayoutPreviewResponseBody(final List layout, final long revision) {
this.layout = layout;
this.revision = revision;
}
/**
* The list of field layouts for each row.
*/
@java.lang.SuppressWarnings("all")
public List getLayout() {
return this.layout;
}
/**
* 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 GetFormLayoutPreviewResponseBody)) return false;
final GetFormLayoutPreviewResponseBody other = (GetFormLayoutPreviewResponseBody) o;
if (this.getRevision() != other.getRevision()) return false;
final java.lang.Object this$layout = this.getLayout();
final java.lang.Object other$layout = other.getLayout();
if (this$layout == null ? other$layout != null : !this$layout.equals(other$layout)) 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 $layout = this.getLayout();
result = result * PRIME + ($layout == null ? 43 : $layout.hashCode());
return result;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "GetFormLayoutPreviewResponseBody(layout=" + this.getLayout() + ", revision=" + this.getRevision() + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy