com.atlan.model.admin.RoleResponse Maven / Gradle / Ivy
// Generated by delombok at Wed Oct 16 22:16:02 UTC 2024
/* SPDX-License-Identifier: Apache-2.0
Copyright 2022 Atlan Pte. Ltd. */
package com.atlan.model.admin;
import com.atlan.net.ApiResource;
import java.util.List;
public class RoleResponse extends ApiResource {
private static final long serialVersionUID = 2L;
Integer totalRecord;
Integer filterRecord;
List records;
@java.lang.SuppressWarnings("all")
@lombok.Generated
public Integer getTotalRecord() {
return this.totalRecord;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public Integer getFilterRecord() {
return this.filterRecord;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public List getRecords() {
return this.records;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof RoleResponse)) return false;
final RoleResponse other = (RoleResponse) o;
if (!other.canEqual((java.lang.Object) this)) return false;
final java.lang.Object this$totalRecord = this.getTotalRecord();
final java.lang.Object other$totalRecord = other.getTotalRecord();
if (this$totalRecord == null ? other$totalRecord != null : !this$totalRecord.equals(other$totalRecord)) return false;
final java.lang.Object this$filterRecord = this.getFilterRecord();
final java.lang.Object other$filterRecord = other.getFilterRecord();
if (this$filterRecord == null ? other$filterRecord != null : !this$filterRecord.equals(other$filterRecord)) return false;
final java.lang.Object this$records = this.getRecords();
final java.lang.Object other$records = other.getRecords();
if (this$records == null ? other$records != null : !this$records.equals(other$records)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof RoleResponse;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
final java.lang.Object $totalRecord = this.getTotalRecord();
result = result * PRIME + ($totalRecord == null ? 43 : $totalRecord.hashCode());
final java.lang.Object $filterRecord = this.getFilterRecord();
result = result * PRIME + ($filterRecord == null ? 43 : $filterRecord.hashCode());
final java.lang.Object $records = this.getRecords();
result = result * PRIME + ($records == null ? 43 : $records.hashCode());
return result;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public java.lang.String toString() {
return "RoleResponse(super=" + super.toString() + ", totalRecord=" + this.getTotalRecord() + ", filterRecord=" + this.getFilterRecord() + ", records=" + this.getRecords() + ")";
}
}