
com.kintone.client.model.app.field.ReferenceTable Maven / Gradle / Ivy
// Generated by delombok at Fri Jan 21 13:34:53 JST 2022
package com.kintone.client.model.app.field;
import java.util.List;
/**
* An object containing the settings of the Related Records field.
*/
public class ReferenceTable {
/**
* An object containing data of the "Datasource App" setting.
*/
private RelatedApp relatedApp;
/**
* An object containing data of the "Fetch Criteria" setting.
*/
private ReferenceTableCondition condition;
/**
* The "Filter" setting, in a query format.
*/
private String filterCond;
/**
* A list of field codes of fields specified in the "Datasource App Fields to Display" setting.
*/
private List displayFields;
/**
* The "Display Order" setting, in a query format.
*/
private String sort;
/**
* The "Max Records to Display at a Time" setting.
*/
private Long size;
@java.lang.SuppressWarnings("all")
public ReferenceTable() {
}
/**
* An object containing data of the "Datasource App" setting.
*/
@java.lang.SuppressWarnings("all")
public RelatedApp getRelatedApp() {
return this.relatedApp;
}
/**
* An object containing data of the "Fetch Criteria" setting.
*/
@java.lang.SuppressWarnings("all")
public ReferenceTableCondition getCondition() {
return this.condition;
}
/**
* The "Filter" setting, in a query format.
*/
@java.lang.SuppressWarnings("all")
public String getFilterCond() {
return this.filterCond;
}
/**
* A list of field codes of fields specified in the "Datasource App Fields to Display" setting.
*/
@java.lang.SuppressWarnings("all")
public List getDisplayFields() {
return this.displayFields;
}
/**
* The "Display Order" setting, in a query format.
*/
@java.lang.SuppressWarnings("all")
public String getSort() {
return this.sort;
}
/**
* The "Max Records to Display at a Time" setting.
*/
@java.lang.SuppressWarnings("all")
public Long getSize() {
return this.size;
}
/**
* An object containing data of the "Datasource App" setting.
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public ReferenceTable setRelatedApp(final RelatedApp relatedApp) {
this.relatedApp = relatedApp;
return this;
}
/**
* An object containing data of the "Fetch Criteria" setting.
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public ReferenceTable setCondition(final ReferenceTableCondition condition) {
this.condition = condition;
return this;
}
/**
* The "Filter" setting, in a query format.
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public ReferenceTable setFilterCond(final String filterCond) {
this.filterCond = filterCond;
return this;
}
/**
* A list of field codes of fields specified in the "Datasource App Fields to Display" setting.
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public ReferenceTable setDisplayFields(final List displayFields) {
this.displayFields = displayFields;
return this;
}
/**
* The "Display Order" setting, in a query format.
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public ReferenceTable setSort(final String sort) {
this.sort = sort;
return this;
}
/**
* The "Max Records to Display at a Time" setting.
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public ReferenceTable setSize(final Long size) {
this.size = size;
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 ReferenceTable)) return false;
final ReferenceTable other = (ReferenceTable) o;
if (!other.canEqual((java.lang.Object) this)) return false;
final java.lang.Object this$size = this.getSize();
final java.lang.Object other$size = other.getSize();
if (this$size == null ? other$size != null : !this$size.equals(other$size)) return false;
final java.lang.Object this$relatedApp = this.getRelatedApp();
final java.lang.Object other$relatedApp = other.getRelatedApp();
if (this$relatedApp == null ? other$relatedApp != null : !this$relatedApp.equals(other$relatedApp)) return false;
final java.lang.Object this$condition = this.getCondition();
final java.lang.Object other$condition = other.getCondition();
if (this$condition == null ? other$condition != null : !this$condition.equals(other$condition)) return false;
final java.lang.Object this$filterCond = this.getFilterCond();
final java.lang.Object other$filterCond = other.getFilterCond();
if (this$filterCond == null ? other$filterCond != null : !this$filterCond.equals(other$filterCond)) return false;
final java.lang.Object this$displayFields = this.getDisplayFields();
final java.lang.Object other$displayFields = other.getDisplayFields();
if (this$displayFields == null ? other$displayFields != null : !this$displayFields.equals(other$displayFields)) return false;
final java.lang.Object this$sort = this.getSort();
final java.lang.Object other$sort = other.getSort();
if (this$sort == null ? other$sort != null : !this$sort.equals(other$sort)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
protected boolean canEqual(final java.lang.Object other) {
return other instanceof ReferenceTable;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public int hashCode() {
final int PRIME = 59;
int result = 1;
final java.lang.Object $size = this.getSize();
result = result * PRIME + ($size == null ? 43 : $size.hashCode());
final java.lang.Object $relatedApp = this.getRelatedApp();
result = result * PRIME + ($relatedApp == null ? 43 : $relatedApp.hashCode());
final java.lang.Object $condition = this.getCondition();
result = result * PRIME + ($condition == null ? 43 : $condition.hashCode());
final java.lang.Object $filterCond = this.getFilterCond();
result = result * PRIME + ($filterCond == null ? 43 : $filterCond.hashCode());
final java.lang.Object $displayFields = this.getDisplayFields();
result = result * PRIME + ($displayFields == null ? 43 : $displayFields.hashCode());
final java.lang.Object $sort = this.getSort();
result = result * PRIME + ($sort == null ? 43 : $sort.hashCode());
return result;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "ReferenceTable(relatedApp=" + this.getRelatedApp() + ", condition=" + this.getCondition() + ", filterCond=" + this.getFilterCond() + ", displayFields=" + this.getDisplayFields() + ", sort=" + this.getSort() + ", size=" + this.getSize() + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy