Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateLaboratoryRequest ¶
type CreateLaboratoryRequest struct { CourseUUID string `json:"course_uuid" validate:"required,uuid4"` Name string `json:"name" validate:"required,min=4,max=255"` OpeningDate string `json:"opening_date" validate:"required,ISO_date"` DueDate string `json:"due_date" validate:"required,ISO_date"` }
func (*CreateLaboratoryRequest) ToDTO ¶
func (request *CreateLaboratoryRequest) ToDTO(teacherUUID string) *dtos.CreateLaboratoryDTO
type CreateTestBlockRequest ¶ added in v0.36.0
type UpdateLaboratoryRequest ¶ added in v0.30.0
type UpdateLaboratoryRequest struct { Name string `json:"name" validate:"required,min=4,max=255"` OpeningDate string `json:"opening_date" validate:"required,ISO_date"` DueDate string `json:"due_date" validate:"required,ISO_date"` RubricUUID *string `json:"rubric_uuid,omitempty" validate:"omitempty,uuid4"` }
func (*UpdateLaboratoryRequest) ToDTO ¶ added in v0.30.0
func (request *UpdateLaboratoryRequest) ToDTO(laboratoryUUID string, teacherUUID string) *dtos.UpdateLaboratoryDTO
Click to show internal directories.
Click to hide internal directories.