Documentation ¶
Index ¶
- func GetSectionsForStudentInputPath(studentID string) (string, error)
- func ValidateGetSectionsForStudentInput(studentID string) error
- type BadRequest
- type GetSectionsForStudentInput
- type GradeFile
- type InternalError
- type PostGradeFileForStudentInput
- type PostSectionsForStudentInput
- type Section
- type SectionType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSectionsForStudentInputPath ¶
GetSectionsForStudentInputPath returns the URI path for the input.
func ValidateGetSectionsForStudentInput ¶
ValidateGetSectionsForStudentInput returns an error if the input parameter doesn't satisfy the requirements in the swagger yml file.
Types ¶
type BadRequest ¶
type BadRequest struct { // message Message string `json:"message,omitempty"` }
BadRequest bad request swagger:model BadRequest
func (BadRequest) Error ¶
func (o BadRequest) Error() string
func (*BadRequest) MarshalBinary ¶
func (m *BadRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BadRequest) UnmarshalBinary ¶
func (m *BadRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetSectionsForStudentInput ¶
type GetSectionsForStudentInput struct {
StudentID string
}
GetSectionsForStudentInput holds the input parameters for a getSectionsForStudent operation.
type GradeFile ¶ added in v6.3.0
type GradeFile io.ReadCloser
GradeFile grade file swagger:model GradeFile
type InternalError ¶
type InternalError struct { // message Message string `json:"message,omitempty"` }
InternalError internal error swagger:model InternalError
func (InternalError) Error ¶
func (o InternalError) Error() string
func (*InternalError) MarshalBinary ¶
func (m *InternalError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InternalError) UnmarshalBinary ¶
func (m *InternalError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostGradeFileForStudentInput ¶ added in v6.3.0
PostGradeFileForStudentInput holds the input parameters for a postGradeFileForStudent operation.
func (PostGradeFileForStudentInput) Path ¶ added in v6.3.0
func (i PostGradeFileForStudentInput) Path() (string, error)
Path returns the URI path for the input.
func (PostGradeFileForStudentInput) Validate ¶ added in v6.3.0
func (i PostGradeFileForStudentInput) Validate() error
Validate returns an error if any of the PostGradeFileForStudentInput parameters don't satisfy the requirements from the swagger yml file.
type PostSectionsForStudentInput ¶
PostSectionsForStudentInput holds the input parameters for a postSectionsForStudent operation.
func (PostSectionsForStudentInput) Path ¶
func (i PostSectionsForStudentInput) Path() (string, error)
Path returns the URI path for the input.
func (PostSectionsForStudentInput) Validate ¶
func (i PostSectionsForStudentInput) Validate() error
Validate returns an error if any of the PostSectionsForStudentInput parameters don't satisfy the requirements from the swagger yml file.
type Section ¶
type Section struct { // id ID string `json:"id,omitempty"` // name Name string `json:"name,omitempty"` // period Period string `json:"period,omitempty"` }
Section section swagger:model Section
func (*Section) MarshalBinary ¶
MarshalBinary interface implementation
func (*Section) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SectionType ¶
type SectionType string
SectionType section type swagger:model SectionType
const ( // SectionTypeMath captures enum value "math" SectionTypeMath SectionType = "math" // SectionTypeScience captures enum value "science" SectionTypeScience SectionType = "science" // SectionTypeReading captures enum value "reading" SectionTypeReading SectionType = "reading" )