Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { // account data AccountData interface{} `json:"AccountData,omitempty"` // account type AccountType string `json:"AccountType,omitempty"` // created at // Format: date-time CreatedAt strfmt.DateTime `json:"CreatedAt,omitempty"` // ID ID int64 `json:"ID,omitempty"` // name Name string `json:"Name,omitempty"` // updated at // Format: date-time UpdatedAt strfmt.DateTime `json:"UpdatedAt,omitempty"` }
Account account
swagger:model Account
func (*Account) ContextValidate ¶
ContextValidate validates this account based on context it is used
func (*Account) MarshalBinary ¶
MarshalBinary interface implementation
func (*Account) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Class ¶
type Class struct { // created at // Format: date-time CreatedAt strfmt.DateTime `json:"CreatedAt,omitempty"` // ID ID int64 `json:"ID,omitempty"` // name Name string `json:"Name,omitempty"` // students // Example: [1,2,3,4] Students []int64 `json:"Students"` // updated at // Format: date-time UpdatedAt strfmt.DateTime `json:"UpdatedAt,omitempty"` }
Class class
swagger:model Class
func (*Class) ContextValidate ¶
ContextValidate validates this class based on context it is used
func (*Class) MarshalBinary ¶
MarshalBinary interface implementation
func (*Class) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Student ¶
type Student struct { // created at // Format: date-time CreatedAt strfmt.DateTime `json:"CreatedAt,omitempty"` // g p a GPA float64 `json:"GPA,omitempty"` // ID ID int64 `json:"ID,omitempty"` // name Name string `json:"Name,omitempty"` // subjects // Example: [1,2,3,4] Subjects []int64 `json:"Subjects"` // updated at // Format: date-time UpdatedAt strfmt.DateTime `json:"UpdatedAt,omitempty"` }
Student student
swagger:model Student
func (*Student) ContextValidate ¶
ContextValidate validates this student based on context it is used
func (*Student) MarshalBinary ¶
MarshalBinary interface implementation
func (*Student) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Subject ¶
type Subject struct { // class ID ClassID int64 `json:"ClassID,omitempty"` // created at // Format: date-time CreatedAt strfmt.DateTime `json:"CreatedAt,omitempty"` // ID ID int64 `json:"ID,omitempty"` // name Name string `json:"Name,omitempty"` // updated at // Format: date-time UpdatedAt strfmt.DateTime `json:"UpdatedAt,omitempty"` }
Subject subject
swagger:model Subject
func (*Subject) ContextValidate ¶
ContextValidate validates this subject based on context it is used
func (*Subject) MarshalBinary ¶
MarshalBinary interface implementation
func (*Subject) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Teacher ¶
type Teacher struct { // created at // Format: date-time CreatedAt strfmt.DateTime `json:"CreatedAt,omitempty"` // ID ID int64 `json:"ID,omitempty"` // name Name string `json:"Name,omitempty"` // subject ID SubjectID int64 `json:"SubjectID,omitempty"` // updated at // Format: date-time UpdatedAt strfmt.DateTime `json:"UpdatedAt,omitempty"` }
Teacher teacher
swagger:model Teacher
func (*Teacher) ContextValidate ¶
ContextValidate validates this teacher based on context it is used
func (*Teacher) MarshalBinary ¶
MarshalBinary interface implementation
func (*Teacher) UnmarshalBinary ¶
UnmarshalBinary interface implementation