v3

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

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

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

ApplyJudgement 下发判题任务

下发判题任务,根据回调地址、代码来源、源代码文本、语言类型、超时时长、输出类型,触发后台代码编译运行和判题

详细说明请参考华为云API Explorer。 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

ListClassroomMemberJobs 查询课堂下指定成员的作业信息

查询课堂下指定成员的作业信息

详细说明请参考华为云API Explorer。 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

ListClassroomMembers 根据课堂ID获取指定课堂的课堂成员列表

根据课堂ID获取指定课堂的课堂成员列表,支持分页,搜索字段默认同时匹配姓名,学号,用户名,班级。

详细说明请参考华为云API Explorer。 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

ListClassrooms 获取当前用户的课堂列表

获取当前用户的课堂列表,课堂课表分为我创建的课堂,我加入的课堂以及所有课堂,支持分页查询。

详细说明请参考华为云API Explorer。 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

ListJobs 查询指定课堂下的作业列表信息

查询指定课堂下的作业列表信息,支持分页查询。

详细说明请参考华为云API Explorer。 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

ListMemberJobRecords 查询学生函数习题提交记录信息

查询学生指定作业的习题提交记录信息(针对函数习题)

详细说明请参考华为云API Explorer。 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

ShowClassroomDetail 根据课堂ID获取指定课堂的详细信息

根据课堂ID获取指定课堂的详细信息

详细说明请参考华为云API Explorer。 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

ShowJobDetail 根据作业ID,查询指定作业的信息

根据作业ID,查询指定作业的信息

详细说明请参考华为云API Explorer。 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

ShowJobExercises 查询指定作业下的习题信息

查询指定作业下的习题信息

详细说明请参考华为云API Explorer。 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

ShowJudgementDetail 获取判题结果详情

根据判题任务ID获取判题结果详情

详细说明请参考华为云API Explorer。 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

ShowJudgementFile 下载判题结果文件

根据文件id或图片id下载输出结果文件

详细说明请参考华为云API Explorer。 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

type ListClassroomMembersInvoker added in v0.0.90

type ListClassroomMembersInvoker struct {
	*invoker.BaseInvoker
}

func (*ListClassroomMembersInvoker) Invoke added in v0.0.90

type ListClassroomsInvoker added in v0.0.90

type ListClassroomsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListClassroomsInvoker) Invoke added in v0.0.90

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

type ShowClassroomDetailInvoker added in v0.0.90

type ShowClassroomDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowClassroomDetailInvoker) Invoke added in v0.0.90

type ShowJobDetailInvoker added in v0.0.90

type ShowJobDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowJobDetailInvoker) Invoke added in v0.0.90

type ShowJobExercisesInvoker added in v0.0.90

type ShowJobExercisesInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowJobExercisesInvoker) Invoke added in v0.0.90

type ShowJudgementDetailInvoker added in v0.0.90

type ShowJudgementDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowJudgementDetailInvoker) Invoke added in v0.0.90

type ShowJudgementFileInvoker added in v0.0.90

type ShowJudgementFileInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowJudgementFileInvoker) Invoke added in v0.0.90

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL