Documentation ¶
Index ¶
- func ClassroomClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForListClassroomMemberJobs() *def.HttpRequestDef
- func GenReqDefForListClassroomMembers() *def.HttpRequestDef
- func GenReqDefForListClassrooms() *def.HttpRequestDef
- func GenReqDefForListJobs() *def.HttpRequestDef
- func GenReqDefForListMemberJobRecords() *def.HttpRequestDef
- func GenReqDefForShowClassroomDetail() *def.HttpRequestDef
- func GenReqDefForShowJobDetail() *def.HttpRequestDef
- func GenReqDefForShowJobExercises() *def.HttpRequestDef
- 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() *def.HttpRequestDef
func GenReqDefForListClassroomMembers ¶
func GenReqDefForListClassroomMembers() *def.HttpRequestDef
func GenReqDefForListClassrooms ¶
func GenReqDefForListClassrooms() *def.HttpRequestDef
func GenReqDefForListJobs ¶
func GenReqDefForListJobs() *def.HttpRequestDef
func GenReqDefForListMemberJobRecords ¶
func GenReqDefForListMemberJobRecords() *def.HttpRequestDef
func GenReqDefForShowClassroomDetail ¶
func GenReqDefForShowClassroomDetail() *def.HttpRequestDef
func GenReqDefForShowJobDetail ¶
func GenReqDefForShowJobDetail() *def.HttpRequestDef
func GenReqDefForShowJobExercises ¶
func GenReqDefForShowJobExercises() *def.HttpRequestDef
Types ¶
type ClassroomClient ¶
type ClassroomClient struct {
HcClient *http_client.HcHttpClient
}
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.