com.aliyun.dingtalktrip_1_0.models.UpgradeTemplateRequest 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.dingtalktrip_1_0.models;
import com.aliyun.tea.*;
public class UpgradeTemplateRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* dingcd2016f425331dc1acaaa37764f94726
*/
@NameInMap("channelCorpId")
public String channelCorpId;
@NameInMap("forceUpgrade")
public Boolean forceUpgrade;
/**
* This parameter is required.
*
* example:
* dingcd2016f425331dc1acaaa37764f94726
*/
@NameInMap("tmcCorpId")
public String tmcCorpId;
public static UpgradeTemplateRequest build(java.util.Map map) throws Exception {
UpgradeTemplateRequest self = new UpgradeTemplateRequest();
return TeaModel.build(map, self);
}
public UpgradeTemplateRequest setChannelCorpId(String channelCorpId) {
this.channelCorpId = channelCorpId;
return this;
}
public String getChannelCorpId() {
return this.channelCorpId;
}
public UpgradeTemplateRequest setForceUpgrade(Boolean forceUpgrade) {
this.forceUpgrade = forceUpgrade;
return this;
}
public Boolean getForceUpgrade() {
return this.forceUpgrade;
}
public UpgradeTemplateRequest setTmcCorpId(String tmcCorpId) {
this.tmcCorpId = tmcCorpId;
return this;
}
public String getTmcCorpId() {
return this.tmcCorpId;
}
}