Documentation ¶
Index ¶
- type ClassroomCard
- type ClassroomMember
- type ExerciseCard
- type ExerciseGroup
- type JobCard
- type JobRecords
- type ListClassroomMemberJobsRequest
- type ListClassroomMemberJobsResponse
- type ListClassroomMembersRequest
- type ListClassroomMembersResponse
- type ListClassroomsRequest
- type ListClassroomsResponse
- type ListJobsRequest
- type ListJobsResponse
- type ListMemberJobRecordsRequest
- type ListMemberJobRecordsResponse
- type MemberJobCard
- type ShowClassroomDetailRequest
- type ShowClassroomDetailResponse
- type ShowJobDetailRequest
- type ShowJobDetailResponse
- type ShowJobExercisesRequest
- type ShowJobExercisesResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClassroomCard ¶
type ClassroomCard struct { // 课堂ID ClassroomId string `json:"classroom_id"` // 课堂名称 Name string `json:"name"` // 课堂描述 Description string `json:"description"` // 课堂学分 Credit float32 `json:"credit"` // 课堂当前的状态,normal:课堂处于正常状态,archive:课堂已归档 Status string `json:"status"` }
func (ClassroomCard) String ¶
func (o ClassroomCard) String() string
type ClassroomMember ¶
type ClassroomMember struct { // 成员ID MemberId string `json:"member_id"` // 成员名称 Name string `json:"name"` // 成员学号/工号 Number string `json:"number"` // 成员所在班级的名字 ClassName string `json:"class_name"` // 成员用户名 UserName string `json:"user_name"` // 成员加入课堂时间,日期格式:yyyy-MM-dd HH:mm:ss JoinTime string `json:"join_time"` // 该成员已接收到的作业数量 JobReceivedCount int32 `json:"job_received_count"` // 该成员已完成的作业数量 JobFinishedCount int32 `json:"job_finished_count"` // 该成员作业完成率 JobFinishedRate float32 `json:"job_finished_rate"` }
func (ClassroomMember) String ¶
func (o ClassroomMember) String() string
type ExerciseCard ¶
type ExerciseCard struct { // 习题名称 Name string `json:"name"` // 习题ID ExerciseId string `json:"exercise_id"` // 习题描述 Description string `json:"description"` // 习题子类型 1:函数c 2:函数c++ 3:函数Java 4:函数Python 5:单人项目java 6:单人项目Hadoop 7:通用 8:企业级软件项目 10:web习题 11:AI习题 12:单选题 13:多选题 14:填空题 15:单人项目C 16:单人项目C++ ResourceSubType int32 `json:"resource_sub_type"` // 习题分值 TargetScore int32 `json:"target_score"` }
func (ExerciseCard) String ¶
func (o ExerciseCard) String() string
type ExerciseGroup ¶
type ExerciseGroup struct { // 习题列表 Exercises []ExerciseCard `json:"exercises"` // 习题分类 Type string `json:"type"` }
func (ExerciseGroup) String ¶
func (o ExerciseGroup) String() string
type JobCard ¶
type JobCard struct { // 作业名称 Name string `json:"name"` // 作业ID JobId string `json:"job_id"` // 作业下发状态(unsend:作业未下发, send:作业已下发) IsSend string `json:"is_send"` // 作业截止时间, 日期格式:yyyy-MM-dd HH:mm:ss EndTime string `json:"end_time"` // 作业均分 AverageScore string `json:"average_score"` // 作业提交人数 SubmitJobNum int32 `json:"submit_job_num"` // 作业创建状态(yes:作业可以下发, no:作业不能下发) CreateStatus string `json:"create_status"` // 作业下发类型(specific:指定成员下发, all:下发课堂全员) SendType string `json:"send_type"` // 作业成绩是否公布(unpublish:表示未公布成绩, publish:表示已公布成绩) IsScoreVisibility string `json:"is_score_visibility"` // 作业下发时间, 日期格式:yyyy-MM-dd HH:mm:ss SendTime string `json:"send_time"` }
type JobRecords ¶
type JobRecords struct { // 第XX次提交 Name string `json:"name"` // 习题判题得分 AutoScore int32 `json:"auto_score"` // 习题用例通过数 CasePassCount int32 `json:"case_pass_count"` // 习题用例总数 ExeCaseCount int32 `json:"exe_case_count"` // 代码行数 CodeLine int32 `json:"code_line"` // 习题提交时间, 日期格式:yyyy-MM-dd HH:mm:ss CommitTime string `json:"commit_time"` // 习题圈复杂度 ComplexityFileAvg string `json:"complexity_file_avg"` // 习题判题耗时(毫秒) AutoScoreUsingTime int32 `json:"auto_score_using_time"` }
func (JobRecords) String ¶
func (o JobRecords) String() string
type ListClassroomMemberJobsRequest ¶
type ListClassroomMemberJobsRequest struct { ClassroomId string `json:"classroom_id"` MemberId string `json:"member_id"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListClassroomMemberJobsRequest) String ¶
func (o ListClassroomMemberJobsRequest) String() string
type ListClassroomMemberJobsResponse ¶
type ListClassroomMemberJobsResponse struct { // 课堂下作业列表信息 Jobs *[]MemberJobCard `json:"jobs,omitempty"` // 学生作业总数 Total *int32 `json:"total,omitempty"` }
Response Object
func (ListClassroomMemberJobsResponse) String ¶
func (o ListClassroomMemberJobsResponse) String() string
type ListClassroomMembersRequest ¶
type ListClassroomMembersRequest struct { ClassroomId string `json:"classroom_id"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` Filter *string `json:"filter,omitempty"` }
Request Object
func (ListClassroomMembersRequest) String ¶
func (o ListClassroomMembersRequest) String() string
type ListClassroomMembersResponse ¶
type ListClassroomMembersResponse struct { // 课堂成员列表 Members *[]ClassroomMember `json:"members,omitempty"` // 课堂成员总数 Total *int32 `json:"total,omitempty"` }
Response Object
func (ListClassroomMembersResponse) String ¶
func (o ListClassroomMembersResponse) String() string
type ListClassroomsRequest ¶
type ListClassroomsRequest struct { Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` QueryType *string `json:"query_type,omitempty"` }
Request Object
func (ListClassroomsRequest) String ¶
func (o ListClassroomsRequest) String() string
type ListClassroomsResponse ¶
type ListClassroomsResponse struct { // 课堂列表 Classrooms *[]ClassroomCard `json:"classrooms,omitempty"` // 课堂总数 Total *int32 `json:"total,omitempty"` }
Response Object
func (ListClassroomsResponse) String ¶
func (o ListClassroomsResponse) String() string
type ListJobsRequest ¶
type ListJobsRequest struct { SourceFrom string `json:"source_from"` SourceId string `json:"source_id"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListJobsRequest) String ¶
func (o ListJobsRequest) String() string
type ListJobsResponse ¶
type ListJobsResponse struct { // 作业列表 Jobs *[]JobCard `json:"jobs,omitempty"` // 作业总数 Total *int32 `json:"total,omitempty"` }
Response Object
func (ListJobsResponse) String ¶
func (o ListJobsResponse) String() string
type ListMemberJobRecordsRequest ¶
type ListMemberJobRecordsRequest struct { JobId string `json:"job_id"` ExerciseId string `json:"exercise_id"` MemberId string `json:"member_id"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListMemberJobRecordsRequest) String ¶
func (o ListMemberJobRecordsRequest) String() string
type ListMemberJobRecordsResponse ¶
type ListMemberJobRecordsResponse struct { // 习题提交列表信息 Records *[]JobRecords `json:"records,omitempty"` // 习题提交总次数 Total *int32 `json:"total,omitempty"` }
Response Object
func (ListMemberJobRecordsResponse) String ¶
func (o ListMemberJobRecordsResponse) String() string
type MemberJobCard ¶
type MemberJobCard struct { // 作业名称 Name string `json:"name"` // 作业均分(作业有均分该字段才返回) AverageScore string `json:"average_score"` // 作业得分(作业有分数该字段才返回) Score int32 `json:"score"` // 作业下发时间, 日期格式:yyyy-MM-dd HH:mm:ss SendTime string `json:"send_time"` // 作业最后一次提交时间, 日期格式:yyyy-MM-dd HH:mm:ss LastSubmitTime string `json:"last_submit_time"` }
func (MemberJobCard) String ¶
func (o MemberJobCard) String() string
type ShowClassroomDetailRequest ¶
type ShowClassroomDetailRequest struct {
ClassroomId string `json:"classroom_id"`
}
Request Object
func (ShowClassroomDetailRequest) String ¶
func (o ShowClassroomDetailRequest) String() string
type ShowClassroomDetailResponse ¶
type ShowClassroomDetailResponse struct { // 课堂名称 Name *string `json:"name,omitempty"` // 课堂描述 Description *string `json:"description,omitempty"` // 课堂公告 Announcement *string `json:"announcement,omitempty"` // 课堂公告创建时间,日期格式:yyyy-MM-dd AnnouncementTime *string `json:"announcement_time,omitempty"` // 课堂创建时间,日期格式:yyyy-MM-dd HH:mm:ss CreateTime *string `json:"create_time,omitempty"` // 课堂最新更新时间,日期格式:yyyy-MM-dd HH:mm:ss UpdateTime *string `json:"update_time,omitempty"` // 当前课堂的授课人 Teacher *string `json:"teacher,omitempty"` // 课堂学分 Credit float32 `json:"credit,omitempty"` // 课堂开始时间,日期格式:yyyy-MM-dd HH:mm:ss StartTime *string `json:"start_time,omitempty"` // 课堂结束时间,日期格式:yyyy-MM-dd HH:mm:ss EndTime *string `json:"end_time,omitempty"` // 当前用户在课堂下角色,取值范围:teacher:老师,student:学生 Role *string `json:"role,omitempty"` // 授课学校 School *string `json:"school,omitempty"` // 课堂下目录数量 ContentCount *int32 `json:"content_count,omitempty"` // 课堂下课件数量 CoursewareCount *int32 `json:"courseware_count,omitempty"` // 课堂下作业数量 JobCount *int32 `json:"job_count,omitempty"` // 课堂下成员数量 MemberCount *int32 `json:"member_count,omitempty"` // 课堂当前的状态,normal:课堂处于正常状态,archive:课堂已归档 Status *string `json:"status,omitempty"` }
Response Object
func (ShowClassroomDetailResponse) String ¶
func (o ShowClassroomDetailResponse) String() string
type ShowJobDetailRequest ¶
type ShowJobDetailRequest struct {
JobId string `json:"job_id"`
}
Request Object
func (ShowJobDetailRequest) String ¶
func (o ShowJobDetailRequest) String() string
type ShowJobDetailResponse ¶
type ShowJobDetailResponse struct { // 作业下发人数 AcceptJobNum *int32 `json:"accept_job_num,omitempty"` // 作业截止时间, 日期格式:yyyy-MM-dd HH:mm:ss EndTime *string `json:"end_time,omitempty"` // 作业答案是否公布(unpublish:表示未公布答案, publish:表示已公布答案) IsAnswerVisibility *string `json:"is_answer_visibility,omitempty"` // 作业成绩是否公布(unpublish:表示未公布成绩, publish:表示已公布成绩) IsScoreVisibility *string `json:"is_score_visibility,omitempty"` // 作业均分 AverageScore *string `json:"average_score,omitempty"` // 老师手动评分人数 ScoreJobNum *int32 `json:"score_job_num,omitempty"` // 作业提交人数 SubmitJobNum *int32 `json:"submit_job_num,omitempty"` }
Response Object
func (ShowJobDetailResponse) String ¶
func (o ShowJobDetailResponse) String() string
type ShowJobExercisesRequest ¶
type ShowJobExercisesRequest struct { JobId string `json:"job_id"` SourceFrom string `json:"source_from"` SourceId string `json:"source_id"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ShowJobExercisesRequest) String ¶
func (o ShowJobExercisesRequest) String() string
type ShowJobExercisesResponse ¶
type ShowJobExercisesResponse struct { // 作业下习题列表 GroupExercises *[]ExerciseGroup `json:"group_exercises,omitempty"` // 作业下习题总数 Total *int32 `json:"total,omitempty"` }
Response Object
func (ShowJobExercisesResponse) String ¶
func (o ShowJobExercisesResponse) String() string
Source Files ¶
- model_classroom_card.go
- model_classroom_member.go
- model_exercise_card.go
- model_exercise_group.go
- model_job_card.go
- model_job_records.go
- model_list_classroom_member_jobs_request.go
- model_list_classroom_member_jobs_response.go
- model_list_classroom_members_request.go
- model_list_classroom_members_response.go
- model_list_classrooms_request.go
- model_list_classrooms_response.go
- model_list_jobs_request.go
- model_list_jobs_response.go
- model_list_member_job_records_request.go
- model_list_member_job_records_response.go
- model_member_job_card.go
- model_show_classroom_detail_request.go
- model_show_classroom_detail_response.go
- model_show_job_detail_request.go
- model_show_job_detail_response.go
- model_show_job_exercises_request.go
- model_show_job_exercises_response.go
Click to show internal directories.
Click to hide internal directories.