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