com.aliyun.dingtalkokr_1_0.models.DeletePermissionRequest 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.dingtalkokr_1_0.models;
import com.aliyun.tea.*;
public class DeletePermissionRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("id")
public String id;
/**
* This parameter is required.
*/
@NameInMap("policyType")
public Long policyType;
/**
* This parameter is required.
*/
@NameInMap("targetId")
public String targetId;
/**
* This parameter is required.
*/
@NameInMap("targetType")
public String targetType;
/**
* This parameter is required.
*/
@NameInMap("type")
public String type;
/**
* This parameter is required.
*
* example:
* 0115396701752283
*/
@NameInMap("userId")
public String userId;
public static DeletePermissionRequest build(java.util.Map map) throws Exception {
DeletePermissionRequest self = new DeletePermissionRequest();
return TeaModel.build(map, self);
}
public DeletePermissionRequest setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public DeletePermissionRequest setPolicyType(Long policyType) {
this.policyType = policyType;
return this;
}
public Long getPolicyType() {
return this.policyType;
}
public DeletePermissionRequest setTargetId(String targetId) {
this.targetId = targetId;
return this;
}
public String getTargetId() {
return this.targetId;
}
public DeletePermissionRequest setTargetType(String targetType) {
this.targetType = targetType;
return this;
}
public String getTargetType() {
return this.targetType;
}
public DeletePermissionRequest setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public DeletePermissionRequest setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}