
com.kintone.client.model.app.layout.RowLayout Maven / Gradle / Ivy
// Generated by delombok at Fri Jan 21 13:34:53 JST 2022
package com.kintone.client.model.app.layout;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.util.List;
/**
* A layout information corresponding to a row.
*/
@JsonIgnoreProperties(value = "type", allowGetters = true)
public class RowLayout implements Layout {
/**
* A list of fields in the row.
*/
private List fields;
/**
* {@inheritDoc}
*/
@Override
public LayoutType getType() {
return LayoutType.ROW;
}
@java.lang.SuppressWarnings("all")
public RowLayout() {
}
/**
* A list of fields in the row.
*/
@java.lang.SuppressWarnings("all")
public List getFields() {
return this.fields;
}
/**
* A list of fields in the row.
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public RowLayout setFields(final List fields) {
this.fields = fields;
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 RowLayout)) return false;
final RowLayout other = (RowLayout) o;
if (!other.canEqual((java.lang.Object) this)) return false;
final java.lang.Object this$fields = this.getFields();
final java.lang.Object other$fields = other.getFields();
if (this$fields == null ? other$fields != null : !this$fields.equals(other$fields)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
protected boolean canEqual(final java.lang.Object other) {
return other instanceof RowLayout;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public int hashCode() {
final int PRIME = 59;
int result = 1;
final java.lang.Object $fields = this.getFields();
result = result * PRIME + ($fields == null ? 43 : $fields.hashCode());
return result;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "RowLayout(fields=" + this.getFields() + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy