com.kintone.client.api.app.GetFormFieldsPreviewRequest 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.KintoneRequest;
/**
* A request object for Get Form Fields Preview API.
*/
public class GetFormFieldsPreviewRequest implements KintoneRequest {
/**
* The App ID (required).
*/
private Long app;
/**
* The localization language setting (optional). If set to null, the default names will be
* retrieved.
*/
private String lang;
@java.lang.SuppressWarnings("all")
public GetFormFieldsPreviewRequest() {
}
/**
* The App ID (required).
*/
@java.lang.SuppressWarnings("all")
public Long getApp() {
return this.app;
}
/**
* The localization language setting (optional). If set to null, the default names will be
* retrieved.
*/
@java.lang.SuppressWarnings("all")
public String getLang() {
return this.lang;
}
/**
* The App ID (required).
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public GetFormFieldsPreviewRequest setApp(final Long app) {
this.app = app;
return this;
}
/**
* The localization language setting (optional). If set to null, the default names will be
* retrieved.
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public GetFormFieldsPreviewRequest setLang(final String lang) {
this.lang = lang;
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 GetFormFieldsPreviewRequest)) return false;
final GetFormFieldsPreviewRequest other = (GetFormFieldsPreviewRequest) o;
if (!other.canEqual((java.lang.Object) this)) return false;
final java.lang.Object this$app = this.getApp();
final java.lang.Object other$app = other.getApp();
if (this$app == null ? other$app != null : !this$app.equals(other$app)) return false;
final java.lang.Object this$lang = this.getLang();
final java.lang.Object other$lang = other.getLang();
if (this$lang == null ? other$lang != null : !this$lang.equals(other$lang)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
protected boolean canEqual(final java.lang.Object other) {
return other instanceof GetFormFieldsPreviewRequest;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public int hashCode() {
final int PRIME = 59;
int result = 1;
final java.lang.Object $app = this.getApp();
result = result * PRIME + ($app == null ? 43 : $app.hashCode());
final java.lang.Object $lang = this.getLang();
result = result * PRIME + ($lang == null ? 43 : $lang.hashCode());
return result;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "GetFormFieldsPreviewRequest(app=" + this.getApp() + ", lang=" + this.getLang() + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy