Documentation ¶
Index ¶
- func ClassroomClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForListClassroomMemberJobs(request *model.ListClassroomMemberJobsRequest) *def.HttpRequestDef
- func GenReqDefForListClassroomMembers(request *model.ListClassroomMembersRequest) *def.HttpRequestDef
- func GenReqDefForListClassrooms(request *model.ListClassroomsRequest) *def.HttpRequestDef
- func GenReqDefForListJobs(request *model.ListJobsRequest) *def.HttpRequestDef
- func GenReqDefForListMemberJobRecords(request *model.ListMemberJobRecordsRequest) *def.HttpRequestDef
- func GenReqDefForShowClassroomDetail(request *model.ShowClassroomDetailRequest) *def.HttpRequestDef
- func GenReqDefForShowJobDetail(request *model.ShowJobDetailRequest) *def.HttpRequestDef
- func GenReqDefForShowJobExercises(request *model.ShowJobExercisesRequest) *def.HttpRequestDef
- func GenRespForListClassroomMemberJobs() (*model.ListClassroomMemberJobsResponse, *def.HttpResponseDef)
- func GenRespForListClassroomMembers() (*model.ListClassroomMembersResponse, *def.HttpResponseDef)
- func GenRespForListClassrooms() (*model.ListClassroomsResponse, *def.HttpResponseDef)
- func GenRespForListJobs() (*model.ListJobsResponse, *def.HttpResponseDef)
- func GenRespForListMemberJobRecords() (*model.ListMemberJobRecordsResponse, *def.HttpResponseDef)
- func GenRespForShowClassroomDetail() (*model.ShowClassroomDetailResponse, *def.HttpResponseDef)
- func GenRespForShowJobDetail() (*model.ShowJobDetailResponse, *def.HttpResponseDef)
- func GenRespForShowJobExercises() (*model.ShowJobExercisesResponse, *def.HttpResponseDef)
- type ClassroomClient
- func (c *ClassroomClient) ListClassroomMemberJobs(request *model.ListClassroomMemberJobsRequest) (*model.ListClassroomMemberJobsResponse, error)
- func (c *ClassroomClient) ListClassroomMembers(request *model.ListClassroomMembersRequest) (*model.ListClassroomMembersResponse, error)
- func (c *ClassroomClient) ListClassrooms(request *model.ListClassroomsRequest) (*model.ListClassroomsResponse, error)
- func (c *ClassroomClient) ListJobs(request *model.ListJobsRequest) (*model.ListJobsResponse, error)
- func (c *ClassroomClient) ListMemberJobRecords(request *model.ListMemberJobRecordsRequest) (*model.ListMemberJobRecordsResponse, error)
- func (c *ClassroomClient) ShowClassroomDetail(request *model.ShowClassroomDetailRequest) (*model.ShowClassroomDetailResponse, error)
- func (c *ClassroomClient) ShowJobDetail(request *model.ShowJobDetailRequest) (*model.ShowJobDetailResponse, error)
- func (c *ClassroomClient) ShowJobExercises(request *model.ShowJobExercisesRequest) (*model.ShowJobExercisesResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClassroomClientBuilder ¶
func ClassroomClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForListClassroomMemberJobs ¶
func GenReqDefForListClassroomMemberJobs(request *model.ListClassroomMemberJobsRequest) *def.HttpRequestDef
func GenReqDefForListClassroomMembers ¶
func GenReqDefForListClassroomMembers(request *model.ListClassroomMembersRequest) *def.HttpRequestDef
func GenReqDefForListClassrooms ¶
func GenReqDefForListClassrooms(request *model.ListClassroomsRequest) *def.HttpRequestDef
func GenReqDefForListJobs ¶
func GenReqDefForListJobs(request *model.ListJobsRequest) *def.HttpRequestDef
func GenReqDefForListMemberJobRecords ¶
func GenReqDefForListMemberJobRecords(request *model.ListMemberJobRecordsRequest) *def.HttpRequestDef
func GenReqDefForShowClassroomDetail ¶
func GenReqDefForShowClassroomDetail(request *model.ShowClassroomDetailRequest) *def.HttpRequestDef
func GenReqDefForShowJobDetail ¶
func GenReqDefForShowJobDetail(request *model.ShowJobDetailRequest) *def.HttpRequestDef
func GenReqDefForShowJobExercises ¶
func GenReqDefForShowJobExercises(request *model.ShowJobExercisesRequest) *def.HttpRequestDef
func GenRespForListClassroomMemberJobs ¶
func GenRespForListClassroomMemberJobs() (*model.ListClassroomMemberJobsResponse, *def.HttpResponseDef)
func GenRespForListClassroomMembers ¶
func GenRespForListClassroomMembers() (*model.ListClassroomMembersResponse, *def.HttpResponseDef)
func GenRespForListClassrooms ¶
func GenRespForListClassrooms() (*model.ListClassroomsResponse, *def.HttpResponseDef)
func GenRespForListJobs ¶
func GenRespForListJobs() (*model.ListJobsResponse, *def.HttpResponseDef)
func GenRespForListMemberJobRecords ¶
func GenRespForListMemberJobRecords() (*model.ListMemberJobRecordsResponse, *def.HttpResponseDef)
func GenRespForShowClassroomDetail ¶
func GenRespForShowClassroomDetail() (*model.ShowClassroomDetailResponse, *def.HttpResponseDef)
func GenRespForShowJobDetail ¶
func GenRespForShowJobDetail() (*model.ShowJobDetailResponse, *def.HttpResponseDef)
func GenRespForShowJobExercises ¶
func GenRespForShowJobExercises() (*model.ShowJobExercisesResponse, *def.HttpResponseDef)
Types ¶
type ClassroomClient ¶
type ClassroomClient struct {
// contains filtered or unexported fields
}
func NewClassroomClient ¶
func NewClassroomClient(hcClient *http_client.HcHttpClient) *ClassroomClient
func (*ClassroomClient) ListClassroomMemberJobs ¶
func (c *ClassroomClient) ListClassroomMemberJobs(request *model.ListClassroomMemberJobsRequest) (*model.ListClassroomMemberJobsResponse, error)
查询课堂下指定成员的作业信息
func (*ClassroomClient) ListClassroomMembers ¶
func (c *ClassroomClient) ListClassroomMembers(request *model.ListClassroomMembersRequest) (*model.ListClassroomMembersResponse, error)
根据课堂ID获取指定课堂的课堂成员列表,支持分页,搜索字段默认同时匹配姓名,学号,用户名,班级。
func (*ClassroomClient) ListClassrooms ¶
func (c *ClassroomClient) ListClassrooms(request *model.ListClassroomsRequest) (*model.ListClassroomsResponse, error)
获取当前用户的课堂列表,课堂课表分为我创建的课堂,我加入的课堂以及所有课堂,支持分页查询。
func (*ClassroomClient) ListJobs ¶
func (c *ClassroomClient) ListJobs(request *model.ListJobsRequest) (*model.ListJobsResponse, error)
查询指定课堂下的作业列表信息,支持分页查询。
func (*ClassroomClient) ListMemberJobRecords ¶
func (c *ClassroomClient) ListMemberJobRecords(request *model.ListMemberJobRecordsRequest) (*model.ListMemberJobRecordsResponse, error)
查询学生指定作业的习题提交记录信息(针对函数习题)
func (*ClassroomClient) ShowClassroomDetail ¶
func (c *ClassroomClient) ShowClassroomDetail(request *model.ShowClassroomDetailRequest) (*model.ShowClassroomDetailResponse, error)
根据课堂ID获取指定课堂的详细信息
func (*ClassroomClient) ShowJobDetail ¶
func (c *ClassroomClient) ShowJobDetail(request *model.ShowJobDetailRequest) (*model.ShowJobDetailResponse, error)
根据作业ID,查询指定作业的信息
func (*ClassroomClient) ShowJobExercises ¶
func (c *ClassroomClient) ShowJobExercises(request *model.ShowJobExercisesRequest) (*model.ShowJobExercisesResponse, error)
查询指定作业下的习题信息
Click to show internal directories.
Click to hide internal directories.