Documentation
¶
Index ¶
- type DtoCall
- type DtoCampusResponse
- type DtoCollegeResponse
- type DtoDate
- type DtoDateResponse
- type DtoErrorResponse
- type DtoGetParserResponse
- type DtoLesson
- type DtoNewParserRequest
- type DtoNewParserResponse
- type DtoReplace
- 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 DtoScheduleReplaceResponse
- func (m *DtoScheduleReplaceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtoScheduleReplaceResponse) MarshalBinary() ([]byte, error)
- func (m *DtoScheduleReplaceResponse) UnmarshalBinary(b []byte) error
- func (m *DtoScheduleReplaceResponse) 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
- type TimeWeekday
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DtoCall ¶
type DtoCall struct {
// begins
Begins string `json:"begins,omitempty"`
// call Id
CallID int64 `json:"callId,omitempty"`
// ends
Ends string `json:"ends,omitempty"`
// order
Order int64 `json:"order,omitempty"`
// weekday
Weekday TimeWeekday `json:"weekday,omitempty"`
}
DtoCall dto call
swagger:model dto.Call
func (*DtoCall) ContextValidate ¶ added in v0.3.2
ContextValidate validate this dto call based on the context it is used
func (*DtoCall) MarshalBinary ¶ added in v0.3.2
MarshalBinary interface implementation
func (*DtoCall) UnmarshalBinary ¶ added in v0.3.2
UnmarshalBinary interface implementation
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 DtoDate ¶ added in v0.4.0
type DtoDate struct {
// time time
TimeTime string `json:"time.Time,omitempty"`
}
DtoDate dto date
swagger:model dto.Date
func (*DtoDate) ContextValidate ¶ added in v0.4.0
ContextValidate validates this dto date based on context it is used
func (*DtoDate) MarshalBinary ¶ added in v0.4.0
MarshalBinary interface implementation
func (*DtoDate) UnmarshalBinary ¶ added in v0.4.0
UnmarshalBinary interface implementation
type DtoDateResponse ¶ added in v0.4.0
type DtoDateResponse struct {
// date
Date string `json:"date,omitempty"`
}
DtoDateResponse dto date response
swagger:model dto.DateResponse
func (*DtoDateResponse) ContextValidate ¶ added in v0.4.0
ContextValidate validates this dto date response based on context it is used
func (*DtoDateResponse) MarshalBinary ¶ added in v0.4.0
func (m *DtoDateResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DtoDateResponse) UnmarshalBinary ¶ added in v0.4.0
func (m *DtoDateResponse) 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 DtoReplace ¶ added in v0.4.0
type DtoReplace struct {
// cabinet
Cabinet *string `json:"cabinet,omitempty"`
// date
Date string `json:"date,omitempty"`
// order
Order int64 `json:"order,omitempty"`
// replace Id
ReplaceID int64 `json:"replaceId,omitempty"`
// student group ID
StudentGroupID int64 `json:"studentGroupID,omitempty"`
// teacher
Teacher *string `json:"teacher,omitempty"`
// title
Title *string `json:"title,omitempty"`
}
DtoReplace dto replace
swagger:model dto.Replace
func (*DtoReplace) ContextValidate ¶ added in v0.4.0
ContextValidate validates this dto replace based on context it is used
func (*DtoReplace) MarshalBinary ¶ added in v0.4.0
func (m *DtoReplace) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DtoReplace) UnmarshalBinary ¶ added in v0.4.0
func (m *DtoReplace) 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"`
// replace
Replace *DtoScheduleReplaceResponse `json:"replace,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 validate this dto schedule lesson response based on the 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 DtoScheduleReplaceResponse ¶ added in v0.4.0
type DtoScheduleReplaceResponse struct {
// cabinet
Cabinet string `json:"cabinet,omitempty"`
// teacher
Teacher string `json:"teacher,omitempty"`
// title
Title string `json:"title,omitempty"`
}
DtoScheduleReplaceResponse dto schedule replace response
swagger:model dto.ScheduleReplaceResponse
func (*DtoScheduleReplaceResponse) ContextValidate ¶ added in v0.4.0
func (m *DtoScheduleReplaceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this dto schedule replace response based on context it is used
func (*DtoScheduleReplaceResponse) MarshalBinary ¶ added in v0.4.0
func (m *DtoScheduleReplaceResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DtoScheduleReplaceResponse) UnmarshalBinary ¶ added in v0.4.0
func (m *DtoScheduleReplaceResponse) 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
type TimeWeekday ¶ added in v0.3.2
type TimeWeekday int64
TimeWeekday time weekday
swagger:model time.Weekday
func (TimeWeekday) ContextValidate ¶ added in v0.3.2
ContextValidate validates this time weekday based on context it is used
Source Files
¶
- dto_call.go
- dto_campus_response.go
- dto_college_response.go
- dto_date.go
- dto_date_response.go
- dto_error_response.go
- dto_get_parser_response.go
- dto_lesson.go
- dto_new_parser_request.go
- dto_new_parser_response.go
- dto_replace.go
- dto_schedule_lesson_response.go
- dto_schedule_replace_response.go
- dto_schedule_response.go
- dto_student_group_response.go
- dto_update_groups_request.go
- time_weekday.go