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