Documentation ¶
Index ¶
- func ClassroomClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForApplyJudgement() *def.HttpRequestDef
- 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
- func GenReqDefForShowJudgementDetail() *def.HttpRequestDef
- func GenReqDefForShowJudgementFile() *def.HttpRequestDef
- type ApplyJudgementInvoker
- type ClassroomClient
- func (c *ClassroomClient) ApplyJudgement(request *model.ApplyJudgementRequest) (*model.ApplyJudgementResponse, error)
- func (c *ClassroomClient) ApplyJudgementInvoker(request *model.ApplyJudgementRequest) *ApplyJudgementInvoker
- func (c *ClassroomClient) ListClassroomMemberJobs(request *model.ListClassroomMemberJobsRequest) (*model.ListClassroomMemberJobsResponse, error)
- func (c *ClassroomClient) ListClassroomMemberJobsInvoker(request *model.ListClassroomMemberJobsRequest) *ListClassroomMemberJobsInvoker
- func (c *ClassroomClient) ListClassroomMembers(request *model.ListClassroomMembersRequest) (*model.ListClassroomMembersResponse, error)
- func (c *ClassroomClient) ListClassroomMembersInvoker(request *model.ListClassroomMembersRequest) *ListClassroomMembersInvoker
- func (c *ClassroomClient) ListClassrooms(request *model.ListClassroomsRequest) (*model.ListClassroomsResponse, error)
- func (c *ClassroomClient) ListClassroomsInvoker(request *model.ListClassroomsRequest) *ListClassroomsInvoker
- func (c *ClassroomClient) ListJobs(request *model.ListJobsRequest) (*model.ListJobsResponse, error)
- func (c *ClassroomClient) ListJobsInvoker(request *model.ListJobsRequest) *ListJobsInvoker
- func (c *ClassroomClient) ListMemberJobRecords(request *model.ListMemberJobRecordsRequest) (*model.ListMemberJobRecordsResponse, error)
- func (c *ClassroomClient) ListMemberJobRecordsInvoker(request *model.ListMemberJobRecordsRequest) *ListMemberJobRecordsInvoker
- func (c *ClassroomClient) ShowClassroomDetail(request *model.ShowClassroomDetailRequest) (*model.ShowClassroomDetailResponse, error)
- func (c *ClassroomClient) ShowClassroomDetailInvoker(request *model.ShowClassroomDetailRequest) *ShowClassroomDetailInvoker
- func (c *ClassroomClient) ShowJobDetail(request *model.ShowJobDetailRequest) (*model.ShowJobDetailResponse, error)
- func (c *ClassroomClient) ShowJobDetailInvoker(request *model.ShowJobDetailRequest) *ShowJobDetailInvoker
- func (c *ClassroomClient) ShowJobExercises(request *model.ShowJobExercisesRequest) (*model.ShowJobExercisesResponse, error)
- func (c *ClassroomClient) ShowJobExercisesInvoker(request *model.ShowJobExercisesRequest) *ShowJobExercisesInvoker
- func (c *ClassroomClient) ShowJudgementDetail(request *model.ShowJudgementDetailRequest) (*model.ShowJudgementDetailResponse, error)
- func (c *ClassroomClient) ShowJudgementDetailInvoker(request *model.ShowJudgementDetailRequest) *ShowJudgementDetailInvoker
- func (c *ClassroomClient) ShowJudgementFile(request *model.ShowJudgementFileRequest) (*model.ShowJudgementFileResponse, error)
- func (c *ClassroomClient) ShowJudgementFileInvoker(request *model.ShowJudgementFileRequest) *ShowJudgementFileInvoker
- type ListClassroomMemberJobsInvoker
- type ListClassroomMembersInvoker
- type ListClassroomsInvoker
- type ListJobsInvoker
- type ListMemberJobRecordsInvoker
- type ShowClassroomDetailInvoker
- type ShowJobDetailInvoker
- type ShowJobExercisesInvoker
- type ShowJudgementDetailInvoker
- type ShowJudgementFileInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClassroomClientBuilder ¶
func ClassroomClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForApplyJudgement ¶ added in v0.0.54
func GenReqDefForApplyJudgement() *def.HttpRequestDef
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
func GenReqDefForShowJudgementDetail ¶ added in v0.0.54
func GenReqDefForShowJudgementDetail() *def.HttpRequestDef
func GenReqDefForShowJudgementFile ¶ added in v0.0.54
func GenReqDefForShowJudgementFile() *def.HttpRequestDef
Types ¶
type ApplyJudgementInvoker ¶ added in v0.0.90
type ApplyJudgementInvoker struct {
*invoker.BaseInvoker
}
func (*ApplyJudgementInvoker) Invoke ¶ added in v0.0.90
func (i *ApplyJudgementInvoker) Invoke() (*model.ApplyJudgementResponse, error)
type ClassroomClient ¶
type ClassroomClient struct {
HcClient *http_client.HcHttpClient
}
func NewClassroomClient ¶
func NewClassroomClient(hcClient *http_client.HcHttpClient) *ClassroomClient
func (*ClassroomClient) ApplyJudgement ¶ added in v0.0.54
func (c *ClassroomClient) ApplyJudgement(request *model.ApplyJudgementRequest) (*model.ApplyJudgementResponse, error)
ApplyJudgement 下发判题任务
下发判题任务,根据回调地址、代码来源、源代码文本、语言类型、超时时长、输出类型,触发后台代码编译运行和判题
Please refer to HUAWEI cloud API Explorer for details.
func (*ClassroomClient) ApplyJudgementInvoker ¶ added in v0.0.90
func (c *ClassroomClient) ApplyJudgementInvoker(request *model.ApplyJudgementRequest) *ApplyJudgementInvoker
ApplyJudgementInvoker 下发判题任务
func (*ClassroomClient) ListClassroomMemberJobs ¶
func (c *ClassroomClient) ListClassroomMemberJobs(request *model.ListClassroomMemberJobsRequest) (*model.ListClassroomMemberJobsResponse, error)
ListClassroomMemberJobs 查询课堂下指定成员的作业信息
查询课堂下指定成员的作业信息
Please refer to HUAWEI cloud API Explorer for details.
func (*ClassroomClient) ListClassroomMemberJobsInvoker ¶ added in v0.0.90
func (c *ClassroomClient) ListClassroomMemberJobsInvoker(request *model.ListClassroomMemberJobsRequest) *ListClassroomMemberJobsInvoker
ListClassroomMemberJobsInvoker 查询课堂下指定成员的作业信息
func (*ClassroomClient) ListClassroomMembers ¶
func (c *ClassroomClient) ListClassroomMembers(request *model.ListClassroomMembersRequest) (*model.ListClassroomMembersResponse, error)
ListClassroomMembers 根据课堂ID获取指定课堂的课堂成员列表
根据课堂ID获取指定课堂的课堂成员列表,支持分页,搜索字段默认同时匹配姓名,学号,用户名,班级。
Please refer to HUAWEI cloud API Explorer for details.
func (*ClassroomClient) ListClassroomMembersInvoker ¶ added in v0.0.90
func (c *ClassroomClient) ListClassroomMembersInvoker(request *model.ListClassroomMembersRequest) *ListClassroomMembersInvoker
ListClassroomMembersInvoker 根据课堂ID获取指定课堂的课堂成员列表
func (*ClassroomClient) ListClassrooms ¶
func (c *ClassroomClient) ListClassrooms(request *model.ListClassroomsRequest) (*model.ListClassroomsResponse, error)
ListClassrooms 获取当前用户的课堂列表
获取当前用户的课堂列表,课堂课表分为我创建的课堂,我加入的课堂以及所有课堂,支持分页查询。
Please refer to HUAWEI cloud API Explorer for details.
func (*ClassroomClient) ListClassroomsInvoker ¶ added in v0.0.90
func (c *ClassroomClient) ListClassroomsInvoker(request *model.ListClassroomsRequest) *ListClassroomsInvoker
ListClassroomsInvoker 获取当前用户的课堂列表
func (*ClassroomClient) ListJobs ¶
func (c *ClassroomClient) ListJobs(request *model.ListJobsRequest) (*model.ListJobsResponse, error)
ListJobs 查询指定课堂下的作业列表信息
查询指定课堂下的作业列表信息,支持分页查询。
Please refer to HUAWEI cloud API Explorer for details.
func (*ClassroomClient) ListJobsInvoker ¶ added in v0.0.90
func (c *ClassroomClient) ListJobsInvoker(request *model.ListJobsRequest) *ListJobsInvoker
ListJobsInvoker 查询指定课堂下的作业列表信息
func (*ClassroomClient) ListMemberJobRecords ¶
func (c *ClassroomClient) ListMemberJobRecords(request *model.ListMemberJobRecordsRequest) (*model.ListMemberJobRecordsResponse, error)
ListMemberJobRecords 查询学生函数习题提交记录信息
查询学生指定作业的习题提交记录信息(针对函数习题)
Please refer to HUAWEI cloud API Explorer for details.
func (*ClassroomClient) ListMemberJobRecordsInvoker ¶ added in v0.0.90
func (c *ClassroomClient) ListMemberJobRecordsInvoker(request *model.ListMemberJobRecordsRequest) *ListMemberJobRecordsInvoker
ListMemberJobRecordsInvoker 查询学生函数习题提交记录信息
func (*ClassroomClient) ShowClassroomDetail ¶
func (c *ClassroomClient) ShowClassroomDetail(request *model.ShowClassroomDetailRequest) (*model.ShowClassroomDetailResponse, error)
ShowClassroomDetail 根据课堂ID获取指定课堂的详细信息
根据课堂ID获取指定课堂的详细信息
Please refer to HUAWEI cloud API Explorer for details.
func (*ClassroomClient) ShowClassroomDetailInvoker ¶ added in v0.0.90
func (c *ClassroomClient) ShowClassroomDetailInvoker(request *model.ShowClassroomDetailRequest) *ShowClassroomDetailInvoker
ShowClassroomDetailInvoker 根据课堂ID获取指定课堂的详细信息
func (*ClassroomClient) ShowJobDetail ¶
func (c *ClassroomClient) ShowJobDetail(request *model.ShowJobDetailRequest) (*model.ShowJobDetailResponse, error)
ShowJobDetail 根据作业ID,查询指定作业的信息
根据作业ID,查询指定作业的信息
Please refer to HUAWEI cloud API Explorer for details.
func (*ClassroomClient) ShowJobDetailInvoker ¶ added in v0.0.90
func (c *ClassroomClient) ShowJobDetailInvoker(request *model.ShowJobDetailRequest) *ShowJobDetailInvoker
ShowJobDetailInvoker 根据作业ID,查询指定作业的信息
func (*ClassroomClient) ShowJobExercises ¶
func (c *ClassroomClient) ShowJobExercises(request *model.ShowJobExercisesRequest) (*model.ShowJobExercisesResponse, error)
ShowJobExercises 查询指定作业下的习题信息
查询指定作业下的习题信息
Please refer to HUAWEI cloud API Explorer for details.
func (*ClassroomClient) ShowJobExercisesInvoker ¶ added in v0.0.90
func (c *ClassroomClient) ShowJobExercisesInvoker(request *model.ShowJobExercisesRequest) *ShowJobExercisesInvoker
ShowJobExercisesInvoker 查询指定作业下的习题信息
func (*ClassroomClient) ShowJudgementDetail ¶ added in v0.0.54
func (c *ClassroomClient) ShowJudgementDetail(request *model.ShowJudgementDetailRequest) (*model.ShowJudgementDetailResponse, error)
ShowJudgementDetail 获取判题结果详情
根据判题任务ID获取判题结果详情
Please refer to HUAWEI cloud API Explorer for details.
func (*ClassroomClient) ShowJudgementDetailInvoker ¶ added in v0.0.90
func (c *ClassroomClient) ShowJudgementDetailInvoker(request *model.ShowJudgementDetailRequest) *ShowJudgementDetailInvoker
ShowJudgementDetailInvoker 获取判题结果详情
func (*ClassroomClient) ShowJudgementFile ¶ added in v0.0.54
func (c *ClassroomClient) ShowJudgementFile(request *model.ShowJudgementFileRequest) (*model.ShowJudgementFileResponse, error)
ShowJudgementFile 下载判题结果文件
根据文件id或图片id下载输出结果文件
Please refer to HUAWEI cloud API Explorer for details.
func (*ClassroomClient) ShowJudgementFileInvoker ¶ added in v0.0.90
func (c *ClassroomClient) ShowJudgementFileInvoker(request *model.ShowJudgementFileRequest) *ShowJudgementFileInvoker
ShowJudgementFileInvoker 下载判题结果文件
type ListClassroomMemberJobsInvoker ¶ added in v0.0.90
type ListClassroomMemberJobsInvoker struct {
*invoker.BaseInvoker
}
func (*ListClassroomMemberJobsInvoker) Invoke ¶ added in v0.0.90
func (i *ListClassroomMemberJobsInvoker) Invoke() (*model.ListClassroomMemberJobsResponse, error)
type ListClassroomMembersInvoker ¶ added in v0.0.90
type ListClassroomMembersInvoker struct {
*invoker.BaseInvoker
}
func (*ListClassroomMembersInvoker) Invoke ¶ added in v0.0.90
func (i *ListClassroomMembersInvoker) Invoke() (*model.ListClassroomMembersResponse, error)
type ListClassroomsInvoker ¶ added in v0.0.90
type ListClassroomsInvoker struct {
*invoker.BaseInvoker
}
func (*ListClassroomsInvoker) Invoke ¶ added in v0.0.90
func (i *ListClassroomsInvoker) Invoke() (*model.ListClassroomsResponse, error)
type ListJobsInvoker ¶ added in v0.0.90
type ListJobsInvoker struct {
*invoker.BaseInvoker
}
func (*ListJobsInvoker) Invoke ¶ added in v0.0.90
func (i *ListJobsInvoker) Invoke() (*model.ListJobsResponse, error)
type ListMemberJobRecordsInvoker ¶ added in v0.0.90
type ListMemberJobRecordsInvoker struct {
*invoker.BaseInvoker
}
func (*ListMemberJobRecordsInvoker) Invoke ¶ added in v0.0.90
func (i *ListMemberJobRecordsInvoker) Invoke() (*model.ListMemberJobRecordsResponse, error)
type ShowClassroomDetailInvoker ¶ added in v0.0.90
type ShowClassroomDetailInvoker struct {
*invoker.BaseInvoker
}
func (*ShowClassroomDetailInvoker) Invoke ¶ added in v0.0.90
func (i *ShowClassroomDetailInvoker) Invoke() (*model.ShowClassroomDetailResponse, error)
type ShowJobDetailInvoker ¶ added in v0.0.90
type ShowJobDetailInvoker struct {
*invoker.BaseInvoker
}
func (*ShowJobDetailInvoker) Invoke ¶ added in v0.0.90
func (i *ShowJobDetailInvoker) Invoke() (*model.ShowJobDetailResponse, error)
type ShowJobExercisesInvoker ¶ added in v0.0.90
type ShowJobExercisesInvoker struct {
*invoker.BaseInvoker
}
func (*ShowJobExercisesInvoker) Invoke ¶ added in v0.0.90
func (i *ShowJobExercisesInvoker) Invoke() (*model.ShowJobExercisesResponse, error)
type ShowJudgementDetailInvoker ¶ added in v0.0.90
type ShowJudgementDetailInvoker struct {
*invoker.BaseInvoker
}
func (*ShowJudgementDetailInvoker) Invoke ¶ added in v0.0.90
func (i *ShowJudgementDetailInvoker) Invoke() (*model.ShowJudgementDetailResponse, error)
type ShowJudgementFileInvoker ¶ added in v0.0.90
type ShowJudgementFileInvoker struct {
*invoker.BaseInvoker
}
func (*ShowJudgementFileInvoker) Invoke ¶ added in v0.0.90
func (i *ShowJudgementFileInvoker) Invoke() (*model.ShowJudgementFileResponse, error)