Documentation
¶
Index ¶
- type DtoCall
- type DtoCampusResponse
- type DtoCollegeResponse
- type DtoErrorResponse
- type DtoGetParserResponse
- type DtoLesson
- type DtoNewParserRequest
- type DtoNewParserResponse
- type DtoScheduleLessonResponse
- func (m *DtoScheduleLessonResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtoScheduleLessonResponse) MarshalBinary() ([]byte, error)
- func (m *DtoScheduleLessonResponse) UnmarshalBinary(b []byte) error
- func (m *DtoScheduleLessonResponse) Validate(formats strfmt.Registry) error
- type DtoScheduleResponse
- type DtoStudentGroupResponse
- func (m *DtoStudentGroupResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtoStudentGroupResponse) MarshalBinary() ([]byte, error)
- func (m *DtoStudentGroupResponse) UnmarshalBinary(b []byte) error
- func (m *DtoStudentGroupResponse) Validate(formats strfmt.Registry) error
- type DtoUpdateGroupsRequest
- func (m *DtoUpdateGroupsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtoUpdateGroupsRequest) MarshalBinary() ([]byte, error)
- func (m *DtoUpdateGroupsRequest) UnmarshalBinary(b []byte) error
- func (m *DtoUpdateGroupsRequest) Validate(formats strfmt.Registry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DtoCampusResponse ¶
type DtoCampusResponse struct {
// campus Id
CampusID int64 `json:"campusId,omitempty"`
// groups
Groups []*DtoStudentGroupResponse `json:"groups"`
// name
Name string `json:"name,omitempty"`
}
DtoCampusResponse dto campus response
swagger:model dto.CampusResponse
func (*DtoCampusResponse) ContextValidate ¶
ContextValidate validate this dto campus response based on the context it is used
func (*DtoCampusResponse) MarshalBinary ¶
func (m *DtoCampusResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DtoCampusResponse) UnmarshalBinary ¶
func (m *DtoCampusResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DtoCollegeResponse ¶
type DtoCollegeResponse struct {
// campuses
Campuses []*DtoCampusResponse `json:"campuses"`
// college Id
CollegeID int64 `json:"collegeId,omitempty"`
// name
Name string `json:"name,omitempty"`
}
DtoCollegeResponse dto college response
swagger:model dto.CollegeResponse
func (*DtoCollegeResponse) ContextValidate ¶
ContextValidate validate this dto college response based on the context it is used
func (*DtoCollegeResponse) MarshalBinary ¶
func (m *DtoCollegeResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DtoCollegeResponse) UnmarshalBinary ¶
func (m *DtoCollegeResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DtoErrorResponse ¶
type DtoErrorResponse struct {
// error
Error string `json:"error,omitempty"`
// status code
StatusCode int64 `json:"statusCode,omitempty"`
}
DtoErrorResponse dto error response
swagger:model dto.ErrorResponse
func (*DtoErrorResponse) ContextValidate ¶
ContextValidate validates this dto error response based on context it is used
func (*DtoErrorResponse) MarshalBinary ¶
func (m *DtoErrorResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DtoErrorResponse) UnmarshalBinary ¶
func (m *DtoErrorResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DtoGetParserResponse ¶
type DtoGetParserResponse struct {
// college Id
CollegeID int64 `json:"collegeId,omitempty"`
}
DtoGetParserResponse dto get parser response
swagger:model dto.GetParserResponse
func (*DtoGetParserResponse) ContextValidate ¶
ContextValidate validates this dto get parser response based on context it is used
func (*DtoGetParserResponse) MarshalBinary ¶
func (m *DtoGetParserResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DtoGetParserResponse) UnmarshalBinary ¶
func (m *DtoGetParserResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DtoLesson ¶
type DtoLesson struct {
// cabinet
Cabinet string `json:"cabinet,omitempty"`
// date
Date string `json:"date,omitempty"`
// lesson Id
LessonID int64 `json:"lessonId,omitempty"`
// order
Order int64 `json:"order,omitempty"`
// student group ID
StudentGroupID int64 `json:"studentGroupID,omitempty"`
// teacher
Teacher string `json:"teacher,omitempty"`
// title
Title string `json:"title,omitempty"`
}
DtoLesson dto lesson
swagger:model dto.Lesson
func (*DtoLesson) ContextValidate ¶
ContextValidate validates this dto lesson based on context it is used
func (*DtoLesson) MarshalBinary ¶
MarshalBinary interface implementation
func (*DtoLesson) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type DtoNewParserRequest ¶
type DtoNewParserRequest struct {
// campus names
CampusNames []string `json:"campusNames"`
// college name
CollegeName string `json:"collegeName,omitempty"`
}
DtoNewParserRequest dto new parser request
swagger:model dto.NewParserRequest
func (*DtoNewParserRequest) ContextValidate ¶
ContextValidate validates this dto new parser request based on context it is used
func (*DtoNewParserRequest) MarshalBinary ¶
func (m *DtoNewParserRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DtoNewParserRequest) UnmarshalBinary ¶
func (m *DtoNewParserRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DtoNewParserResponse ¶
type DtoNewParserResponse struct {
// token
Token string `json:"token,omitempty"`
}
DtoNewParserResponse dto new parser response
swagger:model dto.NewParserResponse
func (*DtoNewParserResponse) ContextValidate ¶
ContextValidate validates this dto new parser response based on context it is used
func (*DtoNewParserResponse) MarshalBinary ¶
func (m *DtoNewParserResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DtoNewParserResponse) UnmarshalBinary ¶
func (m *DtoNewParserResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DtoScheduleLessonResponse ¶
type DtoScheduleLessonResponse struct {
// cabinet
Cabinet string `json:"cabinet,omitempty"`
// end time
EndTime string `json:"endTime,omitempty"`
// order
Order int64 `json:"order,omitempty"`
// start time
StartTime string `json:"startTime,omitempty"`
// teacher
Teacher string `json:"teacher,omitempty"`
// title
Title string `json:"title,omitempty"`
}
DtoScheduleLessonResponse dto schedule lesson response
swagger:model dto.ScheduleLessonResponse
func (*DtoScheduleLessonResponse) ContextValidate ¶
func (m *DtoScheduleLessonResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this dto schedule lesson response based on context it is used
func (*DtoScheduleLessonResponse) MarshalBinary ¶
func (m *DtoScheduleLessonResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DtoScheduleLessonResponse) UnmarshalBinary ¶
func (m *DtoScheduleLessonResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DtoScheduleResponse ¶
type DtoScheduleResponse struct {
// date
Date string `json:"date,omitempty"`
// group Id
GroupID int64 `json:"groupId,omitempty"`
// lessons
Lessons []*DtoScheduleLessonResponse `json:"lessons"`
}
DtoScheduleResponse dto schedule response
swagger:model dto.ScheduleResponse
func (*DtoScheduleResponse) ContextValidate ¶
ContextValidate validate this dto schedule response based on the context it is used
func (*DtoScheduleResponse) MarshalBinary ¶
func (m *DtoScheduleResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DtoScheduleResponse) UnmarshalBinary ¶
func (m *DtoScheduleResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DtoStudentGroupResponse ¶
type DtoStudentGroupResponse struct {
// campus Id
CampusID int64 `json:"campusId,omitempty"`
// name
Name string `json:"name,omitempty"`
// student group Id
StudentGroupID int64 `json:"studentGroupId,omitempty"`
}
DtoStudentGroupResponse dto student group response
swagger:model dto.StudentGroupResponse
func (*DtoStudentGroupResponse) ContextValidate ¶
func (m *DtoStudentGroupResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this dto student group response based on context it is used
func (*DtoStudentGroupResponse) MarshalBinary ¶
func (m *DtoStudentGroupResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DtoStudentGroupResponse) UnmarshalBinary ¶
func (m *DtoStudentGroupResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DtoUpdateGroupsRequest ¶
type DtoUpdateGroupsRequest struct {
// campus Id
CampusID int64 `json:"campusId,omitempty"`
// student group names
StudentGroupNames []string `json:"studentGroupNames"`
}
DtoUpdateGroupsRequest dto update groups request
swagger:model dto.UpdateGroupsRequest
func (*DtoUpdateGroupsRequest) ContextValidate ¶
func (m *DtoUpdateGroupsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this dto update groups request based on context it is used
func (*DtoUpdateGroupsRequest) MarshalBinary ¶
func (m *DtoUpdateGroupsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DtoUpdateGroupsRequest) UnmarshalBinary ¶
func (m *DtoUpdateGroupsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation