com.aliyun.dingtalktrip_1_0.models.SyncCostCenterRequest 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.dingtalktrip_1_0.models;
import com.aliyun.tea.*;
public class SyncCostCenterRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* ding89233847892ndkas
*/
@NameInMap("channelCorpId")
public String channelCorpId;
/**
* This parameter is required.
*/
@NameInMap("costCenterId")
public String costCenterId;
/**
* if can be null:
* false
*/
@NameInMap("deleteFlag")
public Boolean deleteFlag;
/**
* if can be null:
* true
*/
@NameInMap("extension")
public String extension;
/**
* This parameter is required.
*
* example:
* 2022-02-21 11:11:11
*/
@NameInMap("gmtAction")
public String gmtAction;
/**
* example:
* 123456
*/
@NameInMap("number")
public String number;
/**
* example:
* 1
*/
@NameInMap("scope")
public Integer scope;
/**
* example:
* 阿里商旅
*/
@NameInMap("source")
public String source;
@NameInMap("thirdPartId")
public String thirdPartId;
/**
* This parameter is required.
*
* example:
* 默认成本中心
*/
@NameInMap("title")
public String title;
/**
* This parameter is required.
*
* example:
* 20881001829000
*/
@NameInMap("userId")
public String userId;
public static SyncCostCenterRequest build(java.util.Map map) throws Exception {
SyncCostCenterRequest self = new SyncCostCenterRequest();
return TeaModel.build(map, self);
}
public SyncCostCenterRequest setChannelCorpId(String channelCorpId) {
this.channelCorpId = channelCorpId;
return this;
}
public String getChannelCorpId() {
return this.channelCorpId;
}
public SyncCostCenterRequest setCostCenterId(String costCenterId) {
this.costCenterId = costCenterId;
return this;
}
public String getCostCenterId() {
return this.costCenterId;
}
public SyncCostCenterRequest setDeleteFlag(Boolean deleteFlag) {
this.deleteFlag = deleteFlag;
return this;
}
public Boolean getDeleteFlag() {
return this.deleteFlag;
}
public SyncCostCenterRequest setExtension(String extension) {
this.extension = extension;
return this;
}
public String getExtension() {
return this.extension;
}
public SyncCostCenterRequest setGmtAction(String gmtAction) {
this.gmtAction = gmtAction;
return this;
}
public String getGmtAction() {
return this.gmtAction;
}
public SyncCostCenterRequest setNumber(String number) {
this.number = number;
return this;
}
public String getNumber() {
return this.number;
}
public SyncCostCenterRequest setScope(Integer scope) {
this.scope = scope;
return this;
}
public Integer getScope() {
return this.scope;
}
public SyncCostCenterRequest setSource(String source) {
this.source = source;
return this;
}
public String getSource() {
return this.source;
}
public SyncCostCenterRequest setThirdPartId(String thirdPartId) {
this.thirdPartId = thirdPartId;
return this;
}
public String getThirdPartId() {
return this.thirdPartId;
}
public SyncCostCenterRequest setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
public SyncCostCenterRequest setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}