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

com.languageweaver.sdk.translate.request.edge.EdgeTranslateTextRequest Maven / Gradle / Ivy

package com.languageweaver.sdk.translate.request.edge;

import com.languageweaver.sdk.translate.request.TranslateTextRequest;

import java.util.List;

public class EdgeTranslateTextRequest extends TranslateTextRequest {

    private String languagePairId;
    private String outputFormat;
    private String title;
    private String encoding;

    public EdgeTranslateTextRequest addInput(String input) {
        super.addInput(input);
        return this;
    }

    public EdgeTranslateTextRequest setInput(List input) {
        super.setInput(input);
        return this;
    }

    public EdgeTranslateTextRequest setSourceLanguageId(String sourceLanguageId) {
        super.setSourceLanguageId(sourceLanguageId);
        return this;
    }

    public EdgeTranslateTextRequest setTargetLanguageId(String targetLanguageId) {
        super.setTargetLanguageId(targetLanguageId);
        return this;
    }

    public EdgeTranslateTextRequest setModel(String model) {
        super.setModel(model);
        return this;
    }

    public String getLanguagePairId() {
        return languagePairId;
    }

    public EdgeTranslateTextRequest setLanguagePairId(String languagePairId) {
        this.languagePairId = languagePairId;
        return this;
    }

    public String getInputFormat() {
        return inputFormat;
    }

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

    public String getOutputFormat() {
        return outputFormat;
    }

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

    public String getTitle() {
        return title;
    }

    public EdgeTranslateTextRequest setTitle(String title) {
        this.title = title;
        return this;
    }

    public EdgeTranslateTextRequest setDictionaryIds(List dictionaryIds) {
        super.setDictionaries(dictionaryIds);
        return this;
    }

    public EdgeTranslateTextRequest addDictionary(String dictionaryId) {
        super.addDictionary(dictionaryId);
        return this;
    }

    public String getEncoding() {
        return encoding;
    }

    public EdgeTranslateTextRequest setEncoding(String encoding) {
        this.encoding = encoding;
        return this;
    }

}






© 2015 - 2024 Weber Informatics LLC | Privacy Policy