dtos

package
v0.50.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateLaboratoryDTO

type CreateLaboratoryDTO struct {
	TeacherUUID string
	CourseUUID  string
	Name        string
	OpeningDate string
	DueDate     string
}

type CreateMarkdownBlockDTO added in v0.32.0

type CreateMarkdownBlockDTO struct {
	TeacherUUID    string
	LaboratoryUUID string
}

type CreateTestBlockDTO added in v0.36.0

type CreateTestBlockDTO struct {
	TeacherUUID     string
	LaboratoryUUID  string
	LanguageUUID    string
	TestArchiveUUID string
	Name            string
	MultipartFile   *multipart.File
}

type GetLaboratoryDTO added in v0.31.0

type GetLaboratoryDTO struct {
	LaboratoryUUID string
	UserUUID       string
}

type GetLaboratoryProgressDTO added in v0.44.0

type GetLaboratoryProgressDTO struct {
	LaboratoryUUID string
	TeacherUUID    string
}

type LaboratoryDetailsDTO added in v0.45.0

type LaboratoryDetailsDTO struct {
	UUID        string  `json:"uuid"`
	CourseUUID  string  `json:"-"`
	RubricUUID  *string `json:"rubric_uuid"`
	Name        string  `json:"name"`
	OpeningDate string  `json:"opening_date"`
	DueDate     string  `json:"due_date"`
}

type LaboratoryProgressDTO added in v0.44.0

type LaboratoryProgressDTO struct {
	TotalTestBlocks  int                             `json:"total_test_blocks"`
	StudentsProgress []*LaboratoryStudentProgressDTO `json:"students_progress"`
}

type LaboratoryStudentProgressDTO added in v0.44.0

type LaboratoryStudentProgressDTO struct {
	StudentUUID        string `json:"student_uuid"`
	StudentFullName    string `json:"student_full_name"`
	PendingSubmissions int    `json:"pending_submissions"`
	RunningSubmissions int    `json:"running_submissions"`
	FailingSubmissions int    `json:"failing_submissions"`
	SuccessSubmissions int    `json:"success_submissions"`
}

type UpdateLaboratoryDTO added in v0.30.0

type UpdateLaboratoryDTO struct {
	LaboratoryUUID string
	TeacherUUID    string
	RubricUUID     *string
	Name           string
	OpeningDate    string
	DueDate        string
}

Jump to

Keyboard shortcuts

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