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