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

com.volcengine.model.request.translate.TranslateTextRequest Maven / Gradle / Ivy

There is a newer version: 1.0.192
Show newest version
package com.volcengine.model.request.translate;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
public class TranslateTextRequest {
    @JSONField(name = "SourceLanguage")
    String sourceLanguage;

    @JSONField(name = "TargetLanguage")
    String targetLanguage;

    @JSONField(name = "TextList")
    List textList;

    @JSONField(name = "Options")
    Options options;

    @Data
    public static class Options {
        @JSONField(name = "MimeType")
        String mimeType;
        @JSONField(name = "Category")
        String category;
        @JSONField(name = "Extra")
        Map extra;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy