com.aliyun.dingtalkcontact_1_0.models.TranslateFileRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingtalk Show documentation
Show all versions of dingtalk Show documentation
Alibaba Cloud dingtalk SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkcontact_1_0.models;
import com.aliyun.tea.*;
public class TranslateFileRequest extends TeaModel {
// key为钉盘文件mediaId,#号开头。只支持xlsx,xls,csv,txt文件。 value为文件名,包含文件扩展名。 不超过20个文件,可以调用单步文件上传接口获取。
@NameInMap("medias")
public java.util.Map medias;
// 若medias中文件个数大于1,则该字段必填。 转译完打包的文件名,不需带后缀。钉钉后台会打包成zip压缩文件,并自动拼接上.zip后缀。
@NameInMap("outputFileName")
public String outputFileName;
// unionId
@NameInMap("unionId")
public String unionId;
public static TranslateFileRequest build(java.util.Map map) throws Exception {
TranslateFileRequest self = new TranslateFileRequest();
return TeaModel.build(map, self);
}
public TranslateFileRequest setMedias(java.util.Map medias) {
this.medias = medias;
return this;
}
public java.util.Map getMedias() {
return this.medias;
}
public TranslateFileRequest setOutputFileName(String outputFileName) {
this.outputFileName = outputFileName;
return this;
}
public String getOutputFileName() {
return this.outputFileName;
}
public TranslateFileRequest setUnionId(String unionId) {
this.unionId = unionId;
return this;
}
public String getUnionId() {
return this.unionId;
}
}