com.aliyun.dingtalkats_1_0.models.AddFileRequest 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.dingtalkats_1_0.models;
import com.aliyun.tea.*;
public class AddFileRequest extends TeaModel {
/**
* example:
* ddats
*/
@NameInMap("bizCode")
public String bizCode;
/**
* This parameter is required.
*
* example:
* 张三的简历
*/
@NameInMap("fileName")
public String fileName;
/**
* This parameter is required.
*
* example:
* xxx
*/
@NameInMap("mediaId")
public String mediaId;
/**
* example:
* manager5875
*/
@NameInMap("opUserId")
public String opUserId;
public static AddFileRequest build(java.util.Map map) throws Exception {
AddFileRequest self = new AddFileRequest();
return TeaModel.build(map, self);
}
public AddFileRequest setBizCode(String bizCode) {
this.bizCode = bizCode;
return this;
}
public String getBizCode() {
return this.bizCode;
}
public AddFileRequest setFileName(String fileName) {
this.fileName = fileName;
return this;
}
public String getFileName() {
return this.fileName;
}
public AddFileRequest setMediaId(String mediaId) {
this.mediaId = mediaId;
return this;
}
public String getMediaId() {
return this.mediaId;
}
public AddFileRequest setOpUserId(String opUserId) {
this.opUserId = opUserId;
return this;
}
public String getOpUserId() {
return this.opUserId;
}
}