
com.kintone.client.api.app.EvaluateRecordAclRequest 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;
import java.util.List;
/**
* A request object for Evaluate Record Acl API.
*/
public class EvaluateRecordAclRequest implements KintoneRequest {
/**
* The App ID (required).
*/
private Long app;
/**
* The list of record IDs that will be evaluated (required).
*/
private List ids;
@java.lang.SuppressWarnings("all")
public EvaluateRecordAclRequest() {
}
/**
* The App ID (required).
*/
@java.lang.SuppressWarnings("all")
public Long getApp() {
return this.app;
}
/**
* The list of record IDs that will be evaluated (required).
*/
@java.lang.SuppressWarnings("all")
public List getIds() {
return this.ids;
}
/**
* The App ID (required).
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public EvaluateRecordAclRequest setApp(final Long app) {
this.app = app;
return this;
}
/**
* The list of record IDs that will be evaluated (required).
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public EvaluateRecordAclRequest setIds(final List ids) {
this.ids = ids;
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 EvaluateRecordAclRequest)) return false;
final EvaluateRecordAclRequest other = (EvaluateRecordAclRequest) 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$ids = this.getIds();
final java.lang.Object other$ids = other.getIds();
if (this$ids == null ? other$ids != null : !this$ids.equals(other$ids)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
protected boolean canEqual(final java.lang.Object other) {
return other instanceof EvaluateRecordAclRequest;
}
@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 $ids = this.getIds();
result = result * PRIME + ($ids == null ? 43 : $ids.hashCode());
return result;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "EvaluateRecordAclRequest(app=" + this.getApp() + ", ids=" + this.getIds() + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy