com.kintone.client.api.app.EvaluateRecordAclResponseBody 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.KintoneResponseBody;
import com.kintone.client.model.app.EvaluatedRecordRight;
import java.util.List;
/**
* A response object for Evaluate Record Acl API.
*/
public final class EvaluateRecordAclResponseBody implements KintoneResponseBody {
/**
* The list of objects that contain permission settings of the specified records.
*/
private final List rights;
@java.beans.ConstructorProperties({"rights"})
@java.lang.SuppressWarnings("all")
public EvaluateRecordAclResponseBody(final List rights) {
this.rights = rights;
}
/**
* The list of objects that contain permission settings of the specified records.
*/
@java.lang.SuppressWarnings("all")
public List getRights() {
return this.rights;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof EvaluateRecordAclResponseBody)) return false;
final EvaluateRecordAclResponseBody other = (EvaluateRecordAclResponseBody) o;
final java.lang.Object this$rights = this.getRights();
final java.lang.Object other$rights = other.getRights();
if (this$rights == null ? other$rights != null : !this$rights.equals(other$rights)) return false;
return true;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public int hashCode() {
final int PRIME = 59;
int result = 1;
final java.lang.Object $rights = this.getRights();
result = result * PRIME + ($rights == null ? 43 : $rights.hashCode());
return result;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "EvaluateRecordAclResponseBody(rights=" + this.getRights() + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy