All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.atlan.model.admin.ApiTokenResponse Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
// Generated by delombok at Thu Oct 10 18:56:32 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 ApiTokenResponse 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 ApiTokenResponse)) return false;
        final ApiTokenResponse other = (ApiTokenResponse) 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 ApiTokenResponse;
    }

    @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 "ApiTokenResponse(super=" + super.toString() + ", totalRecord=" + this.getTotalRecord() + ", filterRecord=" + this.getFilterRecord() + ", records=" + this.getRecords() + ")";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy