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

com.verisec.frejaeid.client.beans.authentication.get.AuthenticationResults Maven / Gradle / Ivy

package com.verisec.frejaeid.client.beans.authentication.get;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.verisec.frejaeid.client.beans.common.FrejaHttpResponse;

import java.util.List;
import java.util.Objects;

public class AuthenticationResults implements FrejaHttpResponse {

    private final List authenticationResults;

    @JsonCreator
    public AuthenticationResults(@JsonProperty(value = "authenticationResults")
                                         List authenticationResults) {
        this.authenticationResults = authenticationResults;
    }

    public List getAuthenticationResults() {
        return authenticationResults;
    }

    @Override
    public int hashCode() {
        return Objects.hashCode(authenticationResults);
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final AuthenticationResults other = (AuthenticationResults) obj;
        if (!Objects.equals(this.authenticationResults, other.authenticationResults)) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "AuthenticationResults{" + "authenticationResults = " + authenticationResults + '}';
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy