public boolean equals()

in uber-core/src/main/java/com/uber/sdk/core/auth/AccessToken.java [129:143]


    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        AccessToken that = (AccessToken) o;

        if (expires_in != that.expires_in) return false;
        if (scope != null ? !scope.equals(that.scope) : that.scope != null) return false;
        if (access_token != null ? !access_token.equals(that.access_token) : that.access_token != null)
            return false;
        if (refresh_token != null ? !refresh_token.equals(that.refresh_token) : that.refresh_token != null)
            return false;
        return token_type != null ? token_type.equals(that.token_type) : that.token_type == null;

    }