com.aliyun.dingtalkokr_1_0.models.DeletePermissionResponseBody 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
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkokr_1_0.models;
import com.aliyun.tea.*;
public class DeletePermissionResponseBody extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("data")
public DeletePermissionResponseBodyData data;
/**
* example:
* true
*/
@NameInMap("success")
public Boolean success;
public static DeletePermissionResponseBody build(java.util.Map map) throws Exception {
DeletePermissionResponseBody self = new DeletePermissionResponseBody();
return TeaModel.build(map, self);
}
public DeletePermissionResponseBody setData(DeletePermissionResponseBodyData data) {
this.data = data;
return this;
}
public DeletePermissionResponseBodyData getData() {
return this.data;
}
public DeletePermissionResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class DeletePermissionResponseBodyDataPolicyListMemberList extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("id")
public String id;
@NameInMap("nickname")
public String nickname;
/**
* This parameter is required.
*/
@NameInMap("type")
public String type;
public static DeletePermissionResponseBodyDataPolicyListMemberList build(java.util.Map map) throws Exception {
DeletePermissionResponseBodyDataPolicyListMemberList self = new DeletePermissionResponseBodyDataPolicyListMemberList();
return TeaModel.build(map, self);
}
public DeletePermissionResponseBodyDataPolicyListMemberList setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public DeletePermissionResponseBodyDataPolicyListMemberList setNickname(String nickname) {
this.nickname = nickname;
return this;
}
public String getNickname() {
return this.nickname;
}
public DeletePermissionResponseBodyDataPolicyListMemberList setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}
public static class DeletePermissionResponseBodyDataPolicyList extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("memberList")
public java.util.List memberList;
/**
* This parameter is required.
*/
@NameInMap("name")
public String name;
/**
* This parameter is required.
*/
@NameInMap("type")
public Long type;
public static DeletePermissionResponseBodyDataPolicyList build(java.util.Map map) throws Exception {
DeletePermissionResponseBodyDataPolicyList self = new DeletePermissionResponseBodyDataPolicyList();
return TeaModel.build(map, self);
}
public DeletePermissionResponseBodyDataPolicyList setMemberList(java.util.List memberList) {
this.memberList = memberList;
return this;
}
public java.util.List getMemberList() {
return this.memberList;
}
public DeletePermissionResponseBodyDataPolicyList setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public DeletePermissionResponseBodyDataPolicyList setType(Long type) {
this.type = type;
return this;
}
public Long getType() {
return this.type;
}
}
public static class DeletePermissionResponseBodyData extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("id")
public String id;
/**
* This parameter is required.
*/
@NameInMap("policyList")
public java.util.List policyList;
/**
* This parameter is required.
*
* example:
* public
*/
@NameInMap("privacy")
public String privacy;
/**
* This parameter is required.
*
* example:
* period
*/
@NameInMap("type")
public String type;
public static DeletePermissionResponseBodyData build(java.util.Map map) throws Exception {
DeletePermissionResponseBodyData self = new DeletePermissionResponseBodyData();
return TeaModel.build(map, self);
}
public DeletePermissionResponseBodyData setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public DeletePermissionResponseBodyData setPolicyList(java.util.List policyList) {
this.policyList = policyList;
return this;
}
public java.util.List getPolicyList() {
return this.policyList;
}
public DeletePermissionResponseBodyData setPrivacy(String privacy) {
this.privacy = privacy;
return this;
}
public String getPrivacy() {
return this.privacy;
}
public DeletePermissionResponseBodyData setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}
}