com.aliyun.dingtalkcarbon_1_0.models.WriteAlibabaOrgCarbonRequest 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.dingtalkcarbon_1_0.models;
import com.aliyun.tea.*;
public class WriteAlibabaOrgCarbonRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("orgDetailsList")
public java.util.List orgDetailsList;
public static WriteAlibabaOrgCarbonRequest build(java.util.Map map) throws Exception {
WriteAlibabaOrgCarbonRequest self = new WriteAlibabaOrgCarbonRequest();
return TeaModel.build(map, self);
}
public WriteAlibabaOrgCarbonRequest setOrgDetailsList(java.util.List orgDetailsList) {
this.orgDetailsList = orgDetailsList;
return this;
}
public java.util.List getOrgDetailsList() {
return this.orgDetailsList;
}
public static class WriteAlibabaOrgCarbonRequestOrgDetailsList extends TeaModel {
/**
* This parameter is required.
*
* example:
* 12320211126
*/
@NameInMap("actionId")
public String actionId;
/**
* This parameter is required.
*
* example:
* 2021-11-26 10:09:37
*/
@NameInMap("actionTime")
public String actionTime;
/**
* This parameter is required.
*
* example:
* VIDEO
*/
@NameInMap("actionType")
public String actionType;
/**
* This parameter is required.
*
* example:
* 3.21
*/
@NameInMap("carbonAmount")
public String carbonAmount;
/**
* This parameter is required.
*
* example:
* ding12344
*/
@NameInMap("corpId")
public String corpId;
/**
* This parameter is required.
*
* example:
* 111
*/
@NameInMap("deptId")
public Long deptId;
/**
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("version")
public Integer version;
public static WriteAlibabaOrgCarbonRequestOrgDetailsList build(java.util.Map map) throws Exception {
WriteAlibabaOrgCarbonRequestOrgDetailsList self = new WriteAlibabaOrgCarbonRequestOrgDetailsList();
return TeaModel.build(map, self);
}
public WriteAlibabaOrgCarbonRequestOrgDetailsList setActionId(String actionId) {
this.actionId = actionId;
return this;
}
public String getActionId() {
return this.actionId;
}
public WriteAlibabaOrgCarbonRequestOrgDetailsList setActionTime(String actionTime) {
this.actionTime = actionTime;
return this;
}
public String getActionTime() {
return this.actionTime;
}
public WriteAlibabaOrgCarbonRequestOrgDetailsList setActionType(String actionType) {
this.actionType = actionType;
return this;
}
public String getActionType() {
return this.actionType;
}
public WriteAlibabaOrgCarbonRequestOrgDetailsList setCarbonAmount(String carbonAmount) {
this.carbonAmount = carbonAmount;
return this;
}
public String getCarbonAmount() {
return this.carbonAmount;
}
public WriteAlibabaOrgCarbonRequestOrgDetailsList setCorpId(String corpId) {
this.corpId = corpId;
return this;
}
public String getCorpId() {
return this.corpId;
}
public WriteAlibabaOrgCarbonRequestOrgDetailsList setDeptId(Long deptId) {
this.deptId = deptId;
return this;
}
public Long getDeptId() {
return this.deptId;
}
public WriteAlibabaOrgCarbonRequestOrgDetailsList setVersion(Integer version) {
this.version = version;
return this;
}
public Integer getVersion() {
return this.version;
}
}
}