com.aliyun.dingtalkcarbon_1_0.models.WriteUserCarbonEnergyRequest 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 WriteUserCarbonEnergyRequest extends TeaModel {
@NameInMap("userDetailsList")
public java.util.List userDetailsList;
public static WriteUserCarbonEnergyRequest build(java.util.Map map) throws Exception {
WriteUserCarbonEnergyRequest self = new WriteUserCarbonEnergyRequest();
return TeaModel.build(map, self);
}
public WriteUserCarbonEnergyRequest setUserDetailsList(java.util.List userDetailsList) {
this.userDetailsList = userDetailsList;
return this;
}
public java.util.List getUserDetailsList() {
return this.userDetailsList;
}
public static class WriteUserCarbonEnergyRequestUserDetailsList extends TeaModel {
/**
* example:
* 2021-11-26 10:09:37
*/
@NameInMap("actionEndTime")
public String actionEndTime;
/**
* example:
* 12320211126
*/
@NameInMap("actionId")
public String actionId;
/**
* example:
* 2021-11-26 10:09:37
*/
@NameInMap("actionStartTime")
public String actionStartTime;
/**
* example:
* VIDEO
*/
@NameInMap("actionType")
public String actionType;
/**
* example:
* 3.21
*/
@NameInMap("carbonAmount")
public String carbonAmount;
/**
* example:
* ding12344
*/
@NameInMap("corpId")
public String corpId;
/**
* example:
* 111
*/
@NameInMap("deptId")
public Long deptId;
/**
* example:
* 123
*/
@NameInMap("userId")
public String userId;
/**
* example:
* 1
*/
@NameInMap("version")
public Integer version;
public static WriteUserCarbonEnergyRequestUserDetailsList build(java.util.Map map) throws Exception {
WriteUserCarbonEnergyRequestUserDetailsList self = new WriteUserCarbonEnergyRequestUserDetailsList();
return TeaModel.build(map, self);
}
public WriteUserCarbonEnergyRequestUserDetailsList setActionEndTime(String actionEndTime) {
this.actionEndTime = actionEndTime;
return this;
}
public String getActionEndTime() {
return this.actionEndTime;
}
public WriteUserCarbonEnergyRequestUserDetailsList setActionId(String actionId) {
this.actionId = actionId;
return this;
}
public String getActionId() {
return this.actionId;
}
public WriteUserCarbonEnergyRequestUserDetailsList setActionStartTime(String actionStartTime) {
this.actionStartTime = actionStartTime;
return this;
}
public String getActionStartTime() {
return this.actionStartTime;
}
public WriteUserCarbonEnergyRequestUserDetailsList setActionType(String actionType) {
this.actionType = actionType;
return this;
}
public String getActionType() {
return this.actionType;
}
public WriteUserCarbonEnergyRequestUserDetailsList setCarbonAmount(String carbonAmount) {
this.carbonAmount = carbonAmount;
return this;
}
public String getCarbonAmount() {
return this.carbonAmount;
}
public WriteUserCarbonEnergyRequestUserDetailsList setCorpId(String corpId) {
this.corpId = corpId;
return this;
}
public String getCorpId() {
return this.corpId;
}
public WriteUserCarbonEnergyRequestUserDetailsList setDeptId(Long deptId) {
this.deptId = deptId;
return this;
}
public Long getDeptId() {
return this.deptId;
}
public WriteUserCarbonEnergyRequestUserDetailsList setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
public WriteUserCarbonEnergyRequestUserDetailsList setVersion(Integer version) {
this.version = version;
return this;
}
public Integer getVersion() {
return this.version;
}
}
}