com.aliyun.dingtalkokr_1_0.models.UpdatePrivacyRequest 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 UpdatePrivacyRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* public
*/
@NameInMap("privacy")
public String privacy;
/**
* This parameter is required.
*
* example:
* 3RF5
*/
@NameInMap("targetId")
public String targetId;
/**
* This parameter is required.
*
* example:
* 2
*/
@NameInMap("targetType")
public String targetType;
/**
* This parameter is required.
*
* example:
* 0115396701752283
*/
@NameInMap("userId")
public String userId;
public static UpdatePrivacyRequest build(java.util.Map map) throws Exception {
UpdatePrivacyRequest self = new UpdatePrivacyRequest();
return TeaModel.build(map, self);
}
public UpdatePrivacyRequest setPrivacy(String privacy) {
this.privacy = privacy;
return this;
}
public String getPrivacy() {
return this.privacy;
}
public UpdatePrivacyRequest setTargetId(String targetId) {
this.targetId = targetId;
return this;
}
public String getTargetId() {
return this.targetId;
}
public UpdatePrivacyRequest setTargetType(String targetType) {
this.targetType = targetType;
return this;
}
public String getTargetType() {
return this.targetType;
}
public UpdatePrivacyRequest setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}