com.aliyun.dingtalkhrm_1_0.models.SyncTaskTemplateRequest 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 SyncTaskTemplateRequest extends TeaModel {
/**
* if can be null:
* false
*/
@NameInMap("delete")
public Boolean delete;
/**
* example:
* 培训、薪酬任务模版
*/
@NameInMap("des")
public String des;
/**
* example:
* {"key":value}
*/
@NameInMap("ext")
public String ext;
/**
* This parameter is required.
*
* example:
* 培训模版
*/
@NameInMap("name")
public String name;
/**
* This parameter is required.
*
* example:
* 23234
*/
@NameInMap("optUserId")
public String optUserId;
/**
* This parameter is required.
*
* example:
* 232332
*/
@NameInMap("outerId")
public String outerId;
@NameInMap("taskScopeVO")
public SyncTaskTemplateRequestTaskScopeVO taskScopeVO;
/**
* This parameter is required.
*
* example:
* PERFORMANCE_TASK、TRAIN_TASK
*/
@NameInMap("taskType")
public String taskType;
/**
* This parameter is required.
*
* example:
* onboarding
*/
@NameInMap("solutionType")
public String solutionType;
public static SyncTaskTemplateRequest build(java.util.Map map) throws Exception {
SyncTaskTemplateRequest self = new SyncTaskTemplateRequest();
return TeaModel.build(map, self);
}
public SyncTaskTemplateRequest setDelete(Boolean delete) {
this.delete = delete;
return this;
}
public Boolean getDelete() {
return this.delete;
}
public SyncTaskTemplateRequest setDes(String des) {
this.des = des;
return this;
}
public String getDes() {
return this.des;
}
public SyncTaskTemplateRequest setExt(String ext) {
this.ext = ext;
return this;
}
public String getExt() {
return this.ext;
}
public SyncTaskTemplateRequest setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public SyncTaskTemplateRequest setOptUserId(String optUserId) {
this.optUserId = optUserId;
return this;
}
public String getOptUserId() {
return this.optUserId;
}
public SyncTaskTemplateRequest setOuterId(String outerId) {
this.outerId = outerId;
return this;
}
public String getOuterId() {
return this.outerId;
}
public SyncTaskTemplateRequest setTaskScopeVO(SyncTaskTemplateRequestTaskScopeVO taskScopeVO) {
this.taskScopeVO = taskScopeVO;
return this;
}
public SyncTaskTemplateRequestTaskScopeVO getTaskScopeVO() {
return this.taskScopeVO;
}
public SyncTaskTemplateRequest setTaskType(String taskType) {
this.taskType = taskType;
return this;
}
public String getTaskType() {
return this.taskType;
}
public SyncTaskTemplateRequest setSolutionType(String solutionType) {
this.solutionType = solutionType;
return this;
}
public String getSolutionType() {
return this.solutionType;
}
public static class SyncTaskTemplateRequestTaskScopeVO extends TeaModel {
@NameInMap("deptIds")
public java.util.List deptIds;
@NameInMap("positionIds")
public java.util.List positionIds;
@NameInMap("roleIds")
public java.util.List roleIds;
@NameInMap("userIds")
public java.util.List userIds;
public static SyncTaskTemplateRequestTaskScopeVO build(java.util.Map map) throws Exception {
SyncTaskTemplateRequestTaskScopeVO self = new SyncTaskTemplateRequestTaskScopeVO();
return TeaModel.build(map, self);
}
public SyncTaskTemplateRequestTaskScopeVO setDeptIds(java.util.List deptIds) {
this.deptIds = deptIds;
return this;
}
public java.util.List getDeptIds() {
return this.deptIds;
}
public SyncTaskTemplateRequestTaskScopeVO setPositionIds(java.util.List positionIds) {
this.positionIds = positionIds;
return this;
}
public java.util.List getPositionIds() {
return this.positionIds;
}
public SyncTaskTemplateRequestTaskScopeVO setRoleIds(java.util.List roleIds) {
this.roleIds = roleIds;
return this;
}
public java.util.List getRoleIds() {
return this.roleIds;
}
public SyncTaskTemplateRequestTaskScopeVO setUserIds(java.util.List userIds) {
this.userIds = userIds;
return this;
}
public java.util.List getUserIds() {
return this.userIds;
}
}
}