Documentation
¶
Index ¶
- type CheckIfStudentHasGradeDTO
- type CreateStudentGradeDTO
- type GetStudentGradeDTO
- type GetStudentGradeInLaboratoryWithRubricDTO
- type GetSummarizedGradesInLaboratoryDTO
- type SelectedCriteriaInStudentGradeDTO
- type SetCommentToGradeDTO
- type SetCriteriaToGradeDTO
- type StudentGradeInLaboratoryWithRubricDTO
- type SummarizedStudentGradeDTO
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckIfStudentHasGradeDTO ¶
type CheckIfStudentHasGradeDTO struct {
StudentUUID string
LaboratoryUUID string
RubricUUID string
}
CheckIfStudentHasGradeDTO data transfer object to check if a student has a grade in a laboratory
type CreateStudentGradeDTO ¶
type CreateStudentGradeDTO struct {
CheckIfStudentHasGradeDTO
}
type GetStudentGradeDTO ¶
type GetStudentGradeDTO struct {
CheckIfStudentHasGradeDTO
}
type GetStudentGradeInLaboratoryWithRubricDTO ¶
type GetStudentGradeInLaboratoryWithRubricDTO struct {
UserUUID string
StudentUUID string
LaboratoryUUID string
RubricUUID string
}
GetStudentGradeInLaboratoryWithRubricDTO data transfer object to parse the request of the endpoint
type GetSummarizedGradesInLaboratoryDTO ¶
GetSummarizedGradesInLaboratoryDTO data transfer object to parse the request of the endpoint
type SelectedCriteriaInStudentGradeDTO ¶
type SelectedCriteriaInStudentGradeDTO struct {
ObjectiveUUID string `json:"objective_uuid"`
CriteriaUUID *string `json:"criteria_uuid"`
}
SelectedCriteriaInStudentGradeDTO data transfer object to obtain the selected criteria in a student's grade
type SetCommentToGradeDTO ¶ added in v0.52.0
type SetCommentToGradeDTO struct {
TeacherUUID string
LaboratoryUUID string
RubricUUID string
StudentUUID string
Comment string
}
SetCommentToGradeDTO data transfer object to parse the request of the endpoint
type SetCriteriaToGradeDTO ¶
type SetCriteriaToGradeDTO struct {
TeacherUUID string
LaboratoryUUID string
StudentUUID string
RubricUUID string
CriteriaUUID *string
ObjectiveUUID string
}
SetCriteriaToGradeDTO data transfer object to parse the request of the endpoint
type StudentGradeInLaboratoryWithRubricDTO ¶
type StudentGradeInLaboratoryWithRubricDTO struct {
Grade float64 `json:"grade"`
Comment string `json:"comment"`
SelectedCriteria []*SelectedCriteriaInStudentGradeDTO `json:"selected_criteria"`
}
STudentGradeInLaboratoryWithRubricDTO data transfer object to be used as the response of the endpoint
type SummarizedStudentGradeDTO ¶
type SummarizedStudentGradeDTO struct {
StudentUUID string `json:"student_uuid"`
StudentFullName string `json:"student_full_name"`
Grade float64 `json:"grade"`
}
SummarizedStudentGradeDTO data transfer object to be used as the response of the endpoint