com.aliyun.dingtalkdrive_1_0.models.GrantPrivilegeOfCustomSpaceRequest 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.dingtalkdrive_1_0.models;
import com.aliyun.tea.*;
public class GrantPrivilegeOfCustomSpaceRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("duration")
public Long duration;
/**
* This parameter is required.
*/
@NameInMap("fileIds")
public java.util.List fileIds;
/**
* This parameter is required.
*/
@NameInMap("type")
public String type;
/**
* This parameter is required.
*/
@NameInMap("unionId")
public String unionId;
/**
* This parameter is required.
*/
@NameInMap("userId")
public String userId;
public static GrantPrivilegeOfCustomSpaceRequest build(java.util.Map map) throws Exception {
GrantPrivilegeOfCustomSpaceRequest self = new GrantPrivilegeOfCustomSpaceRequest();
return TeaModel.build(map, self);
}
public GrantPrivilegeOfCustomSpaceRequest setDuration(Long duration) {
this.duration = duration;
return this;
}
public Long getDuration() {
return this.duration;
}
public GrantPrivilegeOfCustomSpaceRequest setFileIds(java.util.List fileIds) {
this.fileIds = fileIds;
return this;
}
public java.util.List getFileIds() {
return this.fileIds;
}
public GrantPrivilegeOfCustomSpaceRequest setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public GrantPrivilegeOfCustomSpaceRequest setUnionId(String unionId) {
this.unionId = unionId;
return this;
}
public String getUnionId() {
return this.unionId;
}
public GrantPrivilegeOfCustomSpaceRequest setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}