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

com.languageweaver.sdk.translate.result.cloud.CloudTranslationTextResult Maven / Gradle / Ivy

package com.languageweaver.sdk.translate.result.cloud;

import com.languageweaver.sdk.translate.responses.TranslationStatistics;

import java.util.List;

public class CloudTranslationTextResult {

    private List translation;
    private TranslationStatistics translationStats;
    private String requestId;
    private String inputFormat;
    private String outputFormat;
    private String sourceLanguageId;
    private String targetLanguageId;
    private String model;

    public TranslationStatistics getTranslationStats() {
        return translationStats;
    }

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

    public String getRequestId() {
        return requestId;
    }

    public CloudTranslationTextResult setRequestId(String requestId) {
        this.requestId = requestId;
        return this;
    }

    public String getInputFormat() {
        return inputFormat;
    }

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

    public String getOutputFormat() {
        return outputFormat;
    }

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

    public List getTranslation() {
        return translation;
    }

    public CloudTranslationTextResult setTranslation(List translation) {
        this.translation = translation;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy