com.aliyun.dingtalkokr_1_0.models.UpdatePrivacyResponseBody 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 UpdatePrivacyResponseBody extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("data")
public UpdatePrivacyResponseBodyData data;
/**
* example:
* true
*/
@NameInMap("success")
public Boolean success;
public static UpdatePrivacyResponseBody build(java.util.Map map) throws Exception {
UpdatePrivacyResponseBody self = new UpdatePrivacyResponseBody();
return TeaModel.build(map, self);
}
public UpdatePrivacyResponseBody setData(UpdatePrivacyResponseBodyData data) {
this.data = data;
return this;
}
public UpdatePrivacyResponseBodyData getData() {
return this.data;
}
public UpdatePrivacyResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class UpdatePrivacyResponseBodyDataPolicyListMemberList 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 UpdatePrivacyResponseBodyDataPolicyListMemberList build(java.util.Map map) throws Exception {
UpdatePrivacyResponseBodyDataPolicyListMemberList self = new UpdatePrivacyResponseBodyDataPolicyListMemberList();
return TeaModel.build(map, self);
}
public UpdatePrivacyResponseBodyDataPolicyListMemberList setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public UpdatePrivacyResponseBodyDataPolicyListMemberList setNickname(String nickname) {
this.nickname = nickname;
return this;
}
public String getNickname() {
return this.nickname;
}
public UpdatePrivacyResponseBodyDataPolicyListMemberList setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}
public static class UpdatePrivacyResponseBodyDataPolicyList 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 UpdatePrivacyResponseBodyDataPolicyList build(java.util.Map map) throws Exception {
UpdatePrivacyResponseBodyDataPolicyList self = new UpdatePrivacyResponseBodyDataPolicyList();
return TeaModel.build(map, self);
}
public UpdatePrivacyResponseBodyDataPolicyList setMemberList(java.util.List memberList) {
this.memberList = memberList;
return this;
}
public java.util.List getMemberList() {
return this.memberList;
}
public UpdatePrivacyResponseBodyDataPolicyList setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public UpdatePrivacyResponseBodyDataPolicyList setType(Long type) {
this.type = type;
return this;
}
public Long getType() {
return this.type;
}
}
public static class UpdatePrivacyResponseBodyData 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 UpdatePrivacyResponseBodyData build(java.util.Map map) throws Exception {
UpdatePrivacyResponseBodyData self = new UpdatePrivacyResponseBodyData();
return TeaModel.build(map, self);
}
public UpdatePrivacyResponseBodyData setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public UpdatePrivacyResponseBodyData setPolicyList(java.util.List policyList) {
this.policyList = policyList;
return this;
}
public java.util.List getPolicyList() {
return this.policyList;
}
public UpdatePrivacyResponseBodyData setPrivacy(String privacy) {
this.privacy = privacy;
return this;
}
public String getPrivacy() {
return this.privacy;
}
public UpdatePrivacyResponseBodyData setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}
}