
com.kintone.client.model.app.RecordRight Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kintone-java-client Show documentation
Show all versions of kintone-java-client Show documentation
API client library for Kintone REST APIs on Java.
// Generated by delombok at Fri Jan 21 13:34:53 JST 2022
package com.kintone.client.model.app;
import java.util.List;
/**
* A Record permission of a record.
*/
public class RecordRight {
/**
* The filter condition in a query format.
*/
private String filterCond;
/**
* A list of the entities that the permissions are granted to.
*/
private List entities;
@java.lang.SuppressWarnings("all")
public RecordRight() {
}
/**
* The filter condition in a query format.
*/
@java.lang.SuppressWarnings("all")
public String getFilterCond() {
return this.filterCond;
}
/**
* A list of the entities that the permissions are granted to.
*/
@java.lang.SuppressWarnings("all")
public List getEntities() {
return this.entities;
}
/**
* The filter condition in a query format.
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public RecordRight setFilterCond(final String filterCond) {
this.filterCond = filterCond;
return this;
}
/**
* A list of the entities that the permissions are granted to.
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public RecordRight setEntities(final List entities) {
this.entities = entities;
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 RecordRight)) return false;
final RecordRight other = (RecordRight) o;
if (!other.canEqual((java.lang.Object) this)) 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$entities = this.getEntities();
final java.lang.Object other$entities = other.getEntities();
if (this$entities == null ? other$entities != null : !this$entities.equals(other$entities)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
protected boolean canEqual(final java.lang.Object other) {
return other instanceof RecordRight;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public int hashCode() {
final int PRIME = 59;
int result = 1;
final java.lang.Object $filterCond = this.getFilterCond();
result = result * PRIME + ($filterCond == null ? 43 : $filterCond.hashCode());
final java.lang.Object $entities = this.getEntities();
result = result * PRIME + ($entities == null ? 43 : $entities.hashCode());
return result;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "RecordRight(filterCond=" + this.getFilterCond() + ", entities=" + this.getEntities() + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy