com.aliyun.dingtalkedu_1_0.models.CreateCustomClassRequest 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 CreateCustomClassRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("customClass")
public CreateCustomClassRequestCustomClass customClass;
/**
* This parameter is required.
*
* example:
* 1234
*/
@NameInMap("operator")
public String operator;
/**
* This parameter is required.
*
* example:
* 12345
*/
@NameInMap("superId")
public Long superId;
public static CreateCustomClassRequest build(java.util.Map map) throws Exception {
CreateCustomClassRequest self = new CreateCustomClassRequest();
return TeaModel.build(map, self);
}
public CreateCustomClassRequest setCustomClass(CreateCustomClassRequestCustomClass customClass) {
this.customClass = customClass;
return this;
}
public CreateCustomClassRequestCustomClass getCustomClass() {
return this.customClass;
}
public CreateCustomClassRequest setOperator(String operator) {
this.operator = operator;
return this;
}
public String getOperator() {
return this.operator;
}
public CreateCustomClassRequest setSuperId(Long superId) {
this.superId = superId;
return this;
}
public Long getSuperId() {
return this.superId;
}
public static class CreateCustomClassRequestCustomClass extends TeaModel {
/**
* This parameter is required.
*
* example:
* 2021级培训班
*/
@NameInMap("name")
public String name;
public static CreateCustomClassRequestCustomClass build(java.util.Map map) throws Exception {
CreateCustomClassRequestCustomClass self = new CreateCustomClassRequestCustomClass();
return TeaModel.build(map, self);
}
public CreateCustomClassRequestCustomClass setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
}
}