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

com.tradeshift.sdk.linelinker.domain.Result Maven / Gradle / Ivy

/*
 * Copyright (c) 2018 Tradeshift Inc. and/or its affiliates. All rights reserved.
 */
package com.tradeshift.sdk.linelinker.domain;

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

import com.tradeshift.sdk.core.domain.ContextMsg;
import com.tradeshift.sdk.core.domain.UserContext;


public class Result extends ContextMsg {

    private List result;

    public Result(UserContext ctx, List result) {
        super(ctx);
        this.result = result;
    }

    public List getResult() {
        return result;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        if (!super.equals(o)) {
            return false;
        }
        Result result1 = (Result) o;
        return Objects.equals(result, result1.result);
    }

    @Override
    public int hashCode() {
        return Objects.hash(super.hashCode(), result);
    }

    @Override
    public String toString() {
        return "Result{" +
                "result=" + result +
                '}';
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy