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 { ClassroomId string `json:"classroom_id"` Name string `json:"name"` Description string `json:"description"` Credit float32 `json:"credit"` Status string `json:"status"` }
func (ClassroomCard) String ¶
func (o ClassroomCard) String() string
type ClassroomMember ¶
type ClassroomMember struct { MemberId string `json:"member_id"` Name string `json:"name"` Number string `json:"number"` ClassName string `json:"class_name"` UserName string `json:"user_name"` 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"` ExerciseId string `json:"exercise_id"` Description string `json:"description"` 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"` JobId string `json:"job_id"` IsSend string `json:"is_send"` EndTime string `json:"end_time"` AverageScore string `json:"average_score"` SubmitJobNum int32 `json:"submit_job_num"` CreateStatus string `json:"create_status"` SendType string `json:"send_type"` IsScoreVisibility string `json:"is_score_visibility"` SendTime string `json:"send_time"` }
type JobRecords ¶
type JobRecords struct { 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"` 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"` HttpStatusCode int `json:"-"` }
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"` HttpStatusCode int `json:"-"` }
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"` HttpStatusCode int `json:"-"` }
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"` HttpStatusCode int `json:"-"` }
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"` HttpStatusCode int `json:"-"` }
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"` SendTime string `json:"send_time"` 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"` AnnouncementTime *string `json:"announcement_time,omitempty"` CreateTime *string `json:"create_time,omitempty"` UpdateTime *string `json:"update_time,omitempty"` Teacher *string `json:"teacher,omitempty"` Credit float32 `json:"credit,omitempty"` StartTime *string `json:"start_time,omitempty"` EndTime *string `json:"end_time,omitempty"` 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"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
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"` EndTime *string `json:"end_time,omitempty"` IsAnswerVisibility *string `json:"is_answer_visibility,omitempty"` 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"` HttpStatusCode int `json:"-"` }
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"` HttpStatusCode int `json:"-"` }
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.