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

com.sdl.translate.responses.StatusTranslationResponse Maven / Gradle / Ivy

package com.sdl.translate.responses;

import sdl.com.api.ErrorResponse;

import java.util.List;

public class StatusTranslationResponse {

    private String translationStatus;
    private String inputFormat;
    private String outputFormat;
    private TranslationStatistics translationStats;
    private List errors;

    public String getTranslationStatus() {
        return translationStatus;
    }

    public StatusTranslationResponse setTranslationStatus(String translationStatus) {
        this.translationStatus = translationStatus;
        return this;
    }

    public String getInputFormat() {
        return inputFormat;
    }

    public StatusTranslationResponse setInputFormat(String inputFormat) {
        this.inputFormat = inputFormat;
        return this;
    }

    public String getOutputFormat() {
        return outputFormat;
    }

    public StatusTranslationResponse setOutputFormat(String outputFormat) {
        this.outputFormat = outputFormat;
        return this;
    }

    public TranslationStatistics getTranslationStats() {
        return translationStats;
    }

    public StatusTranslationResponse setTranslationStats(TranslationStatistics translationStats) {
        this.translationStats = translationStats;
        return this;
    }

    public List getErrors() {
        return errors;
    }

    public StatusTranslationResponse setErrors(List errors) {
        this.errors = errors;
        return this;
    }

    @Override
    public String toString() {
        return "StatusTranslationResponse{" +
                "translationStatus='" + translationStatus + '\'' +
                ", inputFormat='" + inputFormat + '\'' +
                ", outputFormat='" + outputFormat + '\'' +
                ", translationStats=" + translationStats +
                ", errors=" + errors +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy