com.aliyun.dingtalkcontact_1_0.models.ChangeMainAdminRequest 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.dingtalkcontact_1_0.models;
import com.aliyun.tea.*;
public class ChangeMainAdminRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* corpIdCCC
*/
@NameInMap("effectCorpId")
public String effectCorpId;
/**
* This parameter is required.
*
* example:
* userIdAA
*/
@NameInMap("sourceUserId")
public String sourceUserId;
/**
* This parameter is required.
*
* example:
* userIdBB
*/
@NameInMap("targetUserId")
public String targetUserId;
public static ChangeMainAdminRequest build(java.util.Map map) throws Exception {
ChangeMainAdminRequest self = new ChangeMainAdminRequest();
return TeaModel.build(map, self);
}
public ChangeMainAdminRequest setEffectCorpId(String effectCorpId) {
this.effectCorpId = effectCorpId;
return this;
}
public String getEffectCorpId() {
return this.effectCorpId;
}
public ChangeMainAdminRequest setSourceUserId(String sourceUserId) {
this.sourceUserId = sourceUserId;
return this;
}
public String getSourceUserId() {
return this.sourceUserId;
}
public ChangeMainAdminRequest setTargetUserId(String targetUserId) {
this.targetUserId = targetUserId;
return this;
}
public String getTargetUserId() {
return this.targetUserId;
}
}