com.kintone.client.api.app.GetFieldAclResponseBody 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.FieldRight;
import java.util.List;
/**
* A response object for Get Field Acl API.
*/
public final class GetFieldAclResponseBody implements KintoneResponseBody {
/**
* A list of objects that contain data of permission settings.
*/
private final List rights;
/**
* The revision number of the App settings.
*/
private final long revision;
@java.beans.ConstructorProperties({"rights", "revision"})
@java.lang.SuppressWarnings("all")
public GetFieldAclResponseBody(final List rights, final long revision) {
this.rights = rights;
this.revision = revision;
}
/**
* A list of objects that contain data of permission settings.
*/
@java.lang.SuppressWarnings("all")
public List getRights() {
return this.rights;
}
/**
* The revision number of the App settings.
*/
@java.lang.SuppressWarnings("all")
public long getRevision() {
return this.revision;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof GetFieldAclResponseBody)) return false;
final GetFieldAclResponseBody other = (GetFieldAclResponseBody) o;
if (this.getRevision() != other.getRevision()) return false;
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 long $revision = this.getRevision();
result = result * PRIME + (int) ($revision >>> 32 ^ $revision);
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 "GetFieldAclResponseBody(rights=" + this.getRights() + ", revision=" + this.getRevision() + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy