com.aliyun.dingtalkhrm_1_0.models.SolutionTaskSaveRequest 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.dingtalkhrm_1_0.models;
import com.aliyun.tea.*;
public class SolutionTaskSaveRequest extends TeaModel {
/**
* example:
* 时间戳
*/
@NameInMap("claimTime")
public Long claimTime;
/**
* example:
* 这是一个新人培训任务
*/
@NameInMap("description")
public String description;
/**
* example:
* 时间戳
*/
@NameInMap("finishTime")
public Long finishTime;
/**
* This parameter is required.
*
* example:
* fdagshfjhajl
*/
@NameInMap("outerId")
public String outerId;
/**
* This parameter is required.
*
* example:
* qweqweqwe
*/
@NameInMap("solutionInstanceId")
public String solutionInstanceId;
@NameInMap("startTime")
public Long startTime;
/**
* This parameter is required.
*
* example:
* running
*/
@NameInMap("status")
public String status;
/**
* This parameter is required.
*
* example:
* PERFORMANCE_TASK、TRAIN_TASK
*/
@NameInMap("taskType")
public String taskType;
/**
* example:
* sdfasd2323sdaf
*/
@NameInMap("templateOuterId")
public String templateOuterId;
/**
* This parameter is required.
*
* example:
* 新人学习任务
*/
@NameInMap("title")
public String title;
/**
* This parameter is required.
*
* example:
* 123456
*/
@NameInMap("userId")
public String userId;
/**
* This parameter is required.
*
* example:
* onboarding
*/
@NameInMap("solutionType")
public String solutionType;
public static SolutionTaskSaveRequest build(java.util.Map map) throws Exception {
SolutionTaskSaveRequest self = new SolutionTaskSaveRequest();
return TeaModel.build(map, self);
}
public SolutionTaskSaveRequest setClaimTime(Long claimTime) {
this.claimTime = claimTime;
return this;
}
public Long getClaimTime() {
return this.claimTime;
}
public SolutionTaskSaveRequest setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public SolutionTaskSaveRequest setFinishTime(Long finishTime) {
this.finishTime = finishTime;
return this;
}
public Long getFinishTime() {
return this.finishTime;
}
public SolutionTaskSaveRequest setOuterId(String outerId) {
this.outerId = outerId;
return this;
}
public String getOuterId() {
return this.outerId;
}
public SolutionTaskSaveRequest setSolutionInstanceId(String solutionInstanceId) {
this.solutionInstanceId = solutionInstanceId;
return this;
}
public String getSolutionInstanceId() {
return this.solutionInstanceId;
}
public SolutionTaskSaveRequest setStartTime(Long startTime) {
this.startTime = startTime;
return this;
}
public Long getStartTime() {
return this.startTime;
}
public SolutionTaskSaveRequest setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public SolutionTaskSaveRequest setTaskType(String taskType) {
this.taskType = taskType;
return this;
}
public String getTaskType() {
return this.taskType;
}
public SolutionTaskSaveRequest setTemplateOuterId(String templateOuterId) {
this.templateOuterId = templateOuterId;
return this;
}
public String getTemplateOuterId() {
return this.templateOuterId;
}
public SolutionTaskSaveRequest setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
public SolutionTaskSaveRequest setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
public SolutionTaskSaveRequest setSolutionType(String solutionType) {
this.solutionType = solutionType;
return this;
}
public String getSolutionType() {
return this.solutionType;
}
}