com.aliyun.dingtalkexclusive_1_0.models.ExchangeMainAdminRequest 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.dingtalkexclusive_1_0.models;
import com.aliyun.tea.*;
public class ExchangeMainAdminRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* 509999
*/
@NameInMap("newAdminUserId")
public String newAdminUserId;
/**
* This parameter is required.
*
* example:
* 4045678
*/
@NameInMap("oldAdminUserId")
public String oldAdminUserId;
/**
* This parameter is required.
*
* example:
* dingxxxxxxxxxxxxx
*/
@NameInMap("targetCorpId")
public String targetCorpId;
public static ExchangeMainAdminRequest build(java.util.Map map) throws Exception {
ExchangeMainAdminRequest self = new ExchangeMainAdminRequest();
return TeaModel.build(map, self);
}
public ExchangeMainAdminRequest setNewAdminUserId(String newAdminUserId) {
this.newAdminUserId = newAdminUserId;
return this;
}
public String getNewAdminUserId() {
return this.newAdminUserId;
}
public ExchangeMainAdminRequest setOldAdminUserId(String oldAdminUserId) {
this.oldAdminUserId = oldAdminUserId;
return this;
}
public String getOldAdminUserId() {
return this.oldAdminUserId;
}
public ExchangeMainAdminRequest setTargetCorpId(String targetCorpId) {
this.targetCorpId = targetCorpId;
return this;
}
public String getTargetCorpId() {
return this.targetCorpId;
}
}