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

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

There is a newer version: 3.0.0
Show newest version
// Generated by delombok at Wed Oct 16 22:16:03 UTC 2024
/* SPDX-License-Identifier: Apache-2.0
   Copyright 2022 Atlan Pte. Ltd. */
package com.atlan.model.admin;

import com.atlan.net.ApiResource;
import com.atlan.serde.SessionResponseDeserializer;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import java.util.List;

@JsonDeserialize(using = SessionResponseDeserializer.class)
public class SessionResponse extends ApiResource {
    private static final long serialVersionUID = 2L;
    List sessions;

    public SessionResponse(List sessions) {
        this.sessions = sessions;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public List getSessions() {
        return this.sessions;
    }

    @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 SessionResponse)) return false;
        final SessionResponse other = (SessionResponse) o;
        if (!other.canEqual((java.lang.Object) this)) return false;
        final java.lang.Object this$sessions = this.getSessions();
        final java.lang.Object other$sessions = other.getSessions();
        if (this$sessions == null ? other$sessions != null : !this$sessions.equals(other$sessions)) return false;
        return true;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    protected boolean canEqual(final java.lang.Object other) {
        return other instanceof SessionResponse;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final java.lang.Object $sessions = this.getSessions();
        result = result * PRIME + ($sessions == null ? 43 : $sessions.hashCode());
        return result;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public java.lang.String toString() {
        return "SessionResponse(super=" + super.toString() + ", sessions=" + this.getSessions() + ")";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy