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

com.smartling.api.sdk.file.response.Error Maven / Gradle / Ivy

There is a newer version: 4.0.25
Show newest version
package com.smartling.api.sdk.file.response;

public class Error
{
    private String key;
    private String message;
    private ErrorDetails details;

    public String getKey()
    {
        return key;
    }

    public void setKey(String key)
    {
        this.key = key;
    }

    public String getMessage()
    {
        return message;
    }

    public void setMessage(String message)
    {
        this.message = message;
    }

    public ErrorDetails getDetails()
    {
        return details;
    }

    public void setDetails(ErrorDetails details)
    {
        this.details = details;
    }

    public Error (){};

    public Error(final String key, final String message, final ErrorDetails details)
    {
        this.key = key;
        this.message = message;
        this.details = details;
    }

    @Override public String toString()
    {
        return "Error{" +
                "key='" + key + '\'' +
                ", message='" + message + '\'' +
                ", details=" + details +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy