com.sdl.translate.request.TranslateTextRequest Maven / Gradle / Ivy
package com.sdl.translate.request;
import java.util.ArrayList;
import java.util.List;
public class TranslateTextRequest extends TranslateRequest {
private List input = new ArrayList();
public List getInput() {
return input;
}
public void setInput(List input) {
this.input = input;
}
public TranslateTextRequest addInput(String input) {
this.input.add(input);
return this;
}
public String getSourceLanguageId() {
return sourceLanguageId;
}
public TranslateTextRequest setSourceLanguageId(String sourceLanguageId) {
this.sourceLanguageId = sourceLanguageId;
return this;
}
public String getTargetLanguageId() {
return targetLanguageId;
}
public TranslateTextRequest setTargetLanguageId(String targetLanguageId) {
this.targetLanguageId = targetLanguageId;
return this;
}
public String getModel() {
return model;
}
public TranslateTextRequest setModel(String model) {
this.model = model;
return this;
}
public Integer getQuality() {
return quality;
}
public TranslateTextRequest setQuality(Integer quality) {
this.quality = quality;
return this;
}
public String getInputFormat() {
return inputFormat;
}
public TranslateTextRequest setInputFormat(String inputFormat) {
this.inputFormat = inputFormat;
return this;
}
public String getSubmissionType() {
return submissionType;
}
public TranslateTextRequest setSubmissionType(String submissionType) {
this.submissionType = submissionType;
return this;
}
public List getDictionaries() {
return dictionaries;
}
public TranslateTextRequest setDictionaries(List dictionaries) {
this.dictionaries = dictionaries;
return this;
}
public TranslateTextRequest addDictionary(String dictionary) {
this.dictionaries.add(dictionary);
return this;
}
public String getTranslationMode() {
return translationMode;
}
public TranslateTextRequest setTranslationMode(String translationMode) {
this.translationMode = translationMode;
return this;
}
}