com.aliyun.dingtalkedu_1_0.models.StartCourseResponseBody 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 StartCourseResponseBody extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("universityCourseCommonResponse")
public StartCourseResponseBodyUniversityCourseCommonResponse universityCourseCommonResponse;
public static StartCourseResponseBody build(java.util.Map map) throws Exception {
StartCourseResponseBody self = new StartCourseResponseBody();
return TeaModel.build(map, self);
}
public StartCourseResponseBody setUniversityCourseCommonResponse(StartCourseResponseBodyUniversityCourseCommonResponse universityCourseCommonResponse) {
this.universityCourseCommonResponse = universityCourseCommonResponse;
return this;
}
public StartCourseResponseBodyUniversityCourseCommonResponse getUniversityCourseCommonResponse() {
return this.universityCourseCommonResponse;
}
public static class StartCourseResponseBodyUniversityCourseCommonResponse extends TeaModel {
/**
* This parameter is required.
*
* example:
* testCourseCode
*/
@NameInMap("courseCode")
public String courseCode;
/**
* This parameter is required.
*
* example:
* true
*/
@NameInMap("success")
public Boolean success;
public static StartCourseResponseBodyUniversityCourseCommonResponse build(java.util.Map map) throws Exception {
StartCourseResponseBodyUniversityCourseCommonResponse self = new StartCourseResponseBodyUniversityCourseCommonResponse();
return TeaModel.build(map, self);
}
public StartCourseResponseBodyUniversityCourseCommonResponse setCourseCode(String courseCode) {
this.courseCode = courseCode;
return this;
}
public String getCourseCode() {
return this.courseCode;
}
public StartCourseResponseBodyUniversityCourseCommonResponse setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
}
}