v3

package
v0.1.60 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 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 GenReqDefForExecuteExercise added in v0.1.45

func GenReqDefForExecuteExercise() *def.HttpRequestDef

func GenReqDefForListAllDifficults added in v0.1.45

func GenReqDefForListAllDifficults() *def.HttpRequestDef

func GenReqDefForListClassroomMemberJobs

func GenReqDefForListClassroomMemberJobs() *def.HttpRequestDef

func GenReqDefForListClassroomMembers

func GenReqDefForListClassroomMembers() *def.HttpRequestDef

func GenReqDefForListClassrooms

func GenReqDefForListClassrooms() *def.HttpRequestDef

func GenReqDefForListExercises added in v0.1.45

func GenReqDefForListExercises() *def.HttpRequestDef

func GenReqDefForListJobs

func GenReqDefForListJobs() *def.HttpRequestDef

func GenReqDefForListMemberJobRecords

func GenReqDefForListMemberJobRecords() *def.HttpRequestDef

func GenReqDefForListMyKnowledgePoints added in v0.1.45

func GenReqDefForListMyKnowledgePoints() *def.HttpRequestDef

func GenReqDefForListPackages added in v0.1.45

func GenReqDefForListPackages() *def.HttpRequestDef

func GenReqDefForShowClassroomDetail

func GenReqDefForShowClassroomDetail() *def.HttpRequestDef

func GenReqDefForShowExerciseDetail added in v0.1.45

func GenReqDefForShowExerciseDetail() *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

func GenReqDefForShowPackageDetail added in v0.1.45

func GenReqDefForShowPackageDetail() *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 下发判题任务

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

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) ExecuteExercise added in v0.1.45

ExecuteExercise 习题判题

习题判题

Please refer to HUAWEI cloud API Explorer for details.

func (*ClassroomClient) ExecuteExerciseInvoker added in v0.1.45

func (c *ClassroomClient) ExecuteExerciseInvoker(request *model.ExecuteExerciseRequest) *ExecuteExerciseInvoker

ExecuteExerciseInvoker 习题判题

func (*ClassroomClient) ListAllDifficults added in v0.1.45

ListAllDifficults 获取习题所有难度

获取习题所有难度

Please refer to HUAWEI cloud API Explorer for details.

func (*ClassroomClient) ListAllDifficultsInvoker added in v0.1.45

func (c *ClassroomClient) ListAllDifficultsInvoker(request *model.ListAllDifficultsRequest) *ListAllDifficultsInvoker

ListAllDifficultsInvoker 获取习题所有难度

func (*ClassroomClient) ListClassroomMemberJobs

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

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

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) ListExercises added in v0.1.45

ListExercises 查询习题库下习题列表

查询习题库下习题列表

Please refer to HUAWEI cloud API Explorer for details.

func (*ClassroomClient) ListExercisesInvoker added in v0.1.45

func (c *ClassroomClient) ListExercisesInvoker(request *model.ListExercisesRequest) *ListExercisesInvoker

ListExercisesInvoker 查询习题库下习题列表

func (*ClassroomClient) ListJobs

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

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) ListMyKnowledgePoints added in v0.1.45

ListMyKnowledgePoints 获取自身习题知识点

获取自身习题知识点

Please refer to HUAWEI cloud API Explorer for details.

func (*ClassroomClient) ListMyKnowledgePointsInvoker added in v0.1.45

func (c *ClassroomClient) ListMyKnowledgePointsInvoker(request *model.ListMyKnowledgePointsRequest) *ListMyKnowledgePointsInvoker

ListMyKnowledgePointsInvoker 获取自身习题知识点

func (*ClassroomClient) ListPackages added in v0.1.45

ListPackages 查询当前租户的习题库列表

查询当前租户的习题库列表

Please refer to HUAWEI cloud API Explorer for details.

func (*ClassroomClient) ListPackagesInvoker added in v0.1.45

func (c *ClassroomClient) ListPackagesInvoker(request *model.ListPackagesRequest) *ListPackagesInvoker

ListPackagesInvoker 查询当前租户的习题库列表

func (*ClassroomClient) ShowClassroomDetail

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) ShowExerciseDetail added in v0.1.45

ShowExerciseDetail 查询单个习题详情

查询单个习题详情

Please refer to HUAWEI cloud API Explorer for details.

func (*ClassroomClient) ShowExerciseDetailInvoker added in v0.1.45

func (c *ClassroomClient) ShowExerciseDetailInvoker(request *model.ShowExerciseDetailRequest) *ShowExerciseDetailInvoker

ShowExerciseDetailInvoker 查询单个习题详情

func (*ClassroomClient) ShowJobDetail

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

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

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

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 下载判题结果文件

func (*ClassroomClient) ShowPackageDetail added in v0.1.45

ShowPackageDetail 查询单个习题库详情

查询单个习题库详情

Please refer to HUAWEI cloud API Explorer for details.

func (*ClassroomClient) ShowPackageDetailInvoker added in v0.1.45

func (c *ClassroomClient) ShowPackageDetailInvoker(request *model.ShowPackageDetailRequest) *ShowPackageDetailInvoker

ShowPackageDetailInvoker 查询单个习题库详情

type ExecuteExerciseInvoker added in v0.1.45

type ExecuteExerciseInvoker struct {
	*invoker.BaseInvoker
}

func (*ExecuteExerciseInvoker) Invoke added in v0.1.45

type ListAllDifficultsInvoker added in v0.1.45

type ListAllDifficultsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAllDifficultsInvoker) Invoke added in v0.1.45

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 ListExercisesInvoker added in v0.1.45

type ListExercisesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListExercisesInvoker) Invoke added in v0.1.45

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 ListMyKnowledgePointsInvoker added in v0.1.45

type ListMyKnowledgePointsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListMyKnowledgePointsInvoker) Invoke added in v0.1.45

type ListPackagesInvoker added in v0.1.45

type ListPackagesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListPackagesInvoker) Invoke added in v0.1.45

type ShowClassroomDetailInvoker added in v0.0.90

type ShowClassroomDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowClassroomDetailInvoker) Invoke added in v0.0.90

type ShowExerciseDetailInvoker added in v0.1.45

type ShowExerciseDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowExerciseDetailInvoker) Invoke added in v0.1.45

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

type ShowPackageDetailInvoker added in v0.1.45

type ShowPackageDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowPackageDetailInvoker) Invoke added in v0.1.45

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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