com.aliyun.dingtalkcarbon_1_0.models.WriteOrgCarbonRequest 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 WriteOrgCarbonRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("orgDetailsList")
public java.util.List orgDetailsList;
public static WriteOrgCarbonRequest build(java.util.Map map) throws Exception {
WriteOrgCarbonRequest self = new WriteOrgCarbonRequest();
return TeaModel.build(map, self);
}
public WriteOrgCarbonRequest setOrgDetailsList(java.util.List orgDetailsList) {
this.orgDetailsList = orgDetailsList;
return this;
}
public java.util.List getOrgDetailsList() {
return this.orgDetailsList;
}
public static class WriteOrgCarbonRequestOrgDetailsList 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 WriteOrgCarbonRequestOrgDetailsList build(java.util.Map map) throws Exception {
WriteOrgCarbonRequestOrgDetailsList self = new WriteOrgCarbonRequestOrgDetailsList();
return TeaModel.build(map, self);
}
public WriteOrgCarbonRequestOrgDetailsList setActionId(String actionId) {
this.actionId = actionId;
return this;
}
public String getActionId() {
return this.actionId;
}
public WriteOrgCarbonRequestOrgDetailsList setActionTime(String actionTime) {
this.actionTime = actionTime;
return this;
}
public String getActionTime() {
return this.actionTime;
}
public WriteOrgCarbonRequestOrgDetailsList setActionType(String actionType) {
this.actionType = actionType;
return this;
}
public String getActionType() {
return this.actionType;
}
public WriteOrgCarbonRequestOrgDetailsList setCarbonAmount(String carbonAmount) {
this.carbonAmount = carbonAmount;
return this;
}
public String getCarbonAmount() {
return this.carbonAmount;
}
public WriteOrgCarbonRequestOrgDetailsList setCorpId(String corpId) {
this.corpId = corpId;
return this;
}
public String getCorpId() {
return this.corpId;
}
public WriteOrgCarbonRequestOrgDetailsList setDeptId(Long deptId) {
this.deptId = deptId;
return this;
}
public Long getDeptId() {
return this.deptId;
}
public WriteOrgCarbonRequestOrgDetailsList setVersion(Integer version) {
this.version = version;
return this;
}
public Integer getVersion() {
return this.version;
}
}
}