com.aliyun.dingtalkedu_1_0.models.BatchCreateRequest 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.dingtalkedu_1_0.models;
import com.aliyun.tea.*;
public class BatchCreateRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* industry_center
*/
@NameInMap("cardBizCode")
public String cardBizCode;
/**
* This parameter is required.
*/
@NameInMap("data")
public BatchCreateRequestData data;
/**
* This parameter is required.
*
* example:
* AFC35F13-8A88-728F-27C5-3616AD7DFF2E
*/
@NameInMap("identifier")
public String identifier;
/**
* This parameter is required.
*
* example:
* 4
*/
@NameInMap("jsVersion")
public Integer jsVersion;
/**
* This parameter is required.
*
* example:
* QUPEIYIN
*/
@NameInMap("sourceType")
public String sourceType;
@NameInMap("userid")
public String userid;
public static BatchCreateRequest build(java.util.Map map) throws Exception {
BatchCreateRequest self = new BatchCreateRequest();
return TeaModel.build(map, self);
}
public BatchCreateRequest setCardBizCode(String cardBizCode) {
this.cardBizCode = cardBizCode;
return this;
}
public String getCardBizCode() {
return this.cardBizCode;
}
public BatchCreateRequest setData(BatchCreateRequestData data) {
this.data = data;
return this;
}
public BatchCreateRequestData getData() {
return this.data;
}
public BatchCreateRequest setIdentifier(String identifier) {
this.identifier = identifier;
return this;
}
public String getIdentifier() {
return this.identifier;
}
public BatchCreateRequest setJsVersion(Integer jsVersion) {
this.jsVersion = jsVersion;
return this;
}
public Integer getJsVersion() {
return this.jsVersion;
}
public BatchCreateRequest setSourceType(String sourceType) {
this.sourceType = sourceType;
return this;
}
public String getSourceType() {
return this.sourceType;
}
public BatchCreateRequest setUserid(String userid) {
this.userid = userid;
return this;
}
public String getUserid() {
return this.userid;
}
public static class BatchCreateRequestDataCardRuleItemParamList extends TeaModel {
@NameInMap("cardRuleAttr")
public String cardRuleAttr;
@NameInMap("cardTaskCode")
public String cardTaskCode;
@NameInMap("dailyDubbing")
public Integer dailyDubbing;
@NameInMap("relationId")
public String relationId;
@NameInMap("relationTitle")
public String relationTitle;
@NameInMap("relationUrl")
public String relationUrl;
public static BatchCreateRequestDataCardRuleItemParamList build(java.util.Map map) throws Exception {
BatchCreateRequestDataCardRuleItemParamList self = new BatchCreateRequestDataCardRuleItemParamList();
return TeaModel.build(map, self);
}
public BatchCreateRequestDataCardRuleItemParamList setCardRuleAttr(String cardRuleAttr) {
this.cardRuleAttr = cardRuleAttr;
return this;
}
public String getCardRuleAttr() {
return this.cardRuleAttr;
}
public BatchCreateRequestDataCardRuleItemParamList setCardTaskCode(String cardTaskCode) {
this.cardTaskCode = cardTaskCode;
return this;
}
public String getCardTaskCode() {
return this.cardTaskCode;
}
public BatchCreateRequestDataCardRuleItemParamList setDailyDubbing(Integer dailyDubbing) {
this.dailyDubbing = dailyDubbing;
return this;
}
public Integer getDailyDubbing() {
return this.dailyDubbing;
}
public BatchCreateRequestDataCardRuleItemParamList setRelationId(String relationId) {
this.relationId = relationId;
return this;
}
public String getRelationId() {
return this.relationId;
}
public BatchCreateRequestDataCardRuleItemParamList setRelationTitle(String relationTitle) {
this.relationTitle = relationTitle;
return this;
}
public String getRelationTitle() {
return this.relationTitle;
}
public BatchCreateRequestDataCardRuleItemParamList setRelationUrl(String relationUrl) {
this.relationUrl = relationUrl;
return this;
}
public String getRelationUrl() {
return this.relationUrl;
}
}
public static class BatchCreateRequestDataOrgClassStudentGroupListClassListStudents extends TeaModel {
@NameInMap("name")
public String name;
@NameInMap("staffId")
public String staffId;
public static BatchCreateRequestDataOrgClassStudentGroupListClassListStudents build(java.util.Map map) throws Exception {
BatchCreateRequestDataOrgClassStudentGroupListClassListStudents self = new BatchCreateRequestDataOrgClassStudentGroupListClassListStudents();
return TeaModel.build(map, self);
}
public BatchCreateRequestDataOrgClassStudentGroupListClassListStudents setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public BatchCreateRequestDataOrgClassStudentGroupListClassListStudents setStaffId(String staffId) {
this.staffId = staffId;
return this;
}
public String getStaffId() {
return this.staffId;
}
}
public static class BatchCreateRequestDataOrgClassStudentGroupListClassList extends TeaModel {
@NameInMap("classId")
public Long classId;
@NameInMap("className")
public String className;
@NameInMap("students")
public java.util.List students;
public static BatchCreateRequestDataOrgClassStudentGroupListClassList build(java.util.Map map) throws Exception {
BatchCreateRequestDataOrgClassStudentGroupListClassList self = new BatchCreateRequestDataOrgClassStudentGroupListClassList();
return TeaModel.build(map, self);
}
public BatchCreateRequestDataOrgClassStudentGroupListClassList setClassId(Long classId) {
this.classId = classId;
return this;
}
public Long getClassId() {
return this.classId;
}
public BatchCreateRequestDataOrgClassStudentGroupListClassList setClassName(String className) {
this.className = className;
return this;
}
public String getClassName() {
return this.className;
}
public BatchCreateRequestDataOrgClassStudentGroupListClassList setStudents(java.util.List students) {
this.students = students;
return this;
}
public java.util.List getStudents() {
return this.students;
}
}
public static class BatchCreateRequestDataOrgClassStudentGroupList extends TeaModel {
@NameInMap("classList")
public java.util.List classList;
@NameInMap("corpId")
public String corpId;
public static BatchCreateRequestDataOrgClassStudentGroupList build(java.util.Map map) throws Exception {
BatchCreateRequestDataOrgClassStudentGroupList self = new BatchCreateRequestDataOrgClassStudentGroupList();
return TeaModel.build(map, self);
}
public BatchCreateRequestDataOrgClassStudentGroupList setClassList(java.util.List classList) {
this.classList = classList;
return this;
}
public java.util.List getClassList() {
return this.classList;
}
public BatchCreateRequestDataOrgClassStudentGroupList setCorpId(String corpId) {
this.corpId = corpId;
return this;
}
public String getCorpId() {
return this.corpId;
}
}
public static class BatchCreateRequestData extends TeaModel {
/**
* example:
* true
*/
@NameInMap("canReissueCard")
public Boolean canReissueCard;
/**
* example:
* 3
*/
@NameInMap("cardCycle")
public Integer cardCycle;
/**
* This parameter is required.
*/
@NameInMap("cardFrequency")
public java.util.List cardFrequency;
/**
* This parameter is required.
*/
@NameInMap("cardRuleItemParamList")
public java.util.List cardRuleItemParamList;
@NameInMap("classIds")
public java.util.List classIds;
@NameInMap("classNames")
public java.util.List classNames;
/**
* This parameter is required.
*
* example:
* 打卡的内容
*/
@NameInMap("content")
public String content;
@NameInMap("effectDate")
public Long effectDate;
@NameInMap("medias")
public String medias;
@NameInMap("needMetering")
public String needMetering;
/**
* This parameter is required.
*/
@NameInMap("orgClassStudentGroupList")
public java.util.List orgClassStudentGroupList;
/**
* This parameter is required.
*/
@NameInMap("remindHour")
public Integer remindHour;
/**
* This parameter is required.
*/
@NameInMap("remindMinute")
public Integer remindMinute;
@NameInMap("targetRole")
public String targetRole;
@NameInMap("templateId")
public Long templateId;
/**
* This parameter is required.
*/
@NameInMap("title")
public String title;
@NameInMap("unitOfMeasurement")
public String unitOfMeasurement;
public static BatchCreateRequestData build(java.util.Map map) throws Exception {
BatchCreateRequestData self = new BatchCreateRequestData();
return TeaModel.build(map, self);
}
public BatchCreateRequestData setCanReissueCard(Boolean canReissueCard) {
this.canReissueCard = canReissueCard;
return this;
}
public Boolean getCanReissueCard() {
return this.canReissueCard;
}
public BatchCreateRequestData setCardCycle(Integer cardCycle) {
this.cardCycle = cardCycle;
return this;
}
public Integer getCardCycle() {
return this.cardCycle;
}
public BatchCreateRequestData setCardFrequency(java.util.List cardFrequency) {
this.cardFrequency = cardFrequency;
return this;
}
public java.util.List getCardFrequency() {
return this.cardFrequency;
}
public BatchCreateRequestData setCardRuleItemParamList(java.util.List cardRuleItemParamList) {
this.cardRuleItemParamList = cardRuleItemParamList;
return this;
}
public java.util.List getCardRuleItemParamList() {
return this.cardRuleItemParamList;
}
public BatchCreateRequestData setClassIds(java.util.List classIds) {
this.classIds = classIds;
return this;
}
public java.util.List getClassIds() {
return this.classIds;
}
public BatchCreateRequestData setClassNames(java.util.List classNames) {
this.classNames = classNames;
return this;
}
public java.util.List getClassNames() {
return this.classNames;
}
public BatchCreateRequestData setContent(String content) {
this.content = content;
return this;
}
public String getContent() {
return this.content;
}
public BatchCreateRequestData setEffectDate(Long effectDate) {
this.effectDate = effectDate;
return this;
}
public Long getEffectDate() {
return this.effectDate;
}
public BatchCreateRequestData setMedias(String medias) {
this.medias = medias;
return this;
}
public String getMedias() {
return this.medias;
}
public BatchCreateRequestData setNeedMetering(String needMetering) {
this.needMetering = needMetering;
return this;
}
public String getNeedMetering() {
return this.needMetering;
}
public BatchCreateRequestData setOrgClassStudentGroupList(java.util.List orgClassStudentGroupList) {
this.orgClassStudentGroupList = orgClassStudentGroupList;
return this;
}
public java.util.List getOrgClassStudentGroupList() {
return this.orgClassStudentGroupList;
}
public BatchCreateRequestData setRemindHour(Integer remindHour) {
this.remindHour = remindHour;
return this;
}
public Integer getRemindHour() {
return this.remindHour;
}
public BatchCreateRequestData setRemindMinute(Integer remindMinute) {
this.remindMinute = remindMinute;
return this;
}
public Integer getRemindMinute() {
return this.remindMinute;
}
public BatchCreateRequestData setTargetRole(String targetRole) {
this.targetRole = targetRole;
return this;
}
public String getTargetRole() {
return this.targetRole;
}
public BatchCreateRequestData setTemplateId(Long templateId) {
this.templateId = templateId;
return this;
}
public Long getTemplateId() {
return this.templateId;
}
public BatchCreateRequestData setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
public BatchCreateRequestData setUnitOfMeasurement(String unitOfMeasurement) {
this.unitOfMeasurement = unitOfMeasurement;
return this;
}
public String getUnitOfMeasurement() {
return this.unitOfMeasurement;
}
}
}