com.aliyun.dingtalkexclusive_1_0.models.FileStorageActiveStorageRequest 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.dingtalkexclusive_1_0.models;
import com.aliyun.tea.*;
public class FileStorageActiveStorageRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* sampleKeyId1234
*/
@NameInMap("accessKeyId")
public String accessKeyId;
/**
* This parameter is required.
*
* example:
* sampleSecretId1234
*/
@NameInMap("accessKeySecret")
public String accessKeySecret;
/**
* This parameter is required.
*
* example:
* https://oss.aliyuncs.com/bucket-name/
*/
@NameInMap("oss")
public String oss;
/**
* This parameter is required.
*
* example:
* dingxxxxxxxxxxxx
*/
@NameInMap("targetCorpId")
public String targetCorpId;
public static FileStorageActiveStorageRequest build(java.util.Map map) throws Exception {
FileStorageActiveStorageRequest self = new FileStorageActiveStorageRequest();
return TeaModel.build(map, self);
}
public FileStorageActiveStorageRequest setAccessKeyId(String accessKeyId) {
this.accessKeyId = accessKeyId;
return this;
}
public String getAccessKeyId() {
return this.accessKeyId;
}
public FileStorageActiveStorageRequest setAccessKeySecret(String accessKeySecret) {
this.accessKeySecret = accessKeySecret;
return this;
}
public String getAccessKeySecret() {
return this.accessKeySecret;
}
public FileStorageActiveStorageRequest setOss(String oss) {
this.oss = oss;
return this;
}
public String getOss() {
return this.oss;
}
public FileStorageActiveStorageRequest setTargetCorpId(String targetCorpId) {
this.targetCorpId = targetCorpId;
return this;
}
public String getTargetCorpId() {
return this.targetCorpId;
}
}