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

com.volcengine.model.response.translate.TranslateTextResponse Maven / Gradle / Ivy

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

import com.alibaba.fastjson.annotation.JSONField;
import com.volcengine.model.response.ResponseMetadata;
import lombok.Data;

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

@Data
public class TranslateTextResponse {
    @JSONField(name = "ResponseMetadata")
    ResponseMetadata responseMetadata;
    @JSONField(name = "TranslationList")
    List translationList;

    @Data
    public static class Translation {
        @JSONField(name = "Translation")
        String translation;
        @JSONField(name = "DetectedSourceLanguage")
        String detectedSourceLanguage;
        @JSONField(name = "Extra")
        Map extra;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy