Documentation ¶
Index ¶
- type AddAccountConflict
- func (o *AddAccountConflict) Code() int
- func (o *AddAccountConflict) Error() string
- func (o *AddAccountConflict) IsClientError() bool
- func (o *AddAccountConflict) IsCode(code int) bool
- func (o *AddAccountConflict) IsRedirect() bool
- func (o *AddAccountConflict) IsServerError() bool
- func (o *AddAccountConflict) IsSuccess() bool
- func (o *AddAccountConflict) String() string
- type AddAccountCreated
- func (o *AddAccountCreated) Code() int
- func (o *AddAccountCreated) Error() string
- func (o *AddAccountCreated) GetPayload() *models.Account
- func (o *AddAccountCreated) IsClientError() bool
- func (o *AddAccountCreated) IsCode(code int) bool
- func (o *AddAccountCreated) IsRedirect() bool
- func (o *AddAccountCreated) IsServerError() bool
- func (o *AddAccountCreated) IsSuccess() bool
- func (o *AddAccountCreated) String() string
- type AddAccountInternalServerError
- func (o *AddAccountInternalServerError) Code() int
- func (o *AddAccountInternalServerError) Error() string
- func (o *AddAccountInternalServerError) IsClientError() bool
- func (o *AddAccountInternalServerError) IsCode(code int) bool
- func (o *AddAccountInternalServerError) IsRedirect() bool
- func (o *AddAccountInternalServerError) IsServerError() bool
- func (o *AddAccountInternalServerError) IsSuccess() bool
- func (o *AddAccountInternalServerError) String() string
- type AddAccountParams
- func (o *AddAccountParams) SetAccount(account *models.Account)
- func (o *AddAccountParams) SetContext(ctx context.Context)
- func (o *AddAccountParams) SetDefaults()
- func (o *AddAccountParams) SetHTTPClient(client *http.Client)
- func (o *AddAccountParams) SetTimeout(timeout time.Duration)
- func (o *AddAccountParams) WithAccount(account *models.Account) *AddAccountParams
- func (o *AddAccountParams) WithContext(ctx context.Context) *AddAccountParams
- func (o *AddAccountParams) WithDefaults() *AddAccountParams
- func (o *AddAccountParams) WithHTTPClient(client *http.Client) *AddAccountParams
- func (o *AddAccountParams) WithTimeout(timeout time.Duration) *AddAccountParams
- func (o *AddAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddAccountReader
- type AddClassConflict
- func (o *AddClassConflict) Code() int
- func (o *AddClassConflict) Error() string
- func (o *AddClassConflict) IsClientError() bool
- func (o *AddClassConflict) IsCode(code int) bool
- func (o *AddClassConflict) IsRedirect() bool
- func (o *AddClassConflict) IsServerError() bool
- func (o *AddClassConflict) IsSuccess() bool
- func (o *AddClassConflict) String() string
- type AddClassCreated
- func (o *AddClassCreated) Code() int
- func (o *AddClassCreated) Error() string
- func (o *AddClassCreated) GetPayload() *models.Class
- func (o *AddClassCreated) IsClientError() bool
- func (o *AddClassCreated) IsCode(code int) bool
- func (o *AddClassCreated) IsRedirect() bool
- func (o *AddClassCreated) IsServerError() bool
- func (o *AddClassCreated) IsSuccess() bool
- func (o *AddClassCreated) String() string
- type AddClassInternalServerError
- func (o *AddClassInternalServerError) Code() int
- func (o *AddClassInternalServerError) Error() string
- func (o *AddClassInternalServerError) IsClientError() bool
- func (o *AddClassInternalServerError) IsCode(code int) bool
- func (o *AddClassInternalServerError) IsRedirect() bool
- func (o *AddClassInternalServerError) IsServerError() bool
- func (o *AddClassInternalServerError) IsSuccess() bool
- func (o *AddClassInternalServerError) String() string
- type AddClassParams
- func (o *AddClassParams) SetClass(class *models.Class)
- func (o *AddClassParams) SetContext(ctx context.Context)
- func (o *AddClassParams) SetDefaults()
- func (o *AddClassParams) SetHTTPClient(client *http.Client)
- func (o *AddClassParams) SetTimeout(timeout time.Duration)
- func (o *AddClassParams) WithClass(class *models.Class) *AddClassParams
- func (o *AddClassParams) WithContext(ctx context.Context) *AddClassParams
- func (o *AddClassParams) WithDefaults() *AddClassParams
- func (o *AddClassParams) WithHTTPClient(client *http.Client) *AddClassParams
- func (o *AddClassParams) WithTimeout(timeout time.Duration) *AddClassParams
- func (o *AddClassParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddClassReader
- type AddOrRemoveStudentBody
- func (o *AddOrRemoveStudentBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *AddOrRemoveStudentBody) MarshalBinary() ([]byte, error)
- func (o *AddOrRemoveStudentBody) UnmarshalBinary(b []byte) error
- func (o *AddOrRemoveStudentBody) Validate(formats strfmt.Registry) error
- type AddOrRemoveStudentInternalServerError
- func (o *AddOrRemoveStudentInternalServerError) Code() int
- func (o *AddOrRemoveStudentInternalServerError) Error() string
- func (o *AddOrRemoveStudentInternalServerError) IsClientError() bool
- func (o *AddOrRemoveStudentInternalServerError) IsCode(code int) bool
- func (o *AddOrRemoveStudentInternalServerError) IsRedirect() bool
- func (o *AddOrRemoveStudentInternalServerError) IsServerError() bool
- func (o *AddOrRemoveStudentInternalServerError) IsSuccess() bool
- func (o *AddOrRemoveStudentInternalServerError) String() string
- type AddOrRemoveStudentNotFound
- func (o *AddOrRemoveStudentNotFound) Code() int
- func (o *AddOrRemoveStudentNotFound) Error() string
- func (o *AddOrRemoveStudentNotFound) IsClientError() bool
- func (o *AddOrRemoveStudentNotFound) IsCode(code int) bool
- func (o *AddOrRemoveStudentNotFound) IsRedirect() bool
- func (o *AddOrRemoveStudentNotFound) IsServerError() bool
- func (o *AddOrRemoveStudentNotFound) IsSuccess() bool
- func (o *AddOrRemoveStudentNotFound) String() string
- type AddOrRemoveStudentOK
- func (o *AddOrRemoveStudentOK) Code() int
- func (o *AddOrRemoveStudentOK) Error() string
- func (o *AddOrRemoveStudentOK) GetPayload() int64
- func (o *AddOrRemoveStudentOK) IsClientError() bool
- func (o *AddOrRemoveStudentOK) IsCode(code int) bool
- func (o *AddOrRemoveStudentOK) IsRedirect() bool
- func (o *AddOrRemoveStudentOK) IsServerError() bool
- func (o *AddOrRemoveStudentOK) IsSuccess() bool
- func (o *AddOrRemoveStudentOK) String() string
- type AddOrRemoveStudentParams
- func NewAddOrRemoveStudentParams() *AddOrRemoveStudentParams
- func NewAddOrRemoveStudentParamsWithContext(ctx context.Context) *AddOrRemoveStudentParams
- func NewAddOrRemoveStudentParamsWithHTTPClient(client *http.Client) *AddOrRemoveStudentParams
- func NewAddOrRemoveStudentParamsWithTimeout(timeout time.Duration) *AddOrRemoveStudentParams
- func (o *AddOrRemoveStudentParams) SetContext(ctx context.Context)
- func (o *AddOrRemoveStudentParams) SetDefaults()
- func (o *AddOrRemoveStudentParams) SetHTTPClient(client *http.Client)
- func (o *AddOrRemoveStudentParams) SetID(id int64)
- func (o *AddOrRemoveStudentParams) SetStudent(student AddOrRemoveStudentBody)
- func (o *AddOrRemoveStudentParams) SetTimeout(timeout time.Duration)
- func (o *AddOrRemoveStudentParams) WithContext(ctx context.Context) *AddOrRemoveStudentParams
- func (o *AddOrRemoveStudentParams) WithDefaults() *AddOrRemoveStudentParams
- func (o *AddOrRemoveStudentParams) WithHTTPClient(client *http.Client) *AddOrRemoveStudentParams
- func (o *AddOrRemoveStudentParams) WithID(id int64) *AddOrRemoveStudentParams
- func (o *AddOrRemoveStudentParams) WithStudent(student AddOrRemoveStudentBody) *AddOrRemoveStudentParams
- func (o *AddOrRemoveStudentParams) WithTimeout(timeout time.Duration) *AddOrRemoveStudentParams
- func (o *AddOrRemoveStudentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddOrRemoveStudentReader
- type AddStudentConflict
- func (o *AddStudentConflict) Code() int
- func (o *AddStudentConflict) Error() string
- func (o *AddStudentConflict) IsClientError() bool
- func (o *AddStudentConflict) IsCode(code int) bool
- func (o *AddStudentConflict) IsRedirect() bool
- func (o *AddStudentConflict) IsServerError() bool
- func (o *AddStudentConflict) IsSuccess() bool
- func (o *AddStudentConflict) String() string
- type AddStudentCreated
- func (o *AddStudentCreated) Code() int
- func (o *AddStudentCreated) Error() string
- func (o *AddStudentCreated) GetPayload() *models.Student
- func (o *AddStudentCreated) IsClientError() bool
- func (o *AddStudentCreated) IsCode(code int) bool
- func (o *AddStudentCreated) IsRedirect() bool
- func (o *AddStudentCreated) IsServerError() bool
- func (o *AddStudentCreated) IsSuccess() bool
- func (o *AddStudentCreated) String() string
- type AddStudentInternalServerError
- func (o *AddStudentInternalServerError) Code() int
- func (o *AddStudentInternalServerError) Error() string
- func (o *AddStudentInternalServerError) IsClientError() bool
- func (o *AddStudentInternalServerError) IsCode(code int) bool
- func (o *AddStudentInternalServerError) IsRedirect() bool
- func (o *AddStudentInternalServerError) IsServerError() bool
- func (o *AddStudentInternalServerError) IsSuccess() bool
- func (o *AddStudentInternalServerError) String() string
- type AddStudentParams
- func (o *AddStudentParams) SetContext(ctx context.Context)
- func (o *AddStudentParams) SetDefaults()
- func (o *AddStudentParams) SetHTTPClient(client *http.Client)
- func (o *AddStudentParams) SetStudent(student *models.Student)
- func (o *AddStudentParams) SetTimeout(timeout time.Duration)
- func (o *AddStudentParams) WithContext(ctx context.Context) *AddStudentParams
- func (o *AddStudentParams) WithDefaults() *AddStudentParams
- func (o *AddStudentParams) WithHTTPClient(client *http.Client) *AddStudentParams
- func (o *AddStudentParams) WithStudent(student *models.Student) *AddStudentParams
- func (o *AddStudentParams) WithTimeout(timeout time.Duration) *AddStudentParams
- func (o *AddStudentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddStudentReader
- type AddSubjectConflict
- func (o *AddSubjectConflict) Code() int
- func (o *AddSubjectConflict) Error() string
- func (o *AddSubjectConflict) IsClientError() bool
- func (o *AddSubjectConflict) IsCode(code int) bool
- func (o *AddSubjectConflict) IsRedirect() bool
- func (o *AddSubjectConflict) IsServerError() bool
- func (o *AddSubjectConflict) IsSuccess() bool
- func (o *AddSubjectConflict) String() string
- type AddSubjectCreated
- func (o *AddSubjectCreated) Code() int
- func (o *AddSubjectCreated) Error() string
- func (o *AddSubjectCreated) GetPayload() *models.Subject
- func (o *AddSubjectCreated) IsClientError() bool
- func (o *AddSubjectCreated) IsCode(code int) bool
- func (o *AddSubjectCreated) IsRedirect() bool
- func (o *AddSubjectCreated) IsServerError() bool
- func (o *AddSubjectCreated) IsSuccess() bool
- func (o *AddSubjectCreated) String() string
- type AddSubjectInternalServerError
- func (o *AddSubjectInternalServerError) Code() int
- func (o *AddSubjectInternalServerError) Error() string
- func (o *AddSubjectInternalServerError) IsClientError() bool
- func (o *AddSubjectInternalServerError) IsCode(code int) bool
- func (o *AddSubjectInternalServerError) IsRedirect() bool
- func (o *AddSubjectInternalServerError) IsServerError() bool
- func (o *AddSubjectInternalServerError) IsSuccess() bool
- func (o *AddSubjectInternalServerError) String() string
- type AddSubjectParams
- func (o *AddSubjectParams) SetContext(ctx context.Context)
- func (o *AddSubjectParams) SetDefaults()
- func (o *AddSubjectParams) SetHTTPClient(client *http.Client)
- func (o *AddSubjectParams) SetSubject(subject *models.Subject)
- func (o *AddSubjectParams) SetTimeout(timeout time.Duration)
- func (o *AddSubjectParams) WithContext(ctx context.Context) *AddSubjectParams
- func (o *AddSubjectParams) WithDefaults() *AddSubjectParams
- func (o *AddSubjectParams) WithHTTPClient(client *http.Client) *AddSubjectParams
- func (o *AddSubjectParams) WithSubject(subject *models.Subject) *AddSubjectParams
- func (o *AddSubjectParams) WithTimeout(timeout time.Duration) *AddSubjectParams
- func (o *AddSubjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddSubjectReader
- type AddTeacherConflict
- func (o *AddTeacherConflict) Code() int
- func (o *AddTeacherConflict) Error() string
- func (o *AddTeacherConflict) IsClientError() bool
- func (o *AddTeacherConflict) IsCode(code int) bool
- func (o *AddTeacherConflict) IsRedirect() bool
- func (o *AddTeacherConflict) IsServerError() bool
- func (o *AddTeacherConflict) IsSuccess() bool
- func (o *AddTeacherConflict) String() string
- type AddTeacherCreated
- func (o *AddTeacherCreated) Code() int
- func (o *AddTeacherCreated) Error() string
- func (o *AddTeacherCreated) GetPayload() *models.Teacher
- func (o *AddTeacherCreated) IsClientError() bool
- func (o *AddTeacherCreated) IsCode(code int) bool
- func (o *AddTeacherCreated) IsRedirect() bool
- func (o *AddTeacherCreated) IsServerError() bool
- func (o *AddTeacherCreated) IsSuccess() bool
- func (o *AddTeacherCreated) String() string
- type AddTeacherInternalServerError
- func (o *AddTeacherInternalServerError) Code() int
- func (o *AddTeacherInternalServerError) Error() string
- func (o *AddTeacherInternalServerError) IsClientError() bool
- func (o *AddTeacherInternalServerError) IsCode(code int) bool
- func (o *AddTeacherInternalServerError) IsRedirect() bool
- func (o *AddTeacherInternalServerError) IsServerError() bool
- func (o *AddTeacherInternalServerError) IsSuccess() bool
- func (o *AddTeacherInternalServerError) String() string
- type AddTeacherParams
- func (o *AddTeacherParams) SetContext(ctx context.Context)
- func (o *AddTeacherParams) SetDefaults()
- func (o *AddTeacherParams) SetHTTPClient(client *http.Client)
- func (o *AddTeacherParams) SetTeacher(teacher *models.Teacher)
- func (o *AddTeacherParams) SetTimeout(timeout time.Duration)
- func (o *AddTeacherParams) WithContext(ctx context.Context) *AddTeacherParams
- func (o *AddTeacherParams) WithDefaults() *AddTeacherParams
- func (o *AddTeacherParams) WithHTTPClient(client *http.Client) *AddTeacherParams
- func (o *AddTeacherParams) WithTeacher(teacher *models.Teacher) *AddTeacherParams
- func (o *AddTeacherParams) WithTimeout(timeout time.Duration) *AddTeacherParams
- func (o *AddTeacherParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddTeacherReader
- type AssignClassBody
- type AssignClassInternalServerError
- func (o *AssignClassInternalServerError) Code() int
- func (o *AssignClassInternalServerError) Error() string
- func (o *AssignClassInternalServerError) IsClientError() bool
- func (o *AssignClassInternalServerError) IsCode(code int) bool
- func (o *AssignClassInternalServerError) IsRedirect() bool
- func (o *AssignClassInternalServerError) IsServerError() bool
- func (o *AssignClassInternalServerError) IsSuccess() bool
- func (o *AssignClassInternalServerError) String() string
- type AssignClassNotFound
- func (o *AssignClassNotFound) Code() int
- func (o *AssignClassNotFound) Error() string
- func (o *AssignClassNotFound) IsClientError() bool
- func (o *AssignClassNotFound) IsCode(code int) bool
- func (o *AssignClassNotFound) IsRedirect() bool
- func (o *AssignClassNotFound) IsServerError() bool
- func (o *AssignClassNotFound) IsSuccess() bool
- func (o *AssignClassNotFound) String() string
- type AssignClassOK
- func (o *AssignClassOK) Code() int
- func (o *AssignClassOK) Error() string
- func (o *AssignClassOK) GetPayload() int64
- func (o *AssignClassOK) IsClientError() bool
- func (o *AssignClassOK) IsCode(code int) bool
- func (o *AssignClassOK) IsRedirect() bool
- func (o *AssignClassOK) IsServerError() bool
- func (o *AssignClassOK) IsSuccess() bool
- func (o *AssignClassOK) String() string
- type AssignClassParams
- func (o *AssignClassParams) SetClass(class AssignClassBody)
- func (o *AssignClassParams) SetContext(ctx context.Context)
- func (o *AssignClassParams) SetDefaults()
- func (o *AssignClassParams) SetHTTPClient(client *http.Client)
- func (o *AssignClassParams) SetID(id int64)
- func (o *AssignClassParams) SetTimeout(timeout time.Duration)
- func (o *AssignClassParams) WithClass(class AssignClassBody) *AssignClassParams
- func (o *AssignClassParams) WithContext(ctx context.Context) *AssignClassParams
- func (o *AssignClassParams) WithDefaults() *AssignClassParams
- func (o *AssignClassParams) WithHTTPClient(client *http.Client) *AssignClassParams
- func (o *AssignClassParams) WithID(id int64) *AssignClassParams
- func (o *AssignClassParams) WithTimeout(timeout time.Duration) *AssignClassParams
- func (o *AssignClassParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AssignClassReader
- type AssignSubjectToStudentBody
- func (o *AssignSubjectToStudentBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *AssignSubjectToStudentBody) MarshalBinary() ([]byte, error)
- func (o *AssignSubjectToStudentBody) UnmarshalBinary(b []byte) error
- func (o *AssignSubjectToStudentBody) Validate(formats strfmt.Registry) error
- type AssignSubjectToStudentInternalServerError
- func (o *AssignSubjectToStudentInternalServerError) Code() int
- func (o *AssignSubjectToStudentInternalServerError) Error() string
- func (o *AssignSubjectToStudentInternalServerError) IsClientError() bool
- func (o *AssignSubjectToStudentInternalServerError) IsCode(code int) bool
- func (o *AssignSubjectToStudentInternalServerError) IsRedirect() bool
- func (o *AssignSubjectToStudentInternalServerError) IsServerError() bool
- func (o *AssignSubjectToStudentInternalServerError) IsSuccess() bool
- func (o *AssignSubjectToStudentInternalServerError) String() string
- type AssignSubjectToStudentNotFound
- func (o *AssignSubjectToStudentNotFound) Code() int
- func (o *AssignSubjectToStudentNotFound) Error() string
- func (o *AssignSubjectToStudentNotFound) IsClientError() bool
- func (o *AssignSubjectToStudentNotFound) IsCode(code int) bool
- func (o *AssignSubjectToStudentNotFound) IsRedirect() bool
- func (o *AssignSubjectToStudentNotFound) IsServerError() bool
- func (o *AssignSubjectToStudentNotFound) IsSuccess() bool
- func (o *AssignSubjectToStudentNotFound) String() string
- type AssignSubjectToStudentOK
- func (o *AssignSubjectToStudentOK) Code() int
- func (o *AssignSubjectToStudentOK) Error() string
- func (o *AssignSubjectToStudentOK) GetPayload() int64
- func (o *AssignSubjectToStudentOK) IsClientError() bool
- func (o *AssignSubjectToStudentOK) IsCode(code int) bool
- func (o *AssignSubjectToStudentOK) IsRedirect() bool
- func (o *AssignSubjectToStudentOK) IsServerError() bool
- func (o *AssignSubjectToStudentOK) IsSuccess() bool
- func (o *AssignSubjectToStudentOK) String() string
- type AssignSubjectToStudentParams
- func NewAssignSubjectToStudentParams() *AssignSubjectToStudentParams
- func NewAssignSubjectToStudentParamsWithContext(ctx context.Context) *AssignSubjectToStudentParams
- func NewAssignSubjectToStudentParamsWithHTTPClient(client *http.Client) *AssignSubjectToStudentParams
- func NewAssignSubjectToStudentParamsWithTimeout(timeout time.Duration) *AssignSubjectToStudentParams
- func (o *AssignSubjectToStudentParams) SetContext(ctx context.Context)
- func (o *AssignSubjectToStudentParams) SetDefaults()
- func (o *AssignSubjectToStudentParams) SetHTTPClient(client *http.Client)
- func (o *AssignSubjectToStudentParams) SetID(id int64)
- func (o *AssignSubjectToStudentParams) SetSubject(subject AssignSubjectToStudentBody)
- func (o *AssignSubjectToStudentParams) SetTimeout(timeout time.Duration)
- func (o *AssignSubjectToStudentParams) WithContext(ctx context.Context) *AssignSubjectToStudentParams
- func (o *AssignSubjectToStudentParams) WithDefaults() *AssignSubjectToStudentParams
- func (o *AssignSubjectToStudentParams) WithHTTPClient(client *http.Client) *AssignSubjectToStudentParams
- func (o *AssignSubjectToStudentParams) WithID(id int64) *AssignSubjectToStudentParams
- func (o *AssignSubjectToStudentParams) WithSubject(subject AssignSubjectToStudentBody) *AssignSubjectToStudentParams
- func (o *AssignSubjectToStudentParams) WithTimeout(timeout time.Duration) *AssignSubjectToStudentParams
- func (o *AssignSubjectToStudentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AssignSubjectToStudentReader
- type AssignSubjectToTeacherBody
- func (o *AssignSubjectToTeacherBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *AssignSubjectToTeacherBody) MarshalBinary() ([]byte, error)
- func (o *AssignSubjectToTeacherBody) UnmarshalBinary(b []byte) error
- func (o *AssignSubjectToTeacherBody) Validate(formats strfmt.Registry) error
- type AssignSubjectToTeacherInternalServerError
- func (o *AssignSubjectToTeacherInternalServerError) Code() int
- func (o *AssignSubjectToTeacherInternalServerError) Error() string
- func (o *AssignSubjectToTeacherInternalServerError) IsClientError() bool
- func (o *AssignSubjectToTeacherInternalServerError) IsCode(code int) bool
- func (o *AssignSubjectToTeacherInternalServerError) IsRedirect() bool
- func (o *AssignSubjectToTeacherInternalServerError) IsServerError() bool
- func (o *AssignSubjectToTeacherInternalServerError) IsSuccess() bool
- func (o *AssignSubjectToTeacherInternalServerError) String() string
- type AssignSubjectToTeacherNotFound
- func (o *AssignSubjectToTeacherNotFound) Code() int
- func (o *AssignSubjectToTeacherNotFound) Error() string
- func (o *AssignSubjectToTeacherNotFound) IsClientError() bool
- func (o *AssignSubjectToTeacherNotFound) IsCode(code int) bool
- func (o *AssignSubjectToTeacherNotFound) IsRedirect() bool
- func (o *AssignSubjectToTeacherNotFound) IsServerError() bool
- func (o *AssignSubjectToTeacherNotFound) IsSuccess() bool
- func (o *AssignSubjectToTeacherNotFound) String() string
- type AssignSubjectToTeacherOK
- func (o *AssignSubjectToTeacherOK) Code() int
- func (o *AssignSubjectToTeacherOK) Error() string
- func (o *AssignSubjectToTeacherOK) GetPayload() int64
- func (o *AssignSubjectToTeacherOK) IsClientError() bool
- func (o *AssignSubjectToTeacherOK) IsCode(code int) bool
- func (o *AssignSubjectToTeacherOK) IsRedirect() bool
- func (o *AssignSubjectToTeacherOK) IsServerError() bool
- func (o *AssignSubjectToTeacherOK) IsSuccess() bool
- func (o *AssignSubjectToTeacherOK) String() string
- type AssignSubjectToTeacherParams
- func NewAssignSubjectToTeacherParams() *AssignSubjectToTeacherParams
- func NewAssignSubjectToTeacherParamsWithContext(ctx context.Context) *AssignSubjectToTeacherParams
- func NewAssignSubjectToTeacherParamsWithHTTPClient(client *http.Client) *AssignSubjectToTeacherParams
- func NewAssignSubjectToTeacherParamsWithTimeout(timeout time.Duration) *AssignSubjectToTeacherParams
- func (o *AssignSubjectToTeacherParams) SetContext(ctx context.Context)
- func (o *AssignSubjectToTeacherParams) SetDefaults()
- func (o *AssignSubjectToTeacherParams) SetHTTPClient(client *http.Client)
- func (o *AssignSubjectToTeacherParams) SetID(id int64)
- func (o *AssignSubjectToTeacherParams) SetSubject(subject AssignSubjectToTeacherBody)
- func (o *AssignSubjectToTeacherParams) SetTimeout(timeout time.Duration)
- func (o *AssignSubjectToTeacherParams) WithContext(ctx context.Context) *AssignSubjectToTeacherParams
- func (o *AssignSubjectToTeacherParams) WithDefaults() *AssignSubjectToTeacherParams
- func (o *AssignSubjectToTeacherParams) WithHTTPClient(client *http.Client) *AssignSubjectToTeacherParams
- func (o *AssignSubjectToTeacherParams) WithID(id int64) *AssignSubjectToTeacherParams
- func (o *AssignSubjectToTeacherParams) WithSubject(subject AssignSubjectToTeacherBody) *AssignSubjectToTeacherParams
- func (o *AssignSubjectToTeacherParams) WithTimeout(timeout time.Duration) *AssignSubjectToTeacherParams
- func (o *AssignSubjectToTeacherParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AssignSubjectToTeacherReader
- type Client
- func (a *Client) AddAccount(params *AddAccountParams, opts ...ClientOption) (*AddAccountCreated, error)
- func (a *Client) AddClass(params *AddClassParams, opts ...ClientOption) (*AddClassCreated, error)
- func (a *Client) AddOrRemoveStudent(params *AddOrRemoveStudentParams, opts ...ClientOption) (*AddOrRemoveStudentOK, error)
- func (a *Client) AddStudent(params *AddStudentParams, opts ...ClientOption) (*AddStudentCreated, error)
- func (a *Client) AddSubject(params *AddSubjectParams, opts ...ClientOption) (*AddSubjectCreated, error)
- func (a *Client) AddTeacher(params *AddTeacherParams, opts ...ClientOption) (*AddTeacherCreated, error)
- func (a *Client) AssignClass(params *AssignClassParams, opts ...ClientOption) (*AssignClassOK, error)
- func (a *Client) AssignSubjectToStudent(params *AssignSubjectToStudentParams, opts ...ClientOption) (*AssignSubjectToStudentOK, error)
- func (a *Client) AssignSubjectToTeacher(params *AssignSubjectToTeacherParams, opts ...ClientOption) (*AssignSubjectToTeacherOK, error)
- func (a *Client) DeleteAccount(params *DeleteAccountParams, opts ...ClientOption) (*DeleteAccountNoContent, error)
- func (a *Client) DeleteClass(params *DeleteClassParams, opts ...ClientOption) (*DeleteClassNoContent, error)
- func (a *Client) DeleteStudent(params *DeleteStudentParams, opts ...ClientOption) (*DeleteStudentNoContent, error)
- func (a *Client) DeleteSubject(params *DeleteSubjectParams, opts ...ClientOption) (*DeleteSubjectNoContent, error)
- func (a *Client) DeleteTeacher(params *DeleteTeacherParams, opts ...ClientOption) (*DeleteTeacherNoContent, error)
- func (a *Client) GetAccountByID(params *GetAccountByIDParams, opts ...ClientOption) (*GetAccountByIDOK, error)
- func (a *Client) GetAccounts(params *GetAccountsParams, opts ...ClientOption) (*GetAccountsOK, error)
- func (a *Client) GetClassByID(params *GetClassByIDParams, opts ...ClientOption) (*GetClassByIDOK, error)
- func (a *Client) GetClassOfTeacher(params *GetClassOfTeacherParams, opts ...ClientOption) (*GetClassOfTeacherOK, error)
- func (a *Client) GetClasses(params *GetClassesParams, opts ...ClientOption) (*GetClassesOK, error)
- func (a *Client) GetClassesOfStudent(params *GetClassesOfStudentParams, opts ...ClientOption) (*GetClassesOfStudentOK, error)
- func (a *Client) GetDefaultedStudentAccounts(params *GetDefaultedStudentAccountsParams, opts ...ClientOption) (*GetDefaultedStudentAccountsOK, error)
- func (a *Client) GetStudentAccounts(params *GetStudentAccountsParams, opts ...ClientOption) (*GetStudentAccountsOK, error)
- func (a *Client) GetStudentByID(params *GetStudentByIDParams, opts ...ClientOption) (*GetStudentByIDOK, error)
- func (a *Client) GetStudents(params *GetStudentsParams, opts ...ClientOption) (*GetStudentsOK, error)
- func (a *Client) GetStudentsOfClass(params *GetStudentsOfClassParams, opts ...ClientOption) (*GetStudentsOfClassOK, error)
- func (a *Client) GetStudentsOfSubject(params *GetStudentsOfSubjectParams, opts ...ClientOption) (*GetStudentsOfSubjectOK, error)
- func (a *Client) GetStudentsOfTeacher(params *GetStudentsOfTeacherParams, opts ...ClientOption) (*GetStudentsOfTeacherOK, error)
- func (a *Client) GetSubjectByID(params *GetSubjectByIDParams, opts ...ClientOption) (*GetSubjectByIDOK, error)
- func (a *Client) GetSubjects(params *GetSubjectsParams, opts ...ClientOption) (*GetSubjectsOK, error)
- func (a *Client) GetSubjectsOfClass(params *GetSubjectsOfClassParams, opts ...ClientOption) (*GetSubjectsOfClassOK, error)
- func (a *Client) GetSubjectsOfStudent(params *GetSubjectsOfStudentParams, opts ...ClientOption) (*GetSubjectsOfStudentOK, error)
- func (a *Client) GetTeacherAccounts(params *GetTeacherAccountsParams, opts ...ClientOption) (*GetTeacherAccountsOK, error)
- func (a *Client) GetTeacherByID(params *GetTeacherByIDParams, opts ...ClientOption) (*GetTeacherByIDOK, error)
- func (a *Client) GetTeacherOfSubject(params *GetTeacherOfSubjectParams, opts ...ClientOption) (*GetTeacherOfSubjectOK, error)
- func (a *Client) GetTeachers(params *GetTeachersParams, opts ...ClientOption) (*GetTeachersOK, error)
- func (a *Client) GetTeachersOfClass(params *GetTeachersOfClassParams, opts ...ClientOption) (*GetTeachersOfClassOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateAccount(params *UpdateAccountParams, opts ...ClientOption) (*UpdateAccountOK, error)
- func (a *Client) UpdateClassName(params *UpdateClassNameParams, opts ...ClientOption) (*UpdateClassNameOK, error)
- func (a *Client) UpdateGPA(params *UpdateGPAParams, opts ...ClientOption) (*UpdateGPAOK, error)
- func (a *Client) UpdateStudentName(params *UpdateStudentNameParams, opts ...ClientOption) (*UpdateStudentNameOK, error)
- func (a *Client) UpdateSubjectName(params *UpdateSubjectNameParams, opts ...ClientOption) (*UpdateSubjectNameOK, error)
- func (a *Client) UpdateTeacherName(params *UpdateTeacherNameParams, opts ...ClientOption) (*UpdateTeacherNameOK, error)
- type ClientOption
- type ClientService
- type DeleteAccountInternalServerError
- func (o *DeleteAccountInternalServerError) Code() int
- func (o *DeleteAccountInternalServerError) Error() string
- func (o *DeleteAccountInternalServerError) IsClientError() bool
- func (o *DeleteAccountInternalServerError) IsCode(code int) bool
- func (o *DeleteAccountInternalServerError) IsRedirect() bool
- func (o *DeleteAccountInternalServerError) IsServerError() bool
- func (o *DeleteAccountInternalServerError) IsSuccess() bool
- func (o *DeleteAccountInternalServerError) String() string
- type DeleteAccountNoContent
- func (o *DeleteAccountNoContent) Code() int
- func (o *DeleteAccountNoContent) Error() string
- func (o *DeleteAccountNoContent) IsClientError() bool
- func (o *DeleteAccountNoContent) IsCode(code int) bool
- func (o *DeleteAccountNoContent) IsRedirect() bool
- func (o *DeleteAccountNoContent) IsServerError() bool
- func (o *DeleteAccountNoContent) IsSuccess() bool
- func (o *DeleteAccountNoContent) String() string
- type DeleteAccountNotFound
- func (o *DeleteAccountNotFound) Code() int
- func (o *DeleteAccountNotFound) Error() string
- func (o *DeleteAccountNotFound) IsClientError() bool
- func (o *DeleteAccountNotFound) IsCode(code int) bool
- func (o *DeleteAccountNotFound) IsRedirect() bool
- func (o *DeleteAccountNotFound) IsServerError() bool
- func (o *DeleteAccountNotFound) IsSuccess() bool
- func (o *DeleteAccountNotFound) String() string
- type DeleteAccountParams
- func (o *DeleteAccountParams) SetContext(ctx context.Context)
- func (o *DeleteAccountParams) SetDefaults()
- func (o *DeleteAccountParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAccountParams) SetID(id int64)
- func (o *DeleteAccountParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAccountParams) WithContext(ctx context.Context) *DeleteAccountParams
- func (o *DeleteAccountParams) WithDefaults() *DeleteAccountParams
- func (o *DeleteAccountParams) WithHTTPClient(client *http.Client) *DeleteAccountParams
- func (o *DeleteAccountParams) WithID(id int64) *DeleteAccountParams
- func (o *DeleteAccountParams) WithTimeout(timeout time.Duration) *DeleteAccountParams
- func (o *DeleteAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAccountReader
- type DeleteClassInternalServerError
- func (o *DeleteClassInternalServerError) Code() int
- func (o *DeleteClassInternalServerError) Error() string
- func (o *DeleteClassInternalServerError) IsClientError() bool
- func (o *DeleteClassInternalServerError) IsCode(code int) bool
- func (o *DeleteClassInternalServerError) IsRedirect() bool
- func (o *DeleteClassInternalServerError) IsServerError() bool
- func (o *DeleteClassInternalServerError) IsSuccess() bool
- func (o *DeleteClassInternalServerError) String() string
- type DeleteClassNoContent
- func (o *DeleteClassNoContent) Code() int
- func (o *DeleteClassNoContent) Error() string
- func (o *DeleteClassNoContent) IsClientError() bool
- func (o *DeleteClassNoContent) IsCode(code int) bool
- func (o *DeleteClassNoContent) IsRedirect() bool
- func (o *DeleteClassNoContent) IsServerError() bool
- func (o *DeleteClassNoContent) IsSuccess() bool
- func (o *DeleteClassNoContent) String() string
- type DeleteClassNotFound
- func (o *DeleteClassNotFound) Code() int
- func (o *DeleteClassNotFound) Error() string
- func (o *DeleteClassNotFound) IsClientError() bool
- func (o *DeleteClassNotFound) IsCode(code int) bool
- func (o *DeleteClassNotFound) IsRedirect() bool
- func (o *DeleteClassNotFound) IsServerError() bool
- func (o *DeleteClassNotFound) IsSuccess() bool
- func (o *DeleteClassNotFound) String() string
- type DeleteClassParams
- func (o *DeleteClassParams) SetContext(ctx context.Context)
- func (o *DeleteClassParams) SetDefaults()
- func (o *DeleteClassParams) SetHTTPClient(client *http.Client)
- func (o *DeleteClassParams) SetID(id int64)
- func (o *DeleteClassParams) SetTimeout(timeout time.Duration)
- func (o *DeleteClassParams) WithContext(ctx context.Context) *DeleteClassParams
- func (o *DeleteClassParams) WithDefaults() *DeleteClassParams
- func (o *DeleteClassParams) WithHTTPClient(client *http.Client) *DeleteClassParams
- func (o *DeleteClassParams) WithID(id int64) *DeleteClassParams
- func (o *DeleteClassParams) WithTimeout(timeout time.Duration) *DeleteClassParams
- func (o *DeleteClassParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteClassReader
- type DeleteStudentInternalServerError
- func (o *DeleteStudentInternalServerError) Code() int
- func (o *DeleteStudentInternalServerError) Error() string
- func (o *DeleteStudentInternalServerError) IsClientError() bool
- func (o *DeleteStudentInternalServerError) IsCode(code int) bool
- func (o *DeleteStudentInternalServerError) IsRedirect() bool
- func (o *DeleteStudentInternalServerError) IsServerError() bool
- func (o *DeleteStudentInternalServerError) IsSuccess() bool
- func (o *DeleteStudentInternalServerError) String() string
- type DeleteStudentNoContent
- func (o *DeleteStudentNoContent) Code() int
- func (o *DeleteStudentNoContent) Error() string
- func (o *DeleteStudentNoContent) IsClientError() bool
- func (o *DeleteStudentNoContent) IsCode(code int) bool
- func (o *DeleteStudentNoContent) IsRedirect() bool
- func (o *DeleteStudentNoContent) IsServerError() bool
- func (o *DeleteStudentNoContent) IsSuccess() bool
- func (o *DeleteStudentNoContent) String() string
- type DeleteStudentNotFound
- func (o *DeleteStudentNotFound) Code() int
- func (o *DeleteStudentNotFound) Error() string
- func (o *DeleteStudentNotFound) IsClientError() bool
- func (o *DeleteStudentNotFound) IsCode(code int) bool
- func (o *DeleteStudentNotFound) IsRedirect() bool
- func (o *DeleteStudentNotFound) IsServerError() bool
- func (o *DeleteStudentNotFound) IsSuccess() bool
- func (o *DeleteStudentNotFound) String() string
- type DeleteStudentParams
- func (o *DeleteStudentParams) SetContext(ctx context.Context)
- func (o *DeleteStudentParams) SetDefaults()
- func (o *DeleteStudentParams) SetHTTPClient(client *http.Client)
- func (o *DeleteStudentParams) SetID(id int64)
- func (o *DeleteStudentParams) SetTimeout(timeout time.Duration)
- func (o *DeleteStudentParams) WithContext(ctx context.Context) *DeleteStudentParams
- func (o *DeleteStudentParams) WithDefaults() *DeleteStudentParams
- func (o *DeleteStudentParams) WithHTTPClient(client *http.Client) *DeleteStudentParams
- func (o *DeleteStudentParams) WithID(id int64) *DeleteStudentParams
- func (o *DeleteStudentParams) WithTimeout(timeout time.Duration) *DeleteStudentParams
- func (o *DeleteStudentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteStudentReader
- type DeleteSubjectInternalServerError
- func (o *DeleteSubjectInternalServerError) Code() int
- func (o *DeleteSubjectInternalServerError) Error() string
- func (o *DeleteSubjectInternalServerError) IsClientError() bool
- func (o *DeleteSubjectInternalServerError) IsCode(code int) bool
- func (o *DeleteSubjectInternalServerError) IsRedirect() bool
- func (o *DeleteSubjectInternalServerError) IsServerError() bool
- func (o *DeleteSubjectInternalServerError) IsSuccess() bool
- func (o *DeleteSubjectInternalServerError) String() string
- type DeleteSubjectNoContent
- func (o *DeleteSubjectNoContent) Code() int
- func (o *DeleteSubjectNoContent) Error() string
- func (o *DeleteSubjectNoContent) IsClientError() bool
- func (o *DeleteSubjectNoContent) IsCode(code int) bool
- func (o *DeleteSubjectNoContent) IsRedirect() bool
- func (o *DeleteSubjectNoContent) IsServerError() bool
- func (o *DeleteSubjectNoContent) IsSuccess() bool
- func (o *DeleteSubjectNoContent) String() string
- type DeleteSubjectNotFound
- func (o *DeleteSubjectNotFound) Code() int
- func (o *DeleteSubjectNotFound) Error() string
- func (o *DeleteSubjectNotFound) IsClientError() bool
- func (o *DeleteSubjectNotFound) IsCode(code int) bool
- func (o *DeleteSubjectNotFound) IsRedirect() bool
- func (o *DeleteSubjectNotFound) IsServerError() bool
- func (o *DeleteSubjectNotFound) IsSuccess() bool
- func (o *DeleteSubjectNotFound) String() string
- type DeleteSubjectParams
- func (o *DeleteSubjectParams) SetContext(ctx context.Context)
- func (o *DeleteSubjectParams) SetDefaults()
- func (o *DeleteSubjectParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSubjectParams) SetID(id int64)
- func (o *DeleteSubjectParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSubjectParams) WithContext(ctx context.Context) *DeleteSubjectParams
- func (o *DeleteSubjectParams) WithDefaults() *DeleteSubjectParams
- func (o *DeleteSubjectParams) WithHTTPClient(client *http.Client) *DeleteSubjectParams
- func (o *DeleteSubjectParams) WithID(id int64) *DeleteSubjectParams
- func (o *DeleteSubjectParams) WithTimeout(timeout time.Duration) *DeleteSubjectParams
- func (o *DeleteSubjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSubjectReader
- type DeleteTeacherInternalServerError
- func (o *DeleteTeacherInternalServerError) Code() int
- func (o *DeleteTeacherInternalServerError) Error() string
- func (o *DeleteTeacherInternalServerError) IsClientError() bool
- func (o *DeleteTeacherInternalServerError) IsCode(code int) bool
- func (o *DeleteTeacherInternalServerError) IsRedirect() bool
- func (o *DeleteTeacherInternalServerError) IsServerError() bool
- func (o *DeleteTeacherInternalServerError) IsSuccess() bool
- func (o *DeleteTeacherInternalServerError) String() string
- type DeleteTeacherNoContent
- func (o *DeleteTeacherNoContent) Code() int
- func (o *DeleteTeacherNoContent) Error() string
- func (o *DeleteTeacherNoContent) IsClientError() bool
- func (o *DeleteTeacherNoContent) IsCode(code int) bool
- func (o *DeleteTeacherNoContent) IsRedirect() bool
- func (o *DeleteTeacherNoContent) IsServerError() bool
- func (o *DeleteTeacherNoContent) IsSuccess() bool
- func (o *DeleteTeacherNoContent) String() string
- type DeleteTeacherNotFound
- func (o *DeleteTeacherNotFound) Code() int
- func (o *DeleteTeacherNotFound) Error() string
- func (o *DeleteTeacherNotFound) IsClientError() bool
- func (o *DeleteTeacherNotFound) IsCode(code int) bool
- func (o *DeleteTeacherNotFound) IsRedirect() bool
- func (o *DeleteTeacherNotFound) IsServerError() bool
- func (o *DeleteTeacherNotFound) IsSuccess() bool
- func (o *DeleteTeacherNotFound) String() string
- type DeleteTeacherParams
- func (o *DeleteTeacherParams) SetContext(ctx context.Context)
- func (o *DeleteTeacherParams) SetDefaults()
- func (o *DeleteTeacherParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTeacherParams) SetID(id int64)
- func (o *DeleteTeacherParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTeacherParams) WithContext(ctx context.Context) *DeleteTeacherParams
- func (o *DeleteTeacherParams) WithDefaults() *DeleteTeacherParams
- func (o *DeleteTeacherParams) WithHTTPClient(client *http.Client) *DeleteTeacherParams
- func (o *DeleteTeacherParams) WithID(id int64) *DeleteTeacherParams
- func (o *DeleteTeacherParams) WithTimeout(timeout time.Duration) *DeleteTeacherParams
- func (o *DeleteTeacherParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTeacherReader
- type GetAccountByIDInternalServerError
- func (o *GetAccountByIDInternalServerError) Code() int
- func (o *GetAccountByIDInternalServerError) Error() string
- func (o *GetAccountByIDInternalServerError) IsClientError() bool
- func (o *GetAccountByIDInternalServerError) IsCode(code int) bool
- func (o *GetAccountByIDInternalServerError) IsRedirect() bool
- func (o *GetAccountByIDInternalServerError) IsServerError() bool
- func (o *GetAccountByIDInternalServerError) IsSuccess() bool
- func (o *GetAccountByIDInternalServerError) String() string
- type GetAccountByIDNotFound
- func (o *GetAccountByIDNotFound) Code() int
- func (o *GetAccountByIDNotFound) Error() string
- func (o *GetAccountByIDNotFound) IsClientError() bool
- func (o *GetAccountByIDNotFound) IsCode(code int) bool
- func (o *GetAccountByIDNotFound) IsRedirect() bool
- func (o *GetAccountByIDNotFound) IsServerError() bool
- func (o *GetAccountByIDNotFound) IsSuccess() bool
- func (o *GetAccountByIDNotFound) String() string
- type GetAccountByIDOK
- func (o *GetAccountByIDOK) Code() int
- func (o *GetAccountByIDOK) Error() string
- func (o *GetAccountByIDOK) GetPayload() *models.Account
- func (o *GetAccountByIDOK) IsClientError() bool
- func (o *GetAccountByIDOK) IsCode(code int) bool
- func (o *GetAccountByIDOK) IsRedirect() bool
- func (o *GetAccountByIDOK) IsServerError() bool
- func (o *GetAccountByIDOK) IsSuccess() bool
- func (o *GetAccountByIDOK) String() string
- type GetAccountByIDParams
- func NewGetAccountByIDParams() *GetAccountByIDParams
- func NewGetAccountByIDParamsWithContext(ctx context.Context) *GetAccountByIDParams
- func NewGetAccountByIDParamsWithHTTPClient(client *http.Client) *GetAccountByIDParams
- func NewGetAccountByIDParamsWithTimeout(timeout time.Duration) *GetAccountByIDParams
- func (o *GetAccountByIDParams) SetContext(ctx context.Context)
- func (o *GetAccountByIDParams) SetDefaults()
- func (o *GetAccountByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetAccountByIDParams) SetID(id int64)
- func (o *GetAccountByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetAccountByIDParams) WithContext(ctx context.Context) *GetAccountByIDParams
- func (o *GetAccountByIDParams) WithDefaults() *GetAccountByIDParams
- func (o *GetAccountByIDParams) WithHTTPClient(client *http.Client) *GetAccountByIDParams
- func (o *GetAccountByIDParams) WithID(id int64) *GetAccountByIDParams
- func (o *GetAccountByIDParams) WithTimeout(timeout time.Duration) *GetAccountByIDParams
- func (o *GetAccountByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccountByIDReader
- type GetAccountsInternalServerError
- func (o *GetAccountsInternalServerError) Code() int
- func (o *GetAccountsInternalServerError) Error() string
- func (o *GetAccountsInternalServerError) IsClientError() bool
- func (o *GetAccountsInternalServerError) IsCode(code int) bool
- func (o *GetAccountsInternalServerError) IsRedirect() bool
- func (o *GetAccountsInternalServerError) IsServerError() bool
- func (o *GetAccountsInternalServerError) IsSuccess() bool
- func (o *GetAccountsInternalServerError) String() string
- type GetAccountsNotFound
- func (o *GetAccountsNotFound) Code() int
- func (o *GetAccountsNotFound) Error() string
- func (o *GetAccountsNotFound) IsClientError() bool
- func (o *GetAccountsNotFound) IsCode(code int) bool
- func (o *GetAccountsNotFound) IsRedirect() bool
- func (o *GetAccountsNotFound) IsServerError() bool
- func (o *GetAccountsNotFound) IsSuccess() bool
- func (o *GetAccountsNotFound) String() string
- type GetAccountsOK
- func (o *GetAccountsOK) Code() int
- func (o *GetAccountsOK) Error() string
- func (o *GetAccountsOK) GetPayload() []*models.Account
- func (o *GetAccountsOK) IsClientError() bool
- func (o *GetAccountsOK) IsCode(code int) bool
- func (o *GetAccountsOK) IsRedirect() bool
- func (o *GetAccountsOK) IsServerError() bool
- func (o *GetAccountsOK) IsSuccess() bool
- func (o *GetAccountsOK) String() string
- type GetAccountsParams
- func (o *GetAccountsParams) SetContext(ctx context.Context)
- func (o *GetAccountsParams) SetDefaults()
- func (o *GetAccountsParams) SetHTTPClient(client *http.Client)
- func (o *GetAccountsParams) SetTimeout(timeout time.Duration)
- func (o *GetAccountsParams) WithContext(ctx context.Context) *GetAccountsParams
- func (o *GetAccountsParams) WithDefaults() *GetAccountsParams
- func (o *GetAccountsParams) WithHTTPClient(client *http.Client) *GetAccountsParams
- func (o *GetAccountsParams) WithTimeout(timeout time.Duration) *GetAccountsParams
- func (o *GetAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccountsReader
- type GetClassByIDInternalServerError
- func (o *GetClassByIDInternalServerError) Code() int
- func (o *GetClassByIDInternalServerError) Error() string
- func (o *GetClassByIDInternalServerError) IsClientError() bool
- func (o *GetClassByIDInternalServerError) IsCode(code int) bool
- func (o *GetClassByIDInternalServerError) IsRedirect() bool
- func (o *GetClassByIDInternalServerError) IsServerError() bool
- func (o *GetClassByIDInternalServerError) IsSuccess() bool
- func (o *GetClassByIDInternalServerError) String() string
- type GetClassByIDNotFound
- func (o *GetClassByIDNotFound) Code() int
- func (o *GetClassByIDNotFound) Error() string
- func (o *GetClassByIDNotFound) IsClientError() bool
- func (o *GetClassByIDNotFound) IsCode(code int) bool
- func (o *GetClassByIDNotFound) IsRedirect() bool
- func (o *GetClassByIDNotFound) IsServerError() bool
- func (o *GetClassByIDNotFound) IsSuccess() bool
- func (o *GetClassByIDNotFound) String() string
- type GetClassByIDOK
- func (o *GetClassByIDOK) Code() int
- func (o *GetClassByIDOK) Error() string
- func (o *GetClassByIDOK) GetPayload() *models.Class
- func (o *GetClassByIDOK) IsClientError() bool
- func (o *GetClassByIDOK) IsCode(code int) bool
- func (o *GetClassByIDOK) IsRedirect() bool
- func (o *GetClassByIDOK) IsServerError() bool
- func (o *GetClassByIDOK) IsSuccess() bool
- func (o *GetClassByIDOK) String() string
- type GetClassByIDParams
- func (o *GetClassByIDParams) SetContext(ctx context.Context)
- func (o *GetClassByIDParams) SetDefaults()
- func (o *GetClassByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetClassByIDParams) SetID(id int64)
- func (o *GetClassByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetClassByIDParams) WithContext(ctx context.Context) *GetClassByIDParams
- func (o *GetClassByIDParams) WithDefaults() *GetClassByIDParams
- func (o *GetClassByIDParams) WithHTTPClient(client *http.Client) *GetClassByIDParams
- func (o *GetClassByIDParams) WithID(id int64) *GetClassByIDParams
- func (o *GetClassByIDParams) WithTimeout(timeout time.Duration) *GetClassByIDParams
- func (o *GetClassByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClassByIDReader
- type GetClassOfTeacherInternalServerError
- func (o *GetClassOfTeacherInternalServerError) Code() int
- func (o *GetClassOfTeacherInternalServerError) Error() string
- func (o *GetClassOfTeacherInternalServerError) IsClientError() bool
- func (o *GetClassOfTeacherInternalServerError) IsCode(code int) bool
- func (o *GetClassOfTeacherInternalServerError) IsRedirect() bool
- func (o *GetClassOfTeacherInternalServerError) IsServerError() bool
- func (o *GetClassOfTeacherInternalServerError) IsSuccess() bool
- func (o *GetClassOfTeacherInternalServerError) String() string
- type GetClassOfTeacherNotFound
- func (o *GetClassOfTeacherNotFound) Code() int
- func (o *GetClassOfTeacherNotFound) Error() string
- func (o *GetClassOfTeacherNotFound) IsClientError() bool
- func (o *GetClassOfTeacherNotFound) IsCode(code int) bool
- func (o *GetClassOfTeacherNotFound) IsRedirect() bool
- func (o *GetClassOfTeacherNotFound) IsServerError() bool
- func (o *GetClassOfTeacherNotFound) IsSuccess() bool
- func (o *GetClassOfTeacherNotFound) String() string
- type GetClassOfTeacherOK
- func (o *GetClassOfTeacherOK) Code() int
- func (o *GetClassOfTeacherOK) Error() string
- func (o *GetClassOfTeacherOK) GetPayload() *models.Class
- func (o *GetClassOfTeacherOK) IsClientError() bool
- func (o *GetClassOfTeacherOK) IsCode(code int) bool
- func (o *GetClassOfTeacherOK) IsRedirect() bool
- func (o *GetClassOfTeacherOK) IsServerError() bool
- func (o *GetClassOfTeacherOK) IsSuccess() bool
- func (o *GetClassOfTeacherOK) String() string
- type GetClassOfTeacherParams
- func NewGetClassOfTeacherParams() *GetClassOfTeacherParams
- func NewGetClassOfTeacherParamsWithContext(ctx context.Context) *GetClassOfTeacherParams
- func NewGetClassOfTeacherParamsWithHTTPClient(client *http.Client) *GetClassOfTeacherParams
- func NewGetClassOfTeacherParamsWithTimeout(timeout time.Duration) *GetClassOfTeacherParams
- func (o *GetClassOfTeacherParams) SetContext(ctx context.Context)
- func (o *GetClassOfTeacherParams) SetDefaults()
- func (o *GetClassOfTeacherParams) SetHTTPClient(client *http.Client)
- func (o *GetClassOfTeacherParams) SetID(id int64)
- func (o *GetClassOfTeacherParams) SetTimeout(timeout time.Duration)
- func (o *GetClassOfTeacherParams) WithContext(ctx context.Context) *GetClassOfTeacherParams
- func (o *GetClassOfTeacherParams) WithDefaults() *GetClassOfTeacherParams
- func (o *GetClassOfTeacherParams) WithHTTPClient(client *http.Client) *GetClassOfTeacherParams
- func (o *GetClassOfTeacherParams) WithID(id int64) *GetClassOfTeacherParams
- func (o *GetClassOfTeacherParams) WithTimeout(timeout time.Duration) *GetClassOfTeacherParams
- func (o *GetClassOfTeacherParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClassOfTeacherReader
- type GetClassesInternalServerError
- func (o *GetClassesInternalServerError) Code() int
- func (o *GetClassesInternalServerError) Error() string
- func (o *GetClassesInternalServerError) IsClientError() bool
- func (o *GetClassesInternalServerError) IsCode(code int) bool
- func (o *GetClassesInternalServerError) IsRedirect() bool
- func (o *GetClassesInternalServerError) IsServerError() bool
- func (o *GetClassesInternalServerError) IsSuccess() bool
- func (o *GetClassesInternalServerError) String() string
- type GetClassesNotFound
- func (o *GetClassesNotFound) Code() int
- func (o *GetClassesNotFound) Error() string
- func (o *GetClassesNotFound) IsClientError() bool
- func (o *GetClassesNotFound) IsCode(code int) bool
- func (o *GetClassesNotFound) IsRedirect() bool
- func (o *GetClassesNotFound) IsServerError() bool
- func (o *GetClassesNotFound) IsSuccess() bool
- func (o *GetClassesNotFound) String() string
- type GetClassesOK
- func (o *GetClassesOK) Code() int
- func (o *GetClassesOK) Error() string
- func (o *GetClassesOK) GetPayload() []*models.Class
- func (o *GetClassesOK) IsClientError() bool
- func (o *GetClassesOK) IsCode(code int) bool
- func (o *GetClassesOK) IsRedirect() bool
- func (o *GetClassesOK) IsServerError() bool
- func (o *GetClassesOK) IsSuccess() bool
- func (o *GetClassesOK) String() string
- type GetClassesOfStudentInternalServerError
- func (o *GetClassesOfStudentInternalServerError) Code() int
- func (o *GetClassesOfStudentInternalServerError) Error() string
- func (o *GetClassesOfStudentInternalServerError) IsClientError() bool
- func (o *GetClassesOfStudentInternalServerError) IsCode(code int) bool
- func (o *GetClassesOfStudentInternalServerError) IsRedirect() bool
- func (o *GetClassesOfStudentInternalServerError) IsServerError() bool
- func (o *GetClassesOfStudentInternalServerError) IsSuccess() bool
- func (o *GetClassesOfStudentInternalServerError) String() string
- type GetClassesOfStudentNotFound
- func (o *GetClassesOfStudentNotFound) Code() int
- func (o *GetClassesOfStudentNotFound) Error() string
- func (o *GetClassesOfStudentNotFound) IsClientError() bool
- func (o *GetClassesOfStudentNotFound) IsCode(code int) bool
- func (o *GetClassesOfStudentNotFound) IsRedirect() bool
- func (o *GetClassesOfStudentNotFound) IsServerError() bool
- func (o *GetClassesOfStudentNotFound) IsSuccess() bool
- func (o *GetClassesOfStudentNotFound) String() string
- type GetClassesOfStudentOK
- func (o *GetClassesOfStudentOK) Code() int
- func (o *GetClassesOfStudentOK) Error() string
- func (o *GetClassesOfStudentOK) GetPayload() []*models.Class
- func (o *GetClassesOfStudentOK) IsClientError() bool
- func (o *GetClassesOfStudentOK) IsCode(code int) bool
- func (o *GetClassesOfStudentOK) IsRedirect() bool
- func (o *GetClassesOfStudentOK) IsServerError() bool
- func (o *GetClassesOfStudentOK) IsSuccess() bool
- func (o *GetClassesOfStudentOK) String() string
- type GetClassesOfStudentParams
- func NewGetClassesOfStudentParams() *GetClassesOfStudentParams
- func NewGetClassesOfStudentParamsWithContext(ctx context.Context) *GetClassesOfStudentParams
- func NewGetClassesOfStudentParamsWithHTTPClient(client *http.Client) *GetClassesOfStudentParams
- func NewGetClassesOfStudentParamsWithTimeout(timeout time.Duration) *GetClassesOfStudentParams
- func (o *GetClassesOfStudentParams) SetContext(ctx context.Context)
- func (o *GetClassesOfStudentParams) SetDefaults()
- func (o *GetClassesOfStudentParams) SetHTTPClient(client *http.Client)
- func (o *GetClassesOfStudentParams) SetID(id int64)
- func (o *GetClassesOfStudentParams) SetTimeout(timeout time.Duration)
- func (o *GetClassesOfStudentParams) WithContext(ctx context.Context) *GetClassesOfStudentParams
- func (o *GetClassesOfStudentParams) WithDefaults() *GetClassesOfStudentParams
- func (o *GetClassesOfStudentParams) WithHTTPClient(client *http.Client) *GetClassesOfStudentParams
- func (o *GetClassesOfStudentParams) WithID(id int64) *GetClassesOfStudentParams
- func (o *GetClassesOfStudentParams) WithTimeout(timeout time.Duration) *GetClassesOfStudentParams
- func (o *GetClassesOfStudentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClassesOfStudentReader
- type GetClassesParams
- func (o *GetClassesParams) SetContext(ctx context.Context)
- func (o *GetClassesParams) SetDefaults()
- func (o *GetClassesParams) SetHTTPClient(client *http.Client)
- func (o *GetClassesParams) SetTimeout(timeout time.Duration)
- func (o *GetClassesParams) WithContext(ctx context.Context) *GetClassesParams
- func (o *GetClassesParams) WithDefaults() *GetClassesParams
- func (o *GetClassesParams) WithHTTPClient(client *http.Client) *GetClassesParams
- func (o *GetClassesParams) WithTimeout(timeout time.Duration) *GetClassesParams
- func (o *GetClassesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClassesReader
- type GetDefaultedStudentAccountsInternalServerError
- func (o *GetDefaultedStudentAccountsInternalServerError) Code() int
- func (o *GetDefaultedStudentAccountsInternalServerError) Error() string
- func (o *GetDefaultedStudentAccountsInternalServerError) IsClientError() bool
- func (o *GetDefaultedStudentAccountsInternalServerError) IsCode(code int) bool
- func (o *GetDefaultedStudentAccountsInternalServerError) IsRedirect() bool
- func (o *GetDefaultedStudentAccountsInternalServerError) IsServerError() bool
- func (o *GetDefaultedStudentAccountsInternalServerError) IsSuccess() bool
- func (o *GetDefaultedStudentAccountsInternalServerError) String() string
- type GetDefaultedStudentAccountsNotFound
- func (o *GetDefaultedStudentAccountsNotFound) Code() int
- func (o *GetDefaultedStudentAccountsNotFound) Error() string
- func (o *GetDefaultedStudentAccountsNotFound) IsClientError() bool
- func (o *GetDefaultedStudentAccountsNotFound) IsCode(code int) bool
- func (o *GetDefaultedStudentAccountsNotFound) IsRedirect() bool
- func (o *GetDefaultedStudentAccountsNotFound) IsServerError() bool
- func (o *GetDefaultedStudentAccountsNotFound) IsSuccess() bool
- func (o *GetDefaultedStudentAccountsNotFound) String() string
- type GetDefaultedStudentAccountsOK
- func (o *GetDefaultedStudentAccountsOK) Code() int
- func (o *GetDefaultedStudentAccountsOK) Error() string
- func (o *GetDefaultedStudentAccountsOK) GetPayload() []*models.Account
- func (o *GetDefaultedStudentAccountsOK) IsClientError() bool
- func (o *GetDefaultedStudentAccountsOK) IsCode(code int) bool
- func (o *GetDefaultedStudentAccountsOK) IsRedirect() bool
- func (o *GetDefaultedStudentAccountsOK) IsServerError() bool
- func (o *GetDefaultedStudentAccountsOK) IsSuccess() bool
- func (o *GetDefaultedStudentAccountsOK) String() string
- type GetDefaultedStudentAccountsParams
- func NewGetDefaultedStudentAccountsParams() *GetDefaultedStudentAccountsParams
- func NewGetDefaultedStudentAccountsParamsWithContext(ctx context.Context) *GetDefaultedStudentAccountsParams
- func NewGetDefaultedStudentAccountsParamsWithHTTPClient(client *http.Client) *GetDefaultedStudentAccountsParams
- func NewGetDefaultedStudentAccountsParamsWithTimeout(timeout time.Duration) *GetDefaultedStudentAccountsParams
- func (o *GetDefaultedStudentAccountsParams) SetContext(ctx context.Context)
- func (o *GetDefaultedStudentAccountsParams) SetDefaults()
- func (o *GetDefaultedStudentAccountsParams) SetHTTPClient(client *http.Client)
- func (o *GetDefaultedStudentAccountsParams) SetTimeout(timeout time.Duration)
- func (o *GetDefaultedStudentAccountsParams) WithContext(ctx context.Context) *GetDefaultedStudentAccountsParams
- func (o *GetDefaultedStudentAccountsParams) WithDefaults() *GetDefaultedStudentAccountsParams
- func (o *GetDefaultedStudentAccountsParams) WithHTTPClient(client *http.Client) *GetDefaultedStudentAccountsParams
- func (o *GetDefaultedStudentAccountsParams) WithTimeout(timeout time.Duration) *GetDefaultedStudentAccountsParams
- func (o *GetDefaultedStudentAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDefaultedStudentAccountsReader
- type GetStudentAccountsInternalServerError
- func (o *GetStudentAccountsInternalServerError) Code() int
- func (o *GetStudentAccountsInternalServerError) Error() string
- func (o *GetStudentAccountsInternalServerError) IsClientError() bool
- func (o *GetStudentAccountsInternalServerError) IsCode(code int) bool
- func (o *GetStudentAccountsInternalServerError) IsRedirect() bool
- func (o *GetStudentAccountsInternalServerError) IsServerError() bool
- func (o *GetStudentAccountsInternalServerError) IsSuccess() bool
- func (o *GetStudentAccountsInternalServerError) String() string
- type GetStudentAccountsNotFound
- func (o *GetStudentAccountsNotFound) Code() int
- func (o *GetStudentAccountsNotFound) Error() string
- func (o *GetStudentAccountsNotFound) IsClientError() bool
- func (o *GetStudentAccountsNotFound) IsCode(code int) bool
- func (o *GetStudentAccountsNotFound) IsRedirect() bool
- func (o *GetStudentAccountsNotFound) IsServerError() bool
- func (o *GetStudentAccountsNotFound) IsSuccess() bool
- func (o *GetStudentAccountsNotFound) String() string
- type GetStudentAccountsOK
- func (o *GetStudentAccountsOK) Code() int
- func (o *GetStudentAccountsOK) Error() string
- func (o *GetStudentAccountsOK) GetPayload() []*models.Account
- func (o *GetStudentAccountsOK) IsClientError() bool
- func (o *GetStudentAccountsOK) IsCode(code int) bool
- func (o *GetStudentAccountsOK) IsRedirect() bool
- func (o *GetStudentAccountsOK) IsServerError() bool
- func (o *GetStudentAccountsOK) IsSuccess() bool
- func (o *GetStudentAccountsOK) String() string
- type GetStudentAccountsParams
- func NewGetStudentAccountsParams() *GetStudentAccountsParams
- func NewGetStudentAccountsParamsWithContext(ctx context.Context) *GetStudentAccountsParams
- func NewGetStudentAccountsParamsWithHTTPClient(client *http.Client) *GetStudentAccountsParams
- func NewGetStudentAccountsParamsWithTimeout(timeout time.Duration) *GetStudentAccountsParams
- func (o *GetStudentAccountsParams) SetContext(ctx context.Context)
- func (o *GetStudentAccountsParams) SetDefaults()
- func (o *GetStudentAccountsParams) SetHTTPClient(client *http.Client)
- func (o *GetStudentAccountsParams) SetTimeout(timeout time.Duration)
- func (o *GetStudentAccountsParams) WithContext(ctx context.Context) *GetStudentAccountsParams
- func (o *GetStudentAccountsParams) WithDefaults() *GetStudentAccountsParams
- func (o *GetStudentAccountsParams) WithHTTPClient(client *http.Client) *GetStudentAccountsParams
- func (o *GetStudentAccountsParams) WithTimeout(timeout time.Duration) *GetStudentAccountsParams
- func (o *GetStudentAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStudentAccountsReader
- type GetStudentByIDInternalServerError
- func (o *GetStudentByIDInternalServerError) Code() int
- func (o *GetStudentByIDInternalServerError) Error() string
- func (o *GetStudentByIDInternalServerError) IsClientError() bool
- func (o *GetStudentByIDInternalServerError) IsCode(code int) bool
- func (o *GetStudentByIDInternalServerError) IsRedirect() bool
- func (o *GetStudentByIDInternalServerError) IsServerError() bool
- func (o *GetStudentByIDInternalServerError) IsSuccess() bool
- func (o *GetStudentByIDInternalServerError) String() string
- type GetStudentByIDNotFound
- func (o *GetStudentByIDNotFound) Code() int
- func (o *GetStudentByIDNotFound) Error() string
- func (o *GetStudentByIDNotFound) IsClientError() bool
- func (o *GetStudentByIDNotFound) IsCode(code int) bool
- func (o *GetStudentByIDNotFound) IsRedirect() bool
- func (o *GetStudentByIDNotFound) IsServerError() bool
- func (o *GetStudentByIDNotFound) IsSuccess() bool
- func (o *GetStudentByIDNotFound) String() string
- type GetStudentByIDOK
- func (o *GetStudentByIDOK) Code() int
- func (o *GetStudentByIDOK) Error() string
- func (o *GetStudentByIDOK) GetPayload() *models.Student
- func (o *GetStudentByIDOK) IsClientError() bool
- func (o *GetStudentByIDOK) IsCode(code int) bool
- func (o *GetStudentByIDOK) IsRedirect() bool
- func (o *GetStudentByIDOK) IsServerError() bool
- func (o *GetStudentByIDOK) IsSuccess() bool
- func (o *GetStudentByIDOK) String() string
- type GetStudentByIDParams
- func NewGetStudentByIDParams() *GetStudentByIDParams
- func NewGetStudentByIDParamsWithContext(ctx context.Context) *GetStudentByIDParams
- func NewGetStudentByIDParamsWithHTTPClient(client *http.Client) *GetStudentByIDParams
- func NewGetStudentByIDParamsWithTimeout(timeout time.Duration) *GetStudentByIDParams
- func (o *GetStudentByIDParams) SetContext(ctx context.Context)
- func (o *GetStudentByIDParams) SetDefaults()
- func (o *GetStudentByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetStudentByIDParams) SetID(id int64)
- func (o *GetStudentByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetStudentByIDParams) WithContext(ctx context.Context) *GetStudentByIDParams
- func (o *GetStudentByIDParams) WithDefaults() *GetStudentByIDParams
- func (o *GetStudentByIDParams) WithHTTPClient(client *http.Client) *GetStudentByIDParams
- func (o *GetStudentByIDParams) WithID(id int64) *GetStudentByIDParams
- func (o *GetStudentByIDParams) WithTimeout(timeout time.Duration) *GetStudentByIDParams
- func (o *GetStudentByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStudentByIDReader
- type GetStudentsInternalServerError
- func (o *GetStudentsInternalServerError) Code() int
- func (o *GetStudentsInternalServerError) Error() string
- func (o *GetStudentsInternalServerError) IsClientError() bool
- func (o *GetStudentsInternalServerError) IsCode(code int) bool
- func (o *GetStudentsInternalServerError) IsRedirect() bool
- func (o *GetStudentsInternalServerError) IsServerError() bool
- func (o *GetStudentsInternalServerError) IsSuccess() bool
- func (o *GetStudentsInternalServerError) String() string
- type GetStudentsNotFound
- func (o *GetStudentsNotFound) Code() int
- func (o *GetStudentsNotFound) Error() string
- func (o *GetStudentsNotFound) IsClientError() bool
- func (o *GetStudentsNotFound) IsCode(code int) bool
- func (o *GetStudentsNotFound) IsRedirect() bool
- func (o *GetStudentsNotFound) IsServerError() bool
- func (o *GetStudentsNotFound) IsSuccess() bool
- func (o *GetStudentsNotFound) String() string
- type GetStudentsOK
- func (o *GetStudentsOK) Code() int
- func (o *GetStudentsOK) Error() string
- func (o *GetStudentsOK) GetPayload() []*models.Student
- func (o *GetStudentsOK) IsClientError() bool
- func (o *GetStudentsOK) IsCode(code int) bool
- func (o *GetStudentsOK) IsRedirect() bool
- func (o *GetStudentsOK) IsServerError() bool
- func (o *GetStudentsOK) IsSuccess() bool
- func (o *GetStudentsOK) String() string
- type GetStudentsOfClassInternalServerError
- func (o *GetStudentsOfClassInternalServerError) Code() int
- func (o *GetStudentsOfClassInternalServerError) Error() string
- func (o *GetStudentsOfClassInternalServerError) IsClientError() bool
- func (o *GetStudentsOfClassInternalServerError) IsCode(code int) bool
- func (o *GetStudentsOfClassInternalServerError) IsRedirect() bool
- func (o *GetStudentsOfClassInternalServerError) IsServerError() bool
- func (o *GetStudentsOfClassInternalServerError) IsSuccess() bool
- func (o *GetStudentsOfClassInternalServerError) String() string
- type GetStudentsOfClassNotFound
- func (o *GetStudentsOfClassNotFound) Code() int
- func (o *GetStudentsOfClassNotFound) Error() string
- func (o *GetStudentsOfClassNotFound) IsClientError() bool
- func (o *GetStudentsOfClassNotFound) IsCode(code int) bool
- func (o *GetStudentsOfClassNotFound) IsRedirect() bool
- func (o *GetStudentsOfClassNotFound) IsServerError() bool
- func (o *GetStudentsOfClassNotFound) IsSuccess() bool
- func (o *GetStudentsOfClassNotFound) String() string
- type GetStudentsOfClassOK
- func (o *GetStudentsOfClassOK) Code() int
- func (o *GetStudentsOfClassOK) Error() string
- func (o *GetStudentsOfClassOK) GetPayload() []*models.Student
- func (o *GetStudentsOfClassOK) IsClientError() bool
- func (o *GetStudentsOfClassOK) IsCode(code int) bool
- func (o *GetStudentsOfClassOK) IsRedirect() bool
- func (o *GetStudentsOfClassOK) IsServerError() bool
- func (o *GetStudentsOfClassOK) IsSuccess() bool
- func (o *GetStudentsOfClassOK) String() string
- type GetStudentsOfClassParams
- func NewGetStudentsOfClassParams() *GetStudentsOfClassParams
- func NewGetStudentsOfClassParamsWithContext(ctx context.Context) *GetStudentsOfClassParams
- func NewGetStudentsOfClassParamsWithHTTPClient(client *http.Client) *GetStudentsOfClassParams
- func NewGetStudentsOfClassParamsWithTimeout(timeout time.Duration) *GetStudentsOfClassParams
- func (o *GetStudentsOfClassParams) SetContext(ctx context.Context)
- func (o *GetStudentsOfClassParams) SetDefaults()
- func (o *GetStudentsOfClassParams) SetHTTPClient(client *http.Client)
- func (o *GetStudentsOfClassParams) SetID(id int64)
- func (o *GetStudentsOfClassParams) SetTimeout(timeout time.Duration)
- func (o *GetStudentsOfClassParams) WithContext(ctx context.Context) *GetStudentsOfClassParams
- func (o *GetStudentsOfClassParams) WithDefaults() *GetStudentsOfClassParams
- func (o *GetStudentsOfClassParams) WithHTTPClient(client *http.Client) *GetStudentsOfClassParams
- func (o *GetStudentsOfClassParams) WithID(id int64) *GetStudentsOfClassParams
- func (o *GetStudentsOfClassParams) WithTimeout(timeout time.Duration) *GetStudentsOfClassParams
- func (o *GetStudentsOfClassParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStudentsOfClassReader
- type GetStudentsOfSubjectInternalServerError
- func (o *GetStudentsOfSubjectInternalServerError) Code() int
- func (o *GetStudentsOfSubjectInternalServerError) Error() string
- func (o *GetStudentsOfSubjectInternalServerError) IsClientError() bool
- func (o *GetStudentsOfSubjectInternalServerError) IsCode(code int) bool
- func (o *GetStudentsOfSubjectInternalServerError) IsRedirect() bool
- func (o *GetStudentsOfSubjectInternalServerError) IsServerError() bool
- func (o *GetStudentsOfSubjectInternalServerError) IsSuccess() bool
- func (o *GetStudentsOfSubjectInternalServerError) String() string
- type GetStudentsOfSubjectNotFound
- func (o *GetStudentsOfSubjectNotFound) Code() int
- func (o *GetStudentsOfSubjectNotFound) Error() string
- func (o *GetStudentsOfSubjectNotFound) IsClientError() bool
- func (o *GetStudentsOfSubjectNotFound) IsCode(code int) bool
- func (o *GetStudentsOfSubjectNotFound) IsRedirect() bool
- func (o *GetStudentsOfSubjectNotFound) IsServerError() bool
- func (o *GetStudentsOfSubjectNotFound) IsSuccess() bool
- func (o *GetStudentsOfSubjectNotFound) String() string
- type GetStudentsOfSubjectOK
- func (o *GetStudentsOfSubjectOK) Code() int
- func (o *GetStudentsOfSubjectOK) Error() string
- func (o *GetStudentsOfSubjectOK) GetPayload() []*models.Student
- func (o *GetStudentsOfSubjectOK) IsClientError() bool
- func (o *GetStudentsOfSubjectOK) IsCode(code int) bool
- func (o *GetStudentsOfSubjectOK) IsRedirect() bool
- func (o *GetStudentsOfSubjectOK) IsServerError() bool
- func (o *GetStudentsOfSubjectOK) IsSuccess() bool
- func (o *GetStudentsOfSubjectOK) String() string
- type GetStudentsOfSubjectParams
- func NewGetStudentsOfSubjectParams() *GetStudentsOfSubjectParams
- func NewGetStudentsOfSubjectParamsWithContext(ctx context.Context) *GetStudentsOfSubjectParams
- func NewGetStudentsOfSubjectParamsWithHTTPClient(client *http.Client) *GetStudentsOfSubjectParams
- func NewGetStudentsOfSubjectParamsWithTimeout(timeout time.Duration) *GetStudentsOfSubjectParams
- func (o *GetStudentsOfSubjectParams) SetContext(ctx context.Context)
- func (o *GetStudentsOfSubjectParams) SetDefaults()
- func (o *GetStudentsOfSubjectParams) SetHTTPClient(client *http.Client)
- func (o *GetStudentsOfSubjectParams) SetID(id int64)
- func (o *GetStudentsOfSubjectParams) SetTimeout(timeout time.Duration)
- func (o *GetStudentsOfSubjectParams) WithContext(ctx context.Context) *GetStudentsOfSubjectParams
- func (o *GetStudentsOfSubjectParams) WithDefaults() *GetStudentsOfSubjectParams
- func (o *GetStudentsOfSubjectParams) WithHTTPClient(client *http.Client) *GetStudentsOfSubjectParams
- func (o *GetStudentsOfSubjectParams) WithID(id int64) *GetStudentsOfSubjectParams
- func (o *GetStudentsOfSubjectParams) WithTimeout(timeout time.Duration) *GetStudentsOfSubjectParams
- func (o *GetStudentsOfSubjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStudentsOfSubjectReader
- type GetStudentsOfTeacherInternalServerError
- func (o *GetStudentsOfTeacherInternalServerError) Code() int
- func (o *GetStudentsOfTeacherInternalServerError) Error() string
- func (o *GetStudentsOfTeacherInternalServerError) IsClientError() bool
- func (o *GetStudentsOfTeacherInternalServerError) IsCode(code int) bool
- func (o *GetStudentsOfTeacherInternalServerError) IsRedirect() bool
- func (o *GetStudentsOfTeacherInternalServerError) IsServerError() bool
- func (o *GetStudentsOfTeacherInternalServerError) IsSuccess() bool
- func (o *GetStudentsOfTeacherInternalServerError) String() string
- type GetStudentsOfTeacherNotFound
- func (o *GetStudentsOfTeacherNotFound) Code() int
- func (o *GetStudentsOfTeacherNotFound) Error() string
- func (o *GetStudentsOfTeacherNotFound) IsClientError() bool
- func (o *GetStudentsOfTeacherNotFound) IsCode(code int) bool
- func (o *GetStudentsOfTeacherNotFound) IsRedirect() bool
- func (o *GetStudentsOfTeacherNotFound) IsServerError() bool
- func (o *GetStudentsOfTeacherNotFound) IsSuccess() bool
- func (o *GetStudentsOfTeacherNotFound) String() string
- type GetStudentsOfTeacherOK
- func (o *GetStudentsOfTeacherOK) Code() int
- func (o *GetStudentsOfTeacherOK) Error() string
- func (o *GetStudentsOfTeacherOK) GetPayload() []*models.Student
- func (o *GetStudentsOfTeacherOK) IsClientError() bool
- func (o *GetStudentsOfTeacherOK) IsCode(code int) bool
- func (o *GetStudentsOfTeacherOK) IsRedirect() bool
- func (o *GetStudentsOfTeacherOK) IsServerError() bool
- func (o *GetStudentsOfTeacherOK) IsSuccess() bool
- func (o *GetStudentsOfTeacherOK) String() string
- type GetStudentsOfTeacherParams
- func NewGetStudentsOfTeacherParams() *GetStudentsOfTeacherParams
- func NewGetStudentsOfTeacherParamsWithContext(ctx context.Context) *GetStudentsOfTeacherParams
- func NewGetStudentsOfTeacherParamsWithHTTPClient(client *http.Client) *GetStudentsOfTeacherParams
- func NewGetStudentsOfTeacherParamsWithTimeout(timeout time.Duration) *GetStudentsOfTeacherParams
- func (o *GetStudentsOfTeacherParams) SetContext(ctx context.Context)
- func (o *GetStudentsOfTeacherParams) SetDefaults()
- func (o *GetStudentsOfTeacherParams) SetHTTPClient(client *http.Client)
- func (o *GetStudentsOfTeacherParams) SetID(id int64)
- func (o *GetStudentsOfTeacherParams) SetTimeout(timeout time.Duration)
- func (o *GetStudentsOfTeacherParams) WithContext(ctx context.Context) *GetStudentsOfTeacherParams
- func (o *GetStudentsOfTeacherParams) WithDefaults() *GetStudentsOfTeacherParams
- func (o *GetStudentsOfTeacherParams) WithHTTPClient(client *http.Client) *GetStudentsOfTeacherParams
- func (o *GetStudentsOfTeacherParams) WithID(id int64) *GetStudentsOfTeacherParams
- func (o *GetStudentsOfTeacherParams) WithTimeout(timeout time.Duration) *GetStudentsOfTeacherParams
- func (o *GetStudentsOfTeacherParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStudentsOfTeacherReader
- type GetStudentsParams
- func (o *GetStudentsParams) SetContext(ctx context.Context)
- func (o *GetStudentsParams) SetDefaults()
- func (o *GetStudentsParams) SetHTTPClient(client *http.Client)
- func (o *GetStudentsParams) SetTimeout(timeout time.Duration)
- func (o *GetStudentsParams) WithContext(ctx context.Context) *GetStudentsParams
- func (o *GetStudentsParams) WithDefaults() *GetStudentsParams
- func (o *GetStudentsParams) WithHTTPClient(client *http.Client) *GetStudentsParams
- func (o *GetStudentsParams) WithTimeout(timeout time.Duration) *GetStudentsParams
- func (o *GetStudentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStudentsReader
- type GetSubjectByIDInternalServerError
- func (o *GetSubjectByIDInternalServerError) Code() int
- func (o *GetSubjectByIDInternalServerError) Error() string
- func (o *GetSubjectByIDInternalServerError) IsClientError() bool
- func (o *GetSubjectByIDInternalServerError) IsCode(code int) bool
- func (o *GetSubjectByIDInternalServerError) IsRedirect() bool
- func (o *GetSubjectByIDInternalServerError) IsServerError() bool
- func (o *GetSubjectByIDInternalServerError) IsSuccess() bool
- func (o *GetSubjectByIDInternalServerError) String() string
- type GetSubjectByIDNotFound
- func (o *GetSubjectByIDNotFound) Code() int
- func (o *GetSubjectByIDNotFound) Error() string
- func (o *GetSubjectByIDNotFound) IsClientError() bool
- func (o *GetSubjectByIDNotFound) IsCode(code int) bool
- func (o *GetSubjectByIDNotFound) IsRedirect() bool
- func (o *GetSubjectByIDNotFound) IsServerError() bool
- func (o *GetSubjectByIDNotFound) IsSuccess() bool
- func (o *GetSubjectByIDNotFound) String() string
- type GetSubjectByIDOK
- func (o *GetSubjectByIDOK) Code() int
- func (o *GetSubjectByIDOK) Error() string
- func (o *GetSubjectByIDOK) GetPayload() *models.Subject
- func (o *GetSubjectByIDOK) IsClientError() bool
- func (o *GetSubjectByIDOK) IsCode(code int) bool
- func (o *GetSubjectByIDOK) IsRedirect() bool
- func (o *GetSubjectByIDOK) IsServerError() bool
- func (o *GetSubjectByIDOK) IsSuccess() bool
- func (o *GetSubjectByIDOK) String() string
- type GetSubjectByIDParams
- func NewGetSubjectByIDParams() *GetSubjectByIDParams
- func NewGetSubjectByIDParamsWithContext(ctx context.Context) *GetSubjectByIDParams
- func NewGetSubjectByIDParamsWithHTTPClient(client *http.Client) *GetSubjectByIDParams
- func NewGetSubjectByIDParamsWithTimeout(timeout time.Duration) *GetSubjectByIDParams
- func (o *GetSubjectByIDParams) SetContext(ctx context.Context)
- func (o *GetSubjectByIDParams) SetDefaults()
- func (o *GetSubjectByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetSubjectByIDParams) SetID(id int64)
- func (o *GetSubjectByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetSubjectByIDParams) WithContext(ctx context.Context) *GetSubjectByIDParams
- func (o *GetSubjectByIDParams) WithDefaults() *GetSubjectByIDParams
- func (o *GetSubjectByIDParams) WithHTTPClient(client *http.Client) *GetSubjectByIDParams
- func (o *GetSubjectByIDParams) WithID(id int64) *GetSubjectByIDParams
- func (o *GetSubjectByIDParams) WithTimeout(timeout time.Duration) *GetSubjectByIDParams
- func (o *GetSubjectByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSubjectByIDReader
- type GetSubjectsInternalServerError
- func (o *GetSubjectsInternalServerError) Code() int
- func (o *GetSubjectsInternalServerError) Error() string
- func (o *GetSubjectsInternalServerError) IsClientError() bool
- func (o *GetSubjectsInternalServerError) IsCode(code int) bool
- func (o *GetSubjectsInternalServerError) IsRedirect() bool
- func (o *GetSubjectsInternalServerError) IsServerError() bool
- func (o *GetSubjectsInternalServerError) IsSuccess() bool
- func (o *GetSubjectsInternalServerError) String() string
- type GetSubjectsNotFound
- func (o *GetSubjectsNotFound) Code() int
- func (o *GetSubjectsNotFound) Error() string
- func (o *GetSubjectsNotFound) IsClientError() bool
- func (o *GetSubjectsNotFound) IsCode(code int) bool
- func (o *GetSubjectsNotFound) IsRedirect() bool
- func (o *GetSubjectsNotFound) IsServerError() bool
- func (o *GetSubjectsNotFound) IsSuccess() bool
- func (o *GetSubjectsNotFound) String() string
- type GetSubjectsOK
- func (o *GetSubjectsOK) Code() int
- func (o *GetSubjectsOK) Error() string
- func (o *GetSubjectsOK) GetPayload() []*models.Subject
- func (o *GetSubjectsOK) IsClientError() bool
- func (o *GetSubjectsOK) IsCode(code int) bool
- func (o *GetSubjectsOK) IsRedirect() bool
- func (o *GetSubjectsOK) IsServerError() bool
- func (o *GetSubjectsOK) IsSuccess() bool
- func (o *GetSubjectsOK) String() string
- type GetSubjectsOfClassInternalServerError
- func (o *GetSubjectsOfClassInternalServerError) Code() int
- func (o *GetSubjectsOfClassInternalServerError) Error() string
- func (o *GetSubjectsOfClassInternalServerError) IsClientError() bool
- func (o *GetSubjectsOfClassInternalServerError) IsCode(code int) bool
- func (o *GetSubjectsOfClassInternalServerError) IsRedirect() bool
- func (o *GetSubjectsOfClassInternalServerError) IsServerError() bool
- func (o *GetSubjectsOfClassInternalServerError) IsSuccess() bool
- func (o *GetSubjectsOfClassInternalServerError) String() string
- type GetSubjectsOfClassNotFound
- func (o *GetSubjectsOfClassNotFound) Code() int
- func (o *GetSubjectsOfClassNotFound) Error() string
- func (o *GetSubjectsOfClassNotFound) IsClientError() bool
- func (o *GetSubjectsOfClassNotFound) IsCode(code int) bool
- func (o *GetSubjectsOfClassNotFound) IsRedirect() bool
- func (o *GetSubjectsOfClassNotFound) IsServerError() bool
- func (o *GetSubjectsOfClassNotFound) IsSuccess() bool
- func (o *GetSubjectsOfClassNotFound) String() string
- type GetSubjectsOfClassOK
- func (o *GetSubjectsOfClassOK) Code() int
- func (o *GetSubjectsOfClassOK) Error() string
- func (o *GetSubjectsOfClassOK) GetPayload() []*models.Subject
- func (o *GetSubjectsOfClassOK) IsClientError() bool
- func (o *GetSubjectsOfClassOK) IsCode(code int) bool
- func (o *GetSubjectsOfClassOK) IsRedirect() bool
- func (o *GetSubjectsOfClassOK) IsServerError() bool
- func (o *GetSubjectsOfClassOK) IsSuccess() bool
- func (o *GetSubjectsOfClassOK) String() string
- type GetSubjectsOfClassParams
- func NewGetSubjectsOfClassParams() *GetSubjectsOfClassParams
- func NewGetSubjectsOfClassParamsWithContext(ctx context.Context) *GetSubjectsOfClassParams
- func NewGetSubjectsOfClassParamsWithHTTPClient(client *http.Client) *GetSubjectsOfClassParams
- func NewGetSubjectsOfClassParamsWithTimeout(timeout time.Duration) *GetSubjectsOfClassParams
- func (o *GetSubjectsOfClassParams) SetContext(ctx context.Context)
- func (o *GetSubjectsOfClassParams) SetDefaults()
- func (o *GetSubjectsOfClassParams) SetHTTPClient(client *http.Client)
- func (o *GetSubjectsOfClassParams) SetID(id int64)
- func (o *GetSubjectsOfClassParams) SetTimeout(timeout time.Duration)
- func (o *GetSubjectsOfClassParams) WithContext(ctx context.Context) *GetSubjectsOfClassParams
- func (o *GetSubjectsOfClassParams) WithDefaults() *GetSubjectsOfClassParams
- func (o *GetSubjectsOfClassParams) WithHTTPClient(client *http.Client) *GetSubjectsOfClassParams
- func (o *GetSubjectsOfClassParams) WithID(id int64) *GetSubjectsOfClassParams
- func (o *GetSubjectsOfClassParams) WithTimeout(timeout time.Duration) *GetSubjectsOfClassParams
- func (o *GetSubjectsOfClassParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSubjectsOfClassReader
- type GetSubjectsOfStudentInternalServerError
- func (o *GetSubjectsOfStudentInternalServerError) Code() int
- func (o *GetSubjectsOfStudentInternalServerError) Error() string
- func (o *GetSubjectsOfStudentInternalServerError) IsClientError() bool
- func (o *GetSubjectsOfStudentInternalServerError) IsCode(code int) bool
- func (o *GetSubjectsOfStudentInternalServerError) IsRedirect() bool
- func (o *GetSubjectsOfStudentInternalServerError) IsServerError() bool
- func (o *GetSubjectsOfStudentInternalServerError) IsSuccess() bool
- func (o *GetSubjectsOfStudentInternalServerError) String() string
- type GetSubjectsOfStudentNotFound
- func (o *GetSubjectsOfStudentNotFound) Code() int
- func (o *GetSubjectsOfStudentNotFound) Error() string
- func (o *GetSubjectsOfStudentNotFound) IsClientError() bool
- func (o *GetSubjectsOfStudentNotFound) IsCode(code int) bool
- func (o *GetSubjectsOfStudentNotFound) IsRedirect() bool
- func (o *GetSubjectsOfStudentNotFound) IsServerError() bool
- func (o *GetSubjectsOfStudentNotFound) IsSuccess() bool
- func (o *GetSubjectsOfStudentNotFound) String() string
- type GetSubjectsOfStudentOK
- func (o *GetSubjectsOfStudentOK) Code() int
- func (o *GetSubjectsOfStudentOK) Error() string
- func (o *GetSubjectsOfStudentOK) GetPayload() []*models.Subject
- func (o *GetSubjectsOfStudentOK) IsClientError() bool
- func (o *GetSubjectsOfStudentOK) IsCode(code int) bool
- func (o *GetSubjectsOfStudentOK) IsRedirect() bool
- func (o *GetSubjectsOfStudentOK) IsServerError() bool
- func (o *GetSubjectsOfStudentOK) IsSuccess() bool
- func (o *GetSubjectsOfStudentOK) String() string
- type GetSubjectsOfStudentParams
- func NewGetSubjectsOfStudentParams() *GetSubjectsOfStudentParams
- func NewGetSubjectsOfStudentParamsWithContext(ctx context.Context) *GetSubjectsOfStudentParams
- func NewGetSubjectsOfStudentParamsWithHTTPClient(client *http.Client) *GetSubjectsOfStudentParams
- func NewGetSubjectsOfStudentParamsWithTimeout(timeout time.Duration) *GetSubjectsOfStudentParams
- func (o *GetSubjectsOfStudentParams) SetContext(ctx context.Context)
- func (o *GetSubjectsOfStudentParams) SetDefaults()
- func (o *GetSubjectsOfStudentParams) SetHTTPClient(client *http.Client)
- func (o *GetSubjectsOfStudentParams) SetID(id int64)
- func (o *GetSubjectsOfStudentParams) SetTimeout(timeout time.Duration)
- func (o *GetSubjectsOfStudentParams) WithContext(ctx context.Context) *GetSubjectsOfStudentParams
- func (o *GetSubjectsOfStudentParams) WithDefaults() *GetSubjectsOfStudentParams
- func (o *GetSubjectsOfStudentParams) WithHTTPClient(client *http.Client) *GetSubjectsOfStudentParams
- func (o *GetSubjectsOfStudentParams) WithID(id int64) *GetSubjectsOfStudentParams
- func (o *GetSubjectsOfStudentParams) WithTimeout(timeout time.Duration) *GetSubjectsOfStudentParams
- func (o *GetSubjectsOfStudentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSubjectsOfStudentReader
- type GetSubjectsParams
- func (o *GetSubjectsParams) SetContext(ctx context.Context)
- func (o *GetSubjectsParams) SetDefaults()
- func (o *GetSubjectsParams) SetHTTPClient(client *http.Client)
- func (o *GetSubjectsParams) SetTimeout(timeout time.Duration)
- func (o *GetSubjectsParams) WithContext(ctx context.Context) *GetSubjectsParams
- func (o *GetSubjectsParams) WithDefaults() *GetSubjectsParams
- func (o *GetSubjectsParams) WithHTTPClient(client *http.Client) *GetSubjectsParams
- func (o *GetSubjectsParams) WithTimeout(timeout time.Duration) *GetSubjectsParams
- func (o *GetSubjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSubjectsReader
- type GetTeacherAccountsInternalServerError
- func (o *GetTeacherAccountsInternalServerError) Code() int
- func (o *GetTeacherAccountsInternalServerError) Error() string
- func (o *GetTeacherAccountsInternalServerError) IsClientError() bool
- func (o *GetTeacherAccountsInternalServerError) IsCode(code int) bool
- func (o *GetTeacherAccountsInternalServerError) IsRedirect() bool
- func (o *GetTeacherAccountsInternalServerError) IsServerError() bool
- func (o *GetTeacherAccountsInternalServerError) IsSuccess() bool
- func (o *GetTeacherAccountsInternalServerError) String() string
- type GetTeacherAccountsNotFound
- func (o *GetTeacherAccountsNotFound) Code() int
- func (o *GetTeacherAccountsNotFound) Error() string
- func (o *GetTeacherAccountsNotFound) IsClientError() bool
- func (o *GetTeacherAccountsNotFound) IsCode(code int) bool
- func (o *GetTeacherAccountsNotFound) IsRedirect() bool
- func (o *GetTeacherAccountsNotFound) IsServerError() bool
- func (o *GetTeacherAccountsNotFound) IsSuccess() bool
- func (o *GetTeacherAccountsNotFound) String() string
- type GetTeacherAccountsOK
- func (o *GetTeacherAccountsOK) Code() int
- func (o *GetTeacherAccountsOK) Error() string
- func (o *GetTeacherAccountsOK) GetPayload() []*models.Account
- func (o *GetTeacherAccountsOK) IsClientError() bool
- func (o *GetTeacherAccountsOK) IsCode(code int) bool
- func (o *GetTeacherAccountsOK) IsRedirect() bool
- func (o *GetTeacherAccountsOK) IsServerError() bool
- func (o *GetTeacherAccountsOK) IsSuccess() bool
- func (o *GetTeacherAccountsOK) String() string
- type GetTeacherAccountsParams
- func NewGetTeacherAccountsParams() *GetTeacherAccountsParams
- func NewGetTeacherAccountsParamsWithContext(ctx context.Context) *GetTeacherAccountsParams
- func NewGetTeacherAccountsParamsWithHTTPClient(client *http.Client) *GetTeacherAccountsParams
- func NewGetTeacherAccountsParamsWithTimeout(timeout time.Duration) *GetTeacherAccountsParams
- func (o *GetTeacherAccountsParams) SetContext(ctx context.Context)
- func (o *GetTeacherAccountsParams) SetDefaults()
- func (o *GetTeacherAccountsParams) SetHTTPClient(client *http.Client)
- func (o *GetTeacherAccountsParams) SetTimeout(timeout time.Duration)
- func (o *GetTeacherAccountsParams) WithContext(ctx context.Context) *GetTeacherAccountsParams
- func (o *GetTeacherAccountsParams) WithDefaults() *GetTeacherAccountsParams
- func (o *GetTeacherAccountsParams) WithHTTPClient(client *http.Client) *GetTeacherAccountsParams
- func (o *GetTeacherAccountsParams) WithTimeout(timeout time.Duration) *GetTeacherAccountsParams
- func (o *GetTeacherAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTeacherAccountsReader
- type GetTeacherByIDInternalServerError
- func (o *GetTeacherByIDInternalServerError) Code() int
- func (o *GetTeacherByIDInternalServerError) Error() string
- func (o *GetTeacherByIDInternalServerError) IsClientError() bool
- func (o *GetTeacherByIDInternalServerError) IsCode(code int) bool
- func (o *GetTeacherByIDInternalServerError) IsRedirect() bool
- func (o *GetTeacherByIDInternalServerError) IsServerError() bool
- func (o *GetTeacherByIDInternalServerError) IsSuccess() bool
- func (o *GetTeacherByIDInternalServerError) String() string
- type GetTeacherByIDNotFound
- func (o *GetTeacherByIDNotFound) Code() int
- func (o *GetTeacherByIDNotFound) Error() string
- func (o *GetTeacherByIDNotFound) IsClientError() bool
- func (o *GetTeacherByIDNotFound) IsCode(code int) bool
- func (o *GetTeacherByIDNotFound) IsRedirect() bool
- func (o *GetTeacherByIDNotFound) IsServerError() bool
- func (o *GetTeacherByIDNotFound) IsSuccess() bool
- func (o *GetTeacherByIDNotFound) String() string
- type GetTeacherByIDOK
- func (o *GetTeacherByIDOK) Code() int
- func (o *GetTeacherByIDOK) Error() string
- func (o *GetTeacherByIDOK) GetPayload() *models.Teacher
- func (o *GetTeacherByIDOK) IsClientError() bool
- func (o *GetTeacherByIDOK) IsCode(code int) bool
- func (o *GetTeacherByIDOK) IsRedirect() bool
- func (o *GetTeacherByIDOK) IsServerError() bool
- func (o *GetTeacherByIDOK) IsSuccess() bool
- func (o *GetTeacherByIDOK) String() string
- type GetTeacherByIDParams
- func NewGetTeacherByIDParams() *GetTeacherByIDParams
- func NewGetTeacherByIDParamsWithContext(ctx context.Context) *GetTeacherByIDParams
- func NewGetTeacherByIDParamsWithHTTPClient(client *http.Client) *GetTeacherByIDParams
- func NewGetTeacherByIDParamsWithTimeout(timeout time.Duration) *GetTeacherByIDParams
- func (o *GetTeacherByIDParams) SetContext(ctx context.Context)
- func (o *GetTeacherByIDParams) SetDefaults()
- func (o *GetTeacherByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetTeacherByIDParams) SetID(id int64)
- func (o *GetTeacherByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetTeacherByIDParams) WithContext(ctx context.Context) *GetTeacherByIDParams
- func (o *GetTeacherByIDParams) WithDefaults() *GetTeacherByIDParams
- func (o *GetTeacherByIDParams) WithHTTPClient(client *http.Client) *GetTeacherByIDParams
- func (o *GetTeacherByIDParams) WithID(id int64) *GetTeacherByIDParams
- func (o *GetTeacherByIDParams) WithTimeout(timeout time.Duration) *GetTeacherByIDParams
- func (o *GetTeacherByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTeacherByIDReader
- type GetTeacherOfSubjectInternalServerError
- func (o *GetTeacherOfSubjectInternalServerError) Code() int
- func (o *GetTeacherOfSubjectInternalServerError) Error() string
- func (o *GetTeacherOfSubjectInternalServerError) IsClientError() bool
- func (o *GetTeacherOfSubjectInternalServerError) IsCode(code int) bool
- func (o *GetTeacherOfSubjectInternalServerError) IsRedirect() bool
- func (o *GetTeacherOfSubjectInternalServerError) IsServerError() bool
- func (o *GetTeacherOfSubjectInternalServerError) IsSuccess() bool
- func (o *GetTeacherOfSubjectInternalServerError) String() string
- type GetTeacherOfSubjectNotFound
- func (o *GetTeacherOfSubjectNotFound) Code() int
- func (o *GetTeacherOfSubjectNotFound) Error() string
- func (o *GetTeacherOfSubjectNotFound) IsClientError() bool
- func (o *GetTeacherOfSubjectNotFound) IsCode(code int) bool
- func (o *GetTeacherOfSubjectNotFound) IsRedirect() bool
- func (o *GetTeacherOfSubjectNotFound) IsServerError() bool
- func (o *GetTeacherOfSubjectNotFound) IsSuccess() bool
- func (o *GetTeacherOfSubjectNotFound) String() string
- type GetTeacherOfSubjectOK
- func (o *GetTeacherOfSubjectOK) Code() int
- func (o *GetTeacherOfSubjectOK) Error() string
- func (o *GetTeacherOfSubjectOK) GetPayload() *models.Teacher
- func (o *GetTeacherOfSubjectOK) IsClientError() bool
- func (o *GetTeacherOfSubjectOK) IsCode(code int) bool
- func (o *GetTeacherOfSubjectOK) IsRedirect() bool
- func (o *GetTeacherOfSubjectOK) IsServerError() bool
- func (o *GetTeacherOfSubjectOK) IsSuccess() bool
- func (o *GetTeacherOfSubjectOK) String() string
- type GetTeacherOfSubjectParams
- func NewGetTeacherOfSubjectParams() *GetTeacherOfSubjectParams
- func NewGetTeacherOfSubjectParamsWithContext(ctx context.Context) *GetTeacherOfSubjectParams
- func NewGetTeacherOfSubjectParamsWithHTTPClient(client *http.Client) *GetTeacherOfSubjectParams
- func NewGetTeacherOfSubjectParamsWithTimeout(timeout time.Duration) *GetTeacherOfSubjectParams
- func (o *GetTeacherOfSubjectParams) SetContext(ctx context.Context)
- func (o *GetTeacherOfSubjectParams) SetDefaults()
- func (o *GetTeacherOfSubjectParams) SetHTTPClient(client *http.Client)
- func (o *GetTeacherOfSubjectParams) SetID(id int64)
- func (o *GetTeacherOfSubjectParams) SetTimeout(timeout time.Duration)
- func (o *GetTeacherOfSubjectParams) WithContext(ctx context.Context) *GetTeacherOfSubjectParams
- func (o *GetTeacherOfSubjectParams) WithDefaults() *GetTeacherOfSubjectParams
- func (o *GetTeacherOfSubjectParams) WithHTTPClient(client *http.Client) *GetTeacherOfSubjectParams
- func (o *GetTeacherOfSubjectParams) WithID(id int64) *GetTeacherOfSubjectParams
- func (o *GetTeacherOfSubjectParams) WithTimeout(timeout time.Duration) *GetTeacherOfSubjectParams
- func (o *GetTeacherOfSubjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTeacherOfSubjectReader
- type GetTeachersInternalServerError
- func (o *GetTeachersInternalServerError) Code() int
- func (o *GetTeachersInternalServerError) Error() string
- func (o *GetTeachersInternalServerError) IsClientError() bool
- func (o *GetTeachersInternalServerError) IsCode(code int) bool
- func (o *GetTeachersInternalServerError) IsRedirect() bool
- func (o *GetTeachersInternalServerError) IsServerError() bool
- func (o *GetTeachersInternalServerError) IsSuccess() bool
- func (o *GetTeachersInternalServerError) String() string
- type GetTeachersNotFound
- func (o *GetTeachersNotFound) Code() int
- func (o *GetTeachersNotFound) Error() string
- func (o *GetTeachersNotFound) IsClientError() bool
- func (o *GetTeachersNotFound) IsCode(code int) bool
- func (o *GetTeachersNotFound) IsRedirect() bool
- func (o *GetTeachersNotFound) IsServerError() bool
- func (o *GetTeachersNotFound) IsSuccess() bool
- func (o *GetTeachersNotFound) String() string
- type GetTeachersOK
- func (o *GetTeachersOK) Code() int
- func (o *GetTeachersOK) Error() string
- func (o *GetTeachersOK) GetPayload() []*models.Teacher
- func (o *GetTeachersOK) IsClientError() bool
- func (o *GetTeachersOK) IsCode(code int) bool
- func (o *GetTeachersOK) IsRedirect() bool
- func (o *GetTeachersOK) IsServerError() bool
- func (o *GetTeachersOK) IsSuccess() bool
- func (o *GetTeachersOK) String() string
- type GetTeachersOfClassInternalServerError
- func (o *GetTeachersOfClassInternalServerError) Code() int
- func (o *GetTeachersOfClassInternalServerError) Error() string
- func (o *GetTeachersOfClassInternalServerError) IsClientError() bool
- func (o *GetTeachersOfClassInternalServerError) IsCode(code int) bool
- func (o *GetTeachersOfClassInternalServerError) IsRedirect() bool
- func (o *GetTeachersOfClassInternalServerError) IsServerError() bool
- func (o *GetTeachersOfClassInternalServerError) IsSuccess() bool
- func (o *GetTeachersOfClassInternalServerError) String() string
- type GetTeachersOfClassNotFound
- func (o *GetTeachersOfClassNotFound) Code() int
- func (o *GetTeachersOfClassNotFound) Error() string
- func (o *GetTeachersOfClassNotFound) IsClientError() bool
- func (o *GetTeachersOfClassNotFound) IsCode(code int) bool
- func (o *GetTeachersOfClassNotFound) IsRedirect() bool
- func (o *GetTeachersOfClassNotFound) IsServerError() bool
- func (o *GetTeachersOfClassNotFound) IsSuccess() bool
- func (o *GetTeachersOfClassNotFound) String() string
- type GetTeachersOfClassOK
- func (o *GetTeachersOfClassOK) Code() int
- func (o *GetTeachersOfClassOK) Error() string
- func (o *GetTeachersOfClassOK) GetPayload() []*models.Teacher
- func (o *GetTeachersOfClassOK) IsClientError() bool
- func (o *GetTeachersOfClassOK) IsCode(code int) bool
- func (o *GetTeachersOfClassOK) IsRedirect() bool
- func (o *GetTeachersOfClassOK) IsServerError() bool
- func (o *GetTeachersOfClassOK) IsSuccess() bool
- func (o *GetTeachersOfClassOK) String() string
- type GetTeachersOfClassParams
- func NewGetTeachersOfClassParams() *GetTeachersOfClassParams
- func NewGetTeachersOfClassParamsWithContext(ctx context.Context) *GetTeachersOfClassParams
- func NewGetTeachersOfClassParamsWithHTTPClient(client *http.Client) *GetTeachersOfClassParams
- func NewGetTeachersOfClassParamsWithTimeout(timeout time.Duration) *GetTeachersOfClassParams
- func (o *GetTeachersOfClassParams) SetContext(ctx context.Context)
- func (o *GetTeachersOfClassParams) SetDefaults()
- func (o *GetTeachersOfClassParams) SetHTTPClient(client *http.Client)
- func (o *GetTeachersOfClassParams) SetID(id int64)
- func (o *GetTeachersOfClassParams) SetTimeout(timeout time.Duration)
- func (o *GetTeachersOfClassParams) WithContext(ctx context.Context) *GetTeachersOfClassParams
- func (o *GetTeachersOfClassParams) WithDefaults() *GetTeachersOfClassParams
- func (o *GetTeachersOfClassParams) WithHTTPClient(client *http.Client) *GetTeachersOfClassParams
- func (o *GetTeachersOfClassParams) WithID(id int64) *GetTeachersOfClassParams
- func (o *GetTeachersOfClassParams) WithTimeout(timeout time.Duration) *GetTeachersOfClassParams
- func (o *GetTeachersOfClassParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTeachersOfClassReader
- type GetTeachersParams
- func (o *GetTeachersParams) SetContext(ctx context.Context)
- func (o *GetTeachersParams) SetDefaults()
- func (o *GetTeachersParams) SetHTTPClient(client *http.Client)
- func (o *GetTeachersParams) SetTimeout(timeout time.Duration)
- func (o *GetTeachersParams) WithContext(ctx context.Context) *GetTeachersParams
- func (o *GetTeachersParams) WithDefaults() *GetTeachersParams
- func (o *GetTeachersParams) WithHTTPClient(client *http.Client) *GetTeachersParams
- func (o *GetTeachersParams) WithTimeout(timeout time.Duration) *GetTeachersParams
- func (o *GetTeachersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTeachersReader
- type UpdateAccountInternalServerError
- func (o *UpdateAccountInternalServerError) Code() int
- func (o *UpdateAccountInternalServerError) Error() string
- func (o *UpdateAccountInternalServerError) IsClientError() bool
- func (o *UpdateAccountInternalServerError) IsCode(code int) bool
- func (o *UpdateAccountInternalServerError) IsRedirect() bool
- func (o *UpdateAccountInternalServerError) IsServerError() bool
- func (o *UpdateAccountInternalServerError) IsSuccess() bool
- func (o *UpdateAccountInternalServerError) String() string
- type UpdateAccountNotFound
- func (o *UpdateAccountNotFound) Code() int
- func (o *UpdateAccountNotFound) Error() string
- func (o *UpdateAccountNotFound) IsClientError() bool
- func (o *UpdateAccountNotFound) IsCode(code int) bool
- func (o *UpdateAccountNotFound) IsRedirect() bool
- func (o *UpdateAccountNotFound) IsServerError() bool
- func (o *UpdateAccountNotFound) IsSuccess() bool
- func (o *UpdateAccountNotFound) String() string
- type UpdateAccountOK
- func (o *UpdateAccountOK) Code() int
- func (o *UpdateAccountOK) Error() string
- func (o *UpdateAccountOK) GetPayload() *models.Account
- func (o *UpdateAccountOK) IsClientError() bool
- func (o *UpdateAccountOK) IsCode(code int) bool
- func (o *UpdateAccountOK) IsRedirect() bool
- func (o *UpdateAccountOK) IsServerError() bool
- func (o *UpdateAccountOK) IsSuccess() bool
- func (o *UpdateAccountOK) String() string
- type UpdateAccountParams
- func (o *UpdateAccountParams) SetAccount(account *models.Account)
- func (o *UpdateAccountParams) SetContext(ctx context.Context)
- func (o *UpdateAccountParams) SetDefaults()
- func (o *UpdateAccountParams) SetHTTPClient(client *http.Client)
- func (o *UpdateAccountParams) SetTimeout(timeout time.Duration)
- func (o *UpdateAccountParams) WithAccount(account *models.Account) *UpdateAccountParams
- func (o *UpdateAccountParams) WithContext(ctx context.Context) *UpdateAccountParams
- func (o *UpdateAccountParams) WithDefaults() *UpdateAccountParams
- func (o *UpdateAccountParams) WithHTTPClient(client *http.Client) *UpdateAccountParams
- func (o *UpdateAccountParams) WithTimeout(timeout time.Duration) *UpdateAccountParams
- func (o *UpdateAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateAccountReader
- type UpdateClassNameBody
- type UpdateClassNameInternalServerError
- func (o *UpdateClassNameInternalServerError) Code() int
- func (o *UpdateClassNameInternalServerError) Error() string
- func (o *UpdateClassNameInternalServerError) IsClientError() bool
- func (o *UpdateClassNameInternalServerError) IsCode(code int) bool
- func (o *UpdateClassNameInternalServerError) IsRedirect() bool
- func (o *UpdateClassNameInternalServerError) IsServerError() bool
- func (o *UpdateClassNameInternalServerError) IsSuccess() bool
- func (o *UpdateClassNameInternalServerError) String() string
- type UpdateClassNameNotFound
- func (o *UpdateClassNameNotFound) Code() int
- func (o *UpdateClassNameNotFound) Error() string
- func (o *UpdateClassNameNotFound) IsClientError() bool
- func (o *UpdateClassNameNotFound) IsCode(code int) bool
- func (o *UpdateClassNameNotFound) IsRedirect() bool
- func (o *UpdateClassNameNotFound) IsServerError() bool
- func (o *UpdateClassNameNotFound) IsSuccess() bool
- func (o *UpdateClassNameNotFound) String() string
- type UpdateClassNameOK
- func (o *UpdateClassNameOK) Code() int
- func (o *UpdateClassNameOK) Error() string
- func (o *UpdateClassNameOK) GetPayload() int64
- func (o *UpdateClassNameOK) IsClientError() bool
- func (o *UpdateClassNameOK) IsCode(code int) bool
- func (o *UpdateClassNameOK) IsRedirect() bool
- func (o *UpdateClassNameOK) IsServerError() bool
- func (o *UpdateClassNameOK) IsSuccess() bool
- func (o *UpdateClassNameOK) String() string
- type UpdateClassNameParams
- func NewUpdateClassNameParams() *UpdateClassNameParams
- func NewUpdateClassNameParamsWithContext(ctx context.Context) *UpdateClassNameParams
- func NewUpdateClassNameParamsWithHTTPClient(client *http.Client) *UpdateClassNameParams
- func NewUpdateClassNameParamsWithTimeout(timeout time.Duration) *UpdateClassNameParams
- func (o *UpdateClassNameParams) SetContext(ctx context.Context)
- func (o *UpdateClassNameParams) SetDefaults()
- func (o *UpdateClassNameParams) SetHTTPClient(client *http.Client)
- func (o *UpdateClassNameParams) SetID(id int64)
- func (o *UpdateClassNameParams) SetName(name UpdateClassNameBody)
- func (o *UpdateClassNameParams) SetTimeout(timeout time.Duration)
- func (o *UpdateClassNameParams) WithContext(ctx context.Context) *UpdateClassNameParams
- func (o *UpdateClassNameParams) WithDefaults() *UpdateClassNameParams
- func (o *UpdateClassNameParams) WithHTTPClient(client *http.Client) *UpdateClassNameParams
- func (o *UpdateClassNameParams) WithID(id int64) *UpdateClassNameParams
- func (o *UpdateClassNameParams) WithName(name UpdateClassNameBody) *UpdateClassNameParams
- func (o *UpdateClassNameParams) WithTimeout(timeout time.Duration) *UpdateClassNameParams
- func (o *UpdateClassNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateClassNameReader
- type UpdateGPABody
- type UpdateGPAInternalServerError
- func (o *UpdateGPAInternalServerError) Code() int
- func (o *UpdateGPAInternalServerError) Error() string
- func (o *UpdateGPAInternalServerError) IsClientError() bool
- func (o *UpdateGPAInternalServerError) IsCode(code int) bool
- func (o *UpdateGPAInternalServerError) IsRedirect() bool
- func (o *UpdateGPAInternalServerError) IsServerError() bool
- func (o *UpdateGPAInternalServerError) IsSuccess() bool
- func (o *UpdateGPAInternalServerError) String() string
- type UpdateGPANotFound
- func (o *UpdateGPANotFound) Code() int
- func (o *UpdateGPANotFound) Error() string
- func (o *UpdateGPANotFound) IsClientError() bool
- func (o *UpdateGPANotFound) IsCode(code int) bool
- func (o *UpdateGPANotFound) IsRedirect() bool
- func (o *UpdateGPANotFound) IsServerError() bool
- func (o *UpdateGPANotFound) IsSuccess() bool
- func (o *UpdateGPANotFound) String() string
- type UpdateGPAOK
- func (o *UpdateGPAOK) Code() int
- func (o *UpdateGPAOK) Error() string
- func (o *UpdateGPAOK) GetPayload() int64
- func (o *UpdateGPAOK) IsClientError() bool
- func (o *UpdateGPAOK) IsCode(code int) bool
- func (o *UpdateGPAOK) IsRedirect() bool
- func (o *UpdateGPAOK) IsServerError() bool
- func (o *UpdateGPAOK) IsSuccess() bool
- func (o *UpdateGPAOK) String() string
- type UpdateGPAParams
- func (o *UpdateGPAParams) SetContext(ctx context.Context)
- func (o *UpdateGPAParams) SetDefaults()
- func (o *UpdateGPAParams) SetGpa(gpa UpdateGPABody)
- func (o *UpdateGPAParams) SetHTTPClient(client *http.Client)
- func (o *UpdateGPAParams) SetID(id int64)
- func (o *UpdateGPAParams) SetTimeout(timeout time.Duration)
- func (o *UpdateGPAParams) WithContext(ctx context.Context) *UpdateGPAParams
- func (o *UpdateGPAParams) WithDefaults() *UpdateGPAParams
- func (o *UpdateGPAParams) WithGpa(gpa UpdateGPABody) *UpdateGPAParams
- func (o *UpdateGPAParams) WithHTTPClient(client *http.Client) *UpdateGPAParams
- func (o *UpdateGPAParams) WithID(id int64) *UpdateGPAParams
- func (o *UpdateGPAParams) WithTimeout(timeout time.Duration) *UpdateGPAParams
- func (o *UpdateGPAParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateGPAReader
- type UpdateStudentNameBody
- type UpdateStudentNameInternalServerError
- func (o *UpdateStudentNameInternalServerError) Code() int
- func (o *UpdateStudentNameInternalServerError) Error() string
- func (o *UpdateStudentNameInternalServerError) IsClientError() bool
- func (o *UpdateStudentNameInternalServerError) IsCode(code int) bool
- func (o *UpdateStudentNameInternalServerError) IsRedirect() bool
- func (o *UpdateStudentNameInternalServerError) IsServerError() bool
- func (o *UpdateStudentNameInternalServerError) IsSuccess() bool
- func (o *UpdateStudentNameInternalServerError) String() string
- type UpdateStudentNameNotFound
- func (o *UpdateStudentNameNotFound) Code() int
- func (o *UpdateStudentNameNotFound) Error() string
- func (o *UpdateStudentNameNotFound) IsClientError() bool
- func (o *UpdateStudentNameNotFound) IsCode(code int) bool
- func (o *UpdateStudentNameNotFound) IsRedirect() bool
- func (o *UpdateStudentNameNotFound) IsServerError() bool
- func (o *UpdateStudentNameNotFound) IsSuccess() bool
- func (o *UpdateStudentNameNotFound) String() string
- type UpdateStudentNameOK
- func (o *UpdateStudentNameOK) Code() int
- func (o *UpdateStudentNameOK) Error() string
- func (o *UpdateStudentNameOK) GetPayload() int64
- func (o *UpdateStudentNameOK) IsClientError() bool
- func (o *UpdateStudentNameOK) IsCode(code int) bool
- func (o *UpdateStudentNameOK) IsRedirect() bool
- func (o *UpdateStudentNameOK) IsServerError() bool
- func (o *UpdateStudentNameOK) IsSuccess() bool
- func (o *UpdateStudentNameOK) String() string
- type UpdateStudentNameParams
- func NewUpdateStudentNameParams() *UpdateStudentNameParams
- func NewUpdateStudentNameParamsWithContext(ctx context.Context) *UpdateStudentNameParams
- func NewUpdateStudentNameParamsWithHTTPClient(client *http.Client) *UpdateStudentNameParams
- func NewUpdateStudentNameParamsWithTimeout(timeout time.Duration) *UpdateStudentNameParams
- func (o *UpdateStudentNameParams) SetContext(ctx context.Context)
- func (o *UpdateStudentNameParams) SetDefaults()
- func (o *UpdateStudentNameParams) SetHTTPClient(client *http.Client)
- func (o *UpdateStudentNameParams) SetID(id int64)
- func (o *UpdateStudentNameParams) SetName(name UpdateStudentNameBody)
- func (o *UpdateStudentNameParams) SetTimeout(timeout time.Duration)
- func (o *UpdateStudentNameParams) WithContext(ctx context.Context) *UpdateStudentNameParams
- func (o *UpdateStudentNameParams) WithDefaults() *UpdateStudentNameParams
- func (o *UpdateStudentNameParams) WithHTTPClient(client *http.Client) *UpdateStudentNameParams
- func (o *UpdateStudentNameParams) WithID(id int64) *UpdateStudentNameParams
- func (o *UpdateStudentNameParams) WithName(name UpdateStudentNameBody) *UpdateStudentNameParams
- func (o *UpdateStudentNameParams) WithTimeout(timeout time.Duration) *UpdateStudentNameParams
- func (o *UpdateStudentNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateStudentNameReader
- type UpdateSubjectNameBody
- type UpdateSubjectNameInternalServerError
- func (o *UpdateSubjectNameInternalServerError) Code() int
- func (o *UpdateSubjectNameInternalServerError) Error() string
- func (o *UpdateSubjectNameInternalServerError) IsClientError() bool
- func (o *UpdateSubjectNameInternalServerError) IsCode(code int) bool
- func (o *UpdateSubjectNameInternalServerError) IsRedirect() bool
- func (o *UpdateSubjectNameInternalServerError) IsServerError() bool
- func (o *UpdateSubjectNameInternalServerError) IsSuccess() bool
- func (o *UpdateSubjectNameInternalServerError) String() string
- type UpdateSubjectNameNotFound
- func (o *UpdateSubjectNameNotFound) Code() int
- func (o *UpdateSubjectNameNotFound) Error() string
- func (o *UpdateSubjectNameNotFound) IsClientError() bool
- func (o *UpdateSubjectNameNotFound) IsCode(code int) bool
- func (o *UpdateSubjectNameNotFound) IsRedirect() bool
- func (o *UpdateSubjectNameNotFound) IsServerError() bool
- func (o *UpdateSubjectNameNotFound) IsSuccess() bool
- func (o *UpdateSubjectNameNotFound) String() string
- type UpdateSubjectNameOK
- func (o *UpdateSubjectNameOK) Code() int
- func (o *UpdateSubjectNameOK) Error() string
- func (o *UpdateSubjectNameOK) GetPayload() int64
- func (o *UpdateSubjectNameOK) IsClientError() bool
- func (o *UpdateSubjectNameOK) IsCode(code int) bool
- func (o *UpdateSubjectNameOK) IsRedirect() bool
- func (o *UpdateSubjectNameOK) IsServerError() bool
- func (o *UpdateSubjectNameOK) IsSuccess() bool
- func (o *UpdateSubjectNameOK) String() string
- type UpdateSubjectNameParams
- func NewUpdateSubjectNameParams() *UpdateSubjectNameParams
- func NewUpdateSubjectNameParamsWithContext(ctx context.Context) *UpdateSubjectNameParams
- func NewUpdateSubjectNameParamsWithHTTPClient(client *http.Client) *UpdateSubjectNameParams
- func NewUpdateSubjectNameParamsWithTimeout(timeout time.Duration) *UpdateSubjectNameParams
- func (o *UpdateSubjectNameParams) SetContext(ctx context.Context)
- func (o *UpdateSubjectNameParams) SetDefaults()
- func (o *UpdateSubjectNameParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSubjectNameParams) SetID(id int64)
- func (o *UpdateSubjectNameParams) SetName(name UpdateSubjectNameBody)
- func (o *UpdateSubjectNameParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSubjectNameParams) WithContext(ctx context.Context) *UpdateSubjectNameParams
- func (o *UpdateSubjectNameParams) WithDefaults() *UpdateSubjectNameParams
- func (o *UpdateSubjectNameParams) WithHTTPClient(client *http.Client) *UpdateSubjectNameParams
- func (o *UpdateSubjectNameParams) WithID(id int64) *UpdateSubjectNameParams
- func (o *UpdateSubjectNameParams) WithName(name UpdateSubjectNameBody) *UpdateSubjectNameParams
- func (o *UpdateSubjectNameParams) WithTimeout(timeout time.Duration) *UpdateSubjectNameParams
- func (o *UpdateSubjectNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSubjectNameReader
- type UpdateTeacherNameBody
- type UpdateTeacherNameInternalServerError
- func (o *UpdateTeacherNameInternalServerError) Code() int
- func (o *UpdateTeacherNameInternalServerError) Error() string
- func (o *UpdateTeacherNameInternalServerError) IsClientError() bool
- func (o *UpdateTeacherNameInternalServerError) IsCode(code int) bool
- func (o *UpdateTeacherNameInternalServerError) IsRedirect() bool
- func (o *UpdateTeacherNameInternalServerError) IsServerError() bool
- func (o *UpdateTeacherNameInternalServerError) IsSuccess() bool
- func (o *UpdateTeacherNameInternalServerError) String() string
- type UpdateTeacherNameNotFound
- func (o *UpdateTeacherNameNotFound) Code() int
- func (o *UpdateTeacherNameNotFound) Error() string
- func (o *UpdateTeacherNameNotFound) IsClientError() bool
- func (o *UpdateTeacherNameNotFound) IsCode(code int) bool
- func (o *UpdateTeacherNameNotFound) IsRedirect() bool
- func (o *UpdateTeacherNameNotFound) IsServerError() bool
- func (o *UpdateTeacherNameNotFound) IsSuccess() bool
- func (o *UpdateTeacherNameNotFound) String() string
- type UpdateTeacherNameOK
- func (o *UpdateTeacherNameOK) Code() int
- func (o *UpdateTeacherNameOK) Error() string
- func (o *UpdateTeacherNameOK) GetPayload() int64
- func (o *UpdateTeacherNameOK) IsClientError() bool
- func (o *UpdateTeacherNameOK) IsCode(code int) bool
- func (o *UpdateTeacherNameOK) IsRedirect() bool
- func (o *UpdateTeacherNameOK) IsServerError() bool
- func (o *UpdateTeacherNameOK) IsSuccess() bool
- func (o *UpdateTeacherNameOK) String() string
- type UpdateTeacherNameParams
- func NewUpdateTeacherNameParams() *UpdateTeacherNameParams
- func NewUpdateTeacherNameParamsWithContext(ctx context.Context) *UpdateTeacherNameParams
- func NewUpdateTeacherNameParamsWithHTTPClient(client *http.Client) *UpdateTeacherNameParams
- func NewUpdateTeacherNameParamsWithTimeout(timeout time.Duration) *UpdateTeacherNameParams
- func (o *UpdateTeacherNameParams) SetContext(ctx context.Context)
- func (o *UpdateTeacherNameParams) SetDefaults()
- func (o *UpdateTeacherNameParams) SetHTTPClient(client *http.Client)
- func (o *UpdateTeacherNameParams) SetID(id int64)
- func (o *UpdateTeacherNameParams) SetName(name UpdateTeacherNameBody)
- func (o *UpdateTeacherNameParams) SetTimeout(timeout time.Duration)
- func (o *UpdateTeacherNameParams) WithContext(ctx context.Context) *UpdateTeacherNameParams
- func (o *UpdateTeacherNameParams) WithDefaults() *UpdateTeacherNameParams
- func (o *UpdateTeacherNameParams) WithHTTPClient(client *http.Client) *UpdateTeacherNameParams
- func (o *UpdateTeacherNameParams) WithID(id int64) *UpdateTeacherNameParams
- func (o *UpdateTeacherNameParams) WithName(name UpdateTeacherNameBody) *UpdateTeacherNameParams
- func (o *UpdateTeacherNameParams) WithTimeout(timeout time.Duration) *UpdateTeacherNameParams
- func (o *UpdateTeacherNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateTeacherNameReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddAccountConflict ¶
type AddAccountConflict struct { }
AddAccountConflict describes a response with status code 409, with default header values.
Account already exists
func NewAddAccountConflict ¶
func NewAddAccountConflict() *AddAccountConflict
NewAddAccountConflict creates a AddAccountConflict with default headers values
func (*AddAccountConflict) Code ¶
func (o *AddAccountConflict) Code() int
Code gets the status code for the add account conflict response
func (*AddAccountConflict) Error ¶
func (o *AddAccountConflict) Error() string
func (*AddAccountConflict) IsClientError ¶
func (o *AddAccountConflict) IsClientError() bool
IsClientError returns true when this add account conflict response has a 4xx status code
func (*AddAccountConflict) IsCode ¶
func (o *AddAccountConflict) IsCode(code int) bool
IsCode returns true when this add account conflict response a status code equal to that given
func (*AddAccountConflict) IsRedirect ¶
func (o *AddAccountConflict) IsRedirect() bool
IsRedirect returns true when this add account conflict response has a 3xx status code
func (*AddAccountConflict) IsServerError ¶
func (o *AddAccountConflict) IsServerError() bool
IsServerError returns true when this add account conflict response has a 5xx status code
func (*AddAccountConflict) IsSuccess ¶
func (o *AddAccountConflict) IsSuccess() bool
IsSuccess returns true when this add account conflict response has a 2xx status code
func (*AddAccountConflict) String ¶
func (o *AddAccountConflict) String() string
type AddAccountCreated ¶
AddAccountCreated describes a response with status code 201, with default header values.
Account added Successfully
func NewAddAccountCreated ¶
func NewAddAccountCreated() *AddAccountCreated
NewAddAccountCreated creates a AddAccountCreated with default headers values
func (*AddAccountCreated) Code ¶
func (o *AddAccountCreated) Code() int
Code gets the status code for the add account created response
func (*AddAccountCreated) Error ¶
func (o *AddAccountCreated) Error() string
func (*AddAccountCreated) GetPayload ¶
func (o *AddAccountCreated) GetPayload() *models.Account
func (*AddAccountCreated) IsClientError ¶
func (o *AddAccountCreated) IsClientError() bool
IsClientError returns true when this add account created response has a 4xx status code
func (*AddAccountCreated) IsCode ¶
func (o *AddAccountCreated) IsCode(code int) bool
IsCode returns true when this add account created response a status code equal to that given
func (*AddAccountCreated) IsRedirect ¶
func (o *AddAccountCreated) IsRedirect() bool
IsRedirect returns true when this add account created response has a 3xx status code
func (*AddAccountCreated) IsServerError ¶
func (o *AddAccountCreated) IsServerError() bool
IsServerError returns true when this add account created response has a 5xx status code
func (*AddAccountCreated) IsSuccess ¶
func (o *AddAccountCreated) IsSuccess() bool
IsSuccess returns true when this add account created response has a 2xx status code
func (*AddAccountCreated) String ¶
func (o *AddAccountCreated) String() string
type AddAccountInternalServerError ¶
type AddAccountInternalServerError struct { }
AddAccountInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewAddAccountInternalServerError ¶
func NewAddAccountInternalServerError() *AddAccountInternalServerError
NewAddAccountInternalServerError creates a AddAccountInternalServerError with default headers values
func (*AddAccountInternalServerError) Code ¶
func (o *AddAccountInternalServerError) Code() int
Code gets the status code for the add account internal server error response
func (*AddAccountInternalServerError) Error ¶
func (o *AddAccountInternalServerError) Error() string
func (*AddAccountInternalServerError) IsClientError ¶
func (o *AddAccountInternalServerError) IsClientError() bool
IsClientError returns true when this add account internal server error response has a 4xx status code
func (*AddAccountInternalServerError) IsCode ¶
func (o *AddAccountInternalServerError) IsCode(code int) bool
IsCode returns true when this add account internal server error response a status code equal to that given
func (*AddAccountInternalServerError) IsRedirect ¶
func (o *AddAccountInternalServerError) IsRedirect() bool
IsRedirect returns true when this add account internal server error response has a 3xx status code
func (*AddAccountInternalServerError) IsServerError ¶
func (o *AddAccountInternalServerError) IsServerError() bool
IsServerError returns true when this add account internal server error response has a 5xx status code
func (*AddAccountInternalServerError) IsSuccess ¶
func (o *AddAccountInternalServerError) IsSuccess() bool
IsSuccess returns true when this add account internal server error response has a 2xx status code
func (*AddAccountInternalServerError) String ¶
func (o *AddAccountInternalServerError) String() string
type AddAccountParams ¶
type AddAccountParams struct { /* Account. Account to be added */ Account *models.Account Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddAccountParams contains all the parameters to send to the API endpoint
for the add account operation. Typically these are written to a http.Request.
func NewAddAccountParams ¶
func NewAddAccountParams() *AddAccountParams
NewAddAccountParams creates a new AddAccountParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAddAccountParamsWithContext ¶
func NewAddAccountParamsWithContext(ctx context.Context) *AddAccountParams
NewAddAccountParamsWithContext creates a new AddAccountParams object with the ability to set a context for a request.
func NewAddAccountParamsWithHTTPClient ¶
func NewAddAccountParamsWithHTTPClient(client *http.Client) *AddAccountParams
NewAddAccountParamsWithHTTPClient creates a new AddAccountParams object with the ability to set a custom HTTPClient for a request.
func NewAddAccountParamsWithTimeout ¶
func NewAddAccountParamsWithTimeout(timeout time.Duration) *AddAccountParams
NewAddAccountParamsWithTimeout creates a new AddAccountParams object with the ability to set a timeout on a request.
func (*AddAccountParams) SetAccount ¶
func (o *AddAccountParams) SetAccount(account *models.Account)
SetAccount adds the account to the add account params
func (*AddAccountParams) SetContext ¶
func (o *AddAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the add account params
func (*AddAccountParams) SetDefaults ¶
func (o *AddAccountParams) SetDefaults()
SetDefaults hydrates default values in the add account params (not the query body).
All values with no default are reset to their zero value.
func (*AddAccountParams) SetHTTPClient ¶
func (o *AddAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add account params
func (*AddAccountParams) SetTimeout ¶
func (o *AddAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add account params
func (*AddAccountParams) WithAccount ¶
func (o *AddAccountParams) WithAccount(account *models.Account) *AddAccountParams
WithAccount adds the account to the add account params
func (*AddAccountParams) WithContext ¶
func (o *AddAccountParams) WithContext(ctx context.Context) *AddAccountParams
WithContext adds the context to the add account params
func (*AddAccountParams) WithDefaults ¶
func (o *AddAccountParams) WithDefaults() *AddAccountParams
WithDefaults hydrates default values in the add account params (not the query body).
All values with no default are reset to their zero value.
func (*AddAccountParams) WithHTTPClient ¶
func (o *AddAccountParams) WithHTTPClient(client *http.Client) *AddAccountParams
WithHTTPClient adds the HTTPClient to the add account params
func (*AddAccountParams) WithTimeout ¶
func (o *AddAccountParams) WithTimeout(timeout time.Duration) *AddAccountParams
WithTimeout adds the timeout to the add account params
func (*AddAccountParams) WriteToRequest ¶
func (o *AddAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddAccountReader ¶
type AddAccountReader struct {
// contains filtered or unexported fields
}
AddAccountReader is a Reader for the AddAccount structure.
func (*AddAccountReader) ReadResponse ¶
func (o *AddAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddClassConflict ¶
type AddClassConflict struct { }
AddClassConflict describes a response with status code 409, with default header values.
Class already exists
func NewAddClassConflict ¶
func NewAddClassConflict() *AddClassConflict
NewAddClassConflict creates a AddClassConflict with default headers values
func (*AddClassConflict) Code ¶
func (o *AddClassConflict) Code() int
Code gets the status code for the add class conflict response
func (*AddClassConflict) Error ¶
func (o *AddClassConflict) Error() string
func (*AddClassConflict) IsClientError ¶
func (o *AddClassConflict) IsClientError() bool
IsClientError returns true when this add class conflict response has a 4xx status code
func (*AddClassConflict) IsCode ¶
func (o *AddClassConflict) IsCode(code int) bool
IsCode returns true when this add class conflict response a status code equal to that given
func (*AddClassConflict) IsRedirect ¶
func (o *AddClassConflict) IsRedirect() bool
IsRedirect returns true when this add class conflict response has a 3xx status code
func (*AddClassConflict) IsServerError ¶
func (o *AddClassConflict) IsServerError() bool
IsServerError returns true when this add class conflict response has a 5xx status code
func (*AddClassConflict) IsSuccess ¶
func (o *AddClassConflict) IsSuccess() bool
IsSuccess returns true when this add class conflict response has a 2xx status code
func (*AddClassConflict) String ¶
func (o *AddClassConflict) String() string
type AddClassCreated ¶
AddClassCreated describes a response with status code 201, with default header values.
Class added Successfully
func NewAddClassCreated ¶
func NewAddClassCreated() *AddClassCreated
NewAddClassCreated creates a AddClassCreated with default headers values
func (*AddClassCreated) Code ¶
func (o *AddClassCreated) Code() int
Code gets the status code for the add class created response
func (*AddClassCreated) Error ¶
func (o *AddClassCreated) Error() string
func (*AddClassCreated) GetPayload ¶
func (o *AddClassCreated) GetPayload() *models.Class
func (*AddClassCreated) IsClientError ¶
func (o *AddClassCreated) IsClientError() bool
IsClientError returns true when this add class created response has a 4xx status code
func (*AddClassCreated) IsCode ¶
func (o *AddClassCreated) IsCode(code int) bool
IsCode returns true when this add class created response a status code equal to that given
func (*AddClassCreated) IsRedirect ¶
func (o *AddClassCreated) IsRedirect() bool
IsRedirect returns true when this add class created response has a 3xx status code
func (*AddClassCreated) IsServerError ¶
func (o *AddClassCreated) IsServerError() bool
IsServerError returns true when this add class created response has a 5xx status code
func (*AddClassCreated) IsSuccess ¶
func (o *AddClassCreated) IsSuccess() bool
IsSuccess returns true when this add class created response has a 2xx status code
func (*AddClassCreated) String ¶
func (o *AddClassCreated) String() string
type AddClassInternalServerError ¶
type AddClassInternalServerError struct { }
AddClassInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewAddClassInternalServerError ¶
func NewAddClassInternalServerError() *AddClassInternalServerError
NewAddClassInternalServerError creates a AddClassInternalServerError with default headers values
func (*AddClassInternalServerError) Code ¶
func (o *AddClassInternalServerError) Code() int
Code gets the status code for the add class internal server error response
func (*AddClassInternalServerError) Error ¶
func (o *AddClassInternalServerError) Error() string
func (*AddClassInternalServerError) IsClientError ¶
func (o *AddClassInternalServerError) IsClientError() bool
IsClientError returns true when this add class internal server error response has a 4xx status code
func (*AddClassInternalServerError) IsCode ¶
func (o *AddClassInternalServerError) IsCode(code int) bool
IsCode returns true when this add class internal server error response a status code equal to that given
func (*AddClassInternalServerError) IsRedirect ¶
func (o *AddClassInternalServerError) IsRedirect() bool
IsRedirect returns true when this add class internal server error response has a 3xx status code
func (*AddClassInternalServerError) IsServerError ¶
func (o *AddClassInternalServerError) IsServerError() bool
IsServerError returns true when this add class internal server error response has a 5xx status code
func (*AddClassInternalServerError) IsSuccess ¶
func (o *AddClassInternalServerError) IsSuccess() bool
IsSuccess returns true when this add class internal server error response has a 2xx status code
func (*AddClassInternalServerError) String ¶
func (o *AddClassInternalServerError) String() string
type AddClassParams ¶
type AddClassParams struct { /* Class. Class to be added */ Class *models.Class Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddClassParams contains all the parameters to send to the API endpoint
for the add class operation. Typically these are written to a http.Request.
func NewAddClassParams ¶
func NewAddClassParams() *AddClassParams
NewAddClassParams creates a new AddClassParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAddClassParamsWithContext ¶
func NewAddClassParamsWithContext(ctx context.Context) *AddClassParams
NewAddClassParamsWithContext creates a new AddClassParams object with the ability to set a context for a request.
func NewAddClassParamsWithHTTPClient ¶
func NewAddClassParamsWithHTTPClient(client *http.Client) *AddClassParams
NewAddClassParamsWithHTTPClient creates a new AddClassParams object with the ability to set a custom HTTPClient for a request.
func NewAddClassParamsWithTimeout ¶
func NewAddClassParamsWithTimeout(timeout time.Duration) *AddClassParams
NewAddClassParamsWithTimeout creates a new AddClassParams object with the ability to set a timeout on a request.
func (*AddClassParams) SetClass ¶
func (o *AddClassParams) SetClass(class *models.Class)
SetClass adds the class to the add class params
func (*AddClassParams) SetContext ¶
func (o *AddClassParams) SetContext(ctx context.Context)
SetContext adds the context to the add class params
func (*AddClassParams) SetDefaults ¶
func (o *AddClassParams) SetDefaults()
SetDefaults hydrates default values in the add class params (not the query body).
All values with no default are reset to their zero value.
func (*AddClassParams) SetHTTPClient ¶
func (o *AddClassParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add class params
func (*AddClassParams) SetTimeout ¶
func (o *AddClassParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add class params
func (*AddClassParams) WithClass ¶
func (o *AddClassParams) WithClass(class *models.Class) *AddClassParams
WithClass adds the class to the add class params
func (*AddClassParams) WithContext ¶
func (o *AddClassParams) WithContext(ctx context.Context) *AddClassParams
WithContext adds the context to the add class params
func (*AddClassParams) WithDefaults ¶
func (o *AddClassParams) WithDefaults() *AddClassParams
WithDefaults hydrates default values in the add class params (not the query body).
All values with no default are reset to their zero value.
func (*AddClassParams) WithHTTPClient ¶
func (o *AddClassParams) WithHTTPClient(client *http.Client) *AddClassParams
WithHTTPClient adds the HTTPClient to the add class params
func (*AddClassParams) WithTimeout ¶
func (o *AddClassParams) WithTimeout(timeout time.Duration) *AddClassParams
WithTimeout adds the timeout to the add class params
func (*AddClassParams) WriteToRequest ¶
func (o *AddClassParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddClassReader ¶
type AddClassReader struct {
// contains filtered or unexported fields
}
AddClassReader is a Reader for the AddClass structure.
func (*AddClassReader) ReadResponse ¶
func (o *AddClassReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddOrRemoveStudentBody ¶
type AddOrRemoveStudentBody struct { // add Add bool `json:"Add,omitempty"` // student ID StudentID int64 `json:"StudentID,omitempty"` }
AddOrRemoveStudentBody add or remove student body swagger:model AddOrRemoveStudentBody
func (*AddOrRemoveStudentBody) ContextValidate ¶
func (o *AddOrRemoveStudentBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this add or remove student body based on context it is used
func (*AddOrRemoveStudentBody) MarshalBinary ¶
func (o *AddOrRemoveStudentBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddOrRemoveStudentBody) UnmarshalBinary ¶
func (o *AddOrRemoveStudentBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddOrRemoveStudentInternalServerError ¶
type AddOrRemoveStudentInternalServerError struct { }
AddOrRemoveStudentInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewAddOrRemoveStudentInternalServerError ¶
func NewAddOrRemoveStudentInternalServerError() *AddOrRemoveStudentInternalServerError
NewAddOrRemoveStudentInternalServerError creates a AddOrRemoveStudentInternalServerError with default headers values
func (*AddOrRemoveStudentInternalServerError) Code ¶
func (o *AddOrRemoveStudentInternalServerError) Code() int
Code gets the status code for the add or remove student internal server error response
func (*AddOrRemoveStudentInternalServerError) Error ¶
func (o *AddOrRemoveStudentInternalServerError) Error() string
func (*AddOrRemoveStudentInternalServerError) IsClientError ¶
func (o *AddOrRemoveStudentInternalServerError) IsClientError() bool
IsClientError returns true when this add or remove student internal server error response has a 4xx status code
func (*AddOrRemoveStudentInternalServerError) IsCode ¶
func (o *AddOrRemoveStudentInternalServerError) IsCode(code int) bool
IsCode returns true when this add or remove student internal server error response a status code equal to that given
func (*AddOrRemoveStudentInternalServerError) IsRedirect ¶
func (o *AddOrRemoveStudentInternalServerError) IsRedirect() bool
IsRedirect returns true when this add or remove student internal server error response has a 3xx status code
func (*AddOrRemoveStudentInternalServerError) IsServerError ¶
func (o *AddOrRemoveStudentInternalServerError) IsServerError() bool
IsServerError returns true when this add or remove student internal server error response has a 5xx status code
func (*AddOrRemoveStudentInternalServerError) IsSuccess ¶
func (o *AddOrRemoveStudentInternalServerError) IsSuccess() bool
IsSuccess returns true when this add or remove student internal server error response has a 2xx status code
func (*AddOrRemoveStudentInternalServerError) String ¶
func (o *AddOrRemoveStudentInternalServerError) String() string
type AddOrRemoveStudentNotFound ¶
type AddOrRemoveStudentNotFound struct { }
AddOrRemoveStudentNotFound describes a response with status code 404, with default header values.
Class Not found!
func NewAddOrRemoveStudentNotFound ¶
func NewAddOrRemoveStudentNotFound() *AddOrRemoveStudentNotFound
NewAddOrRemoveStudentNotFound creates a AddOrRemoveStudentNotFound with default headers values
func (*AddOrRemoveStudentNotFound) Code ¶
func (o *AddOrRemoveStudentNotFound) Code() int
Code gets the status code for the add or remove student not found response
func (*AddOrRemoveStudentNotFound) Error ¶
func (o *AddOrRemoveStudentNotFound) Error() string
func (*AddOrRemoveStudentNotFound) IsClientError ¶
func (o *AddOrRemoveStudentNotFound) IsClientError() bool
IsClientError returns true when this add or remove student not found response has a 4xx status code
func (*AddOrRemoveStudentNotFound) IsCode ¶
func (o *AddOrRemoveStudentNotFound) IsCode(code int) bool
IsCode returns true when this add or remove student not found response a status code equal to that given
func (*AddOrRemoveStudentNotFound) IsRedirect ¶
func (o *AddOrRemoveStudentNotFound) IsRedirect() bool
IsRedirect returns true when this add or remove student not found response has a 3xx status code
func (*AddOrRemoveStudentNotFound) IsServerError ¶
func (o *AddOrRemoveStudentNotFound) IsServerError() bool
IsServerError returns true when this add or remove student not found response has a 5xx status code
func (*AddOrRemoveStudentNotFound) IsSuccess ¶
func (o *AddOrRemoveStudentNotFound) IsSuccess() bool
IsSuccess returns true when this add or remove student not found response has a 2xx status code
func (*AddOrRemoveStudentNotFound) String ¶
func (o *AddOrRemoveStudentNotFound) String() string
type AddOrRemoveStudentOK ¶
type AddOrRemoveStudentOK struct {
Payload int64
}
AddOrRemoveStudentOK describes a response with status code 200, with default header values.
Student added/removed to Class
func NewAddOrRemoveStudentOK ¶
func NewAddOrRemoveStudentOK() *AddOrRemoveStudentOK
NewAddOrRemoveStudentOK creates a AddOrRemoveStudentOK with default headers values
func (*AddOrRemoveStudentOK) Code ¶
func (o *AddOrRemoveStudentOK) Code() int
Code gets the status code for the add or remove student o k response
func (*AddOrRemoveStudentOK) Error ¶
func (o *AddOrRemoveStudentOK) Error() string
func (*AddOrRemoveStudentOK) GetPayload ¶
func (o *AddOrRemoveStudentOK) GetPayload() int64
func (*AddOrRemoveStudentOK) IsClientError ¶
func (o *AddOrRemoveStudentOK) IsClientError() bool
IsClientError returns true when this add or remove student o k response has a 4xx status code
func (*AddOrRemoveStudentOK) IsCode ¶
func (o *AddOrRemoveStudentOK) IsCode(code int) bool
IsCode returns true when this add or remove student o k response a status code equal to that given
func (*AddOrRemoveStudentOK) IsRedirect ¶
func (o *AddOrRemoveStudentOK) IsRedirect() bool
IsRedirect returns true when this add or remove student o k response has a 3xx status code
func (*AddOrRemoveStudentOK) IsServerError ¶
func (o *AddOrRemoveStudentOK) IsServerError() bool
IsServerError returns true when this add or remove student o k response has a 5xx status code
func (*AddOrRemoveStudentOK) IsSuccess ¶
func (o *AddOrRemoveStudentOK) IsSuccess() bool
IsSuccess returns true when this add or remove student o k response has a 2xx status code
func (*AddOrRemoveStudentOK) String ¶
func (o *AddOrRemoveStudentOK) String() string
type AddOrRemoveStudentParams ¶
type AddOrRemoveStudentParams struct { /* ID. Class ID */ ID int64 /* Student. The object containing ID of Student to be added or removed with operation */ Student AddOrRemoveStudentBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddOrRemoveStudentParams contains all the parameters to send to the API endpoint
for the add or remove student operation. Typically these are written to a http.Request.
func NewAddOrRemoveStudentParams ¶
func NewAddOrRemoveStudentParams() *AddOrRemoveStudentParams
NewAddOrRemoveStudentParams creates a new AddOrRemoveStudentParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAddOrRemoveStudentParamsWithContext ¶
func NewAddOrRemoveStudentParamsWithContext(ctx context.Context) *AddOrRemoveStudentParams
NewAddOrRemoveStudentParamsWithContext creates a new AddOrRemoveStudentParams object with the ability to set a context for a request.
func NewAddOrRemoveStudentParamsWithHTTPClient ¶
func NewAddOrRemoveStudentParamsWithHTTPClient(client *http.Client) *AddOrRemoveStudentParams
NewAddOrRemoveStudentParamsWithHTTPClient creates a new AddOrRemoveStudentParams object with the ability to set a custom HTTPClient for a request.
func NewAddOrRemoveStudentParamsWithTimeout ¶
func NewAddOrRemoveStudentParamsWithTimeout(timeout time.Duration) *AddOrRemoveStudentParams
NewAddOrRemoveStudentParamsWithTimeout creates a new AddOrRemoveStudentParams object with the ability to set a timeout on a request.
func (*AddOrRemoveStudentParams) SetContext ¶
func (o *AddOrRemoveStudentParams) SetContext(ctx context.Context)
SetContext adds the context to the add or remove student params
func (*AddOrRemoveStudentParams) SetDefaults ¶
func (o *AddOrRemoveStudentParams) SetDefaults()
SetDefaults hydrates default values in the add or remove student params (not the query body).
All values with no default are reset to their zero value.
func (*AddOrRemoveStudentParams) SetHTTPClient ¶
func (o *AddOrRemoveStudentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add or remove student params
func (*AddOrRemoveStudentParams) SetID ¶
func (o *AddOrRemoveStudentParams) SetID(id int64)
SetID adds the id to the add or remove student params
func (*AddOrRemoveStudentParams) SetStudent ¶
func (o *AddOrRemoveStudentParams) SetStudent(student AddOrRemoveStudentBody)
SetStudent adds the student to the add or remove student params
func (*AddOrRemoveStudentParams) SetTimeout ¶
func (o *AddOrRemoveStudentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add or remove student params
func (*AddOrRemoveStudentParams) WithContext ¶
func (o *AddOrRemoveStudentParams) WithContext(ctx context.Context) *AddOrRemoveStudentParams
WithContext adds the context to the add or remove student params
func (*AddOrRemoveStudentParams) WithDefaults ¶
func (o *AddOrRemoveStudentParams) WithDefaults() *AddOrRemoveStudentParams
WithDefaults hydrates default values in the add or remove student params (not the query body).
All values with no default are reset to their zero value.
func (*AddOrRemoveStudentParams) WithHTTPClient ¶
func (o *AddOrRemoveStudentParams) WithHTTPClient(client *http.Client) *AddOrRemoveStudentParams
WithHTTPClient adds the HTTPClient to the add or remove student params
func (*AddOrRemoveStudentParams) WithID ¶
func (o *AddOrRemoveStudentParams) WithID(id int64) *AddOrRemoveStudentParams
WithID adds the id to the add or remove student params
func (*AddOrRemoveStudentParams) WithStudent ¶
func (o *AddOrRemoveStudentParams) WithStudent(student AddOrRemoveStudentBody) *AddOrRemoveStudentParams
WithStudent adds the student to the add or remove student params
func (*AddOrRemoveStudentParams) WithTimeout ¶
func (o *AddOrRemoveStudentParams) WithTimeout(timeout time.Duration) *AddOrRemoveStudentParams
WithTimeout adds the timeout to the add or remove student params
func (*AddOrRemoveStudentParams) WriteToRequest ¶
func (o *AddOrRemoveStudentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddOrRemoveStudentReader ¶
type AddOrRemoveStudentReader struct {
// contains filtered or unexported fields
}
AddOrRemoveStudentReader is a Reader for the AddOrRemoveStudent structure.
func (*AddOrRemoveStudentReader) ReadResponse ¶
func (o *AddOrRemoveStudentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddStudentConflict ¶
type AddStudentConflict struct { }
AddStudentConflict describes a response with status code 409, with default header values.
Student already exists
func NewAddStudentConflict ¶
func NewAddStudentConflict() *AddStudentConflict
NewAddStudentConflict creates a AddStudentConflict with default headers values
func (*AddStudentConflict) Code ¶
func (o *AddStudentConflict) Code() int
Code gets the status code for the add student conflict response
func (*AddStudentConflict) Error ¶
func (o *AddStudentConflict) Error() string
func (*AddStudentConflict) IsClientError ¶
func (o *AddStudentConflict) IsClientError() bool
IsClientError returns true when this add student conflict response has a 4xx status code
func (*AddStudentConflict) IsCode ¶
func (o *AddStudentConflict) IsCode(code int) bool
IsCode returns true when this add student conflict response a status code equal to that given
func (*AddStudentConflict) IsRedirect ¶
func (o *AddStudentConflict) IsRedirect() bool
IsRedirect returns true when this add student conflict response has a 3xx status code
func (*AddStudentConflict) IsServerError ¶
func (o *AddStudentConflict) IsServerError() bool
IsServerError returns true when this add student conflict response has a 5xx status code
func (*AddStudentConflict) IsSuccess ¶
func (o *AddStudentConflict) IsSuccess() bool
IsSuccess returns true when this add student conflict response has a 2xx status code
func (*AddStudentConflict) String ¶
func (o *AddStudentConflict) String() string
type AddStudentCreated ¶
AddStudentCreated describes a response with status code 201, with default header values.
Student added Successfully
func NewAddStudentCreated ¶
func NewAddStudentCreated() *AddStudentCreated
NewAddStudentCreated creates a AddStudentCreated with default headers values
func (*AddStudentCreated) Code ¶
func (o *AddStudentCreated) Code() int
Code gets the status code for the add student created response
func (*AddStudentCreated) Error ¶
func (o *AddStudentCreated) Error() string
func (*AddStudentCreated) GetPayload ¶
func (o *AddStudentCreated) GetPayload() *models.Student
func (*AddStudentCreated) IsClientError ¶
func (o *AddStudentCreated) IsClientError() bool
IsClientError returns true when this add student created response has a 4xx status code
func (*AddStudentCreated) IsCode ¶
func (o *AddStudentCreated) IsCode(code int) bool
IsCode returns true when this add student created response a status code equal to that given
func (*AddStudentCreated) IsRedirect ¶
func (o *AddStudentCreated) IsRedirect() bool
IsRedirect returns true when this add student created response has a 3xx status code
func (*AddStudentCreated) IsServerError ¶
func (o *AddStudentCreated) IsServerError() bool
IsServerError returns true when this add student created response has a 5xx status code
func (*AddStudentCreated) IsSuccess ¶
func (o *AddStudentCreated) IsSuccess() bool
IsSuccess returns true when this add student created response has a 2xx status code
func (*AddStudentCreated) String ¶
func (o *AddStudentCreated) String() string
type AddStudentInternalServerError ¶
type AddStudentInternalServerError struct { }
AddStudentInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewAddStudentInternalServerError ¶
func NewAddStudentInternalServerError() *AddStudentInternalServerError
NewAddStudentInternalServerError creates a AddStudentInternalServerError with default headers values
func (*AddStudentInternalServerError) Code ¶
func (o *AddStudentInternalServerError) Code() int
Code gets the status code for the add student internal server error response
func (*AddStudentInternalServerError) Error ¶
func (o *AddStudentInternalServerError) Error() string
func (*AddStudentInternalServerError) IsClientError ¶
func (o *AddStudentInternalServerError) IsClientError() bool
IsClientError returns true when this add student internal server error response has a 4xx status code
func (*AddStudentInternalServerError) IsCode ¶
func (o *AddStudentInternalServerError) IsCode(code int) bool
IsCode returns true when this add student internal server error response a status code equal to that given
func (*AddStudentInternalServerError) IsRedirect ¶
func (o *AddStudentInternalServerError) IsRedirect() bool
IsRedirect returns true when this add student internal server error response has a 3xx status code
func (*AddStudentInternalServerError) IsServerError ¶
func (o *AddStudentInternalServerError) IsServerError() bool
IsServerError returns true when this add student internal server error response has a 5xx status code
func (*AddStudentInternalServerError) IsSuccess ¶
func (o *AddStudentInternalServerError) IsSuccess() bool
IsSuccess returns true when this add student internal server error response has a 2xx status code
func (*AddStudentInternalServerError) String ¶
func (o *AddStudentInternalServerError) String() string
type AddStudentParams ¶
type AddStudentParams struct { /* Student. Student to be added */ Student *models.Student Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddStudentParams contains all the parameters to send to the API endpoint
for the add student operation. Typically these are written to a http.Request.
func NewAddStudentParams ¶
func NewAddStudentParams() *AddStudentParams
NewAddStudentParams creates a new AddStudentParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAddStudentParamsWithContext ¶
func NewAddStudentParamsWithContext(ctx context.Context) *AddStudentParams
NewAddStudentParamsWithContext creates a new AddStudentParams object with the ability to set a context for a request.
func NewAddStudentParamsWithHTTPClient ¶
func NewAddStudentParamsWithHTTPClient(client *http.Client) *AddStudentParams
NewAddStudentParamsWithHTTPClient creates a new AddStudentParams object with the ability to set a custom HTTPClient for a request.
func NewAddStudentParamsWithTimeout ¶
func NewAddStudentParamsWithTimeout(timeout time.Duration) *AddStudentParams
NewAddStudentParamsWithTimeout creates a new AddStudentParams object with the ability to set a timeout on a request.
func (*AddStudentParams) SetContext ¶
func (o *AddStudentParams) SetContext(ctx context.Context)
SetContext adds the context to the add student params
func (*AddStudentParams) SetDefaults ¶
func (o *AddStudentParams) SetDefaults()
SetDefaults hydrates default values in the add student params (not the query body).
All values with no default are reset to their zero value.
func (*AddStudentParams) SetHTTPClient ¶
func (o *AddStudentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add student params
func (*AddStudentParams) SetStudent ¶
func (o *AddStudentParams) SetStudent(student *models.Student)
SetStudent adds the student to the add student params
func (*AddStudentParams) SetTimeout ¶
func (o *AddStudentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add student params
func (*AddStudentParams) WithContext ¶
func (o *AddStudentParams) WithContext(ctx context.Context) *AddStudentParams
WithContext adds the context to the add student params
func (*AddStudentParams) WithDefaults ¶
func (o *AddStudentParams) WithDefaults() *AddStudentParams
WithDefaults hydrates default values in the add student params (not the query body).
All values with no default are reset to their zero value.
func (*AddStudentParams) WithHTTPClient ¶
func (o *AddStudentParams) WithHTTPClient(client *http.Client) *AddStudentParams
WithHTTPClient adds the HTTPClient to the add student params
func (*AddStudentParams) WithStudent ¶
func (o *AddStudentParams) WithStudent(student *models.Student) *AddStudentParams
WithStudent adds the student to the add student params
func (*AddStudentParams) WithTimeout ¶
func (o *AddStudentParams) WithTimeout(timeout time.Duration) *AddStudentParams
WithTimeout adds the timeout to the add student params
func (*AddStudentParams) WriteToRequest ¶
func (o *AddStudentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddStudentReader ¶
type AddStudentReader struct {
// contains filtered or unexported fields
}
AddStudentReader is a Reader for the AddStudent structure.
func (*AddStudentReader) ReadResponse ¶
func (o *AddStudentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddSubjectConflict ¶
type AddSubjectConflict struct { }
AddSubjectConflict describes a response with status code 409, with default header values.
Subject already exists
func NewAddSubjectConflict ¶
func NewAddSubjectConflict() *AddSubjectConflict
NewAddSubjectConflict creates a AddSubjectConflict with default headers values
func (*AddSubjectConflict) Code ¶
func (o *AddSubjectConflict) Code() int
Code gets the status code for the add subject conflict response
func (*AddSubjectConflict) Error ¶
func (o *AddSubjectConflict) Error() string
func (*AddSubjectConflict) IsClientError ¶
func (o *AddSubjectConflict) IsClientError() bool
IsClientError returns true when this add subject conflict response has a 4xx status code
func (*AddSubjectConflict) IsCode ¶
func (o *AddSubjectConflict) IsCode(code int) bool
IsCode returns true when this add subject conflict response a status code equal to that given
func (*AddSubjectConflict) IsRedirect ¶
func (o *AddSubjectConflict) IsRedirect() bool
IsRedirect returns true when this add subject conflict response has a 3xx status code
func (*AddSubjectConflict) IsServerError ¶
func (o *AddSubjectConflict) IsServerError() bool
IsServerError returns true when this add subject conflict response has a 5xx status code
func (*AddSubjectConflict) IsSuccess ¶
func (o *AddSubjectConflict) IsSuccess() bool
IsSuccess returns true when this add subject conflict response has a 2xx status code
func (*AddSubjectConflict) String ¶
func (o *AddSubjectConflict) String() string
type AddSubjectCreated ¶
AddSubjectCreated describes a response with status code 201, with default header values.
Subject added Successfully
func NewAddSubjectCreated ¶
func NewAddSubjectCreated() *AddSubjectCreated
NewAddSubjectCreated creates a AddSubjectCreated with default headers values
func (*AddSubjectCreated) Code ¶
func (o *AddSubjectCreated) Code() int
Code gets the status code for the add subject created response
func (*AddSubjectCreated) Error ¶
func (o *AddSubjectCreated) Error() string
func (*AddSubjectCreated) GetPayload ¶
func (o *AddSubjectCreated) GetPayload() *models.Subject
func (*AddSubjectCreated) IsClientError ¶
func (o *AddSubjectCreated) IsClientError() bool
IsClientError returns true when this add subject created response has a 4xx status code
func (*AddSubjectCreated) IsCode ¶
func (o *AddSubjectCreated) IsCode(code int) bool
IsCode returns true when this add subject created response a status code equal to that given
func (*AddSubjectCreated) IsRedirect ¶
func (o *AddSubjectCreated) IsRedirect() bool
IsRedirect returns true when this add subject created response has a 3xx status code
func (*AddSubjectCreated) IsServerError ¶
func (o *AddSubjectCreated) IsServerError() bool
IsServerError returns true when this add subject created response has a 5xx status code
func (*AddSubjectCreated) IsSuccess ¶
func (o *AddSubjectCreated) IsSuccess() bool
IsSuccess returns true when this add subject created response has a 2xx status code
func (*AddSubjectCreated) String ¶
func (o *AddSubjectCreated) String() string
type AddSubjectInternalServerError ¶
type AddSubjectInternalServerError struct { }
AddSubjectInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewAddSubjectInternalServerError ¶
func NewAddSubjectInternalServerError() *AddSubjectInternalServerError
NewAddSubjectInternalServerError creates a AddSubjectInternalServerError with default headers values
func (*AddSubjectInternalServerError) Code ¶
func (o *AddSubjectInternalServerError) Code() int
Code gets the status code for the add subject internal server error response
func (*AddSubjectInternalServerError) Error ¶
func (o *AddSubjectInternalServerError) Error() string
func (*AddSubjectInternalServerError) IsClientError ¶
func (o *AddSubjectInternalServerError) IsClientError() bool
IsClientError returns true when this add subject internal server error response has a 4xx status code
func (*AddSubjectInternalServerError) IsCode ¶
func (o *AddSubjectInternalServerError) IsCode(code int) bool
IsCode returns true when this add subject internal server error response a status code equal to that given
func (*AddSubjectInternalServerError) IsRedirect ¶
func (o *AddSubjectInternalServerError) IsRedirect() bool
IsRedirect returns true when this add subject internal server error response has a 3xx status code
func (*AddSubjectInternalServerError) IsServerError ¶
func (o *AddSubjectInternalServerError) IsServerError() bool
IsServerError returns true when this add subject internal server error response has a 5xx status code
func (*AddSubjectInternalServerError) IsSuccess ¶
func (o *AddSubjectInternalServerError) IsSuccess() bool
IsSuccess returns true when this add subject internal server error response has a 2xx status code
func (*AddSubjectInternalServerError) String ¶
func (o *AddSubjectInternalServerError) String() string
type AddSubjectParams ¶
type AddSubjectParams struct { /* Subject. Subject to be added */ Subject *models.Subject Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddSubjectParams contains all the parameters to send to the API endpoint
for the add subject operation. Typically these are written to a http.Request.
func NewAddSubjectParams ¶
func NewAddSubjectParams() *AddSubjectParams
NewAddSubjectParams creates a new AddSubjectParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAddSubjectParamsWithContext ¶
func NewAddSubjectParamsWithContext(ctx context.Context) *AddSubjectParams
NewAddSubjectParamsWithContext creates a new AddSubjectParams object with the ability to set a context for a request.
func NewAddSubjectParamsWithHTTPClient ¶
func NewAddSubjectParamsWithHTTPClient(client *http.Client) *AddSubjectParams
NewAddSubjectParamsWithHTTPClient creates a new AddSubjectParams object with the ability to set a custom HTTPClient for a request.
func NewAddSubjectParamsWithTimeout ¶
func NewAddSubjectParamsWithTimeout(timeout time.Duration) *AddSubjectParams
NewAddSubjectParamsWithTimeout creates a new AddSubjectParams object with the ability to set a timeout on a request.
func (*AddSubjectParams) SetContext ¶
func (o *AddSubjectParams) SetContext(ctx context.Context)
SetContext adds the context to the add subject params
func (*AddSubjectParams) SetDefaults ¶
func (o *AddSubjectParams) SetDefaults()
SetDefaults hydrates default values in the add subject params (not the query body).
All values with no default are reset to their zero value.
func (*AddSubjectParams) SetHTTPClient ¶
func (o *AddSubjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add subject params
func (*AddSubjectParams) SetSubject ¶
func (o *AddSubjectParams) SetSubject(subject *models.Subject)
SetSubject adds the subject to the add subject params
func (*AddSubjectParams) SetTimeout ¶
func (o *AddSubjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add subject params
func (*AddSubjectParams) WithContext ¶
func (o *AddSubjectParams) WithContext(ctx context.Context) *AddSubjectParams
WithContext adds the context to the add subject params
func (*AddSubjectParams) WithDefaults ¶
func (o *AddSubjectParams) WithDefaults() *AddSubjectParams
WithDefaults hydrates default values in the add subject params (not the query body).
All values with no default are reset to their zero value.
func (*AddSubjectParams) WithHTTPClient ¶
func (o *AddSubjectParams) WithHTTPClient(client *http.Client) *AddSubjectParams
WithHTTPClient adds the HTTPClient to the add subject params
func (*AddSubjectParams) WithSubject ¶
func (o *AddSubjectParams) WithSubject(subject *models.Subject) *AddSubjectParams
WithSubject adds the subject to the add subject params
func (*AddSubjectParams) WithTimeout ¶
func (o *AddSubjectParams) WithTimeout(timeout time.Duration) *AddSubjectParams
WithTimeout adds the timeout to the add subject params
func (*AddSubjectParams) WriteToRequest ¶
func (o *AddSubjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddSubjectReader ¶
type AddSubjectReader struct {
// contains filtered or unexported fields
}
AddSubjectReader is a Reader for the AddSubject structure.
func (*AddSubjectReader) ReadResponse ¶
func (o *AddSubjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddTeacherConflict ¶
type AddTeacherConflict struct { }
AddTeacherConflict describes a response with status code 409, with default header values.
Teacher already exists
func NewAddTeacherConflict ¶
func NewAddTeacherConflict() *AddTeacherConflict
NewAddTeacherConflict creates a AddTeacherConflict with default headers values
func (*AddTeacherConflict) Code ¶
func (o *AddTeacherConflict) Code() int
Code gets the status code for the add teacher conflict response
func (*AddTeacherConflict) Error ¶
func (o *AddTeacherConflict) Error() string
func (*AddTeacherConflict) IsClientError ¶
func (o *AddTeacherConflict) IsClientError() bool
IsClientError returns true when this add teacher conflict response has a 4xx status code
func (*AddTeacherConflict) IsCode ¶
func (o *AddTeacherConflict) IsCode(code int) bool
IsCode returns true when this add teacher conflict response a status code equal to that given
func (*AddTeacherConflict) IsRedirect ¶
func (o *AddTeacherConflict) IsRedirect() bool
IsRedirect returns true when this add teacher conflict response has a 3xx status code
func (*AddTeacherConflict) IsServerError ¶
func (o *AddTeacherConflict) IsServerError() bool
IsServerError returns true when this add teacher conflict response has a 5xx status code
func (*AddTeacherConflict) IsSuccess ¶
func (o *AddTeacherConflict) IsSuccess() bool
IsSuccess returns true when this add teacher conflict response has a 2xx status code
func (*AddTeacherConflict) String ¶
func (o *AddTeacherConflict) String() string
type AddTeacherCreated ¶
AddTeacherCreated describes a response with status code 201, with default header values.
Teacher registered Successfully!
func NewAddTeacherCreated ¶
func NewAddTeacherCreated() *AddTeacherCreated
NewAddTeacherCreated creates a AddTeacherCreated with default headers values
func (*AddTeacherCreated) Code ¶
func (o *AddTeacherCreated) Code() int
Code gets the status code for the add teacher created response
func (*AddTeacherCreated) Error ¶
func (o *AddTeacherCreated) Error() string
func (*AddTeacherCreated) GetPayload ¶
func (o *AddTeacherCreated) GetPayload() *models.Teacher
func (*AddTeacherCreated) IsClientError ¶
func (o *AddTeacherCreated) IsClientError() bool
IsClientError returns true when this add teacher created response has a 4xx status code
func (*AddTeacherCreated) IsCode ¶
func (o *AddTeacherCreated) IsCode(code int) bool
IsCode returns true when this add teacher created response a status code equal to that given
func (*AddTeacherCreated) IsRedirect ¶
func (o *AddTeacherCreated) IsRedirect() bool
IsRedirect returns true when this add teacher created response has a 3xx status code
func (*AddTeacherCreated) IsServerError ¶
func (o *AddTeacherCreated) IsServerError() bool
IsServerError returns true when this add teacher created response has a 5xx status code
func (*AddTeacherCreated) IsSuccess ¶
func (o *AddTeacherCreated) IsSuccess() bool
IsSuccess returns true when this add teacher created response has a 2xx status code
func (*AddTeacherCreated) String ¶
func (o *AddTeacherCreated) String() string
type AddTeacherInternalServerError ¶
type AddTeacherInternalServerError struct { }
AddTeacherInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewAddTeacherInternalServerError ¶
func NewAddTeacherInternalServerError() *AddTeacherInternalServerError
NewAddTeacherInternalServerError creates a AddTeacherInternalServerError with default headers values
func (*AddTeacherInternalServerError) Code ¶
func (o *AddTeacherInternalServerError) Code() int
Code gets the status code for the add teacher internal server error response
func (*AddTeacherInternalServerError) Error ¶
func (o *AddTeacherInternalServerError) Error() string
func (*AddTeacherInternalServerError) IsClientError ¶
func (o *AddTeacherInternalServerError) IsClientError() bool
IsClientError returns true when this add teacher internal server error response has a 4xx status code
func (*AddTeacherInternalServerError) IsCode ¶
func (o *AddTeacherInternalServerError) IsCode(code int) bool
IsCode returns true when this add teacher internal server error response a status code equal to that given
func (*AddTeacherInternalServerError) IsRedirect ¶
func (o *AddTeacherInternalServerError) IsRedirect() bool
IsRedirect returns true when this add teacher internal server error response has a 3xx status code
func (*AddTeacherInternalServerError) IsServerError ¶
func (o *AddTeacherInternalServerError) IsServerError() bool
IsServerError returns true when this add teacher internal server error response has a 5xx status code
func (*AddTeacherInternalServerError) IsSuccess ¶
func (o *AddTeacherInternalServerError) IsSuccess() bool
IsSuccess returns true when this add teacher internal server error response has a 2xx status code
func (*AddTeacherInternalServerError) String ¶
func (o *AddTeacherInternalServerError) String() string
type AddTeacherParams ¶
type AddTeacherParams struct { /* Teacher. Teacher Registration Data */ Teacher *models.Teacher Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddTeacherParams contains all the parameters to send to the API endpoint
for the add teacher operation. Typically these are written to a http.Request.
func NewAddTeacherParams ¶
func NewAddTeacherParams() *AddTeacherParams
NewAddTeacherParams creates a new AddTeacherParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAddTeacherParamsWithContext ¶
func NewAddTeacherParamsWithContext(ctx context.Context) *AddTeacherParams
NewAddTeacherParamsWithContext creates a new AddTeacherParams object with the ability to set a context for a request.
func NewAddTeacherParamsWithHTTPClient ¶
func NewAddTeacherParamsWithHTTPClient(client *http.Client) *AddTeacherParams
NewAddTeacherParamsWithHTTPClient creates a new AddTeacherParams object with the ability to set a custom HTTPClient for a request.
func NewAddTeacherParamsWithTimeout ¶
func NewAddTeacherParamsWithTimeout(timeout time.Duration) *AddTeacherParams
NewAddTeacherParamsWithTimeout creates a new AddTeacherParams object with the ability to set a timeout on a request.
func (*AddTeacherParams) SetContext ¶
func (o *AddTeacherParams) SetContext(ctx context.Context)
SetContext adds the context to the add teacher params
func (*AddTeacherParams) SetDefaults ¶
func (o *AddTeacherParams) SetDefaults()
SetDefaults hydrates default values in the add teacher params (not the query body).
All values with no default are reset to their zero value.
func (*AddTeacherParams) SetHTTPClient ¶
func (o *AddTeacherParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add teacher params
func (*AddTeacherParams) SetTeacher ¶
func (o *AddTeacherParams) SetTeacher(teacher *models.Teacher)
SetTeacher adds the teacher to the add teacher params
func (*AddTeacherParams) SetTimeout ¶
func (o *AddTeacherParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add teacher params
func (*AddTeacherParams) WithContext ¶
func (o *AddTeacherParams) WithContext(ctx context.Context) *AddTeacherParams
WithContext adds the context to the add teacher params
func (*AddTeacherParams) WithDefaults ¶
func (o *AddTeacherParams) WithDefaults() *AddTeacherParams
WithDefaults hydrates default values in the add teacher params (not the query body).
All values with no default are reset to their zero value.
func (*AddTeacherParams) WithHTTPClient ¶
func (o *AddTeacherParams) WithHTTPClient(client *http.Client) *AddTeacherParams
WithHTTPClient adds the HTTPClient to the add teacher params
func (*AddTeacherParams) WithTeacher ¶
func (o *AddTeacherParams) WithTeacher(teacher *models.Teacher) *AddTeacherParams
WithTeacher adds the teacher to the add teacher params
func (*AddTeacherParams) WithTimeout ¶
func (o *AddTeacherParams) WithTimeout(timeout time.Duration) *AddTeacherParams
WithTimeout adds the timeout to the add teacher params
func (*AddTeacherParams) WriteToRequest ¶
func (o *AddTeacherParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddTeacherReader ¶
type AddTeacherReader struct {
// contains filtered or unexported fields
}
AddTeacherReader is a Reader for the AddTeacher structure.
func (*AddTeacherReader) ReadResponse ¶
func (o *AddTeacherReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AssignClassBody ¶
type AssignClassBody struct { // class ID ClassID int64 `json:"ClassID,omitempty"` }
AssignClassBody assign class body swagger:model AssignClassBody
func (*AssignClassBody) ContextValidate ¶
ContextValidate validates this assign class body based on context it is used
func (*AssignClassBody) MarshalBinary ¶
func (o *AssignClassBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AssignClassBody) UnmarshalBinary ¶
func (o *AssignClassBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AssignClassInternalServerError ¶
type AssignClassInternalServerError struct { }
AssignClassInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewAssignClassInternalServerError ¶
func NewAssignClassInternalServerError() *AssignClassInternalServerError
NewAssignClassInternalServerError creates a AssignClassInternalServerError with default headers values
func (*AssignClassInternalServerError) Code ¶
func (o *AssignClassInternalServerError) Code() int
Code gets the status code for the assign class internal server error response
func (*AssignClassInternalServerError) Error ¶
func (o *AssignClassInternalServerError) Error() string
func (*AssignClassInternalServerError) IsClientError ¶
func (o *AssignClassInternalServerError) IsClientError() bool
IsClientError returns true when this assign class internal server error response has a 4xx status code
func (*AssignClassInternalServerError) IsCode ¶
func (o *AssignClassInternalServerError) IsCode(code int) bool
IsCode returns true when this assign class internal server error response a status code equal to that given
func (*AssignClassInternalServerError) IsRedirect ¶
func (o *AssignClassInternalServerError) IsRedirect() bool
IsRedirect returns true when this assign class internal server error response has a 3xx status code
func (*AssignClassInternalServerError) IsServerError ¶
func (o *AssignClassInternalServerError) IsServerError() bool
IsServerError returns true when this assign class internal server error response has a 5xx status code
func (*AssignClassInternalServerError) IsSuccess ¶
func (o *AssignClassInternalServerError) IsSuccess() bool
IsSuccess returns true when this assign class internal server error response has a 2xx status code
func (*AssignClassInternalServerError) String ¶
func (o *AssignClassInternalServerError) String() string
type AssignClassNotFound ¶
type AssignClassNotFound struct { }
AssignClassNotFound describes a response with status code 404, with default header values.
Subject Not found!
func NewAssignClassNotFound ¶
func NewAssignClassNotFound() *AssignClassNotFound
NewAssignClassNotFound creates a AssignClassNotFound with default headers values
func (*AssignClassNotFound) Code ¶
func (o *AssignClassNotFound) Code() int
Code gets the status code for the assign class not found response
func (*AssignClassNotFound) Error ¶
func (o *AssignClassNotFound) Error() string
func (*AssignClassNotFound) IsClientError ¶
func (o *AssignClassNotFound) IsClientError() bool
IsClientError returns true when this assign class not found response has a 4xx status code
func (*AssignClassNotFound) IsCode ¶
func (o *AssignClassNotFound) IsCode(code int) bool
IsCode returns true when this assign class not found response a status code equal to that given
func (*AssignClassNotFound) IsRedirect ¶
func (o *AssignClassNotFound) IsRedirect() bool
IsRedirect returns true when this assign class not found response has a 3xx status code
func (*AssignClassNotFound) IsServerError ¶
func (o *AssignClassNotFound) IsServerError() bool
IsServerError returns true when this assign class not found response has a 5xx status code
func (*AssignClassNotFound) IsSuccess ¶
func (o *AssignClassNotFound) IsSuccess() bool
IsSuccess returns true when this assign class not found response has a 2xx status code
func (*AssignClassNotFound) String ¶
func (o *AssignClassNotFound) String() string
type AssignClassOK ¶
type AssignClassOK struct {
Payload int64
}
AssignClassOK describes a response with status code 200, with default header values.
Subject successfully assigned to Class
func NewAssignClassOK ¶
func NewAssignClassOK() *AssignClassOK
NewAssignClassOK creates a AssignClassOK with default headers values
func (*AssignClassOK) Code ¶
func (o *AssignClassOK) Code() int
Code gets the status code for the assign class o k response
func (*AssignClassOK) Error ¶
func (o *AssignClassOK) Error() string
func (*AssignClassOK) GetPayload ¶
func (o *AssignClassOK) GetPayload() int64
func (*AssignClassOK) IsClientError ¶
func (o *AssignClassOK) IsClientError() bool
IsClientError returns true when this assign class o k response has a 4xx status code
func (*AssignClassOK) IsCode ¶
func (o *AssignClassOK) IsCode(code int) bool
IsCode returns true when this assign class o k response a status code equal to that given
func (*AssignClassOK) IsRedirect ¶
func (o *AssignClassOK) IsRedirect() bool
IsRedirect returns true when this assign class o k response has a 3xx status code
func (*AssignClassOK) IsServerError ¶
func (o *AssignClassOK) IsServerError() bool
IsServerError returns true when this assign class o k response has a 5xx status code
func (*AssignClassOK) IsSuccess ¶
func (o *AssignClassOK) IsSuccess() bool
IsSuccess returns true when this assign class o k response has a 2xx status code
func (*AssignClassOK) String ¶
func (o *AssignClassOK) String() string
type AssignClassParams ¶
type AssignClassParams struct { /* ID. Subject ID */ ID int64 /* Class. The object containing ID of the class to be assigned */ Class AssignClassBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AssignClassParams contains all the parameters to send to the API endpoint
for the assign class operation. Typically these are written to a http.Request.
func NewAssignClassParams ¶
func NewAssignClassParams() *AssignClassParams
NewAssignClassParams creates a new AssignClassParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAssignClassParamsWithContext ¶
func NewAssignClassParamsWithContext(ctx context.Context) *AssignClassParams
NewAssignClassParamsWithContext creates a new AssignClassParams object with the ability to set a context for a request.
func NewAssignClassParamsWithHTTPClient ¶
func NewAssignClassParamsWithHTTPClient(client *http.Client) *AssignClassParams
NewAssignClassParamsWithHTTPClient creates a new AssignClassParams object with the ability to set a custom HTTPClient for a request.
func NewAssignClassParamsWithTimeout ¶
func NewAssignClassParamsWithTimeout(timeout time.Duration) *AssignClassParams
NewAssignClassParamsWithTimeout creates a new AssignClassParams object with the ability to set a timeout on a request.
func (*AssignClassParams) SetClass ¶
func (o *AssignClassParams) SetClass(class AssignClassBody)
SetClass adds the class to the assign class params
func (*AssignClassParams) SetContext ¶
func (o *AssignClassParams) SetContext(ctx context.Context)
SetContext adds the context to the assign class params
func (*AssignClassParams) SetDefaults ¶
func (o *AssignClassParams) SetDefaults()
SetDefaults hydrates default values in the assign class params (not the query body).
All values with no default are reset to their zero value.
func (*AssignClassParams) SetHTTPClient ¶
func (o *AssignClassParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the assign class params
func (*AssignClassParams) SetID ¶
func (o *AssignClassParams) SetID(id int64)
SetID adds the id to the assign class params
func (*AssignClassParams) SetTimeout ¶
func (o *AssignClassParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the assign class params
func (*AssignClassParams) WithClass ¶
func (o *AssignClassParams) WithClass(class AssignClassBody) *AssignClassParams
WithClass adds the class to the assign class params
func (*AssignClassParams) WithContext ¶
func (o *AssignClassParams) WithContext(ctx context.Context) *AssignClassParams
WithContext adds the context to the assign class params
func (*AssignClassParams) WithDefaults ¶
func (o *AssignClassParams) WithDefaults() *AssignClassParams
WithDefaults hydrates default values in the assign class params (not the query body).
All values with no default are reset to their zero value.
func (*AssignClassParams) WithHTTPClient ¶
func (o *AssignClassParams) WithHTTPClient(client *http.Client) *AssignClassParams
WithHTTPClient adds the HTTPClient to the assign class params
func (*AssignClassParams) WithID ¶
func (o *AssignClassParams) WithID(id int64) *AssignClassParams
WithID adds the id to the assign class params
func (*AssignClassParams) WithTimeout ¶
func (o *AssignClassParams) WithTimeout(timeout time.Duration) *AssignClassParams
WithTimeout adds the timeout to the assign class params
func (*AssignClassParams) WriteToRequest ¶
func (o *AssignClassParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AssignClassReader ¶
type AssignClassReader struct {
// contains filtered or unexported fields
}
AssignClassReader is a Reader for the AssignClass structure.
func (*AssignClassReader) ReadResponse ¶
func (o *AssignClassReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AssignSubjectToStudentBody ¶
type AssignSubjectToStudentBody struct { // assign Assign bool `json:"Assign,omitempty"` // subject ID SubjectID int64 `json:"SubjectID,omitempty"` }
AssignSubjectToStudentBody assign subject to student body swagger:model AssignSubjectToStudentBody
func (*AssignSubjectToStudentBody) ContextValidate ¶
func (o *AssignSubjectToStudentBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this assign subject to student body based on context it is used
func (*AssignSubjectToStudentBody) MarshalBinary ¶
func (o *AssignSubjectToStudentBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AssignSubjectToStudentBody) UnmarshalBinary ¶
func (o *AssignSubjectToStudentBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AssignSubjectToStudentInternalServerError ¶
type AssignSubjectToStudentInternalServerError struct { }
AssignSubjectToStudentInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewAssignSubjectToStudentInternalServerError ¶
func NewAssignSubjectToStudentInternalServerError() *AssignSubjectToStudentInternalServerError
NewAssignSubjectToStudentInternalServerError creates a AssignSubjectToStudentInternalServerError with default headers values
func (*AssignSubjectToStudentInternalServerError) Code ¶
func (o *AssignSubjectToStudentInternalServerError) Code() int
Code gets the status code for the assign subject to student internal server error response
func (*AssignSubjectToStudentInternalServerError) Error ¶
func (o *AssignSubjectToStudentInternalServerError) Error() string
func (*AssignSubjectToStudentInternalServerError) IsClientError ¶
func (o *AssignSubjectToStudentInternalServerError) IsClientError() bool
IsClientError returns true when this assign subject to student internal server error response has a 4xx status code
func (*AssignSubjectToStudentInternalServerError) IsCode ¶
func (o *AssignSubjectToStudentInternalServerError) IsCode(code int) bool
IsCode returns true when this assign subject to student internal server error response a status code equal to that given
func (*AssignSubjectToStudentInternalServerError) IsRedirect ¶
func (o *AssignSubjectToStudentInternalServerError) IsRedirect() bool
IsRedirect returns true when this assign subject to student internal server error response has a 3xx status code
func (*AssignSubjectToStudentInternalServerError) IsServerError ¶
func (o *AssignSubjectToStudentInternalServerError) IsServerError() bool
IsServerError returns true when this assign subject to student internal server error response has a 5xx status code
func (*AssignSubjectToStudentInternalServerError) IsSuccess ¶
func (o *AssignSubjectToStudentInternalServerError) IsSuccess() bool
IsSuccess returns true when this assign subject to student internal server error response has a 2xx status code
func (*AssignSubjectToStudentInternalServerError) String ¶
func (o *AssignSubjectToStudentInternalServerError) String() string
type AssignSubjectToStudentNotFound ¶
type AssignSubjectToStudentNotFound struct { }
AssignSubjectToStudentNotFound describes a response with status code 404, with default header values.
Student Not found!
func NewAssignSubjectToStudentNotFound ¶
func NewAssignSubjectToStudentNotFound() *AssignSubjectToStudentNotFound
NewAssignSubjectToStudentNotFound creates a AssignSubjectToStudentNotFound with default headers values
func (*AssignSubjectToStudentNotFound) Code ¶
func (o *AssignSubjectToStudentNotFound) Code() int
Code gets the status code for the assign subject to student not found response
func (*AssignSubjectToStudentNotFound) Error ¶
func (o *AssignSubjectToStudentNotFound) Error() string
func (*AssignSubjectToStudentNotFound) IsClientError ¶
func (o *AssignSubjectToStudentNotFound) IsClientError() bool
IsClientError returns true when this assign subject to student not found response has a 4xx status code
func (*AssignSubjectToStudentNotFound) IsCode ¶
func (o *AssignSubjectToStudentNotFound) IsCode(code int) bool
IsCode returns true when this assign subject to student not found response a status code equal to that given
func (*AssignSubjectToStudentNotFound) IsRedirect ¶
func (o *AssignSubjectToStudentNotFound) IsRedirect() bool
IsRedirect returns true when this assign subject to student not found response has a 3xx status code
func (*AssignSubjectToStudentNotFound) IsServerError ¶
func (o *AssignSubjectToStudentNotFound) IsServerError() bool
IsServerError returns true when this assign subject to student not found response has a 5xx status code
func (*AssignSubjectToStudentNotFound) IsSuccess ¶
func (o *AssignSubjectToStudentNotFound) IsSuccess() bool
IsSuccess returns true when this assign subject to student not found response has a 2xx status code
func (*AssignSubjectToStudentNotFound) String ¶
func (o *AssignSubjectToStudentNotFound) String() string
type AssignSubjectToStudentOK ¶
type AssignSubjectToStudentOK struct {
Payload int64
}
AssignSubjectToStudentOK describes a response with status code 200, with default header values.
Subject assigned/de-assigned to Student
func NewAssignSubjectToStudentOK ¶
func NewAssignSubjectToStudentOK() *AssignSubjectToStudentOK
NewAssignSubjectToStudentOK creates a AssignSubjectToStudentOK with default headers values
func (*AssignSubjectToStudentOK) Code ¶
func (o *AssignSubjectToStudentOK) Code() int
Code gets the status code for the assign subject to student o k response
func (*AssignSubjectToStudentOK) Error ¶
func (o *AssignSubjectToStudentOK) Error() string
func (*AssignSubjectToStudentOK) GetPayload ¶
func (o *AssignSubjectToStudentOK) GetPayload() int64
func (*AssignSubjectToStudentOK) IsClientError ¶
func (o *AssignSubjectToStudentOK) IsClientError() bool
IsClientError returns true when this assign subject to student o k response has a 4xx status code
func (*AssignSubjectToStudentOK) IsCode ¶
func (o *AssignSubjectToStudentOK) IsCode(code int) bool
IsCode returns true when this assign subject to student o k response a status code equal to that given
func (*AssignSubjectToStudentOK) IsRedirect ¶
func (o *AssignSubjectToStudentOK) IsRedirect() bool
IsRedirect returns true when this assign subject to student o k response has a 3xx status code
func (*AssignSubjectToStudentOK) IsServerError ¶
func (o *AssignSubjectToStudentOK) IsServerError() bool
IsServerError returns true when this assign subject to student o k response has a 5xx status code
func (*AssignSubjectToStudentOK) IsSuccess ¶
func (o *AssignSubjectToStudentOK) IsSuccess() bool
IsSuccess returns true when this assign subject to student o k response has a 2xx status code
func (*AssignSubjectToStudentOK) String ¶
func (o *AssignSubjectToStudentOK) String() string
type AssignSubjectToStudentParams ¶
type AssignSubjectToStudentParams struct { /* ID. Student ID */ ID int64 /* Subject. The object containing ID of subject to be assigned */ Subject AssignSubjectToStudentBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AssignSubjectToStudentParams contains all the parameters to send to the API endpoint
for the assign subject to student operation. Typically these are written to a http.Request.
func NewAssignSubjectToStudentParams ¶
func NewAssignSubjectToStudentParams() *AssignSubjectToStudentParams
NewAssignSubjectToStudentParams creates a new AssignSubjectToStudentParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAssignSubjectToStudentParamsWithContext ¶
func NewAssignSubjectToStudentParamsWithContext(ctx context.Context) *AssignSubjectToStudentParams
NewAssignSubjectToStudentParamsWithContext creates a new AssignSubjectToStudentParams object with the ability to set a context for a request.
func NewAssignSubjectToStudentParamsWithHTTPClient ¶
func NewAssignSubjectToStudentParamsWithHTTPClient(client *http.Client) *AssignSubjectToStudentParams
NewAssignSubjectToStudentParamsWithHTTPClient creates a new AssignSubjectToStudentParams object with the ability to set a custom HTTPClient for a request.
func NewAssignSubjectToStudentParamsWithTimeout ¶
func NewAssignSubjectToStudentParamsWithTimeout(timeout time.Duration) *AssignSubjectToStudentParams
NewAssignSubjectToStudentParamsWithTimeout creates a new AssignSubjectToStudentParams object with the ability to set a timeout on a request.
func (*AssignSubjectToStudentParams) SetContext ¶
func (o *AssignSubjectToStudentParams) SetContext(ctx context.Context)
SetContext adds the context to the assign subject to student params
func (*AssignSubjectToStudentParams) SetDefaults ¶
func (o *AssignSubjectToStudentParams) SetDefaults()
SetDefaults hydrates default values in the assign subject to student params (not the query body).
All values with no default are reset to their zero value.
func (*AssignSubjectToStudentParams) SetHTTPClient ¶
func (o *AssignSubjectToStudentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the assign subject to student params
func (*AssignSubjectToStudentParams) SetID ¶
func (o *AssignSubjectToStudentParams) SetID(id int64)
SetID adds the id to the assign subject to student params
func (*AssignSubjectToStudentParams) SetSubject ¶
func (o *AssignSubjectToStudentParams) SetSubject(subject AssignSubjectToStudentBody)
SetSubject adds the subject to the assign subject to student params
func (*AssignSubjectToStudentParams) SetTimeout ¶
func (o *AssignSubjectToStudentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the assign subject to student params
func (*AssignSubjectToStudentParams) WithContext ¶
func (o *AssignSubjectToStudentParams) WithContext(ctx context.Context) *AssignSubjectToStudentParams
WithContext adds the context to the assign subject to student params
func (*AssignSubjectToStudentParams) WithDefaults ¶
func (o *AssignSubjectToStudentParams) WithDefaults() *AssignSubjectToStudentParams
WithDefaults hydrates default values in the assign subject to student params (not the query body).
All values with no default are reset to their zero value.
func (*AssignSubjectToStudentParams) WithHTTPClient ¶
func (o *AssignSubjectToStudentParams) WithHTTPClient(client *http.Client) *AssignSubjectToStudentParams
WithHTTPClient adds the HTTPClient to the assign subject to student params
func (*AssignSubjectToStudentParams) WithID ¶
func (o *AssignSubjectToStudentParams) WithID(id int64) *AssignSubjectToStudentParams
WithID adds the id to the assign subject to student params
func (*AssignSubjectToStudentParams) WithSubject ¶
func (o *AssignSubjectToStudentParams) WithSubject(subject AssignSubjectToStudentBody) *AssignSubjectToStudentParams
WithSubject adds the subject to the assign subject to student params
func (*AssignSubjectToStudentParams) WithTimeout ¶
func (o *AssignSubjectToStudentParams) WithTimeout(timeout time.Duration) *AssignSubjectToStudentParams
WithTimeout adds the timeout to the assign subject to student params
func (*AssignSubjectToStudentParams) WriteToRequest ¶
func (o *AssignSubjectToStudentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AssignSubjectToStudentReader ¶
type AssignSubjectToStudentReader struct {
// contains filtered or unexported fields
}
AssignSubjectToStudentReader is a Reader for the AssignSubjectToStudent structure.
func (*AssignSubjectToStudentReader) ReadResponse ¶
func (o *AssignSubjectToStudentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AssignSubjectToTeacherBody ¶
type AssignSubjectToTeacherBody struct { // subject ID SubjectID int64 `json:"SubjectID,omitempty"` }
AssignSubjectToTeacherBody assign subject to teacher body swagger:model AssignSubjectToTeacherBody
func (*AssignSubjectToTeacherBody) ContextValidate ¶
func (o *AssignSubjectToTeacherBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this assign subject to teacher body based on context it is used
func (*AssignSubjectToTeacherBody) MarshalBinary ¶
func (o *AssignSubjectToTeacherBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AssignSubjectToTeacherBody) UnmarshalBinary ¶
func (o *AssignSubjectToTeacherBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AssignSubjectToTeacherInternalServerError ¶
type AssignSubjectToTeacherInternalServerError struct { }
AssignSubjectToTeacherInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewAssignSubjectToTeacherInternalServerError ¶
func NewAssignSubjectToTeacherInternalServerError() *AssignSubjectToTeacherInternalServerError
NewAssignSubjectToTeacherInternalServerError creates a AssignSubjectToTeacherInternalServerError with default headers values
func (*AssignSubjectToTeacherInternalServerError) Code ¶
func (o *AssignSubjectToTeacherInternalServerError) Code() int
Code gets the status code for the assign subject to teacher internal server error response
func (*AssignSubjectToTeacherInternalServerError) Error ¶
func (o *AssignSubjectToTeacherInternalServerError) Error() string
func (*AssignSubjectToTeacherInternalServerError) IsClientError ¶
func (o *AssignSubjectToTeacherInternalServerError) IsClientError() bool
IsClientError returns true when this assign subject to teacher internal server error response has a 4xx status code
func (*AssignSubjectToTeacherInternalServerError) IsCode ¶
func (o *AssignSubjectToTeacherInternalServerError) IsCode(code int) bool
IsCode returns true when this assign subject to teacher internal server error response a status code equal to that given
func (*AssignSubjectToTeacherInternalServerError) IsRedirect ¶
func (o *AssignSubjectToTeacherInternalServerError) IsRedirect() bool
IsRedirect returns true when this assign subject to teacher internal server error response has a 3xx status code
func (*AssignSubjectToTeacherInternalServerError) IsServerError ¶
func (o *AssignSubjectToTeacherInternalServerError) IsServerError() bool
IsServerError returns true when this assign subject to teacher internal server error response has a 5xx status code
func (*AssignSubjectToTeacherInternalServerError) IsSuccess ¶
func (o *AssignSubjectToTeacherInternalServerError) IsSuccess() bool
IsSuccess returns true when this assign subject to teacher internal server error response has a 2xx status code
func (*AssignSubjectToTeacherInternalServerError) String ¶
func (o *AssignSubjectToTeacherInternalServerError) String() string
type AssignSubjectToTeacherNotFound ¶
type AssignSubjectToTeacherNotFound struct { }
AssignSubjectToTeacherNotFound describes a response with status code 404, with default header values.
Teacher not found!
func NewAssignSubjectToTeacherNotFound ¶
func NewAssignSubjectToTeacherNotFound() *AssignSubjectToTeacherNotFound
NewAssignSubjectToTeacherNotFound creates a AssignSubjectToTeacherNotFound with default headers values
func (*AssignSubjectToTeacherNotFound) Code ¶
func (o *AssignSubjectToTeacherNotFound) Code() int
Code gets the status code for the assign subject to teacher not found response
func (*AssignSubjectToTeacherNotFound) Error ¶
func (o *AssignSubjectToTeacherNotFound) Error() string
func (*AssignSubjectToTeacherNotFound) IsClientError ¶
func (o *AssignSubjectToTeacherNotFound) IsClientError() bool
IsClientError returns true when this assign subject to teacher not found response has a 4xx status code
func (*AssignSubjectToTeacherNotFound) IsCode ¶
func (o *AssignSubjectToTeacherNotFound) IsCode(code int) bool
IsCode returns true when this assign subject to teacher not found response a status code equal to that given
func (*AssignSubjectToTeacherNotFound) IsRedirect ¶
func (o *AssignSubjectToTeacherNotFound) IsRedirect() bool
IsRedirect returns true when this assign subject to teacher not found response has a 3xx status code
func (*AssignSubjectToTeacherNotFound) IsServerError ¶
func (o *AssignSubjectToTeacherNotFound) IsServerError() bool
IsServerError returns true when this assign subject to teacher not found response has a 5xx status code
func (*AssignSubjectToTeacherNotFound) IsSuccess ¶
func (o *AssignSubjectToTeacherNotFound) IsSuccess() bool
IsSuccess returns true when this assign subject to teacher not found response has a 2xx status code
func (*AssignSubjectToTeacherNotFound) String ¶
func (o *AssignSubjectToTeacherNotFound) String() string
type AssignSubjectToTeacherOK ¶
type AssignSubjectToTeacherOK struct {
Payload int64
}
AssignSubjectToTeacherOK describes a response with status code 200, with default header values.
Subject assigned to Teacher
func NewAssignSubjectToTeacherOK ¶
func NewAssignSubjectToTeacherOK() *AssignSubjectToTeacherOK
NewAssignSubjectToTeacherOK creates a AssignSubjectToTeacherOK with default headers values
func (*AssignSubjectToTeacherOK) Code ¶
func (o *AssignSubjectToTeacherOK) Code() int
Code gets the status code for the assign subject to teacher o k response
func (*AssignSubjectToTeacherOK) Error ¶
func (o *AssignSubjectToTeacherOK) Error() string
func (*AssignSubjectToTeacherOK) GetPayload ¶
func (o *AssignSubjectToTeacherOK) GetPayload() int64
func (*AssignSubjectToTeacherOK) IsClientError ¶
func (o *AssignSubjectToTeacherOK) IsClientError() bool
IsClientError returns true when this assign subject to teacher o k response has a 4xx status code
func (*AssignSubjectToTeacherOK) IsCode ¶
func (o *AssignSubjectToTeacherOK) IsCode(code int) bool
IsCode returns true when this assign subject to teacher o k response a status code equal to that given
func (*AssignSubjectToTeacherOK) IsRedirect ¶
func (o *AssignSubjectToTeacherOK) IsRedirect() bool
IsRedirect returns true when this assign subject to teacher o k response has a 3xx status code
func (*AssignSubjectToTeacherOK) IsServerError ¶
func (o *AssignSubjectToTeacherOK) IsServerError() bool
IsServerError returns true when this assign subject to teacher o k response has a 5xx status code
func (*AssignSubjectToTeacherOK) IsSuccess ¶
func (o *AssignSubjectToTeacherOK) IsSuccess() bool
IsSuccess returns true when this assign subject to teacher o k response has a 2xx status code
func (*AssignSubjectToTeacherOK) String ¶
func (o *AssignSubjectToTeacherOK) String() string
type AssignSubjectToTeacherParams ¶
type AssignSubjectToTeacherParams struct { /* ID. Teacher ID */ ID int64 /* Subject. The object containing ID of the subject to be assigned */ Subject AssignSubjectToTeacherBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AssignSubjectToTeacherParams contains all the parameters to send to the API endpoint
for the assign subject to teacher operation. Typically these are written to a http.Request.
func NewAssignSubjectToTeacherParams ¶
func NewAssignSubjectToTeacherParams() *AssignSubjectToTeacherParams
NewAssignSubjectToTeacherParams creates a new AssignSubjectToTeacherParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAssignSubjectToTeacherParamsWithContext ¶
func NewAssignSubjectToTeacherParamsWithContext(ctx context.Context) *AssignSubjectToTeacherParams
NewAssignSubjectToTeacherParamsWithContext creates a new AssignSubjectToTeacherParams object with the ability to set a context for a request.
func NewAssignSubjectToTeacherParamsWithHTTPClient ¶
func NewAssignSubjectToTeacherParamsWithHTTPClient(client *http.Client) *AssignSubjectToTeacherParams
NewAssignSubjectToTeacherParamsWithHTTPClient creates a new AssignSubjectToTeacherParams object with the ability to set a custom HTTPClient for a request.
func NewAssignSubjectToTeacherParamsWithTimeout ¶
func NewAssignSubjectToTeacherParamsWithTimeout(timeout time.Duration) *AssignSubjectToTeacherParams
NewAssignSubjectToTeacherParamsWithTimeout creates a new AssignSubjectToTeacherParams object with the ability to set a timeout on a request.
func (*AssignSubjectToTeacherParams) SetContext ¶
func (o *AssignSubjectToTeacherParams) SetContext(ctx context.Context)
SetContext adds the context to the assign subject to teacher params
func (*AssignSubjectToTeacherParams) SetDefaults ¶
func (o *AssignSubjectToTeacherParams) SetDefaults()
SetDefaults hydrates default values in the assign subject to teacher params (not the query body).
All values with no default are reset to their zero value.
func (*AssignSubjectToTeacherParams) SetHTTPClient ¶
func (o *AssignSubjectToTeacherParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the assign subject to teacher params
func (*AssignSubjectToTeacherParams) SetID ¶
func (o *AssignSubjectToTeacherParams) SetID(id int64)
SetID adds the id to the assign subject to teacher params
func (*AssignSubjectToTeacherParams) SetSubject ¶
func (o *AssignSubjectToTeacherParams) SetSubject(subject AssignSubjectToTeacherBody)
SetSubject adds the subject to the assign subject to teacher params
func (*AssignSubjectToTeacherParams) SetTimeout ¶
func (o *AssignSubjectToTeacherParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the assign subject to teacher params
func (*AssignSubjectToTeacherParams) WithContext ¶
func (o *AssignSubjectToTeacherParams) WithContext(ctx context.Context) *AssignSubjectToTeacherParams
WithContext adds the context to the assign subject to teacher params
func (*AssignSubjectToTeacherParams) WithDefaults ¶
func (o *AssignSubjectToTeacherParams) WithDefaults() *AssignSubjectToTeacherParams
WithDefaults hydrates default values in the assign subject to teacher params (not the query body).
All values with no default are reset to their zero value.
func (*AssignSubjectToTeacherParams) WithHTTPClient ¶
func (o *AssignSubjectToTeacherParams) WithHTTPClient(client *http.Client) *AssignSubjectToTeacherParams
WithHTTPClient adds the HTTPClient to the assign subject to teacher params
func (*AssignSubjectToTeacherParams) WithID ¶
func (o *AssignSubjectToTeacherParams) WithID(id int64) *AssignSubjectToTeacherParams
WithID adds the id to the assign subject to teacher params
func (*AssignSubjectToTeacherParams) WithSubject ¶
func (o *AssignSubjectToTeacherParams) WithSubject(subject AssignSubjectToTeacherBody) *AssignSubjectToTeacherParams
WithSubject adds the subject to the assign subject to teacher params
func (*AssignSubjectToTeacherParams) WithTimeout ¶
func (o *AssignSubjectToTeacherParams) WithTimeout(timeout time.Duration) *AssignSubjectToTeacherParams
WithTimeout adds the timeout to the assign subject to teacher params
func (*AssignSubjectToTeacherParams) WriteToRequest ¶
func (o *AssignSubjectToTeacherParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AssignSubjectToTeacherReader ¶
type AssignSubjectToTeacherReader struct {
// contains filtered or unexported fields
}
AssignSubjectToTeacherReader is a Reader for the AssignSubjectToTeacher structure.
func (*AssignSubjectToTeacherReader) ReadResponse ¶
func (o *AssignSubjectToTeacherReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for operations API
func (*Client) AddAccount ¶
func (a *Client) AddAccount(params *AddAccountParams, opts ...ClientOption) (*AddAccountCreated, error)
AddAccount add account API
func (*Client) AddClass ¶
func (a *Client) AddClass(params *AddClassParams, opts ...ClientOption) (*AddClassCreated, error)
AddClass add class API
func (*Client) AddOrRemoveStudent ¶
func (a *Client) AddOrRemoveStudent(params *AddOrRemoveStudentParams, opts ...ClientOption) (*AddOrRemoveStudentOK, error)
AddOrRemoveStudent add or remove student API
func (*Client) AddStudent ¶
func (a *Client) AddStudent(params *AddStudentParams, opts ...ClientOption) (*AddStudentCreated, error)
AddStudent add student API
func (*Client) AddSubject ¶
func (a *Client) AddSubject(params *AddSubjectParams, opts ...ClientOption) (*AddSubjectCreated, error)
AddSubject add subject API
func (*Client) AddTeacher ¶
func (a *Client) AddTeacher(params *AddTeacherParams, opts ...ClientOption) (*AddTeacherCreated, error)
AddTeacher add teacher API
func (*Client) AssignClass ¶
func (a *Client) AssignClass(params *AssignClassParams, opts ...ClientOption) (*AssignClassOK, error)
AssignClass assign class API
func (*Client) AssignSubjectToStudent ¶
func (a *Client) AssignSubjectToStudent(params *AssignSubjectToStudentParams, opts ...ClientOption) (*AssignSubjectToStudentOK, error)
AssignSubjectToStudent assign subject to student API
func (*Client) AssignSubjectToTeacher ¶
func (a *Client) AssignSubjectToTeacher(params *AssignSubjectToTeacherParams, opts ...ClientOption) (*AssignSubjectToTeacherOK, error)
AssignSubjectToTeacher assign subject to teacher API
func (*Client) DeleteAccount ¶
func (a *Client) DeleteAccount(params *DeleteAccountParams, opts ...ClientOption) (*DeleteAccountNoContent, error)
DeleteAccount delete account API
func (*Client) DeleteClass ¶
func (a *Client) DeleteClass(params *DeleteClassParams, opts ...ClientOption) (*DeleteClassNoContent, error)
DeleteClass delete class API
func (*Client) DeleteStudent ¶
func (a *Client) DeleteStudent(params *DeleteStudentParams, opts ...ClientOption) (*DeleteStudentNoContent, error)
DeleteStudent delete student API
func (*Client) DeleteSubject ¶
func (a *Client) DeleteSubject(params *DeleteSubjectParams, opts ...ClientOption) (*DeleteSubjectNoContent, error)
DeleteSubject delete subject API
func (*Client) DeleteTeacher ¶
func (a *Client) DeleteTeacher(params *DeleteTeacherParams, opts ...ClientOption) (*DeleteTeacherNoContent, error)
DeleteTeacher delete teacher API
func (*Client) GetAccountByID ¶
func (a *Client) GetAccountByID(params *GetAccountByIDParams, opts ...ClientOption) (*GetAccountByIDOK, error)
GetAccountByID get account by ID API
func (*Client) GetAccounts ¶
func (a *Client) GetAccounts(params *GetAccountsParams, opts ...ClientOption) (*GetAccountsOK, error)
GetAccounts Get all Accounts
func (*Client) GetClassByID ¶
func (a *Client) GetClassByID(params *GetClassByIDParams, opts ...ClientOption) (*GetClassByIDOK, error)
GetClassByID get class by ID API
func (*Client) GetClassOfTeacher ¶
func (a *Client) GetClassOfTeacher(params *GetClassOfTeacherParams, opts ...ClientOption) (*GetClassOfTeacherOK, error)
GetClassOfTeacher get class of teacher API
func (*Client) GetClasses ¶
func (a *Client) GetClasses(params *GetClassesParams, opts ...ClientOption) (*GetClassesOK, error)
GetClasses Get all Classes
func (*Client) GetClassesOfStudent ¶
func (a *Client) GetClassesOfStudent(params *GetClassesOfStudentParams, opts ...ClientOption) (*GetClassesOfStudentOK, error)
GetClassesOfStudent get classes of student API
func (*Client) GetDefaultedStudentAccounts ¶
func (a *Client) GetDefaultedStudentAccounts(params *GetDefaultedStudentAccountsParams, opts ...ClientOption) (*GetDefaultedStudentAccountsOK, error)
GetDefaultedStudentAccounts Get Defaulted Student Accounts
func (*Client) GetStudentAccounts ¶
func (a *Client) GetStudentAccounts(params *GetStudentAccountsParams, opts ...ClientOption) (*GetStudentAccountsOK, error)
GetStudentAccounts Get all Student Accounts
func (*Client) GetStudentByID ¶
func (a *Client) GetStudentByID(params *GetStudentByIDParams, opts ...ClientOption) (*GetStudentByIDOK, error)
GetStudentByID get student by ID API
func (*Client) GetStudents ¶
func (a *Client) GetStudents(params *GetStudentsParams, opts ...ClientOption) (*GetStudentsOK, error)
GetStudents Get all Students
func (*Client) GetStudentsOfClass ¶
func (a *Client) GetStudentsOfClass(params *GetStudentsOfClassParams, opts ...ClientOption) (*GetStudentsOfClassOK, error)
GetStudentsOfClass get students of class API
func (*Client) GetStudentsOfSubject ¶
func (a *Client) GetStudentsOfSubject(params *GetStudentsOfSubjectParams, opts ...ClientOption) (*GetStudentsOfSubjectOK, error)
GetStudentsOfSubject get students of subject API
func (*Client) GetStudentsOfTeacher ¶
func (a *Client) GetStudentsOfTeacher(params *GetStudentsOfTeacherParams, opts ...ClientOption) (*GetStudentsOfTeacherOK, error)
GetStudentsOfTeacher get students of teacher API
func (*Client) GetSubjectByID ¶
func (a *Client) GetSubjectByID(params *GetSubjectByIDParams, opts ...ClientOption) (*GetSubjectByIDOK, error)
GetSubjectByID get subject by ID API
func (*Client) GetSubjects ¶
func (a *Client) GetSubjects(params *GetSubjectsParams, opts ...ClientOption) (*GetSubjectsOK, error)
GetSubjects Get all Subjects
func (*Client) GetSubjectsOfClass ¶
func (a *Client) GetSubjectsOfClass(params *GetSubjectsOfClassParams, opts ...ClientOption) (*GetSubjectsOfClassOK, error)
GetSubjectsOfClass get subjects of class API
func (*Client) GetSubjectsOfStudent ¶
func (a *Client) GetSubjectsOfStudent(params *GetSubjectsOfStudentParams, opts ...ClientOption) (*GetSubjectsOfStudentOK, error)
GetSubjectsOfStudent get subjects of student API
func (*Client) GetTeacherAccounts ¶
func (a *Client) GetTeacherAccounts(params *GetTeacherAccountsParams, opts ...ClientOption) (*GetTeacherAccountsOK, error)
GetTeacherAccounts Get all Teacher Accounts
func (*Client) GetTeacherByID ¶
func (a *Client) GetTeacherByID(params *GetTeacherByIDParams, opts ...ClientOption) (*GetTeacherByIDOK, error)
GetTeacherByID get teacher by ID API
func (*Client) GetTeacherOfSubject ¶
func (a *Client) GetTeacherOfSubject(params *GetTeacherOfSubjectParams, opts ...ClientOption) (*GetTeacherOfSubjectOK, error)
GetTeacherOfSubject get teacher of subject API
func (*Client) GetTeachers ¶
func (a *Client) GetTeachers(params *GetTeachersParams, opts ...ClientOption) (*GetTeachersOK, error)
GetTeachers Get all Teachers
func (*Client) GetTeachersOfClass ¶
func (a *Client) GetTeachersOfClass(params *GetTeachersOfClassParams, opts ...ClientOption) (*GetTeachersOfClassOK, error)
GetTeachersOfClass get teachers of class API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateAccount ¶
func (a *Client) UpdateAccount(params *UpdateAccountParams, opts ...ClientOption) (*UpdateAccountOK, error)
UpdateAccount update account API
func (*Client) UpdateClassName ¶
func (a *Client) UpdateClassName(params *UpdateClassNameParams, opts ...ClientOption) (*UpdateClassNameOK, error)
UpdateClassName update class name API
func (*Client) UpdateGPA ¶
func (a *Client) UpdateGPA(params *UpdateGPAParams, opts ...ClientOption) (*UpdateGPAOK, error)
UpdateGPA update g p a API
func (*Client) UpdateStudentName ¶
func (a *Client) UpdateStudentName(params *UpdateStudentNameParams, opts ...ClientOption) (*UpdateStudentNameOK, error)
UpdateStudentName update student name API
func (*Client) UpdateSubjectName ¶
func (a *Client) UpdateSubjectName(params *UpdateSubjectNameParams, opts ...ClientOption) (*UpdateSubjectNameOK, error)
UpdateSubjectName update subject name API
func (*Client) UpdateTeacherName ¶
func (a *Client) UpdateTeacherName(params *UpdateTeacherNameParams, opts ...ClientOption) (*UpdateTeacherNameOK, error)
UpdateTeacherName update teacher name API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { AddAccount(params *AddAccountParams, opts ...ClientOption) (*AddAccountCreated, error) AddClass(params *AddClassParams, opts ...ClientOption) (*AddClassCreated, error) AddOrRemoveStudent(params *AddOrRemoveStudentParams, opts ...ClientOption) (*AddOrRemoveStudentOK, error) AddStudent(params *AddStudentParams, opts ...ClientOption) (*AddStudentCreated, error) AddSubject(params *AddSubjectParams, opts ...ClientOption) (*AddSubjectCreated, error) AddTeacher(params *AddTeacherParams, opts ...ClientOption) (*AddTeacherCreated, error) AssignClass(params *AssignClassParams, opts ...ClientOption) (*AssignClassOK, error) AssignSubjectToStudent(params *AssignSubjectToStudentParams, opts ...ClientOption) (*AssignSubjectToStudentOK, error) AssignSubjectToTeacher(params *AssignSubjectToTeacherParams, opts ...ClientOption) (*AssignSubjectToTeacherOK, error) DeleteAccount(params *DeleteAccountParams, opts ...ClientOption) (*DeleteAccountNoContent, error) DeleteClass(params *DeleteClassParams, opts ...ClientOption) (*DeleteClassNoContent, error) DeleteStudent(params *DeleteStudentParams, opts ...ClientOption) (*DeleteStudentNoContent, error) DeleteSubject(params *DeleteSubjectParams, opts ...ClientOption) (*DeleteSubjectNoContent, error) DeleteTeacher(params *DeleteTeacherParams, opts ...ClientOption) (*DeleteTeacherNoContent, error) GetAccountByID(params *GetAccountByIDParams, opts ...ClientOption) (*GetAccountByIDOK, error) GetAccounts(params *GetAccountsParams, opts ...ClientOption) (*GetAccountsOK, error) GetClassByID(params *GetClassByIDParams, opts ...ClientOption) (*GetClassByIDOK, error) GetClassOfTeacher(params *GetClassOfTeacherParams, opts ...ClientOption) (*GetClassOfTeacherOK, error) GetClasses(params *GetClassesParams, opts ...ClientOption) (*GetClassesOK, error) GetClassesOfStudent(params *GetClassesOfStudentParams, opts ...ClientOption) (*GetClassesOfStudentOK, error) GetDefaultedStudentAccounts(params *GetDefaultedStudentAccountsParams, opts ...ClientOption) (*GetDefaultedStudentAccountsOK, error) GetStudentAccounts(params *GetStudentAccountsParams, opts ...ClientOption) (*GetStudentAccountsOK, error) GetStudentByID(params *GetStudentByIDParams, opts ...ClientOption) (*GetStudentByIDOK, error) GetStudents(params *GetStudentsParams, opts ...ClientOption) (*GetStudentsOK, error) GetStudentsOfClass(params *GetStudentsOfClassParams, opts ...ClientOption) (*GetStudentsOfClassOK, error) GetStudentsOfSubject(params *GetStudentsOfSubjectParams, opts ...ClientOption) (*GetStudentsOfSubjectOK, error) GetStudentsOfTeacher(params *GetStudentsOfTeacherParams, opts ...ClientOption) (*GetStudentsOfTeacherOK, error) GetSubjectByID(params *GetSubjectByIDParams, opts ...ClientOption) (*GetSubjectByIDOK, error) GetSubjects(params *GetSubjectsParams, opts ...ClientOption) (*GetSubjectsOK, error) GetSubjectsOfClass(params *GetSubjectsOfClassParams, opts ...ClientOption) (*GetSubjectsOfClassOK, error) GetSubjectsOfStudent(params *GetSubjectsOfStudentParams, opts ...ClientOption) (*GetSubjectsOfStudentOK, error) GetTeacherAccounts(params *GetTeacherAccountsParams, opts ...ClientOption) (*GetTeacherAccountsOK, error) GetTeacherByID(params *GetTeacherByIDParams, opts ...ClientOption) (*GetTeacherByIDOK, error) GetTeacherOfSubject(params *GetTeacherOfSubjectParams, opts ...ClientOption) (*GetTeacherOfSubjectOK, error) GetTeachers(params *GetTeachersParams, opts ...ClientOption) (*GetTeachersOK, error) GetTeachersOfClass(params *GetTeachersOfClassParams, opts ...ClientOption) (*GetTeachersOfClassOK, error) UpdateAccount(params *UpdateAccountParams, opts ...ClientOption) (*UpdateAccountOK, error) UpdateClassName(params *UpdateClassNameParams, opts ...ClientOption) (*UpdateClassNameOK, error) UpdateGPA(params *UpdateGPAParams, opts ...ClientOption) (*UpdateGPAOK, error) UpdateStudentName(params *UpdateStudentNameParams, opts ...ClientOption) (*UpdateStudentNameOK, error) UpdateSubjectName(params *UpdateSubjectNameParams, opts ...ClientOption) (*UpdateSubjectNameOK, error) UpdateTeacherName(params *UpdateTeacherNameParams, opts ...ClientOption) (*UpdateTeacherNameOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new operations API client.
type DeleteAccountInternalServerError ¶
type DeleteAccountInternalServerError struct { }
DeleteAccountInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewDeleteAccountInternalServerError ¶
func NewDeleteAccountInternalServerError() *DeleteAccountInternalServerError
NewDeleteAccountInternalServerError creates a DeleteAccountInternalServerError with default headers values
func (*DeleteAccountInternalServerError) Code ¶
func (o *DeleteAccountInternalServerError) Code() int
Code gets the status code for the delete account internal server error response
func (*DeleteAccountInternalServerError) Error ¶
func (o *DeleteAccountInternalServerError) Error() string
func (*DeleteAccountInternalServerError) IsClientError ¶
func (o *DeleteAccountInternalServerError) IsClientError() bool
IsClientError returns true when this delete account internal server error response has a 4xx status code
func (*DeleteAccountInternalServerError) IsCode ¶
func (o *DeleteAccountInternalServerError) IsCode(code int) bool
IsCode returns true when this delete account internal server error response a status code equal to that given
func (*DeleteAccountInternalServerError) IsRedirect ¶
func (o *DeleteAccountInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete account internal server error response has a 3xx status code
func (*DeleteAccountInternalServerError) IsServerError ¶
func (o *DeleteAccountInternalServerError) IsServerError() bool
IsServerError returns true when this delete account internal server error response has a 5xx status code
func (*DeleteAccountInternalServerError) IsSuccess ¶
func (o *DeleteAccountInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete account internal server error response has a 2xx status code
func (*DeleteAccountInternalServerError) String ¶
func (o *DeleteAccountInternalServerError) String() string
type DeleteAccountNoContent ¶
type DeleteAccountNoContent struct { }
DeleteAccountNoContent describes a response with status code 204, with default header values.
Account Deleted Successfully!
func NewDeleteAccountNoContent ¶
func NewDeleteAccountNoContent() *DeleteAccountNoContent
NewDeleteAccountNoContent creates a DeleteAccountNoContent with default headers values
func (*DeleteAccountNoContent) Code ¶
func (o *DeleteAccountNoContent) Code() int
Code gets the status code for the delete account no content response
func (*DeleteAccountNoContent) Error ¶
func (o *DeleteAccountNoContent) Error() string
func (*DeleteAccountNoContent) IsClientError ¶
func (o *DeleteAccountNoContent) IsClientError() bool
IsClientError returns true when this delete account no content response has a 4xx status code
func (*DeleteAccountNoContent) IsCode ¶
func (o *DeleteAccountNoContent) IsCode(code int) bool
IsCode returns true when this delete account no content response a status code equal to that given
func (*DeleteAccountNoContent) IsRedirect ¶
func (o *DeleteAccountNoContent) IsRedirect() bool
IsRedirect returns true when this delete account no content response has a 3xx status code
func (*DeleteAccountNoContent) IsServerError ¶
func (o *DeleteAccountNoContent) IsServerError() bool
IsServerError returns true when this delete account no content response has a 5xx status code
func (*DeleteAccountNoContent) IsSuccess ¶
func (o *DeleteAccountNoContent) IsSuccess() bool
IsSuccess returns true when this delete account no content response has a 2xx status code
func (*DeleteAccountNoContent) String ¶
func (o *DeleteAccountNoContent) String() string
type DeleteAccountNotFound ¶
type DeleteAccountNotFound struct { }
DeleteAccountNotFound describes a response with status code 404, with default header values.
Account not found
func NewDeleteAccountNotFound ¶
func NewDeleteAccountNotFound() *DeleteAccountNotFound
NewDeleteAccountNotFound creates a DeleteAccountNotFound with default headers values
func (*DeleteAccountNotFound) Code ¶
func (o *DeleteAccountNotFound) Code() int
Code gets the status code for the delete account not found response
func (*DeleteAccountNotFound) Error ¶
func (o *DeleteAccountNotFound) Error() string
func (*DeleteAccountNotFound) IsClientError ¶
func (o *DeleteAccountNotFound) IsClientError() bool
IsClientError returns true when this delete account not found response has a 4xx status code
func (*DeleteAccountNotFound) IsCode ¶
func (o *DeleteAccountNotFound) IsCode(code int) bool
IsCode returns true when this delete account not found response a status code equal to that given
func (*DeleteAccountNotFound) IsRedirect ¶
func (o *DeleteAccountNotFound) IsRedirect() bool
IsRedirect returns true when this delete account not found response has a 3xx status code
func (*DeleteAccountNotFound) IsServerError ¶
func (o *DeleteAccountNotFound) IsServerError() bool
IsServerError returns true when this delete account not found response has a 5xx status code
func (*DeleteAccountNotFound) IsSuccess ¶
func (o *DeleteAccountNotFound) IsSuccess() bool
IsSuccess returns true when this delete account not found response has a 2xx status code
func (*DeleteAccountNotFound) String ¶
func (o *DeleteAccountNotFound) String() string
type DeleteAccountParams ¶
type DeleteAccountParams struct { /* ID. ID of the Account */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAccountParams contains all the parameters to send to the API endpoint
for the delete account operation. Typically these are written to a http.Request.
func NewDeleteAccountParams ¶
func NewDeleteAccountParams() *DeleteAccountParams
NewDeleteAccountParams creates a new DeleteAccountParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteAccountParamsWithContext ¶
func NewDeleteAccountParamsWithContext(ctx context.Context) *DeleteAccountParams
NewDeleteAccountParamsWithContext creates a new DeleteAccountParams object with the ability to set a context for a request.
func NewDeleteAccountParamsWithHTTPClient ¶
func NewDeleteAccountParamsWithHTTPClient(client *http.Client) *DeleteAccountParams
NewDeleteAccountParamsWithHTTPClient creates a new DeleteAccountParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteAccountParamsWithTimeout ¶
func NewDeleteAccountParamsWithTimeout(timeout time.Duration) *DeleteAccountParams
NewDeleteAccountParamsWithTimeout creates a new DeleteAccountParams object with the ability to set a timeout on a request.
func (*DeleteAccountParams) SetContext ¶
func (o *DeleteAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the delete account params
func (*DeleteAccountParams) SetDefaults ¶
func (o *DeleteAccountParams) SetDefaults()
SetDefaults hydrates default values in the delete account params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAccountParams) SetHTTPClient ¶
func (o *DeleteAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete account params
func (*DeleteAccountParams) SetID ¶
func (o *DeleteAccountParams) SetID(id int64)
SetID adds the id to the delete account params
func (*DeleteAccountParams) SetTimeout ¶
func (o *DeleteAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete account params
func (*DeleteAccountParams) WithContext ¶
func (o *DeleteAccountParams) WithContext(ctx context.Context) *DeleteAccountParams
WithContext adds the context to the delete account params
func (*DeleteAccountParams) WithDefaults ¶
func (o *DeleteAccountParams) WithDefaults() *DeleteAccountParams
WithDefaults hydrates default values in the delete account params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAccountParams) WithHTTPClient ¶
func (o *DeleteAccountParams) WithHTTPClient(client *http.Client) *DeleteAccountParams
WithHTTPClient adds the HTTPClient to the delete account params
func (*DeleteAccountParams) WithID ¶
func (o *DeleteAccountParams) WithID(id int64) *DeleteAccountParams
WithID adds the id to the delete account params
func (*DeleteAccountParams) WithTimeout ¶
func (o *DeleteAccountParams) WithTimeout(timeout time.Duration) *DeleteAccountParams
WithTimeout adds the timeout to the delete account params
func (*DeleteAccountParams) WriteToRequest ¶
func (o *DeleteAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAccountReader ¶
type DeleteAccountReader struct {
// contains filtered or unexported fields
}
DeleteAccountReader is a Reader for the DeleteAccount structure.
func (*DeleteAccountReader) ReadResponse ¶
func (o *DeleteAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteClassInternalServerError ¶
type DeleteClassInternalServerError struct { }
DeleteClassInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewDeleteClassInternalServerError ¶
func NewDeleteClassInternalServerError() *DeleteClassInternalServerError
NewDeleteClassInternalServerError creates a DeleteClassInternalServerError with default headers values
func (*DeleteClassInternalServerError) Code ¶
func (o *DeleteClassInternalServerError) Code() int
Code gets the status code for the delete class internal server error response
func (*DeleteClassInternalServerError) Error ¶
func (o *DeleteClassInternalServerError) Error() string
func (*DeleteClassInternalServerError) IsClientError ¶
func (o *DeleteClassInternalServerError) IsClientError() bool
IsClientError returns true when this delete class internal server error response has a 4xx status code
func (*DeleteClassInternalServerError) IsCode ¶
func (o *DeleteClassInternalServerError) IsCode(code int) bool
IsCode returns true when this delete class internal server error response a status code equal to that given
func (*DeleteClassInternalServerError) IsRedirect ¶
func (o *DeleteClassInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete class internal server error response has a 3xx status code
func (*DeleteClassInternalServerError) IsServerError ¶
func (o *DeleteClassInternalServerError) IsServerError() bool
IsServerError returns true when this delete class internal server error response has a 5xx status code
func (*DeleteClassInternalServerError) IsSuccess ¶
func (o *DeleteClassInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete class internal server error response has a 2xx status code
func (*DeleteClassInternalServerError) String ¶
func (o *DeleteClassInternalServerError) String() string
type DeleteClassNoContent ¶
type DeleteClassNoContent struct { }
DeleteClassNoContent describes a response with status code 204, with default header values.
Class Deleted Successfully!
func NewDeleteClassNoContent ¶
func NewDeleteClassNoContent() *DeleteClassNoContent
NewDeleteClassNoContent creates a DeleteClassNoContent with default headers values
func (*DeleteClassNoContent) Code ¶
func (o *DeleteClassNoContent) Code() int
Code gets the status code for the delete class no content response
func (*DeleteClassNoContent) Error ¶
func (o *DeleteClassNoContent) Error() string
func (*DeleteClassNoContent) IsClientError ¶
func (o *DeleteClassNoContent) IsClientError() bool
IsClientError returns true when this delete class no content response has a 4xx status code
func (*DeleteClassNoContent) IsCode ¶
func (o *DeleteClassNoContent) IsCode(code int) bool
IsCode returns true when this delete class no content response a status code equal to that given
func (*DeleteClassNoContent) IsRedirect ¶
func (o *DeleteClassNoContent) IsRedirect() bool
IsRedirect returns true when this delete class no content response has a 3xx status code
func (*DeleteClassNoContent) IsServerError ¶
func (o *DeleteClassNoContent) IsServerError() bool
IsServerError returns true when this delete class no content response has a 5xx status code
func (*DeleteClassNoContent) IsSuccess ¶
func (o *DeleteClassNoContent) IsSuccess() bool
IsSuccess returns true when this delete class no content response has a 2xx status code
func (*DeleteClassNoContent) String ¶
func (o *DeleteClassNoContent) String() string
type DeleteClassNotFound ¶
type DeleteClassNotFound struct { }
DeleteClassNotFound describes a response with status code 404, with default header values.
Class not found
func NewDeleteClassNotFound ¶
func NewDeleteClassNotFound() *DeleteClassNotFound
NewDeleteClassNotFound creates a DeleteClassNotFound with default headers values
func (*DeleteClassNotFound) Code ¶
func (o *DeleteClassNotFound) Code() int
Code gets the status code for the delete class not found response
func (*DeleteClassNotFound) Error ¶
func (o *DeleteClassNotFound) Error() string
func (*DeleteClassNotFound) IsClientError ¶
func (o *DeleteClassNotFound) IsClientError() bool
IsClientError returns true when this delete class not found response has a 4xx status code
func (*DeleteClassNotFound) IsCode ¶
func (o *DeleteClassNotFound) IsCode(code int) bool
IsCode returns true when this delete class not found response a status code equal to that given
func (*DeleteClassNotFound) IsRedirect ¶
func (o *DeleteClassNotFound) IsRedirect() bool
IsRedirect returns true when this delete class not found response has a 3xx status code
func (*DeleteClassNotFound) IsServerError ¶
func (o *DeleteClassNotFound) IsServerError() bool
IsServerError returns true when this delete class not found response has a 5xx status code
func (*DeleteClassNotFound) IsSuccess ¶
func (o *DeleteClassNotFound) IsSuccess() bool
IsSuccess returns true when this delete class not found response has a 2xx status code
func (*DeleteClassNotFound) String ¶
func (o *DeleteClassNotFound) String() string
type DeleteClassParams ¶
type DeleteClassParams struct { /* ID. ID of the Class */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteClassParams contains all the parameters to send to the API endpoint
for the delete class operation. Typically these are written to a http.Request.
func NewDeleteClassParams ¶
func NewDeleteClassParams() *DeleteClassParams
NewDeleteClassParams creates a new DeleteClassParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteClassParamsWithContext ¶
func NewDeleteClassParamsWithContext(ctx context.Context) *DeleteClassParams
NewDeleteClassParamsWithContext creates a new DeleteClassParams object with the ability to set a context for a request.
func NewDeleteClassParamsWithHTTPClient ¶
func NewDeleteClassParamsWithHTTPClient(client *http.Client) *DeleteClassParams
NewDeleteClassParamsWithHTTPClient creates a new DeleteClassParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteClassParamsWithTimeout ¶
func NewDeleteClassParamsWithTimeout(timeout time.Duration) *DeleteClassParams
NewDeleteClassParamsWithTimeout creates a new DeleteClassParams object with the ability to set a timeout on a request.
func (*DeleteClassParams) SetContext ¶
func (o *DeleteClassParams) SetContext(ctx context.Context)
SetContext adds the context to the delete class params
func (*DeleteClassParams) SetDefaults ¶
func (o *DeleteClassParams) SetDefaults()
SetDefaults hydrates default values in the delete class params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteClassParams) SetHTTPClient ¶
func (o *DeleteClassParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete class params
func (*DeleteClassParams) SetID ¶
func (o *DeleteClassParams) SetID(id int64)
SetID adds the id to the delete class params
func (*DeleteClassParams) SetTimeout ¶
func (o *DeleteClassParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete class params
func (*DeleteClassParams) WithContext ¶
func (o *DeleteClassParams) WithContext(ctx context.Context) *DeleteClassParams
WithContext adds the context to the delete class params
func (*DeleteClassParams) WithDefaults ¶
func (o *DeleteClassParams) WithDefaults() *DeleteClassParams
WithDefaults hydrates default values in the delete class params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteClassParams) WithHTTPClient ¶
func (o *DeleteClassParams) WithHTTPClient(client *http.Client) *DeleteClassParams
WithHTTPClient adds the HTTPClient to the delete class params
func (*DeleteClassParams) WithID ¶
func (o *DeleteClassParams) WithID(id int64) *DeleteClassParams
WithID adds the id to the delete class params
func (*DeleteClassParams) WithTimeout ¶
func (o *DeleteClassParams) WithTimeout(timeout time.Duration) *DeleteClassParams
WithTimeout adds the timeout to the delete class params
func (*DeleteClassParams) WriteToRequest ¶
func (o *DeleteClassParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteClassReader ¶
type DeleteClassReader struct {
// contains filtered or unexported fields
}
DeleteClassReader is a Reader for the DeleteClass structure.
func (*DeleteClassReader) ReadResponse ¶
func (o *DeleteClassReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteStudentInternalServerError ¶
type DeleteStudentInternalServerError struct { }
DeleteStudentInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewDeleteStudentInternalServerError ¶
func NewDeleteStudentInternalServerError() *DeleteStudentInternalServerError
NewDeleteStudentInternalServerError creates a DeleteStudentInternalServerError with default headers values
func (*DeleteStudentInternalServerError) Code ¶
func (o *DeleteStudentInternalServerError) Code() int
Code gets the status code for the delete student internal server error response
func (*DeleteStudentInternalServerError) Error ¶
func (o *DeleteStudentInternalServerError) Error() string
func (*DeleteStudentInternalServerError) IsClientError ¶
func (o *DeleteStudentInternalServerError) IsClientError() bool
IsClientError returns true when this delete student internal server error response has a 4xx status code
func (*DeleteStudentInternalServerError) IsCode ¶
func (o *DeleteStudentInternalServerError) IsCode(code int) bool
IsCode returns true when this delete student internal server error response a status code equal to that given
func (*DeleteStudentInternalServerError) IsRedirect ¶
func (o *DeleteStudentInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete student internal server error response has a 3xx status code
func (*DeleteStudentInternalServerError) IsServerError ¶
func (o *DeleteStudentInternalServerError) IsServerError() bool
IsServerError returns true when this delete student internal server error response has a 5xx status code
func (*DeleteStudentInternalServerError) IsSuccess ¶
func (o *DeleteStudentInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete student internal server error response has a 2xx status code
func (*DeleteStudentInternalServerError) String ¶
func (o *DeleteStudentInternalServerError) String() string
type DeleteStudentNoContent ¶
type DeleteStudentNoContent struct { }
DeleteStudentNoContent describes a response with status code 204, with default header values.
Student Deleted Successfully!
func NewDeleteStudentNoContent ¶
func NewDeleteStudentNoContent() *DeleteStudentNoContent
NewDeleteStudentNoContent creates a DeleteStudentNoContent with default headers values
func (*DeleteStudentNoContent) Code ¶
func (o *DeleteStudentNoContent) Code() int
Code gets the status code for the delete student no content response
func (*DeleteStudentNoContent) Error ¶
func (o *DeleteStudentNoContent) Error() string
func (*DeleteStudentNoContent) IsClientError ¶
func (o *DeleteStudentNoContent) IsClientError() bool
IsClientError returns true when this delete student no content response has a 4xx status code
func (*DeleteStudentNoContent) IsCode ¶
func (o *DeleteStudentNoContent) IsCode(code int) bool
IsCode returns true when this delete student no content response a status code equal to that given
func (*DeleteStudentNoContent) IsRedirect ¶
func (o *DeleteStudentNoContent) IsRedirect() bool
IsRedirect returns true when this delete student no content response has a 3xx status code
func (*DeleteStudentNoContent) IsServerError ¶
func (o *DeleteStudentNoContent) IsServerError() bool
IsServerError returns true when this delete student no content response has a 5xx status code
func (*DeleteStudentNoContent) IsSuccess ¶
func (o *DeleteStudentNoContent) IsSuccess() bool
IsSuccess returns true when this delete student no content response has a 2xx status code
func (*DeleteStudentNoContent) String ¶
func (o *DeleteStudentNoContent) String() string
type DeleteStudentNotFound ¶
type DeleteStudentNotFound struct { }
DeleteStudentNotFound describes a response with status code 404, with default header values.
Student not found
func NewDeleteStudentNotFound ¶
func NewDeleteStudentNotFound() *DeleteStudentNotFound
NewDeleteStudentNotFound creates a DeleteStudentNotFound with default headers values
func (*DeleteStudentNotFound) Code ¶
func (o *DeleteStudentNotFound) Code() int
Code gets the status code for the delete student not found response
func (*DeleteStudentNotFound) Error ¶
func (o *DeleteStudentNotFound) Error() string
func (*DeleteStudentNotFound) IsClientError ¶
func (o *DeleteStudentNotFound) IsClientError() bool
IsClientError returns true when this delete student not found response has a 4xx status code
func (*DeleteStudentNotFound) IsCode ¶
func (o *DeleteStudentNotFound) IsCode(code int) bool
IsCode returns true when this delete student not found response a status code equal to that given
func (*DeleteStudentNotFound) IsRedirect ¶
func (o *DeleteStudentNotFound) IsRedirect() bool
IsRedirect returns true when this delete student not found response has a 3xx status code
func (*DeleteStudentNotFound) IsServerError ¶
func (o *DeleteStudentNotFound) IsServerError() bool
IsServerError returns true when this delete student not found response has a 5xx status code
func (*DeleteStudentNotFound) IsSuccess ¶
func (o *DeleteStudentNotFound) IsSuccess() bool
IsSuccess returns true when this delete student not found response has a 2xx status code
func (*DeleteStudentNotFound) String ¶
func (o *DeleteStudentNotFound) String() string
type DeleteStudentParams ¶
type DeleteStudentParams struct { /* ID. ID of the Student */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteStudentParams contains all the parameters to send to the API endpoint
for the delete student operation. Typically these are written to a http.Request.
func NewDeleteStudentParams ¶
func NewDeleteStudentParams() *DeleteStudentParams
NewDeleteStudentParams creates a new DeleteStudentParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteStudentParamsWithContext ¶
func NewDeleteStudentParamsWithContext(ctx context.Context) *DeleteStudentParams
NewDeleteStudentParamsWithContext creates a new DeleteStudentParams object with the ability to set a context for a request.
func NewDeleteStudentParamsWithHTTPClient ¶
func NewDeleteStudentParamsWithHTTPClient(client *http.Client) *DeleteStudentParams
NewDeleteStudentParamsWithHTTPClient creates a new DeleteStudentParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteStudentParamsWithTimeout ¶
func NewDeleteStudentParamsWithTimeout(timeout time.Duration) *DeleteStudentParams
NewDeleteStudentParamsWithTimeout creates a new DeleteStudentParams object with the ability to set a timeout on a request.
func (*DeleteStudentParams) SetContext ¶
func (o *DeleteStudentParams) SetContext(ctx context.Context)
SetContext adds the context to the delete student params
func (*DeleteStudentParams) SetDefaults ¶
func (o *DeleteStudentParams) SetDefaults()
SetDefaults hydrates default values in the delete student params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteStudentParams) SetHTTPClient ¶
func (o *DeleteStudentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete student params
func (*DeleteStudentParams) SetID ¶
func (o *DeleteStudentParams) SetID(id int64)
SetID adds the id to the delete student params
func (*DeleteStudentParams) SetTimeout ¶
func (o *DeleteStudentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete student params
func (*DeleteStudentParams) WithContext ¶
func (o *DeleteStudentParams) WithContext(ctx context.Context) *DeleteStudentParams
WithContext adds the context to the delete student params
func (*DeleteStudentParams) WithDefaults ¶
func (o *DeleteStudentParams) WithDefaults() *DeleteStudentParams
WithDefaults hydrates default values in the delete student params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteStudentParams) WithHTTPClient ¶
func (o *DeleteStudentParams) WithHTTPClient(client *http.Client) *DeleteStudentParams
WithHTTPClient adds the HTTPClient to the delete student params
func (*DeleteStudentParams) WithID ¶
func (o *DeleteStudentParams) WithID(id int64) *DeleteStudentParams
WithID adds the id to the delete student params
func (*DeleteStudentParams) WithTimeout ¶
func (o *DeleteStudentParams) WithTimeout(timeout time.Duration) *DeleteStudentParams
WithTimeout adds the timeout to the delete student params
func (*DeleteStudentParams) WriteToRequest ¶
func (o *DeleteStudentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteStudentReader ¶
type DeleteStudentReader struct {
// contains filtered or unexported fields
}
DeleteStudentReader is a Reader for the DeleteStudent structure.
func (*DeleteStudentReader) ReadResponse ¶
func (o *DeleteStudentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteSubjectInternalServerError ¶
type DeleteSubjectInternalServerError struct { }
DeleteSubjectInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewDeleteSubjectInternalServerError ¶
func NewDeleteSubjectInternalServerError() *DeleteSubjectInternalServerError
NewDeleteSubjectInternalServerError creates a DeleteSubjectInternalServerError with default headers values
func (*DeleteSubjectInternalServerError) Code ¶
func (o *DeleteSubjectInternalServerError) Code() int
Code gets the status code for the delete subject internal server error response
func (*DeleteSubjectInternalServerError) Error ¶
func (o *DeleteSubjectInternalServerError) Error() string
func (*DeleteSubjectInternalServerError) IsClientError ¶
func (o *DeleteSubjectInternalServerError) IsClientError() bool
IsClientError returns true when this delete subject internal server error response has a 4xx status code
func (*DeleteSubjectInternalServerError) IsCode ¶
func (o *DeleteSubjectInternalServerError) IsCode(code int) bool
IsCode returns true when this delete subject internal server error response a status code equal to that given
func (*DeleteSubjectInternalServerError) IsRedirect ¶
func (o *DeleteSubjectInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete subject internal server error response has a 3xx status code
func (*DeleteSubjectInternalServerError) IsServerError ¶
func (o *DeleteSubjectInternalServerError) IsServerError() bool
IsServerError returns true when this delete subject internal server error response has a 5xx status code
func (*DeleteSubjectInternalServerError) IsSuccess ¶
func (o *DeleteSubjectInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete subject internal server error response has a 2xx status code
func (*DeleteSubjectInternalServerError) String ¶
func (o *DeleteSubjectInternalServerError) String() string
type DeleteSubjectNoContent ¶
type DeleteSubjectNoContent struct { }
DeleteSubjectNoContent describes a response with status code 204, with default header values.
Subject Deleted Successfully!
func NewDeleteSubjectNoContent ¶
func NewDeleteSubjectNoContent() *DeleteSubjectNoContent
NewDeleteSubjectNoContent creates a DeleteSubjectNoContent with default headers values
func (*DeleteSubjectNoContent) Code ¶
func (o *DeleteSubjectNoContent) Code() int
Code gets the status code for the delete subject no content response
func (*DeleteSubjectNoContent) Error ¶
func (o *DeleteSubjectNoContent) Error() string
func (*DeleteSubjectNoContent) IsClientError ¶
func (o *DeleteSubjectNoContent) IsClientError() bool
IsClientError returns true when this delete subject no content response has a 4xx status code
func (*DeleteSubjectNoContent) IsCode ¶
func (o *DeleteSubjectNoContent) IsCode(code int) bool
IsCode returns true when this delete subject no content response a status code equal to that given
func (*DeleteSubjectNoContent) IsRedirect ¶
func (o *DeleteSubjectNoContent) IsRedirect() bool
IsRedirect returns true when this delete subject no content response has a 3xx status code
func (*DeleteSubjectNoContent) IsServerError ¶
func (o *DeleteSubjectNoContent) IsServerError() bool
IsServerError returns true when this delete subject no content response has a 5xx status code
func (*DeleteSubjectNoContent) IsSuccess ¶
func (o *DeleteSubjectNoContent) IsSuccess() bool
IsSuccess returns true when this delete subject no content response has a 2xx status code
func (*DeleteSubjectNoContent) String ¶
func (o *DeleteSubjectNoContent) String() string
type DeleteSubjectNotFound ¶
type DeleteSubjectNotFound struct { }
DeleteSubjectNotFound describes a response with status code 404, with default header values.
Subject not found
func NewDeleteSubjectNotFound ¶
func NewDeleteSubjectNotFound() *DeleteSubjectNotFound
NewDeleteSubjectNotFound creates a DeleteSubjectNotFound with default headers values
func (*DeleteSubjectNotFound) Code ¶
func (o *DeleteSubjectNotFound) Code() int
Code gets the status code for the delete subject not found response
func (*DeleteSubjectNotFound) Error ¶
func (o *DeleteSubjectNotFound) Error() string
func (*DeleteSubjectNotFound) IsClientError ¶
func (o *DeleteSubjectNotFound) IsClientError() bool
IsClientError returns true when this delete subject not found response has a 4xx status code
func (*DeleteSubjectNotFound) IsCode ¶
func (o *DeleteSubjectNotFound) IsCode(code int) bool
IsCode returns true when this delete subject not found response a status code equal to that given
func (*DeleteSubjectNotFound) IsRedirect ¶
func (o *DeleteSubjectNotFound) IsRedirect() bool
IsRedirect returns true when this delete subject not found response has a 3xx status code
func (*DeleteSubjectNotFound) IsServerError ¶
func (o *DeleteSubjectNotFound) IsServerError() bool
IsServerError returns true when this delete subject not found response has a 5xx status code
func (*DeleteSubjectNotFound) IsSuccess ¶
func (o *DeleteSubjectNotFound) IsSuccess() bool
IsSuccess returns true when this delete subject not found response has a 2xx status code
func (*DeleteSubjectNotFound) String ¶
func (o *DeleteSubjectNotFound) String() string
type DeleteSubjectParams ¶
type DeleteSubjectParams struct { /* ID. ID of the Subject */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSubjectParams contains all the parameters to send to the API endpoint
for the delete subject operation. Typically these are written to a http.Request.
func NewDeleteSubjectParams ¶
func NewDeleteSubjectParams() *DeleteSubjectParams
NewDeleteSubjectParams creates a new DeleteSubjectParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteSubjectParamsWithContext ¶
func NewDeleteSubjectParamsWithContext(ctx context.Context) *DeleteSubjectParams
NewDeleteSubjectParamsWithContext creates a new DeleteSubjectParams object with the ability to set a context for a request.
func NewDeleteSubjectParamsWithHTTPClient ¶
func NewDeleteSubjectParamsWithHTTPClient(client *http.Client) *DeleteSubjectParams
NewDeleteSubjectParamsWithHTTPClient creates a new DeleteSubjectParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteSubjectParamsWithTimeout ¶
func NewDeleteSubjectParamsWithTimeout(timeout time.Duration) *DeleteSubjectParams
NewDeleteSubjectParamsWithTimeout creates a new DeleteSubjectParams object with the ability to set a timeout on a request.
func (*DeleteSubjectParams) SetContext ¶
func (o *DeleteSubjectParams) SetContext(ctx context.Context)
SetContext adds the context to the delete subject params
func (*DeleteSubjectParams) SetDefaults ¶
func (o *DeleteSubjectParams) SetDefaults()
SetDefaults hydrates default values in the delete subject params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSubjectParams) SetHTTPClient ¶
func (o *DeleteSubjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete subject params
func (*DeleteSubjectParams) SetID ¶
func (o *DeleteSubjectParams) SetID(id int64)
SetID adds the id to the delete subject params
func (*DeleteSubjectParams) SetTimeout ¶
func (o *DeleteSubjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete subject params
func (*DeleteSubjectParams) WithContext ¶
func (o *DeleteSubjectParams) WithContext(ctx context.Context) *DeleteSubjectParams
WithContext adds the context to the delete subject params
func (*DeleteSubjectParams) WithDefaults ¶
func (o *DeleteSubjectParams) WithDefaults() *DeleteSubjectParams
WithDefaults hydrates default values in the delete subject params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSubjectParams) WithHTTPClient ¶
func (o *DeleteSubjectParams) WithHTTPClient(client *http.Client) *DeleteSubjectParams
WithHTTPClient adds the HTTPClient to the delete subject params
func (*DeleteSubjectParams) WithID ¶
func (o *DeleteSubjectParams) WithID(id int64) *DeleteSubjectParams
WithID adds the id to the delete subject params
func (*DeleteSubjectParams) WithTimeout ¶
func (o *DeleteSubjectParams) WithTimeout(timeout time.Duration) *DeleteSubjectParams
WithTimeout adds the timeout to the delete subject params
func (*DeleteSubjectParams) WriteToRequest ¶
func (o *DeleteSubjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSubjectReader ¶
type DeleteSubjectReader struct {
// contains filtered or unexported fields
}
DeleteSubjectReader is a Reader for the DeleteSubject structure.
func (*DeleteSubjectReader) ReadResponse ¶
func (o *DeleteSubjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteTeacherInternalServerError ¶
type DeleteTeacherInternalServerError struct { }
DeleteTeacherInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewDeleteTeacherInternalServerError ¶
func NewDeleteTeacherInternalServerError() *DeleteTeacherInternalServerError
NewDeleteTeacherInternalServerError creates a DeleteTeacherInternalServerError with default headers values
func (*DeleteTeacherInternalServerError) Code ¶
func (o *DeleteTeacherInternalServerError) Code() int
Code gets the status code for the delete teacher internal server error response
func (*DeleteTeacherInternalServerError) Error ¶
func (o *DeleteTeacherInternalServerError) Error() string
func (*DeleteTeacherInternalServerError) IsClientError ¶
func (o *DeleteTeacherInternalServerError) IsClientError() bool
IsClientError returns true when this delete teacher internal server error response has a 4xx status code
func (*DeleteTeacherInternalServerError) IsCode ¶
func (o *DeleteTeacherInternalServerError) IsCode(code int) bool
IsCode returns true when this delete teacher internal server error response a status code equal to that given
func (*DeleteTeacherInternalServerError) IsRedirect ¶
func (o *DeleteTeacherInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete teacher internal server error response has a 3xx status code
func (*DeleteTeacherInternalServerError) IsServerError ¶
func (o *DeleteTeacherInternalServerError) IsServerError() bool
IsServerError returns true when this delete teacher internal server error response has a 5xx status code
func (*DeleteTeacherInternalServerError) IsSuccess ¶
func (o *DeleteTeacherInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete teacher internal server error response has a 2xx status code
func (*DeleteTeacherInternalServerError) String ¶
func (o *DeleteTeacherInternalServerError) String() string
type DeleteTeacherNoContent ¶
type DeleteTeacherNoContent struct { }
DeleteTeacherNoContent describes a response with status code 204, with default header values.
Teacher Deleted Successfully!
func NewDeleteTeacherNoContent ¶
func NewDeleteTeacherNoContent() *DeleteTeacherNoContent
NewDeleteTeacherNoContent creates a DeleteTeacherNoContent with default headers values
func (*DeleteTeacherNoContent) Code ¶
func (o *DeleteTeacherNoContent) Code() int
Code gets the status code for the delete teacher no content response
func (*DeleteTeacherNoContent) Error ¶
func (o *DeleteTeacherNoContent) Error() string
func (*DeleteTeacherNoContent) IsClientError ¶
func (o *DeleteTeacherNoContent) IsClientError() bool
IsClientError returns true when this delete teacher no content response has a 4xx status code
func (*DeleteTeacherNoContent) IsCode ¶
func (o *DeleteTeacherNoContent) IsCode(code int) bool
IsCode returns true when this delete teacher no content response a status code equal to that given
func (*DeleteTeacherNoContent) IsRedirect ¶
func (o *DeleteTeacherNoContent) IsRedirect() bool
IsRedirect returns true when this delete teacher no content response has a 3xx status code
func (*DeleteTeacherNoContent) IsServerError ¶
func (o *DeleteTeacherNoContent) IsServerError() bool
IsServerError returns true when this delete teacher no content response has a 5xx status code
func (*DeleteTeacherNoContent) IsSuccess ¶
func (o *DeleteTeacherNoContent) IsSuccess() bool
IsSuccess returns true when this delete teacher no content response has a 2xx status code
func (*DeleteTeacherNoContent) String ¶
func (o *DeleteTeacherNoContent) String() string
type DeleteTeacherNotFound ¶
type DeleteTeacherNotFound struct { }
DeleteTeacherNotFound describes a response with status code 404, with default header values.
Teacher not found
func NewDeleteTeacherNotFound ¶
func NewDeleteTeacherNotFound() *DeleteTeacherNotFound
NewDeleteTeacherNotFound creates a DeleteTeacherNotFound with default headers values
func (*DeleteTeacherNotFound) Code ¶
func (o *DeleteTeacherNotFound) Code() int
Code gets the status code for the delete teacher not found response
func (*DeleteTeacherNotFound) Error ¶
func (o *DeleteTeacherNotFound) Error() string
func (*DeleteTeacherNotFound) IsClientError ¶
func (o *DeleteTeacherNotFound) IsClientError() bool
IsClientError returns true when this delete teacher not found response has a 4xx status code
func (*DeleteTeacherNotFound) IsCode ¶
func (o *DeleteTeacherNotFound) IsCode(code int) bool
IsCode returns true when this delete teacher not found response a status code equal to that given
func (*DeleteTeacherNotFound) IsRedirect ¶
func (o *DeleteTeacherNotFound) IsRedirect() bool
IsRedirect returns true when this delete teacher not found response has a 3xx status code
func (*DeleteTeacherNotFound) IsServerError ¶
func (o *DeleteTeacherNotFound) IsServerError() bool
IsServerError returns true when this delete teacher not found response has a 5xx status code
func (*DeleteTeacherNotFound) IsSuccess ¶
func (o *DeleteTeacherNotFound) IsSuccess() bool
IsSuccess returns true when this delete teacher not found response has a 2xx status code
func (*DeleteTeacherNotFound) String ¶
func (o *DeleteTeacherNotFound) String() string
type DeleteTeacherParams ¶
type DeleteTeacherParams struct { /* ID. ID of the Teacher */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteTeacherParams contains all the parameters to send to the API endpoint
for the delete teacher operation. Typically these are written to a http.Request.
func NewDeleteTeacherParams ¶
func NewDeleteTeacherParams() *DeleteTeacherParams
NewDeleteTeacherParams creates a new DeleteTeacherParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteTeacherParamsWithContext ¶
func NewDeleteTeacherParamsWithContext(ctx context.Context) *DeleteTeacherParams
NewDeleteTeacherParamsWithContext creates a new DeleteTeacherParams object with the ability to set a context for a request.
func NewDeleteTeacherParamsWithHTTPClient ¶
func NewDeleteTeacherParamsWithHTTPClient(client *http.Client) *DeleteTeacherParams
NewDeleteTeacherParamsWithHTTPClient creates a new DeleteTeacherParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteTeacherParamsWithTimeout ¶
func NewDeleteTeacherParamsWithTimeout(timeout time.Duration) *DeleteTeacherParams
NewDeleteTeacherParamsWithTimeout creates a new DeleteTeacherParams object with the ability to set a timeout on a request.
func (*DeleteTeacherParams) SetContext ¶
func (o *DeleteTeacherParams) SetContext(ctx context.Context)
SetContext adds the context to the delete teacher params
func (*DeleteTeacherParams) SetDefaults ¶
func (o *DeleteTeacherParams) SetDefaults()
SetDefaults hydrates default values in the delete teacher params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTeacherParams) SetHTTPClient ¶
func (o *DeleteTeacherParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete teacher params
func (*DeleteTeacherParams) SetID ¶
func (o *DeleteTeacherParams) SetID(id int64)
SetID adds the id to the delete teacher params
func (*DeleteTeacherParams) SetTimeout ¶
func (o *DeleteTeacherParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete teacher params
func (*DeleteTeacherParams) WithContext ¶
func (o *DeleteTeacherParams) WithContext(ctx context.Context) *DeleteTeacherParams
WithContext adds the context to the delete teacher params
func (*DeleteTeacherParams) WithDefaults ¶
func (o *DeleteTeacherParams) WithDefaults() *DeleteTeacherParams
WithDefaults hydrates default values in the delete teacher params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTeacherParams) WithHTTPClient ¶
func (o *DeleteTeacherParams) WithHTTPClient(client *http.Client) *DeleteTeacherParams
WithHTTPClient adds the HTTPClient to the delete teacher params
func (*DeleteTeacherParams) WithID ¶
func (o *DeleteTeacherParams) WithID(id int64) *DeleteTeacherParams
WithID adds the id to the delete teacher params
func (*DeleteTeacherParams) WithTimeout ¶
func (o *DeleteTeacherParams) WithTimeout(timeout time.Duration) *DeleteTeacherParams
WithTimeout adds the timeout to the delete teacher params
func (*DeleteTeacherParams) WriteToRequest ¶
func (o *DeleteTeacherParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteTeacherReader ¶
type DeleteTeacherReader struct {
// contains filtered or unexported fields
}
DeleteTeacherReader is a Reader for the DeleteTeacher structure.
func (*DeleteTeacherReader) ReadResponse ¶
func (o *DeleteTeacherReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAccountByIDInternalServerError ¶
type GetAccountByIDInternalServerError struct { }
GetAccountByIDInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetAccountByIDInternalServerError ¶
func NewGetAccountByIDInternalServerError() *GetAccountByIDInternalServerError
NewGetAccountByIDInternalServerError creates a GetAccountByIDInternalServerError with default headers values
func (*GetAccountByIDInternalServerError) Code ¶
func (o *GetAccountByIDInternalServerError) Code() int
Code gets the status code for the get account by Id internal server error response
func (*GetAccountByIDInternalServerError) Error ¶
func (o *GetAccountByIDInternalServerError) Error() string
func (*GetAccountByIDInternalServerError) IsClientError ¶
func (o *GetAccountByIDInternalServerError) IsClientError() bool
IsClientError returns true when this get account by Id internal server error response has a 4xx status code
func (*GetAccountByIDInternalServerError) IsCode ¶
func (o *GetAccountByIDInternalServerError) IsCode(code int) bool
IsCode returns true when this get account by Id internal server error response a status code equal to that given
func (*GetAccountByIDInternalServerError) IsRedirect ¶
func (o *GetAccountByIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this get account by Id internal server error response has a 3xx status code
func (*GetAccountByIDInternalServerError) IsServerError ¶
func (o *GetAccountByIDInternalServerError) IsServerError() bool
IsServerError returns true when this get account by Id internal server error response has a 5xx status code
func (*GetAccountByIDInternalServerError) IsSuccess ¶
func (o *GetAccountByIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this get account by Id internal server error response has a 2xx status code
func (*GetAccountByIDInternalServerError) String ¶
func (o *GetAccountByIDInternalServerError) String() string
type GetAccountByIDNotFound ¶
type GetAccountByIDNotFound struct { }
GetAccountByIDNotFound describes a response with status code 404, with default header values.
Account not found
func NewGetAccountByIDNotFound ¶
func NewGetAccountByIDNotFound() *GetAccountByIDNotFound
NewGetAccountByIDNotFound creates a GetAccountByIDNotFound with default headers values
func (*GetAccountByIDNotFound) Code ¶
func (o *GetAccountByIDNotFound) Code() int
Code gets the status code for the get account by Id not found response
func (*GetAccountByIDNotFound) Error ¶
func (o *GetAccountByIDNotFound) Error() string
func (*GetAccountByIDNotFound) IsClientError ¶
func (o *GetAccountByIDNotFound) IsClientError() bool
IsClientError returns true when this get account by Id not found response has a 4xx status code
func (*GetAccountByIDNotFound) IsCode ¶
func (o *GetAccountByIDNotFound) IsCode(code int) bool
IsCode returns true when this get account by Id not found response a status code equal to that given
func (*GetAccountByIDNotFound) IsRedirect ¶
func (o *GetAccountByIDNotFound) IsRedirect() bool
IsRedirect returns true when this get account by Id not found response has a 3xx status code
func (*GetAccountByIDNotFound) IsServerError ¶
func (o *GetAccountByIDNotFound) IsServerError() bool
IsServerError returns true when this get account by Id not found response has a 5xx status code
func (*GetAccountByIDNotFound) IsSuccess ¶
func (o *GetAccountByIDNotFound) IsSuccess() bool
IsSuccess returns true when this get account by Id not found response has a 2xx status code
func (*GetAccountByIDNotFound) String ¶
func (o *GetAccountByIDNotFound) String() string
type GetAccountByIDOK ¶
GetAccountByIDOK describes a response with status code 200, with default header values.
Account response
func NewGetAccountByIDOK ¶
func NewGetAccountByIDOK() *GetAccountByIDOK
NewGetAccountByIDOK creates a GetAccountByIDOK with default headers values
func (*GetAccountByIDOK) Code ¶
func (o *GetAccountByIDOK) Code() int
Code gets the status code for the get account by Id o k response
func (*GetAccountByIDOK) Error ¶
func (o *GetAccountByIDOK) Error() string
func (*GetAccountByIDOK) GetPayload ¶
func (o *GetAccountByIDOK) GetPayload() *models.Account
func (*GetAccountByIDOK) IsClientError ¶
func (o *GetAccountByIDOK) IsClientError() bool
IsClientError returns true when this get account by Id o k response has a 4xx status code
func (*GetAccountByIDOK) IsCode ¶
func (o *GetAccountByIDOK) IsCode(code int) bool
IsCode returns true when this get account by Id o k response a status code equal to that given
func (*GetAccountByIDOK) IsRedirect ¶
func (o *GetAccountByIDOK) IsRedirect() bool
IsRedirect returns true when this get account by Id o k response has a 3xx status code
func (*GetAccountByIDOK) IsServerError ¶
func (o *GetAccountByIDOK) IsServerError() bool
IsServerError returns true when this get account by Id o k response has a 5xx status code
func (*GetAccountByIDOK) IsSuccess ¶
func (o *GetAccountByIDOK) IsSuccess() bool
IsSuccess returns true when this get account by Id o k response has a 2xx status code
func (*GetAccountByIDOK) String ¶
func (o *GetAccountByIDOK) String() string
type GetAccountByIDParams ¶
type GetAccountByIDParams struct { /* ID. ID of the Account */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAccountByIDParams contains all the parameters to send to the API endpoint
for the get account by ID operation. Typically these are written to a http.Request.
func NewGetAccountByIDParams ¶
func NewGetAccountByIDParams() *GetAccountByIDParams
NewGetAccountByIDParams creates a new GetAccountByIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAccountByIDParamsWithContext ¶
func NewGetAccountByIDParamsWithContext(ctx context.Context) *GetAccountByIDParams
NewGetAccountByIDParamsWithContext creates a new GetAccountByIDParams object with the ability to set a context for a request.
func NewGetAccountByIDParamsWithHTTPClient ¶
func NewGetAccountByIDParamsWithHTTPClient(client *http.Client) *GetAccountByIDParams
NewGetAccountByIDParamsWithHTTPClient creates a new GetAccountByIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetAccountByIDParamsWithTimeout ¶
func NewGetAccountByIDParamsWithTimeout(timeout time.Duration) *GetAccountByIDParams
NewGetAccountByIDParamsWithTimeout creates a new GetAccountByIDParams object with the ability to set a timeout on a request.
func (*GetAccountByIDParams) SetContext ¶
func (o *GetAccountByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get account by ID params
func (*GetAccountByIDParams) SetDefaults ¶
func (o *GetAccountByIDParams) SetDefaults()
SetDefaults hydrates default values in the get account by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetAccountByIDParams) SetHTTPClient ¶
func (o *GetAccountByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get account by ID params
func (*GetAccountByIDParams) SetID ¶
func (o *GetAccountByIDParams) SetID(id int64)
SetID adds the id to the get account by ID params
func (*GetAccountByIDParams) SetTimeout ¶
func (o *GetAccountByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get account by ID params
func (*GetAccountByIDParams) WithContext ¶
func (o *GetAccountByIDParams) WithContext(ctx context.Context) *GetAccountByIDParams
WithContext adds the context to the get account by ID params
func (*GetAccountByIDParams) WithDefaults ¶
func (o *GetAccountByIDParams) WithDefaults() *GetAccountByIDParams
WithDefaults hydrates default values in the get account by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetAccountByIDParams) WithHTTPClient ¶
func (o *GetAccountByIDParams) WithHTTPClient(client *http.Client) *GetAccountByIDParams
WithHTTPClient adds the HTTPClient to the get account by ID params
func (*GetAccountByIDParams) WithID ¶
func (o *GetAccountByIDParams) WithID(id int64) *GetAccountByIDParams
WithID adds the id to the get account by ID params
func (*GetAccountByIDParams) WithTimeout ¶
func (o *GetAccountByIDParams) WithTimeout(timeout time.Duration) *GetAccountByIDParams
WithTimeout adds the timeout to the get account by ID params
func (*GetAccountByIDParams) WriteToRequest ¶
func (o *GetAccountByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAccountByIDReader ¶
type GetAccountByIDReader struct {
// contains filtered or unexported fields
}
GetAccountByIDReader is a Reader for the GetAccountByID structure.
func (*GetAccountByIDReader) ReadResponse ¶
func (o *GetAccountByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAccountsInternalServerError ¶
type GetAccountsInternalServerError struct { }
GetAccountsInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetAccountsInternalServerError ¶
func NewGetAccountsInternalServerError() *GetAccountsInternalServerError
NewGetAccountsInternalServerError creates a GetAccountsInternalServerError with default headers values
func (*GetAccountsInternalServerError) Code ¶
func (o *GetAccountsInternalServerError) Code() int
Code gets the status code for the get accounts internal server error response
func (*GetAccountsInternalServerError) Error ¶
func (o *GetAccountsInternalServerError) Error() string
func (*GetAccountsInternalServerError) IsClientError ¶
func (o *GetAccountsInternalServerError) IsClientError() bool
IsClientError returns true when this get accounts internal server error response has a 4xx status code
func (*GetAccountsInternalServerError) IsCode ¶
func (o *GetAccountsInternalServerError) IsCode(code int) bool
IsCode returns true when this get accounts internal server error response a status code equal to that given
func (*GetAccountsInternalServerError) IsRedirect ¶
func (o *GetAccountsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get accounts internal server error response has a 3xx status code
func (*GetAccountsInternalServerError) IsServerError ¶
func (o *GetAccountsInternalServerError) IsServerError() bool
IsServerError returns true when this get accounts internal server error response has a 5xx status code
func (*GetAccountsInternalServerError) IsSuccess ¶
func (o *GetAccountsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get accounts internal server error response has a 2xx status code
func (*GetAccountsInternalServerError) String ¶
func (o *GetAccountsInternalServerError) String() string
type GetAccountsNotFound ¶
type GetAccountsNotFound struct { }
GetAccountsNotFound describes a response with status code 404, with default header values.
Account not found
func NewGetAccountsNotFound ¶
func NewGetAccountsNotFound() *GetAccountsNotFound
NewGetAccountsNotFound creates a GetAccountsNotFound with default headers values
func (*GetAccountsNotFound) Code ¶
func (o *GetAccountsNotFound) Code() int
Code gets the status code for the get accounts not found response
func (*GetAccountsNotFound) Error ¶
func (o *GetAccountsNotFound) Error() string
func (*GetAccountsNotFound) IsClientError ¶
func (o *GetAccountsNotFound) IsClientError() bool
IsClientError returns true when this get accounts not found response has a 4xx status code
func (*GetAccountsNotFound) IsCode ¶
func (o *GetAccountsNotFound) IsCode(code int) bool
IsCode returns true when this get accounts not found response a status code equal to that given
func (*GetAccountsNotFound) IsRedirect ¶
func (o *GetAccountsNotFound) IsRedirect() bool
IsRedirect returns true when this get accounts not found response has a 3xx status code
func (*GetAccountsNotFound) IsServerError ¶
func (o *GetAccountsNotFound) IsServerError() bool
IsServerError returns true when this get accounts not found response has a 5xx status code
func (*GetAccountsNotFound) IsSuccess ¶
func (o *GetAccountsNotFound) IsSuccess() bool
IsSuccess returns true when this get accounts not found response has a 2xx status code
func (*GetAccountsNotFound) String ¶
func (o *GetAccountsNotFound) String() string
type GetAccountsOK ¶
GetAccountsOK describes a response with status code 200, with default header values.
Accounts' response
func NewGetAccountsOK ¶
func NewGetAccountsOK() *GetAccountsOK
NewGetAccountsOK creates a GetAccountsOK with default headers values
func (*GetAccountsOK) Code ¶
func (o *GetAccountsOK) Code() int
Code gets the status code for the get accounts o k response
func (*GetAccountsOK) Error ¶
func (o *GetAccountsOK) Error() string
func (*GetAccountsOK) GetPayload ¶
func (o *GetAccountsOK) GetPayload() []*models.Account
func (*GetAccountsOK) IsClientError ¶
func (o *GetAccountsOK) IsClientError() bool
IsClientError returns true when this get accounts o k response has a 4xx status code
func (*GetAccountsOK) IsCode ¶
func (o *GetAccountsOK) IsCode(code int) bool
IsCode returns true when this get accounts o k response a status code equal to that given
func (*GetAccountsOK) IsRedirect ¶
func (o *GetAccountsOK) IsRedirect() bool
IsRedirect returns true when this get accounts o k response has a 3xx status code
func (*GetAccountsOK) IsServerError ¶
func (o *GetAccountsOK) IsServerError() bool
IsServerError returns true when this get accounts o k response has a 5xx status code
func (*GetAccountsOK) IsSuccess ¶
func (o *GetAccountsOK) IsSuccess() bool
IsSuccess returns true when this get accounts o k response has a 2xx status code
func (*GetAccountsOK) String ¶
func (o *GetAccountsOK) String() string
type GetAccountsParams ¶
type GetAccountsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAccountsParams contains all the parameters to send to the API endpoint
for the get accounts operation. Typically these are written to a http.Request.
func NewGetAccountsParams ¶
func NewGetAccountsParams() *GetAccountsParams
NewGetAccountsParams creates a new GetAccountsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAccountsParamsWithContext ¶
func NewGetAccountsParamsWithContext(ctx context.Context) *GetAccountsParams
NewGetAccountsParamsWithContext creates a new GetAccountsParams object with the ability to set a context for a request.
func NewGetAccountsParamsWithHTTPClient ¶
func NewGetAccountsParamsWithHTTPClient(client *http.Client) *GetAccountsParams
NewGetAccountsParamsWithHTTPClient creates a new GetAccountsParams object with the ability to set a custom HTTPClient for a request.
func NewGetAccountsParamsWithTimeout ¶
func NewGetAccountsParamsWithTimeout(timeout time.Duration) *GetAccountsParams
NewGetAccountsParamsWithTimeout creates a new GetAccountsParams object with the ability to set a timeout on a request.
func (*GetAccountsParams) SetContext ¶
func (o *GetAccountsParams) SetContext(ctx context.Context)
SetContext adds the context to the get accounts params
func (*GetAccountsParams) SetDefaults ¶
func (o *GetAccountsParams) SetDefaults()
SetDefaults hydrates default values in the get accounts params (not the query body).
All values with no default are reset to their zero value.
func (*GetAccountsParams) SetHTTPClient ¶
func (o *GetAccountsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get accounts params
func (*GetAccountsParams) SetTimeout ¶
func (o *GetAccountsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get accounts params
func (*GetAccountsParams) WithContext ¶
func (o *GetAccountsParams) WithContext(ctx context.Context) *GetAccountsParams
WithContext adds the context to the get accounts params
func (*GetAccountsParams) WithDefaults ¶
func (o *GetAccountsParams) WithDefaults() *GetAccountsParams
WithDefaults hydrates default values in the get accounts params (not the query body).
All values with no default are reset to their zero value.
func (*GetAccountsParams) WithHTTPClient ¶
func (o *GetAccountsParams) WithHTTPClient(client *http.Client) *GetAccountsParams
WithHTTPClient adds the HTTPClient to the get accounts params
func (*GetAccountsParams) WithTimeout ¶
func (o *GetAccountsParams) WithTimeout(timeout time.Duration) *GetAccountsParams
WithTimeout adds the timeout to the get accounts params
func (*GetAccountsParams) WriteToRequest ¶
func (o *GetAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAccountsReader ¶
type GetAccountsReader struct {
// contains filtered or unexported fields
}
GetAccountsReader is a Reader for the GetAccounts structure.
func (*GetAccountsReader) ReadResponse ¶
func (o *GetAccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClassByIDInternalServerError ¶
type GetClassByIDInternalServerError struct { }
GetClassByIDInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetClassByIDInternalServerError ¶
func NewGetClassByIDInternalServerError() *GetClassByIDInternalServerError
NewGetClassByIDInternalServerError creates a GetClassByIDInternalServerError with default headers values
func (*GetClassByIDInternalServerError) Code ¶
func (o *GetClassByIDInternalServerError) Code() int
Code gets the status code for the get class by Id internal server error response
func (*GetClassByIDInternalServerError) Error ¶
func (o *GetClassByIDInternalServerError) Error() string
func (*GetClassByIDInternalServerError) IsClientError ¶
func (o *GetClassByIDInternalServerError) IsClientError() bool
IsClientError returns true when this get class by Id internal server error response has a 4xx status code
func (*GetClassByIDInternalServerError) IsCode ¶
func (o *GetClassByIDInternalServerError) IsCode(code int) bool
IsCode returns true when this get class by Id internal server error response a status code equal to that given
func (*GetClassByIDInternalServerError) IsRedirect ¶
func (o *GetClassByIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this get class by Id internal server error response has a 3xx status code
func (*GetClassByIDInternalServerError) IsServerError ¶
func (o *GetClassByIDInternalServerError) IsServerError() bool
IsServerError returns true when this get class by Id internal server error response has a 5xx status code
func (*GetClassByIDInternalServerError) IsSuccess ¶
func (o *GetClassByIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this get class by Id internal server error response has a 2xx status code
func (*GetClassByIDInternalServerError) String ¶
func (o *GetClassByIDInternalServerError) String() string
type GetClassByIDNotFound ¶
type GetClassByIDNotFound struct { }
GetClassByIDNotFound describes a response with status code 404, with default header values.
Class not found
func NewGetClassByIDNotFound ¶
func NewGetClassByIDNotFound() *GetClassByIDNotFound
NewGetClassByIDNotFound creates a GetClassByIDNotFound with default headers values
func (*GetClassByIDNotFound) Code ¶
func (o *GetClassByIDNotFound) Code() int
Code gets the status code for the get class by Id not found response
func (*GetClassByIDNotFound) Error ¶
func (o *GetClassByIDNotFound) Error() string
func (*GetClassByIDNotFound) IsClientError ¶
func (o *GetClassByIDNotFound) IsClientError() bool
IsClientError returns true when this get class by Id not found response has a 4xx status code
func (*GetClassByIDNotFound) IsCode ¶
func (o *GetClassByIDNotFound) IsCode(code int) bool
IsCode returns true when this get class by Id not found response a status code equal to that given
func (*GetClassByIDNotFound) IsRedirect ¶
func (o *GetClassByIDNotFound) IsRedirect() bool
IsRedirect returns true when this get class by Id not found response has a 3xx status code
func (*GetClassByIDNotFound) IsServerError ¶
func (o *GetClassByIDNotFound) IsServerError() bool
IsServerError returns true when this get class by Id not found response has a 5xx status code
func (*GetClassByIDNotFound) IsSuccess ¶
func (o *GetClassByIDNotFound) IsSuccess() bool
IsSuccess returns true when this get class by Id not found response has a 2xx status code
func (*GetClassByIDNotFound) String ¶
func (o *GetClassByIDNotFound) String() string
type GetClassByIDOK ¶
GetClassByIDOK describes a response with status code 200, with default header values.
Class response
func NewGetClassByIDOK ¶
func NewGetClassByIDOK() *GetClassByIDOK
NewGetClassByIDOK creates a GetClassByIDOK with default headers values
func (*GetClassByIDOK) Code ¶
func (o *GetClassByIDOK) Code() int
Code gets the status code for the get class by Id o k response
func (*GetClassByIDOK) Error ¶
func (o *GetClassByIDOK) Error() string
func (*GetClassByIDOK) GetPayload ¶
func (o *GetClassByIDOK) GetPayload() *models.Class
func (*GetClassByIDOK) IsClientError ¶
func (o *GetClassByIDOK) IsClientError() bool
IsClientError returns true when this get class by Id o k response has a 4xx status code
func (*GetClassByIDOK) IsCode ¶
func (o *GetClassByIDOK) IsCode(code int) bool
IsCode returns true when this get class by Id o k response a status code equal to that given
func (*GetClassByIDOK) IsRedirect ¶
func (o *GetClassByIDOK) IsRedirect() bool
IsRedirect returns true when this get class by Id o k response has a 3xx status code
func (*GetClassByIDOK) IsServerError ¶
func (o *GetClassByIDOK) IsServerError() bool
IsServerError returns true when this get class by Id o k response has a 5xx status code
func (*GetClassByIDOK) IsSuccess ¶
func (o *GetClassByIDOK) IsSuccess() bool
IsSuccess returns true when this get class by Id o k response has a 2xx status code
func (*GetClassByIDOK) String ¶
func (o *GetClassByIDOK) String() string
type GetClassByIDParams ¶
type GetClassByIDParams struct { /* ID. ID of the Class */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetClassByIDParams contains all the parameters to send to the API endpoint
for the get class by ID operation. Typically these are written to a http.Request.
func NewGetClassByIDParams ¶
func NewGetClassByIDParams() *GetClassByIDParams
NewGetClassByIDParams creates a new GetClassByIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetClassByIDParamsWithContext ¶
func NewGetClassByIDParamsWithContext(ctx context.Context) *GetClassByIDParams
NewGetClassByIDParamsWithContext creates a new GetClassByIDParams object with the ability to set a context for a request.
func NewGetClassByIDParamsWithHTTPClient ¶
func NewGetClassByIDParamsWithHTTPClient(client *http.Client) *GetClassByIDParams
NewGetClassByIDParamsWithHTTPClient creates a new GetClassByIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetClassByIDParamsWithTimeout ¶
func NewGetClassByIDParamsWithTimeout(timeout time.Duration) *GetClassByIDParams
NewGetClassByIDParamsWithTimeout creates a new GetClassByIDParams object with the ability to set a timeout on a request.
func (*GetClassByIDParams) SetContext ¶
func (o *GetClassByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get class by ID params
func (*GetClassByIDParams) SetDefaults ¶
func (o *GetClassByIDParams) SetDefaults()
SetDefaults hydrates default values in the get class by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetClassByIDParams) SetHTTPClient ¶
func (o *GetClassByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get class by ID params
func (*GetClassByIDParams) SetID ¶
func (o *GetClassByIDParams) SetID(id int64)
SetID adds the id to the get class by ID params
func (*GetClassByIDParams) SetTimeout ¶
func (o *GetClassByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get class by ID params
func (*GetClassByIDParams) WithContext ¶
func (o *GetClassByIDParams) WithContext(ctx context.Context) *GetClassByIDParams
WithContext adds the context to the get class by ID params
func (*GetClassByIDParams) WithDefaults ¶
func (o *GetClassByIDParams) WithDefaults() *GetClassByIDParams
WithDefaults hydrates default values in the get class by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetClassByIDParams) WithHTTPClient ¶
func (o *GetClassByIDParams) WithHTTPClient(client *http.Client) *GetClassByIDParams
WithHTTPClient adds the HTTPClient to the get class by ID params
func (*GetClassByIDParams) WithID ¶
func (o *GetClassByIDParams) WithID(id int64) *GetClassByIDParams
WithID adds the id to the get class by ID params
func (*GetClassByIDParams) WithTimeout ¶
func (o *GetClassByIDParams) WithTimeout(timeout time.Duration) *GetClassByIDParams
WithTimeout adds the timeout to the get class by ID params
func (*GetClassByIDParams) WriteToRequest ¶
func (o *GetClassByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClassByIDReader ¶
type GetClassByIDReader struct {
// contains filtered or unexported fields
}
GetClassByIDReader is a Reader for the GetClassByID structure.
func (*GetClassByIDReader) ReadResponse ¶
func (o *GetClassByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClassOfTeacherInternalServerError ¶
type GetClassOfTeacherInternalServerError struct { }
GetClassOfTeacherInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetClassOfTeacherInternalServerError ¶
func NewGetClassOfTeacherInternalServerError() *GetClassOfTeacherInternalServerError
NewGetClassOfTeacherInternalServerError creates a GetClassOfTeacherInternalServerError with default headers values
func (*GetClassOfTeacherInternalServerError) Code ¶
func (o *GetClassOfTeacherInternalServerError) Code() int
Code gets the status code for the get class of teacher internal server error response
func (*GetClassOfTeacherInternalServerError) Error ¶
func (o *GetClassOfTeacherInternalServerError) Error() string
func (*GetClassOfTeacherInternalServerError) IsClientError ¶
func (o *GetClassOfTeacherInternalServerError) IsClientError() bool
IsClientError returns true when this get class of teacher internal server error response has a 4xx status code
func (*GetClassOfTeacherInternalServerError) IsCode ¶
func (o *GetClassOfTeacherInternalServerError) IsCode(code int) bool
IsCode returns true when this get class of teacher internal server error response a status code equal to that given
func (*GetClassOfTeacherInternalServerError) IsRedirect ¶
func (o *GetClassOfTeacherInternalServerError) IsRedirect() bool
IsRedirect returns true when this get class of teacher internal server error response has a 3xx status code
func (*GetClassOfTeacherInternalServerError) IsServerError ¶
func (o *GetClassOfTeacherInternalServerError) IsServerError() bool
IsServerError returns true when this get class of teacher internal server error response has a 5xx status code
func (*GetClassOfTeacherInternalServerError) IsSuccess ¶
func (o *GetClassOfTeacherInternalServerError) IsSuccess() bool
IsSuccess returns true when this get class of teacher internal server error response has a 2xx status code
func (*GetClassOfTeacherInternalServerError) String ¶
func (o *GetClassOfTeacherInternalServerError) String() string
type GetClassOfTeacherNotFound ¶
type GetClassOfTeacherNotFound struct { }
GetClassOfTeacherNotFound describes a response with status code 404, with default header values.
Class not found
func NewGetClassOfTeacherNotFound ¶
func NewGetClassOfTeacherNotFound() *GetClassOfTeacherNotFound
NewGetClassOfTeacherNotFound creates a GetClassOfTeacherNotFound with default headers values
func (*GetClassOfTeacherNotFound) Code ¶
func (o *GetClassOfTeacherNotFound) Code() int
Code gets the status code for the get class of teacher not found response
func (*GetClassOfTeacherNotFound) Error ¶
func (o *GetClassOfTeacherNotFound) Error() string
func (*GetClassOfTeacherNotFound) IsClientError ¶
func (o *GetClassOfTeacherNotFound) IsClientError() bool
IsClientError returns true when this get class of teacher not found response has a 4xx status code
func (*GetClassOfTeacherNotFound) IsCode ¶
func (o *GetClassOfTeacherNotFound) IsCode(code int) bool
IsCode returns true when this get class of teacher not found response a status code equal to that given
func (*GetClassOfTeacherNotFound) IsRedirect ¶
func (o *GetClassOfTeacherNotFound) IsRedirect() bool
IsRedirect returns true when this get class of teacher not found response has a 3xx status code
func (*GetClassOfTeacherNotFound) IsServerError ¶
func (o *GetClassOfTeacherNotFound) IsServerError() bool
IsServerError returns true when this get class of teacher not found response has a 5xx status code
func (*GetClassOfTeacherNotFound) IsSuccess ¶
func (o *GetClassOfTeacherNotFound) IsSuccess() bool
IsSuccess returns true when this get class of teacher not found response has a 2xx status code
func (*GetClassOfTeacherNotFound) String ¶
func (o *GetClassOfTeacherNotFound) String() string
type GetClassOfTeacherOK ¶
GetClassOfTeacherOK describes a response with status code 200, with default header values.
Teacher's Class response
func NewGetClassOfTeacherOK ¶
func NewGetClassOfTeacherOK() *GetClassOfTeacherOK
NewGetClassOfTeacherOK creates a GetClassOfTeacherOK with default headers values
func (*GetClassOfTeacherOK) Code ¶
func (o *GetClassOfTeacherOK) Code() int
Code gets the status code for the get class of teacher o k response
func (*GetClassOfTeacherOK) Error ¶
func (o *GetClassOfTeacherOK) Error() string
func (*GetClassOfTeacherOK) GetPayload ¶
func (o *GetClassOfTeacherOK) GetPayload() *models.Class
func (*GetClassOfTeacherOK) IsClientError ¶
func (o *GetClassOfTeacherOK) IsClientError() bool
IsClientError returns true when this get class of teacher o k response has a 4xx status code
func (*GetClassOfTeacherOK) IsCode ¶
func (o *GetClassOfTeacherOK) IsCode(code int) bool
IsCode returns true when this get class of teacher o k response a status code equal to that given
func (*GetClassOfTeacherOK) IsRedirect ¶
func (o *GetClassOfTeacherOK) IsRedirect() bool
IsRedirect returns true when this get class of teacher o k response has a 3xx status code
func (*GetClassOfTeacherOK) IsServerError ¶
func (o *GetClassOfTeacherOK) IsServerError() bool
IsServerError returns true when this get class of teacher o k response has a 5xx status code
func (*GetClassOfTeacherOK) IsSuccess ¶
func (o *GetClassOfTeacherOK) IsSuccess() bool
IsSuccess returns true when this get class of teacher o k response has a 2xx status code
func (*GetClassOfTeacherOK) String ¶
func (o *GetClassOfTeacherOK) String() string
type GetClassOfTeacherParams ¶
type GetClassOfTeacherParams struct { /* ID. The ID of the Teacher */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetClassOfTeacherParams contains all the parameters to send to the API endpoint
for the get class of teacher operation. Typically these are written to a http.Request.
func NewGetClassOfTeacherParams ¶
func NewGetClassOfTeacherParams() *GetClassOfTeacherParams
NewGetClassOfTeacherParams creates a new GetClassOfTeacherParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetClassOfTeacherParamsWithContext ¶
func NewGetClassOfTeacherParamsWithContext(ctx context.Context) *GetClassOfTeacherParams
NewGetClassOfTeacherParamsWithContext creates a new GetClassOfTeacherParams object with the ability to set a context for a request.
func NewGetClassOfTeacherParamsWithHTTPClient ¶
func NewGetClassOfTeacherParamsWithHTTPClient(client *http.Client) *GetClassOfTeacherParams
NewGetClassOfTeacherParamsWithHTTPClient creates a new GetClassOfTeacherParams object with the ability to set a custom HTTPClient for a request.
func NewGetClassOfTeacherParamsWithTimeout ¶
func NewGetClassOfTeacherParamsWithTimeout(timeout time.Duration) *GetClassOfTeacherParams
NewGetClassOfTeacherParamsWithTimeout creates a new GetClassOfTeacherParams object with the ability to set a timeout on a request.
func (*GetClassOfTeacherParams) SetContext ¶
func (o *GetClassOfTeacherParams) SetContext(ctx context.Context)
SetContext adds the context to the get class of teacher params
func (*GetClassOfTeacherParams) SetDefaults ¶
func (o *GetClassOfTeacherParams) SetDefaults()
SetDefaults hydrates default values in the get class of teacher params (not the query body).
All values with no default are reset to their zero value.
func (*GetClassOfTeacherParams) SetHTTPClient ¶
func (o *GetClassOfTeacherParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get class of teacher params
func (*GetClassOfTeacherParams) SetID ¶
func (o *GetClassOfTeacherParams) SetID(id int64)
SetID adds the id to the get class of teacher params
func (*GetClassOfTeacherParams) SetTimeout ¶
func (o *GetClassOfTeacherParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get class of teacher params
func (*GetClassOfTeacherParams) WithContext ¶
func (o *GetClassOfTeacherParams) WithContext(ctx context.Context) *GetClassOfTeacherParams
WithContext adds the context to the get class of teacher params
func (*GetClassOfTeacherParams) WithDefaults ¶
func (o *GetClassOfTeacherParams) WithDefaults() *GetClassOfTeacherParams
WithDefaults hydrates default values in the get class of teacher params (not the query body).
All values with no default are reset to their zero value.
func (*GetClassOfTeacherParams) WithHTTPClient ¶
func (o *GetClassOfTeacherParams) WithHTTPClient(client *http.Client) *GetClassOfTeacherParams
WithHTTPClient adds the HTTPClient to the get class of teacher params
func (*GetClassOfTeacherParams) WithID ¶
func (o *GetClassOfTeacherParams) WithID(id int64) *GetClassOfTeacherParams
WithID adds the id to the get class of teacher params
func (*GetClassOfTeacherParams) WithTimeout ¶
func (o *GetClassOfTeacherParams) WithTimeout(timeout time.Duration) *GetClassOfTeacherParams
WithTimeout adds the timeout to the get class of teacher params
func (*GetClassOfTeacherParams) WriteToRequest ¶
func (o *GetClassOfTeacherParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClassOfTeacherReader ¶
type GetClassOfTeacherReader struct {
// contains filtered or unexported fields
}
GetClassOfTeacherReader is a Reader for the GetClassOfTeacher structure.
func (*GetClassOfTeacherReader) ReadResponse ¶
func (o *GetClassOfTeacherReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClassesInternalServerError ¶
type GetClassesInternalServerError struct { }
GetClassesInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetClassesInternalServerError ¶
func NewGetClassesInternalServerError() *GetClassesInternalServerError
NewGetClassesInternalServerError creates a GetClassesInternalServerError with default headers values
func (*GetClassesInternalServerError) Code ¶
func (o *GetClassesInternalServerError) Code() int
Code gets the status code for the get classes internal server error response
func (*GetClassesInternalServerError) Error ¶
func (o *GetClassesInternalServerError) Error() string
func (*GetClassesInternalServerError) IsClientError ¶
func (o *GetClassesInternalServerError) IsClientError() bool
IsClientError returns true when this get classes internal server error response has a 4xx status code
func (*GetClassesInternalServerError) IsCode ¶
func (o *GetClassesInternalServerError) IsCode(code int) bool
IsCode returns true when this get classes internal server error response a status code equal to that given
func (*GetClassesInternalServerError) IsRedirect ¶
func (o *GetClassesInternalServerError) IsRedirect() bool
IsRedirect returns true when this get classes internal server error response has a 3xx status code
func (*GetClassesInternalServerError) IsServerError ¶
func (o *GetClassesInternalServerError) IsServerError() bool
IsServerError returns true when this get classes internal server error response has a 5xx status code
func (*GetClassesInternalServerError) IsSuccess ¶
func (o *GetClassesInternalServerError) IsSuccess() bool
IsSuccess returns true when this get classes internal server error response has a 2xx status code
func (*GetClassesInternalServerError) String ¶
func (o *GetClassesInternalServerError) String() string
type GetClassesNotFound ¶
type GetClassesNotFound struct { }
GetClassesNotFound describes a response with status code 404, with default header values.
Class not found
func NewGetClassesNotFound ¶
func NewGetClassesNotFound() *GetClassesNotFound
NewGetClassesNotFound creates a GetClassesNotFound with default headers values
func (*GetClassesNotFound) Code ¶
func (o *GetClassesNotFound) Code() int
Code gets the status code for the get classes not found response
func (*GetClassesNotFound) Error ¶
func (o *GetClassesNotFound) Error() string
func (*GetClassesNotFound) IsClientError ¶
func (o *GetClassesNotFound) IsClientError() bool
IsClientError returns true when this get classes not found response has a 4xx status code
func (*GetClassesNotFound) IsCode ¶
func (o *GetClassesNotFound) IsCode(code int) bool
IsCode returns true when this get classes not found response a status code equal to that given
func (*GetClassesNotFound) IsRedirect ¶
func (o *GetClassesNotFound) IsRedirect() bool
IsRedirect returns true when this get classes not found response has a 3xx status code
func (*GetClassesNotFound) IsServerError ¶
func (o *GetClassesNotFound) IsServerError() bool
IsServerError returns true when this get classes not found response has a 5xx status code
func (*GetClassesNotFound) IsSuccess ¶
func (o *GetClassesNotFound) IsSuccess() bool
IsSuccess returns true when this get classes not found response has a 2xx status code
func (*GetClassesNotFound) String ¶
func (o *GetClassesNotFound) String() string
type GetClassesOK ¶
GetClassesOK describes a response with status code 200, with default header values.
Classes' response
func NewGetClassesOK ¶
func NewGetClassesOK() *GetClassesOK
NewGetClassesOK creates a GetClassesOK with default headers values
func (*GetClassesOK) Code ¶
func (o *GetClassesOK) Code() int
Code gets the status code for the get classes o k response
func (*GetClassesOK) Error ¶
func (o *GetClassesOK) Error() string
func (*GetClassesOK) GetPayload ¶
func (o *GetClassesOK) GetPayload() []*models.Class
func (*GetClassesOK) IsClientError ¶
func (o *GetClassesOK) IsClientError() bool
IsClientError returns true when this get classes o k response has a 4xx status code
func (*GetClassesOK) IsCode ¶
func (o *GetClassesOK) IsCode(code int) bool
IsCode returns true when this get classes o k response a status code equal to that given
func (*GetClassesOK) IsRedirect ¶
func (o *GetClassesOK) IsRedirect() bool
IsRedirect returns true when this get classes o k response has a 3xx status code
func (*GetClassesOK) IsServerError ¶
func (o *GetClassesOK) IsServerError() bool
IsServerError returns true when this get classes o k response has a 5xx status code
func (*GetClassesOK) IsSuccess ¶
func (o *GetClassesOK) IsSuccess() bool
IsSuccess returns true when this get classes o k response has a 2xx status code
func (*GetClassesOK) String ¶
func (o *GetClassesOK) String() string
type GetClassesOfStudentInternalServerError ¶
type GetClassesOfStudentInternalServerError struct { }
GetClassesOfStudentInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetClassesOfStudentInternalServerError ¶
func NewGetClassesOfStudentInternalServerError() *GetClassesOfStudentInternalServerError
NewGetClassesOfStudentInternalServerError creates a GetClassesOfStudentInternalServerError with default headers values
func (*GetClassesOfStudentInternalServerError) Code ¶
func (o *GetClassesOfStudentInternalServerError) Code() int
Code gets the status code for the get classes of student internal server error response
func (*GetClassesOfStudentInternalServerError) Error ¶
func (o *GetClassesOfStudentInternalServerError) Error() string
func (*GetClassesOfStudentInternalServerError) IsClientError ¶
func (o *GetClassesOfStudentInternalServerError) IsClientError() bool
IsClientError returns true when this get classes of student internal server error response has a 4xx status code
func (*GetClassesOfStudentInternalServerError) IsCode ¶
func (o *GetClassesOfStudentInternalServerError) IsCode(code int) bool
IsCode returns true when this get classes of student internal server error response a status code equal to that given
func (*GetClassesOfStudentInternalServerError) IsRedirect ¶
func (o *GetClassesOfStudentInternalServerError) IsRedirect() bool
IsRedirect returns true when this get classes of student internal server error response has a 3xx status code
func (*GetClassesOfStudentInternalServerError) IsServerError ¶
func (o *GetClassesOfStudentInternalServerError) IsServerError() bool
IsServerError returns true when this get classes of student internal server error response has a 5xx status code
func (*GetClassesOfStudentInternalServerError) IsSuccess ¶
func (o *GetClassesOfStudentInternalServerError) IsSuccess() bool
IsSuccess returns true when this get classes of student internal server error response has a 2xx status code
func (*GetClassesOfStudentInternalServerError) String ¶
func (o *GetClassesOfStudentInternalServerError) String() string
type GetClassesOfStudentNotFound ¶
type GetClassesOfStudentNotFound struct { }
GetClassesOfStudentNotFound describes a response with status code 404, with default header values.
Student not found
func NewGetClassesOfStudentNotFound ¶
func NewGetClassesOfStudentNotFound() *GetClassesOfStudentNotFound
NewGetClassesOfStudentNotFound creates a GetClassesOfStudentNotFound with default headers values
func (*GetClassesOfStudentNotFound) Code ¶
func (o *GetClassesOfStudentNotFound) Code() int
Code gets the status code for the get classes of student not found response
func (*GetClassesOfStudentNotFound) Error ¶
func (o *GetClassesOfStudentNotFound) Error() string
func (*GetClassesOfStudentNotFound) IsClientError ¶
func (o *GetClassesOfStudentNotFound) IsClientError() bool
IsClientError returns true when this get classes of student not found response has a 4xx status code
func (*GetClassesOfStudentNotFound) IsCode ¶
func (o *GetClassesOfStudentNotFound) IsCode(code int) bool
IsCode returns true when this get classes of student not found response a status code equal to that given
func (*GetClassesOfStudentNotFound) IsRedirect ¶
func (o *GetClassesOfStudentNotFound) IsRedirect() bool
IsRedirect returns true when this get classes of student not found response has a 3xx status code
func (*GetClassesOfStudentNotFound) IsServerError ¶
func (o *GetClassesOfStudentNotFound) IsServerError() bool
IsServerError returns true when this get classes of student not found response has a 5xx status code
func (*GetClassesOfStudentNotFound) IsSuccess ¶
func (o *GetClassesOfStudentNotFound) IsSuccess() bool
IsSuccess returns true when this get classes of student not found response has a 2xx status code
func (*GetClassesOfStudentNotFound) String ¶
func (o *GetClassesOfStudentNotFound) String() string
type GetClassesOfStudentOK ¶
GetClassesOfStudentOK describes a response with status code 200, with default header values.
Student's Class as response
func NewGetClassesOfStudentOK ¶
func NewGetClassesOfStudentOK() *GetClassesOfStudentOK
NewGetClassesOfStudentOK creates a GetClassesOfStudentOK with default headers values
func (*GetClassesOfStudentOK) Code ¶
func (o *GetClassesOfStudentOK) Code() int
Code gets the status code for the get classes of student o k response
func (*GetClassesOfStudentOK) Error ¶
func (o *GetClassesOfStudentOK) Error() string
func (*GetClassesOfStudentOK) GetPayload ¶
func (o *GetClassesOfStudentOK) GetPayload() []*models.Class
func (*GetClassesOfStudentOK) IsClientError ¶
func (o *GetClassesOfStudentOK) IsClientError() bool
IsClientError returns true when this get classes of student o k response has a 4xx status code
func (*GetClassesOfStudentOK) IsCode ¶
func (o *GetClassesOfStudentOK) IsCode(code int) bool
IsCode returns true when this get classes of student o k response a status code equal to that given
func (*GetClassesOfStudentOK) IsRedirect ¶
func (o *GetClassesOfStudentOK) IsRedirect() bool
IsRedirect returns true when this get classes of student o k response has a 3xx status code
func (*GetClassesOfStudentOK) IsServerError ¶
func (o *GetClassesOfStudentOK) IsServerError() bool
IsServerError returns true when this get classes of student o k response has a 5xx status code
func (*GetClassesOfStudentOK) IsSuccess ¶
func (o *GetClassesOfStudentOK) IsSuccess() bool
IsSuccess returns true when this get classes of student o k response has a 2xx status code
func (*GetClassesOfStudentOK) String ¶
func (o *GetClassesOfStudentOK) String() string
type GetClassesOfStudentParams ¶
type GetClassesOfStudentParams struct { /* ID. The ID of the Student */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetClassesOfStudentParams contains all the parameters to send to the API endpoint
for the get classes of student operation. Typically these are written to a http.Request.
func NewGetClassesOfStudentParams ¶
func NewGetClassesOfStudentParams() *GetClassesOfStudentParams
NewGetClassesOfStudentParams creates a new GetClassesOfStudentParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetClassesOfStudentParamsWithContext ¶
func NewGetClassesOfStudentParamsWithContext(ctx context.Context) *GetClassesOfStudentParams
NewGetClassesOfStudentParamsWithContext creates a new GetClassesOfStudentParams object with the ability to set a context for a request.
func NewGetClassesOfStudentParamsWithHTTPClient ¶
func NewGetClassesOfStudentParamsWithHTTPClient(client *http.Client) *GetClassesOfStudentParams
NewGetClassesOfStudentParamsWithHTTPClient creates a new GetClassesOfStudentParams object with the ability to set a custom HTTPClient for a request.
func NewGetClassesOfStudentParamsWithTimeout ¶
func NewGetClassesOfStudentParamsWithTimeout(timeout time.Duration) *GetClassesOfStudentParams
NewGetClassesOfStudentParamsWithTimeout creates a new GetClassesOfStudentParams object with the ability to set a timeout on a request.
func (*GetClassesOfStudentParams) SetContext ¶
func (o *GetClassesOfStudentParams) SetContext(ctx context.Context)
SetContext adds the context to the get classes of student params
func (*GetClassesOfStudentParams) SetDefaults ¶
func (o *GetClassesOfStudentParams) SetDefaults()
SetDefaults hydrates default values in the get classes of student params (not the query body).
All values with no default are reset to their zero value.
func (*GetClassesOfStudentParams) SetHTTPClient ¶
func (o *GetClassesOfStudentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get classes of student params
func (*GetClassesOfStudentParams) SetID ¶
func (o *GetClassesOfStudentParams) SetID(id int64)
SetID adds the id to the get classes of student params
func (*GetClassesOfStudentParams) SetTimeout ¶
func (o *GetClassesOfStudentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get classes of student params
func (*GetClassesOfStudentParams) WithContext ¶
func (o *GetClassesOfStudentParams) WithContext(ctx context.Context) *GetClassesOfStudentParams
WithContext adds the context to the get classes of student params
func (*GetClassesOfStudentParams) WithDefaults ¶
func (o *GetClassesOfStudentParams) WithDefaults() *GetClassesOfStudentParams
WithDefaults hydrates default values in the get classes of student params (not the query body).
All values with no default are reset to their zero value.
func (*GetClassesOfStudentParams) WithHTTPClient ¶
func (o *GetClassesOfStudentParams) WithHTTPClient(client *http.Client) *GetClassesOfStudentParams
WithHTTPClient adds the HTTPClient to the get classes of student params
func (*GetClassesOfStudentParams) WithID ¶
func (o *GetClassesOfStudentParams) WithID(id int64) *GetClassesOfStudentParams
WithID adds the id to the get classes of student params
func (*GetClassesOfStudentParams) WithTimeout ¶
func (o *GetClassesOfStudentParams) WithTimeout(timeout time.Duration) *GetClassesOfStudentParams
WithTimeout adds the timeout to the get classes of student params
func (*GetClassesOfStudentParams) WriteToRequest ¶
func (o *GetClassesOfStudentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClassesOfStudentReader ¶
type GetClassesOfStudentReader struct {
// contains filtered or unexported fields
}
GetClassesOfStudentReader is a Reader for the GetClassesOfStudent structure.
func (*GetClassesOfStudentReader) ReadResponse ¶
func (o *GetClassesOfStudentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClassesParams ¶
type GetClassesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetClassesParams contains all the parameters to send to the API endpoint
for the get classes operation. Typically these are written to a http.Request.
func NewGetClassesParams ¶
func NewGetClassesParams() *GetClassesParams
NewGetClassesParams creates a new GetClassesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetClassesParamsWithContext ¶
func NewGetClassesParamsWithContext(ctx context.Context) *GetClassesParams
NewGetClassesParamsWithContext creates a new GetClassesParams object with the ability to set a context for a request.
func NewGetClassesParamsWithHTTPClient ¶
func NewGetClassesParamsWithHTTPClient(client *http.Client) *GetClassesParams
NewGetClassesParamsWithHTTPClient creates a new GetClassesParams object with the ability to set a custom HTTPClient for a request.
func NewGetClassesParamsWithTimeout ¶
func NewGetClassesParamsWithTimeout(timeout time.Duration) *GetClassesParams
NewGetClassesParamsWithTimeout creates a new GetClassesParams object with the ability to set a timeout on a request.
func (*GetClassesParams) SetContext ¶
func (o *GetClassesParams) SetContext(ctx context.Context)
SetContext adds the context to the get classes params
func (*GetClassesParams) SetDefaults ¶
func (o *GetClassesParams) SetDefaults()
SetDefaults hydrates default values in the get classes params (not the query body).
All values with no default are reset to their zero value.
func (*GetClassesParams) SetHTTPClient ¶
func (o *GetClassesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get classes params
func (*GetClassesParams) SetTimeout ¶
func (o *GetClassesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get classes params
func (*GetClassesParams) WithContext ¶
func (o *GetClassesParams) WithContext(ctx context.Context) *GetClassesParams
WithContext adds the context to the get classes params
func (*GetClassesParams) WithDefaults ¶
func (o *GetClassesParams) WithDefaults() *GetClassesParams
WithDefaults hydrates default values in the get classes params (not the query body).
All values with no default are reset to their zero value.
func (*GetClassesParams) WithHTTPClient ¶
func (o *GetClassesParams) WithHTTPClient(client *http.Client) *GetClassesParams
WithHTTPClient adds the HTTPClient to the get classes params
func (*GetClassesParams) WithTimeout ¶
func (o *GetClassesParams) WithTimeout(timeout time.Duration) *GetClassesParams
WithTimeout adds the timeout to the get classes params
func (*GetClassesParams) WriteToRequest ¶
func (o *GetClassesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClassesReader ¶
type GetClassesReader struct {
// contains filtered or unexported fields
}
GetClassesReader is a Reader for the GetClasses structure.
func (*GetClassesReader) ReadResponse ¶
func (o *GetClassesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDefaultedStudentAccountsInternalServerError ¶
type GetDefaultedStudentAccountsInternalServerError struct { }
GetDefaultedStudentAccountsInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetDefaultedStudentAccountsInternalServerError ¶
func NewGetDefaultedStudentAccountsInternalServerError() *GetDefaultedStudentAccountsInternalServerError
NewGetDefaultedStudentAccountsInternalServerError creates a GetDefaultedStudentAccountsInternalServerError with default headers values
func (*GetDefaultedStudentAccountsInternalServerError) Code ¶
func (o *GetDefaultedStudentAccountsInternalServerError) Code() int
Code gets the status code for the get defaulted student accounts internal server error response
func (*GetDefaultedStudentAccountsInternalServerError) Error ¶
func (o *GetDefaultedStudentAccountsInternalServerError) Error() string
func (*GetDefaultedStudentAccountsInternalServerError) IsClientError ¶
func (o *GetDefaultedStudentAccountsInternalServerError) IsClientError() bool
IsClientError returns true when this get defaulted student accounts internal server error response has a 4xx status code
func (*GetDefaultedStudentAccountsInternalServerError) IsCode ¶
func (o *GetDefaultedStudentAccountsInternalServerError) IsCode(code int) bool
IsCode returns true when this get defaulted student accounts internal server error response a status code equal to that given
func (*GetDefaultedStudentAccountsInternalServerError) IsRedirect ¶
func (o *GetDefaultedStudentAccountsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get defaulted student accounts internal server error response has a 3xx status code
func (*GetDefaultedStudentAccountsInternalServerError) IsServerError ¶
func (o *GetDefaultedStudentAccountsInternalServerError) IsServerError() bool
IsServerError returns true when this get defaulted student accounts internal server error response has a 5xx status code
func (*GetDefaultedStudentAccountsInternalServerError) IsSuccess ¶
func (o *GetDefaultedStudentAccountsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get defaulted student accounts internal server error response has a 2xx status code
func (*GetDefaultedStudentAccountsInternalServerError) String ¶
func (o *GetDefaultedStudentAccountsInternalServerError) String() string
type GetDefaultedStudentAccountsNotFound ¶
type GetDefaultedStudentAccountsNotFound struct { }
GetDefaultedStudentAccountsNotFound describes a response with status code 404, with default header values.
Default Student Account not found
func NewGetDefaultedStudentAccountsNotFound ¶
func NewGetDefaultedStudentAccountsNotFound() *GetDefaultedStudentAccountsNotFound
NewGetDefaultedStudentAccountsNotFound creates a GetDefaultedStudentAccountsNotFound with default headers values
func (*GetDefaultedStudentAccountsNotFound) Code ¶
func (o *GetDefaultedStudentAccountsNotFound) Code() int
Code gets the status code for the get defaulted student accounts not found response
func (*GetDefaultedStudentAccountsNotFound) Error ¶
func (o *GetDefaultedStudentAccountsNotFound) Error() string
func (*GetDefaultedStudentAccountsNotFound) IsClientError ¶
func (o *GetDefaultedStudentAccountsNotFound) IsClientError() bool
IsClientError returns true when this get defaulted student accounts not found response has a 4xx status code
func (*GetDefaultedStudentAccountsNotFound) IsCode ¶
func (o *GetDefaultedStudentAccountsNotFound) IsCode(code int) bool
IsCode returns true when this get defaulted student accounts not found response a status code equal to that given
func (*GetDefaultedStudentAccountsNotFound) IsRedirect ¶
func (o *GetDefaultedStudentAccountsNotFound) IsRedirect() bool
IsRedirect returns true when this get defaulted student accounts not found response has a 3xx status code
func (*GetDefaultedStudentAccountsNotFound) IsServerError ¶
func (o *GetDefaultedStudentAccountsNotFound) IsServerError() bool
IsServerError returns true when this get defaulted student accounts not found response has a 5xx status code
func (*GetDefaultedStudentAccountsNotFound) IsSuccess ¶
func (o *GetDefaultedStudentAccountsNotFound) IsSuccess() bool
IsSuccess returns true when this get defaulted student accounts not found response has a 2xx status code
func (*GetDefaultedStudentAccountsNotFound) String ¶
func (o *GetDefaultedStudentAccountsNotFound) String() string
type GetDefaultedStudentAccountsOK ¶
GetDefaultedStudentAccountsOK describes a response with status code 200, with default header values.
Defaulted Student Accounts' response
func NewGetDefaultedStudentAccountsOK ¶
func NewGetDefaultedStudentAccountsOK() *GetDefaultedStudentAccountsOK
NewGetDefaultedStudentAccountsOK creates a GetDefaultedStudentAccountsOK with default headers values
func (*GetDefaultedStudentAccountsOK) Code ¶
func (o *GetDefaultedStudentAccountsOK) Code() int
Code gets the status code for the get defaulted student accounts o k response
func (*GetDefaultedStudentAccountsOK) Error ¶
func (o *GetDefaultedStudentAccountsOK) Error() string
func (*GetDefaultedStudentAccountsOK) GetPayload ¶
func (o *GetDefaultedStudentAccountsOK) GetPayload() []*models.Account
func (*GetDefaultedStudentAccountsOK) IsClientError ¶
func (o *GetDefaultedStudentAccountsOK) IsClientError() bool
IsClientError returns true when this get defaulted student accounts o k response has a 4xx status code
func (*GetDefaultedStudentAccountsOK) IsCode ¶
func (o *GetDefaultedStudentAccountsOK) IsCode(code int) bool
IsCode returns true when this get defaulted student accounts o k response a status code equal to that given
func (*GetDefaultedStudentAccountsOK) IsRedirect ¶
func (o *GetDefaultedStudentAccountsOK) IsRedirect() bool
IsRedirect returns true when this get defaulted student accounts o k response has a 3xx status code
func (*GetDefaultedStudentAccountsOK) IsServerError ¶
func (o *GetDefaultedStudentAccountsOK) IsServerError() bool
IsServerError returns true when this get defaulted student accounts o k response has a 5xx status code
func (*GetDefaultedStudentAccountsOK) IsSuccess ¶
func (o *GetDefaultedStudentAccountsOK) IsSuccess() bool
IsSuccess returns true when this get defaulted student accounts o k response has a 2xx status code
func (*GetDefaultedStudentAccountsOK) String ¶
func (o *GetDefaultedStudentAccountsOK) String() string
type GetDefaultedStudentAccountsParams ¶
type GetDefaultedStudentAccountsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDefaultedStudentAccountsParams contains all the parameters to send to the API endpoint
for the get defaulted student accounts operation. Typically these are written to a http.Request.
func NewGetDefaultedStudentAccountsParams ¶
func NewGetDefaultedStudentAccountsParams() *GetDefaultedStudentAccountsParams
NewGetDefaultedStudentAccountsParams creates a new GetDefaultedStudentAccountsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetDefaultedStudentAccountsParamsWithContext ¶
func NewGetDefaultedStudentAccountsParamsWithContext(ctx context.Context) *GetDefaultedStudentAccountsParams
NewGetDefaultedStudentAccountsParamsWithContext creates a new GetDefaultedStudentAccountsParams object with the ability to set a context for a request.
func NewGetDefaultedStudentAccountsParamsWithHTTPClient ¶
func NewGetDefaultedStudentAccountsParamsWithHTTPClient(client *http.Client) *GetDefaultedStudentAccountsParams
NewGetDefaultedStudentAccountsParamsWithHTTPClient creates a new GetDefaultedStudentAccountsParams object with the ability to set a custom HTTPClient for a request.
func NewGetDefaultedStudentAccountsParamsWithTimeout ¶
func NewGetDefaultedStudentAccountsParamsWithTimeout(timeout time.Duration) *GetDefaultedStudentAccountsParams
NewGetDefaultedStudentAccountsParamsWithTimeout creates a new GetDefaultedStudentAccountsParams object with the ability to set a timeout on a request.
func (*GetDefaultedStudentAccountsParams) SetContext ¶
func (o *GetDefaultedStudentAccountsParams) SetContext(ctx context.Context)
SetContext adds the context to the get defaulted student accounts params
func (*GetDefaultedStudentAccountsParams) SetDefaults ¶
func (o *GetDefaultedStudentAccountsParams) SetDefaults()
SetDefaults hydrates default values in the get defaulted student accounts params (not the query body).
All values with no default are reset to their zero value.
func (*GetDefaultedStudentAccountsParams) SetHTTPClient ¶
func (o *GetDefaultedStudentAccountsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get defaulted student accounts params
func (*GetDefaultedStudentAccountsParams) SetTimeout ¶
func (o *GetDefaultedStudentAccountsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get defaulted student accounts params
func (*GetDefaultedStudentAccountsParams) WithContext ¶
func (o *GetDefaultedStudentAccountsParams) WithContext(ctx context.Context) *GetDefaultedStudentAccountsParams
WithContext adds the context to the get defaulted student accounts params
func (*GetDefaultedStudentAccountsParams) WithDefaults ¶
func (o *GetDefaultedStudentAccountsParams) WithDefaults() *GetDefaultedStudentAccountsParams
WithDefaults hydrates default values in the get defaulted student accounts params (not the query body).
All values with no default are reset to their zero value.
func (*GetDefaultedStudentAccountsParams) WithHTTPClient ¶
func (o *GetDefaultedStudentAccountsParams) WithHTTPClient(client *http.Client) *GetDefaultedStudentAccountsParams
WithHTTPClient adds the HTTPClient to the get defaulted student accounts params
func (*GetDefaultedStudentAccountsParams) WithTimeout ¶
func (o *GetDefaultedStudentAccountsParams) WithTimeout(timeout time.Duration) *GetDefaultedStudentAccountsParams
WithTimeout adds the timeout to the get defaulted student accounts params
func (*GetDefaultedStudentAccountsParams) WriteToRequest ¶
func (o *GetDefaultedStudentAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDefaultedStudentAccountsReader ¶
type GetDefaultedStudentAccountsReader struct {
// contains filtered or unexported fields
}
GetDefaultedStudentAccountsReader is a Reader for the GetDefaultedStudentAccounts structure.
func (*GetDefaultedStudentAccountsReader) ReadResponse ¶
func (o *GetDefaultedStudentAccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetStudentAccountsInternalServerError ¶
type GetStudentAccountsInternalServerError struct { }
GetStudentAccountsInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetStudentAccountsInternalServerError ¶
func NewGetStudentAccountsInternalServerError() *GetStudentAccountsInternalServerError
NewGetStudentAccountsInternalServerError creates a GetStudentAccountsInternalServerError with default headers values
func (*GetStudentAccountsInternalServerError) Code ¶
func (o *GetStudentAccountsInternalServerError) Code() int
Code gets the status code for the get student accounts internal server error response
func (*GetStudentAccountsInternalServerError) Error ¶
func (o *GetStudentAccountsInternalServerError) Error() string
func (*GetStudentAccountsInternalServerError) IsClientError ¶
func (o *GetStudentAccountsInternalServerError) IsClientError() bool
IsClientError returns true when this get student accounts internal server error response has a 4xx status code
func (*GetStudentAccountsInternalServerError) IsCode ¶
func (o *GetStudentAccountsInternalServerError) IsCode(code int) bool
IsCode returns true when this get student accounts internal server error response a status code equal to that given
func (*GetStudentAccountsInternalServerError) IsRedirect ¶
func (o *GetStudentAccountsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get student accounts internal server error response has a 3xx status code
func (*GetStudentAccountsInternalServerError) IsServerError ¶
func (o *GetStudentAccountsInternalServerError) IsServerError() bool
IsServerError returns true when this get student accounts internal server error response has a 5xx status code
func (*GetStudentAccountsInternalServerError) IsSuccess ¶
func (o *GetStudentAccountsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get student accounts internal server error response has a 2xx status code
func (*GetStudentAccountsInternalServerError) String ¶
func (o *GetStudentAccountsInternalServerError) String() string
type GetStudentAccountsNotFound ¶
type GetStudentAccountsNotFound struct { }
GetStudentAccountsNotFound describes a response with status code 404, with default header values.
Student Account not found
func NewGetStudentAccountsNotFound ¶
func NewGetStudentAccountsNotFound() *GetStudentAccountsNotFound
NewGetStudentAccountsNotFound creates a GetStudentAccountsNotFound with default headers values
func (*GetStudentAccountsNotFound) Code ¶
func (o *GetStudentAccountsNotFound) Code() int
Code gets the status code for the get student accounts not found response
func (*GetStudentAccountsNotFound) Error ¶
func (o *GetStudentAccountsNotFound) Error() string
func (*GetStudentAccountsNotFound) IsClientError ¶
func (o *GetStudentAccountsNotFound) IsClientError() bool
IsClientError returns true when this get student accounts not found response has a 4xx status code
func (*GetStudentAccountsNotFound) IsCode ¶
func (o *GetStudentAccountsNotFound) IsCode(code int) bool
IsCode returns true when this get student accounts not found response a status code equal to that given
func (*GetStudentAccountsNotFound) IsRedirect ¶
func (o *GetStudentAccountsNotFound) IsRedirect() bool
IsRedirect returns true when this get student accounts not found response has a 3xx status code
func (*GetStudentAccountsNotFound) IsServerError ¶
func (o *GetStudentAccountsNotFound) IsServerError() bool
IsServerError returns true when this get student accounts not found response has a 5xx status code
func (*GetStudentAccountsNotFound) IsSuccess ¶
func (o *GetStudentAccountsNotFound) IsSuccess() bool
IsSuccess returns true when this get student accounts not found response has a 2xx status code
func (*GetStudentAccountsNotFound) String ¶
func (o *GetStudentAccountsNotFound) String() string
type GetStudentAccountsOK ¶
GetStudentAccountsOK describes a response with status code 200, with default header values.
Student Accounts' response
func NewGetStudentAccountsOK ¶
func NewGetStudentAccountsOK() *GetStudentAccountsOK
NewGetStudentAccountsOK creates a GetStudentAccountsOK with default headers values
func (*GetStudentAccountsOK) Code ¶
func (o *GetStudentAccountsOK) Code() int
Code gets the status code for the get student accounts o k response
func (*GetStudentAccountsOK) Error ¶
func (o *GetStudentAccountsOK) Error() string
func (*GetStudentAccountsOK) GetPayload ¶
func (o *GetStudentAccountsOK) GetPayload() []*models.Account
func (*GetStudentAccountsOK) IsClientError ¶
func (o *GetStudentAccountsOK) IsClientError() bool
IsClientError returns true when this get student accounts o k response has a 4xx status code
func (*GetStudentAccountsOK) IsCode ¶
func (o *GetStudentAccountsOK) IsCode(code int) bool
IsCode returns true when this get student accounts o k response a status code equal to that given
func (*GetStudentAccountsOK) IsRedirect ¶
func (o *GetStudentAccountsOK) IsRedirect() bool
IsRedirect returns true when this get student accounts o k response has a 3xx status code
func (*GetStudentAccountsOK) IsServerError ¶
func (o *GetStudentAccountsOK) IsServerError() bool
IsServerError returns true when this get student accounts o k response has a 5xx status code
func (*GetStudentAccountsOK) IsSuccess ¶
func (o *GetStudentAccountsOK) IsSuccess() bool
IsSuccess returns true when this get student accounts o k response has a 2xx status code
func (*GetStudentAccountsOK) String ¶
func (o *GetStudentAccountsOK) String() string
type GetStudentAccountsParams ¶
type GetStudentAccountsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetStudentAccountsParams contains all the parameters to send to the API endpoint
for the get student accounts operation. Typically these are written to a http.Request.
func NewGetStudentAccountsParams ¶
func NewGetStudentAccountsParams() *GetStudentAccountsParams
NewGetStudentAccountsParams creates a new GetStudentAccountsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetStudentAccountsParamsWithContext ¶
func NewGetStudentAccountsParamsWithContext(ctx context.Context) *GetStudentAccountsParams
NewGetStudentAccountsParamsWithContext creates a new GetStudentAccountsParams object with the ability to set a context for a request.
func NewGetStudentAccountsParamsWithHTTPClient ¶
func NewGetStudentAccountsParamsWithHTTPClient(client *http.Client) *GetStudentAccountsParams
NewGetStudentAccountsParamsWithHTTPClient creates a new GetStudentAccountsParams object with the ability to set a custom HTTPClient for a request.
func NewGetStudentAccountsParamsWithTimeout ¶
func NewGetStudentAccountsParamsWithTimeout(timeout time.Duration) *GetStudentAccountsParams
NewGetStudentAccountsParamsWithTimeout creates a new GetStudentAccountsParams object with the ability to set a timeout on a request.
func (*GetStudentAccountsParams) SetContext ¶
func (o *GetStudentAccountsParams) SetContext(ctx context.Context)
SetContext adds the context to the get student accounts params
func (*GetStudentAccountsParams) SetDefaults ¶
func (o *GetStudentAccountsParams) SetDefaults()
SetDefaults hydrates default values in the get student accounts params (not the query body).
All values with no default are reset to their zero value.
func (*GetStudentAccountsParams) SetHTTPClient ¶
func (o *GetStudentAccountsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get student accounts params
func (*GetStudentAccountsParams) SetTimeout ¶
func (o *GetStudentAccountsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get student accounts params
func (*GetStudentAccountsParams) WithContext ¶
func (o *GetStudentAccountsParams) WithContext(ctx context.Context) *GetStudentAccountsParams
WithContext adds the context to the get student accounts params
func (*GetStudentAccountsParams) WithDefaults ¶
func (o *GetStudentAccountsParams) WithDefaults() *GetStudentAccountsParams
WithDefaults hydrates default values in the get student accounts params (not the query body).
All values with no default are reset to their zero value.
func (*GetStudentAccountsParams) WithHTTPClient ¶
func (o *GetStudentAccountsParams) WithHTTPClient(client *http.Client) *GetStudentAccountsParams
WithHTTPClient adds the HTTPClient to the get student accounts params
func (*GetStudentAccountsParams) WithTimeout ¶
func (o *GetStudentAccountsParams) WithTimeout(timeout time.Duration) *GetStudentAccountsParams
WithTimeout adds the timeout to the get student accounts params
func (*GetStudentAccountsParams) WriteToRequest ¶
func (o *GetStudentAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetStudentAccountsReader ¶
type GetStudentAccountsReader struct {
// contains filtered or unexported fields
}
GetStudentAccountsReader is a Reader for the GetStudentAccounts structure.
func (*GetStudentAccountsReader) ReadResponse ¶
func (o *GetStudentAccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetStudentByIDInternalServerError ¶
type GetStudentByIDInternalServerError struct { }
GetStudentByIDInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetStudentByIDInternalServerError ¶
func NewGetStudentByIDInternalServerError() *GetStudentByIDInternalServerError
NewGetStudentByIDInternalServerError creates a GetStudentByIDInternalServerError with default headers values
func (*GetStudentByIDInternalServerError) Code ¶
func (o *GetStudentByIDInternalServerError) Code() int
Code gets the status code for the get student by Id internal server error response
func (*GetStudentByIDInternalServerError) Error ¶
func (o *GetStudentByIDInternalServerError) Error() string
func (*GetStudentByIDInternalServerError) IsClientError ¶
func (o *GetStudentByIDInternalServerError) IsClientError() bool
IsClientError returns true when this get student by Id internal server error response has a 4xx status code
func (*GetStudentByIDInternalServerError) IsCode ¶
func (o *GetStudentByIDInternalServerError) IsCode(code int) bool
IsCode returns true when this get student by Id internal server error response a status code equal to that given
func (*GetStudentByIDInternalServerError) IsRedirect ¶
func (o *GetStudentByIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this get student by Id internal server error response has a 3xx status code
func (*GetStudentByIDInternalServerError) IsServerError ¶
func (o *GetStudentByIDInternalServerError) IsServerError() bool
IsServerError returns true when this get student by Id internal server error response has a 5xx status code
func (*GetStudentByIDInternalServerError) IsSuccess ¶
func (o *GetStudentByIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this get student by Id internal server error response has a 2xx status code
func (*GetStudentByIDInternalServerError) String ¶
func (o *GetStudentByIDInternalServerError) String() string
type GetStudentByIDNotFound ¶
type GetStudentByIDNotFound struct { }
GetStudentByIDNotFound describes a response with status code 404, with default header values.
Student not found
func NewGetStudentByIDNotFound ¶
func NewGetStudentByIDNotFound() *GetStudentByIDNotFound
NewGetStudentByIDNotFound creates a GetStudentByIDNotFound with default headers values
func (*GetStudentByIDNotFound) Code ¶
func (o *GetStudentByIDNotFound) Code() int
Code gets the status code for the get student by Id not found response
func (*GetStudentByIDNotFound) Error ¶
func (o *GetStudentByIDNotFound) Error() string
func (*GetStudentByIDNotFound) IsClientError ¶
func (o *GetStudentByIDNotFound) IsClientError() bool
IsClientError returns true when this get student by Id not found response has a 4xx status code
func (*GetStudentByIDNotFound) IsCode ¶
func (o *GetStudentByIDNotFound) IsCode(code int) bool
IsCode returns true when this get student by Id not found response a status code equal to that given
func (*GetStudentByIDNotFound) IsRedirect ¶
func (o *GetStudentByIDNotFound) IsRedirect() bool
IsRedirect returns true when this get student by Id not found response has a 3xx status code
func (*GetStudentByIDNotFound) IsServerError ¶
func (o *GetStudentByIDNotFound) IsServerError() bool
IsServerError returns true when this get student by Id not found response has a 5xx status code
func (*GetStudentByIDNotFound) IsSuccess ¶
func (o *GetStudentByIDNotFound) IsSuccess() bool
IsSuccess returns true when this get student by Id not found response has a 2xx status code
func (*GetStudentByIDNotFound) String ¶
func (o *GetStudentByIDNotFound) String() string
type GetStudentByIDOK ¶
GetStudentByIDOK describes a response with status code 200, with default header values.
Student response
func NewGetStudentByIDOK ¶
func NewGetStudentByIDOK() *GetStudentByIDOK
NewGetStudentByIDOK creates a GetStudentByIDOK with default headers values
func (*GetStudentByIDOK) Code ¶
func (o *GetStudentByIDOK) Code() int
Code gets the status code for the get student by Id o k response
func (*GetStudentByIDOK) Error ¶
func (o *GetStudentByIDOK) Error() string
func (*GetStudentByIDOK) GetPayload ¶
func (o *GetStudentByIDOK) GetPayload() *models.Student
func (*GetStudentByIDOK) IsClientError ¶
func (o *GetStudentByIDOK) IsClientError() bool
IsClientError returns true when this get student by Id o k response has a 4xx status code
func (*GetStudentByIDOK) IsCode ¶
func (o *GetStudentByIDOK) IsCode(code int) bool
IsCode returns true when this get student by Id o k response a status code equal to that given
func (*GetStudentByIDOK) IsRedirect ¶
func (o *GetStudentByIDOK) IsRedirect() bool
IsRedirect returns true when this get student by Id o k response has a 3xx status code
func (*GetStudentByIDOK) IsServerError ¶
func (o *GetStudentByIDOK) IsServerError() bool
IsServerError returns true when this get student by Id o k response has a 5xx status code
func (*GetStudentByIDOK) IsSuccess ¶
func (o *GetStudentByIDOK) IsSuccess() bool
IsSuccess returns true when this get student by Id o k response has a 2xx status code
func (*GetStudentByIDOK) String ¶
func (o *GetStudentByIDOK) String() string
type GetStudentByIDParams ¶
type GetStudentByIDParams struct { /* ID. ID of the Student */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetStudentByIDParams contains all the parameters to send to the API endpoint
for the get student by ID operation. Typically these are written to a http.Request.
func NewGetStudentByIDParams ¶
func NewGetStudentByIDParams() *GetStudentByIDParams
NewGetStudentByIDParams creates a new GetStudentByIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetStudentByIDParamsWithContext ¶
func NewGetStudentByIDParamsWithContext(ctx context.Context) *GetStudentByIDParams
NewGetStudentByIDParamsWithContext creates a new GetStudentByIDParams object with the ability to set a context for a request.
func NewGetStudentByIDParamsWithHTTPClient ¶
func NewGetStudentByIDParamsWithHTTPClient(client *http.Client) *GetStudentByIDParams
NewGetStudentByIDParamsWithHTTPClient creates a new GetStudentByIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetStudentByIDParamsWithTimeout ¶
func NewGetStudentByIDParamsWithTimeout(timeout time.Duration) *GetStudentByIDParams
NewGetStudentByIDParamsWithTimeout creates a new GetStudentByIDParams object with the ability to set a timeout on a request.
func (*GetStudentByIDParams) SetContext ¶
func (o *GetStudentByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get student by ID params
func (*GetStudentByIDParams) SetDefaults ¶
func (o *GetStudentByIDParams) SetDefaults()
SetDefaults hydrates default values in the get student by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetStudentByIDParams) SetHTTPClient ¶
func (o *GetStudentByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get student by ID params
func (*GetStudentByIDParams) SetID ¶
func (o *GetStudentByIDParams) SetID(id int64)
SetID adds the id to the get student by ID params
func (*GetStudentByIDParams) SetTimeout ¶
func (o *GetStudentByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get student by ID params
func (*GetStudentByIDParams) WithContext ¶
func (o *GetStudentByIDParams) WithContext(ctx context.Context) *GetStudentByIDParams
WithContext adds the context to the get student by ID params
func (*GetStudentByIDParams) WithDefaults ¶
func (o *GetStudentByIDParams) WithDefaults() *GetStudentByIDParams
WithDefaults hydrates default values in the get student by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetStudentByIDParams) WithHTTPClient ¶
func (o *GetStudentByIDParams) WithHTTPClient(client *http.Client) *GetStudentByIDParams
WithHTTPClient adds the HTTPClient to the get student by ID params
func (*GetStudentByIDParams) WithID ¶
func (o *GetStudentByIDParams) WithID(id int64) *GetStudentByIDParams
WithID adds the id to the get student by ID params
func (*GetStudentByIDParams) WithTimeout ¶
func (o *GetStudentByIDParams) WithTimeout(timeout time.Duration) *GetStudentByIDParams
WithTimeout adds the timeout to the get student by ID params
func (*GetStudentByIDParams) WriteToRequest ¶
func (o *GetStudentByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetStudentByIDReader ¶
type GetStudentByIDReader struct {
// contains filtered or unexported fields
}
GetStudentByIDReader is a Reader for the GetStudentByID structure.
func (*GetStudentByIDReader) ReadResponse ¶
func (o *GetStudentByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetStudentsInternalServerError ¶
type GetStudentsInternalServerError struct { }
GetStudentsInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetStudentsInternalServerError ¶
func NewGetStudentsInternalServerError() *GetStudentsInternalServerError
NewGetStudentsInternalServerError creates a GetStudentsInternalServerError with default headers values
func (*GetStudentsInternalServerError) Code ¶
func (o *GetStudentsInternalServerError) Code() int
Code gets the status code for the get students internal server error response
func (*GetStudentsInternalServerError) Error ¶
func (o *GetStudentsInternalServerError) Error() string
func (*GetStudentsInternalServerError) IsClientError ¶
func (o *GetStudentsInternalServerError) IsClientError() bool
IsClientError returns true when this get students internal server error response has a 4xx status code
func (*GetStudentsInternalServerError) IsCode ¶
func (o *GetStudentsInternalServerError) IsCode(code int) bool
IsCode returns true when this get students internal server error response a status code equal to that given
func (*GetStudentsInternalServerError) IsRedirect ¶
func (o *GetStudentsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get students internal server error response has a 3xx status code
func (*GetStudentsInternalServerError) IsServerError ¶
func (o *GetStudentsInternalServerError) IsServerError() bool
IsServerError returns true when this get students internal server error response has a 5xx status code
func (*GetStudentsInternalServerError) IsSuccess ¶
func (o *GetStudentsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get students internal server error response has a 2xx status code
func (*GetStudentsInternalServerError) String ¶
func (o *GetStudentsInternalServerError) String() string
type GetStudentsNotFound ¶
type GetStudentsNotFound struct { }
GetStudentsNotFound describes a response with status code 404, with default header values.
Students not found
func NewGetStudentsNotFound ¶
func NewGetStudentsNotFound() *GetStudentsNotFound
NewGetStudentsNotFound creates a GetStudentsNotFound with default headers values
func (*GetStudentsNotFound) Code ¶
func (o *GetStudentsNotFound) Code() int
Code gets the status code for the get students not found response
func (*GetStudentsNotFound) Error ¶
func (o *GetStudentsNotFound) Error() string
func (*GetStudentsNotFound) IsClientError ¶
func (o *GetStudentsNotFound) IsClientError() bool
IsClientError returns true when this get students not found response has a 4xx status code
func (*GetStudentsNotFound) IsCode ¶
func (o *GetStudentsNotFound) IsCode(code int) bool
IsCode returns true when this get students not found response a status code equal to that given
func (*GetStudentsNotFound) IsRedirect ¶
func (o *GetStudentsNotFound) IsRedirect() bool
IsRedirect returns true when this get students not found response has a 3xx status code
func (*GetStudentsNotFound) IsServerError ¶
func (o *GetStudentsNotFound) IsServerError() bool
IsServerError returns true when this get students not found response has a 5xx status code
func (*GetStudentsNotFound) IsSuccess ¶
func (o *GetStudentsNotFound) IsSuccess() bool
IsSuccess returns true when this get students not found response has a 2xx status code
func (*GetStudentsNotFound) String ¶
func (o *GetStudentsNotFound) String() string
type GetStudentsOK ¶
GetStudentsOK describes a response with status code 200, with default header values.
Students' response
func NewGetStudentsOK ¶
func NewGetStudentsOK() *GetStudentsOK
NewGetStudentsOK creates a GetStudentsOK with default headers values
func (*GetStudentsOK) Code ¶
func (o *GetStudentsOK) Code() int
Code gets the status code for the get students o k response
func (*GetStudentsOK) Error ¶
func (o *GetStudentsOK) Error() string
func (*GetStudentsOK) GetPayload ¶
func (o *GetStudentsOK) GetPayload() []*models.Student
func (*GetStudentsOK) IsClientError ¶
func (o *GetStudentsOK) IsClientError() bool
IsClientError returns true when this get students o k response has a 4xx status code
func (*GetStudentsOK) IsCode ¶
func (o *GetStudentsOK) IsCode(code int) bool
IsCode returns true when this get students o k response a status code equal to that given
func (*GetStudentsOK) IsRedirect ¶
func (o *GetStudentsOK) IsRedirect() bool
IsRedirect returns true when this get students o k response has a 3xx status code
func (*GetStudentsOK) IsServerError ¶
func (o *GetStudentsOK) IsServerError() bool
IsServerError returns true when this get students o k response has a 5xx status code
func (*GetStudentsOK) IsSuccess ¶
func (o *GetStudentsOK) IsSuccess() bool
IsSuccess returns true when this get students o k response has a 2xx status code
func (*GetStudentsOK) String ¶
func (o *GetStudentsOK) String() string
type GetStudentsOfClassInternalServerError ¶
type GetStudentsOfClassInternalServerError struct { }
GetStudentsOfClassInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetStudentsOfClassInternalServerError ¶
func NewGetStudentsOfClassInternalServerError() *GetStudentsOfClassInternalServerError
NewGetStudentsOfClassInternalServerError creates a GetStudentsOfClassInternalServerError with default headers values
func (*GetStudentsOfClassInternalServerError) Code ¶
func (o *GetStudentsOfClassInternalServerError) Code() int
Code gets the status code for the get students of class internal server error response
func (*GetStudentsOfClassInternalServerError) Error ¶
func (o *GetStudentsOfClassInternalServerError) Error() string
func (*GetStudentsOfClassInternalServerError) IsClientError ¶
func (o *GetStudentsOfClassInternalServerError) IsClientError() bool
IsClientError returns true when this get students of class internal server error response has a 4xx status code
func (*GetStudentsOfClassInternalServerError) IsCode ¶
func (o *GetStudentsOfClassInternalServerError) IsCode(code int) bool
IsCode returns true when this get students of class internal server error response a status code equal to that given
func (*GetStudentsOfClassInternalServerError) IsRedirect ¶
func (o *GetStudentsOfClassInternalServerError) IsRedirect() bool
IsRedirect returns true when this get students of class internal server error response has a 3xx status code
func (*GetStudentsOfClassInternalServerError) IsServerError ¶
func (o *GetStudentsOfClassInternalServerError) IsServerError() bool
IsServerError returns true when this get students of class internal server error response has a 5xx status code
func (*GetStudentsOfClassInternalServerError) IsSuccess ¶
func (o *GetStudentsOfClassInternalServerError) IsSuccess() bool
IsSuccess returns true when this get students of class internal server error response has a 2xx status code
func (*GetStudentsOfClassInternalServerError) String ¶
func (o *GetStudentsOfClassInternalServerError) String() string
type GetStudentsOfClassNotFound ¶
type GetStudentsOfClassNotFound struct { }
GetStudentsOfClassNotFound describes a response with status code 404, with default header values.
Class not found
func NewGetStudentsOfClassNotFound ¶
func NewGetStudentsOfClassNotFound() *GetStudentsOfClassNotFound
NewGetStudentsOfClassNotFound creates a GetStudentsOfClassNotFound with default headers values
func (*GetStudentsOfClassNotFound) Code ¶
func (o *GetStudentsOfClassNotFound) Code() int
Code gets the status code for the get students of class not found response
func (*GetStudentsOfClassNotFound) Error ¶
func (o *GetStudentsOfClassNotFound) Error() string
func (*GetStudentsOfClassNotFound) IsClientError ¶
func (o *GetStudentsOfClassNotFound) IsClientError() bool
IsClientError returns true when this get students of class not found response has a 4xx status code
func (*GetStudentsOfClassNotFound) IsCode ¶
func (o *GetStudentsOfClassNotFound) IsCode(code int) bool
IsCode returns true when this get students of class not found response a status code equal to that given
func (*GetStudentsOfClassNotFound) IsRedirect ¶
func (o *GetStudentsOfClassNotFound) IsRedirect() bool
IsRedirect returns true when this get students of class not found response has a 3xx status code
func (*GetStudentsOfClassNotFound) IsServerError ¶
func (o *GetStudentsOfClassNotFound) IsServerError() bool
IsServerError returns true when this get students of class not found response has a 5xx status code
func (*GetStudentsOfClassNotFound) IsSuccess ¶
func (o *GetStudentsOfClassNotFound) IsSuccess() bool
IsSuccess returns true when this get students of class not found response has a 2xx status code
func (*GetStudentsOfClassNotFound) String ¶
func (o *GetStudentsOfClassNotFound) String() string
type GetStudentsOfClassOK ¶
GetStudentsOfClassOK describes a response with status code 200, with default header values.
Class' Students as response
func NewGetStudentsOfClassOK ¶
func NewGetStudentsOfClassOK() *GetStudentsOfClassOK
NewGetStudentsOfClassOK creates a GetStudentsOfClassOK with default headers values
func (*GetStudentsOfClassOK) Code ¶
func (o *GetStudentsOfClassOK) Code() int
Code gets the status code for the get students of class o k response
func (*GetStudentsOfClassOK) Error ¶
func (o *GetStudentsOfClassOK) Error() string
func (*GetStudentsOfClassOK) GetPayload ¶
func (o *GetStudentsOfClassOK) GetPayload() []*models.Student
func (*GetStudentsOfClassOK) IsClientError ¶
func (o *GetStudentsOfClassOK) IsClientError() bool
IsClientError returns true when this get students of class o k response has a 4xx status code
func (*GetStudentsOfClassOK) IsCode ¶
func (o *GetStudentsOfClassOK) IsCode(code int) bool
IsCode returns true when this get students of class o k response a status code equal to that given
func (*GetStudentsOfClassOK) IsRedirect ¶
func (o *GetStudentsOfClassOK) IsRedirect() bool
IsRedirect returns true when this get students of class o k response has a 3xx status code
func (*GetStudentsOfClassOK) IsServerError ¶
func (o *GetStudentsOfClassOK) IsServerError() bool
IsServerError returns true when this get students of class o k response has a 5xx status code
func (*GetStudentsOfClassOK) IsSuccess ¶
func (o *GetStudentsOfClassOK) IsSuccess() bool
IsSuccess returns true when this get students of class o k response has a 2xx status code
func (*GetStudentsOfClassOK) String ¶
func (o *GetStudentsOfClassOK) String() string
type GetStudentsOfClassParams ¶
type GetStudentsOfClassParams struct { /* ID. The ID of the Class */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetStudentsOfClassParams contains all the parameters to send to the API endpoint
for the get students of class operation. Typically these are written to a http.Request.
func NewGetStudentsOfClassParams ¶
func NewGetStudentsOfClassParams() *GetStudentsOfClassParams
NewGetStudentsOfClassParams creates a new GetStudentsOfClassParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetStudentsOfClassParamsWithContext ¶
func NewGetStudentsOfClassParamsWithContext(ctx context.Context) *GetStudentsOfClassParams
NewGetStudentsOfClassParamsWithContext creates a new GetStudentsOfClassParams object with the ability to set a context for a request.
func NewGetStudentsOfClassParamsWithHTTPClient ¶
func NewGetStudentsOfClassParamsWithHTTPClient(client *http.Client) *GetStudentsOfClassParams
NewGetStudentsOfClassParamsWithHTTPClient creates a new GetStudentsOfClassParams object with the ability to set a custom HTTPClient for a request.
func NewGetStudentsOfClassParamsWithTimeout ¶
func NewGetStudentsOfClassParamsWithTimeout(timeout time.Duration) *GetStudentsOfClassParams
NewGetStudentsOfClassParamsWithTimeout creates a new GetStudentsOfClassParams object with the ability to set a timeout on a request.
func (*GetStudentsOfClassParams) SetContext ¶
func (o *GetStudentsOfClassParams) SetContext(ctx context.Context)
SetContext adds the context to the get students of class params
func (*GetStudentsOfClassParams) SetDefaults ¶
func (o *GetStudentsOfClassParams) SetDefaults()
SetDefaults hydrates default values in the get students of class params (not the query body).
All values with no default are reset to their zero value.
func (*GetStudentsOfClassParams) SetHTTPClient ¶
func (o *GetStudentsOfClassParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get students of class params
func (*GetStudentsOfClassParams) SetID ¶
func (o *GetStudentsOfClassParams) SetID(id int64)
SetID adds the id to the get students of class params
func (*GetStudentsOfClassParams) SetTimeout ¶
func (o *GetStudentsOfClassParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get students of class params
func (*GetStudentsOfClassParams) WithContext ¶
func (o *GetStudentsOfClassParams) WithContext(ctx context.Context) *GetStudentsOfClassParams
WithContext adds the context to the get students of class params
func (*GetStudentsOfClassParams) WithDefaults ¶
func (o *GetStudentsOfClassParams) WithDefaults() *GetStudentsOfClassParams
WithDefaults hydrates default values in the get students of class params (not the query body).
All values with no default are reset to their zero value.
func (*GetStudentsOfClassParams) WithHTTPClient ¶
func (o *GetStudentsOfClassParams) WithHTTPClient(client *http.Client) *GetStudentsOfClassParams
WithHTTPClient adds the HTTPClient to the get students of class params
func (*GetStudentsOfClassParams) WithID ¶
func (o *GetStudentsOfClassParams) WithID(id int64) *GetStudentsOfClassParams
WithID adds the id to the get students of class params
func (*GetStudentsOfClassParams) WithTimeout ¶
func (o *GetStudentsOfClassParams) WithTimeout(timeout time.Duration) *GetStudentsOfClassParams
WithTimeout adds the timeout to the get students of class params
func (*GetStudentsOfClassParams) WriteToRequest ¶
func (o *GetStudentsOfClassParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetStudentsOfClassReader ¶
type GetStudentsOfClassReader struct {
// contains filtered or unexported fields
}
GetStudentsOfClassReader is a Reader for the GetStudentsOfClass structure.
func (*GetStudentsOfClassReader) ReadResponse ¶
func (o *GetStudentsOfClassReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetStudentsOfSubjectInternalServerError ¶
type GetStudentsOfSubjectInternalServerError struct { }
GetStudentsOfSubjectInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetStudentsOfSubjectInternalServerError ¶
func NewGetStudentsOfSubjectInternalServerError() *GetStudentsOfSubjectInternalServerError
NewGetStudentsOfSubjectInternalServerError creates a GetStudentsOfSubjectInternalServerError with default headers values
func (*GetStudentsOfSubjectInternalServerError) Code ¶
func (o *GetStudentsOfSubjectInternalServerError) Code() int
Code gets the status code for the get students of subject internal server error response
func (*GetStudentsOfSubjectInternalServerError) Error ¶
func (o *GetStudentsOfSubjectInternalServerError) Error() string
func (*GetStudentsOfSubjectInternalServerError) IsClientError ¶
func (o *GetStudentsOfSubjectInternalServerError) IsClientError() bool
IsClientError returns true when this get students of subject internal server error response has a 4xx status code
func (*GetStudentsOfSubjectInternalServerError) IsCode ¶
func (o *GetStudentsOfSubjectInternalServerError) IsCode(code int) bool
IsCode returns true when this get students of subject internal server error response a status code equal to that given
func (*GetStudentsOfSubjectInternalServerError) IsRedirect ¶
func (o *GetStudentsOfSubjectInternalServerError) IsRedirect() bool
IsRedirect returns true when this get students of subject internal server error response has a 3xx status code
func (*GetStudentsOfSubjectInternalServerError) IsServerError ¶
func (o *GetStudentsOfSubjectInternalServerError) IsServerError() bool
IsServerError returns true when this get students of subject internal server error response has a 5xx status code
func (*GetStudentsOfSubjectInternalServerError) IsSuccess ¶
func (o *GetStudentsOfSubjectInternalServerError) IsSuccess() bool
IsSuccess returns true when this get students of subject internal server error response has a 2xx status code
func (*GetStudentsOfSubjectInternalServerError) String ¶
func (o *GetStudentsOfSubjectInternalServerError) String() string
type GetStudentsOfSubjectNotFound ¶
type GetStudentsOfSubjectNotFound struct { }
GetStudentsOfSubjectNotFound describes a response with status code 404, with default header values.
Subject not found
func NewGetStudentsOfSubjectNotFound ¶
func NewGetStudentsOfSubjectNotFound() *GetStudentsOfSubjectNotFound
NewGetStudentsOfSubjectNotFound creates a GetStudentsOfSubjectNotFound with default headers values
func (*GetStudentsOfSubjectNotFound) Code ¶
func (o *GetStudentsOfSubjectNotFound) Code() int
Code gets the status code for the get students of subject not found response
func (*GetStudentsOfSubjectNotFound) Error ¶
func (o *GetStudentsOfSubjectNotFound) Error() string
func (*GetStudentsOfSubjectNotFound) IsClientError ¶
func (o *GetStudentsOfSubjectNotFound) IsClientError() bool
IsClientError returns true when this get students of subject not found response has a 4xx status code
func (*GetStudentsOfSubjectNotFound) IsCode ¶
func (o *GetStudentsOfSubjectNotFound) IsCode(code int) bool
IsCode returns true when this get students of subject not found response a status code equal to that given
func (*GetStudentsOfSubjectNotFound) IsRedirect ¶
func (o *GetStudentsOfSubjectNotFound) IsRedirect() bool
IsRedirect returns true when this get students of subject not found response has a 3xx status code
func (*GetStudentsOfSubjectNotFound) IsServerError ¶
func (o *GetStudentsOfSubjectNotFound) IsServerError() bool
IsServerError returns true when this get students of subject not found response has a 5xx status code
func (*GetStudentsOfSubjectNotFound) IsSuccess ¶
func (o *GetStudentsOfSubjectNotFound) IsSuccess() bool
IsSuccess returns true when this get students of subject not found response has a 2xx status code
func (*GetStudentsOfSubjectNotFound) String ¶
func (o *GetStudentsOfSubjectNotFound) String() string
type GetStudentsOfSubjectOK ¶
GetStudentsOfSubjectOK describes a response with status code 200, with default header values.
Subject's Students response
func NewGetStudentsOfSubjectOK ¶
func NewGetStudentsOfSubjectOK() *GetStudentsOfSubjectOK
NewGetStudentsOfSubjectOK creates a GetStudentsOfSubjectOK with default headers values
func (*GetStudentsOfSubjectOK) Code ¶
func (o *GetStudentsOfSubjectOK) Code() int
Code gets the status code for the get students of subject o k response
func (*GetStudentsOfSubjectOK) Error ¶
func (o *GetStudentsOfSubjectOK) Error() string
func (*GetStudentsOfSubjectOK) GetPayload ¶
func (o *GetStudentsOfSubjectOK) GetPayload() []*models.Student
func (*GetStudentsOfSubjectOK) IsClientError ¶
func (o *GetStudentsOfSubjectOK) IsClientError() bool
IsClientError returns true when this get students of subject o k response has a 4xx status code
func (*GetStudentsOfSubjectOK) IsCode ¶
func (o *GetStudentsOfSubjectOK) IsCode(code int) bool
IsCode returns true when this get students of subject o k response a status code equal to that given
func (*GetStudentsOfSubjectOK) IsRedirect ¶
func (o *GetStudentsOfSubjectOK) IsRedirect() bool
IsRedirect returns true when this get students of subject o k response has a 3xx status code
func (*GetStudentsOfSubjectOK) IsServerError ¶
func (o *GetStudentsOfSubjectOK) IsServerError() bool
IsServerError returns true when this get students of subject o k response has a 5xx status code
func (*GetStudentsOfSubjectOK) IsSuccess ¶
func (o *GetStudentsOfSubjectOK) IsSuccess() bool
IsSuccess returns true when this get students of subject o k response has a 2xx status code
func (*GetStudentsOfSubjectOK) String ¶
func (o *GetStudentsOfSubjectOK) String() string
type GetStudentsOfSubjectParams ¶
type GetStudentsOfSubjectParams struct { /* ID. The ID of the Subject */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetStudentsOfSubjectParams contains all the parameters to send to the API endpoint
for the get students of subject operation. Typically these are written to a http.Request.
func NewGetStudentsOfSubjectParams ¶
func NewGetStudentsOfSubjectParams() *GetStudentsOfSubjectParams
NewGetStudentsOfSubjectParams creates a new GetStudentsOfSubjectParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetStudentsOfSubjectParamsWithContext ¶
func NewGetStudentsOfSubjectParamsWithContext(ctx context.Context) *GetStudentsOfSubjectParams
NewGetStudentsOfSubjectParamsWithContext creates a new GetStudentsOfSubjectParams object with the ability to set a context for a request.
func NewGetStudentsOfSubjectParamsWithHTTPClient ¶
func NewGetStudentsOfSubjectParamsWithHTTPClient(client *http.Client) *GetStudentsOfSubjectParams
NewGetStudentsOfSubjectParamsWithHTTPClient creates a new GetStudentsOfSubjectParams object with the ability to set a custom HTTPClient for a request.
func NewGetStudentsOfSubjectParamsWithTimeout ¶
func NewGetStudentsOfSubjectParamsWithTimeout(timeout time.Duration) *GetStudentsOfSubjectParams
NewGetStudentsOfSubjectParamsWithTimeout creates a new GetStudentsOfSubjectParams object with the ability to set a timeout on a request.
func (*GetStudentsOfSubjectParams) SetContext ¶
func (o *GetStudentsOfSubjectParams) SetContext(ctx context.Context)
SetContext adds the context to the get students of subject params
func (*GetStudentsOfSubjectParams) SetDefaults ¶
func (o *GetStudentsOfSubjectParams) SetDefaults()
SetDefaults hydrates default values in the get students of subject params (not the query body).
All values with no default are reset to their zero value.
func (*GetStudentsOfSubjectParams) SetHTTPClient ¶
func (o *GetStudentsOfSubjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get students of subject params
func (*GetStudentsOfSubjectParams) SetID ¶
func (o *GetStudentsOfSubjectParams) SetID(id int64)
SetID adds the id to the get students of subject params
func (*GetStudentsOfSubjectParams) SetTimeout ¶
func (o *GetStudentsOfSubjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get students of subject params
func (*GetStudentsOfSubjectParams) WithContext ¶
func (o *GetStudentsOfSubjectParams) WithContext(ctx context.Context) *GetStudentsOfSubjectParams
WithContext adds the context to the get students of subject params
func (*GetStudentsOfSubjectParams) WithDefaults ¶
func (o *GetStudentsOfSubjectParams) WithDefaults() *GetStudentsOfSubjectParams
WithDefaults hydrates default values in the get students of subject params (not the query body).
All values with no default are reset to their zero value.
func (*GetStudentsOfSubjectParams) WithHTTPClient ¶
func (o *GetStudentsOfSubjectParams) WithHTTPClient(client *http.Client) *GetStudentsOfSubjectParams
WithHTTPClient adds the HTTPClient to the get students of subject params
func (*GetStudentsOfSubjectParams) WithID ¶
func (o *GetStudentsOfSubjectParams) WithID(id int64) *GetStudentsOfSubjectParams
WithID adds the id to the get students of subject params
func (*GetStudentsOfSubjectParams) WithTimeout ¶
func (o *GetStudentsOfSubjectParams) WithTimeout(timeout time.Duration) *GetStudentsOfSubjectParams
WithTimeout adds the timeout to the get students of subject params
func (*GetStudentsOfSubjectParams) WriteToRequest ¶
func (o *GetStudentsOfSubjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetStudentsOfSubjectReader ¶
type GetStudentsOfSubjectReader struct {
// contains filtered or unexported fields
}
GetStudentsOfSubjectReader is a Reader for the GetStudentsOfSubject structure.
func (*GetStudentsOfSubjectReader) ReadResponse ¶
func (o *GetStudentsOfSubjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetStudentsOfTeacherInternalServerError ¶
type GetStudentsOfTeacherInternalServerError struct { }
GetStudentsOfTeacherInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetStudentsOfTeacherInternalServerError ¶
func NewGetStudentsOfTeacherInternalServerError() *GetStudentsOfTeacherInternalServerError
NewGetStudentsOfTeacherInternalServerError creates a GetStudentsOfTeacherInternalServerError with default headers values
func (*GetStudentsOfTeacherInternalServerError) Code ¶
func (o *GetStudentsOfTeacherInternalServerError) Code() int
Code gets the status code for the get students of teacher internal server error response
func (*GetStudentsOfTeacherInternalServerError) Error ¶
func (o *GetStudentsOfTeacherInternalServerError) Error() string
func (*GetStudentsOfTeacherInternalServerError) IsClientError ¶
func (o *GetStudentsOfTeacherInternalServerError) IsClientError() bool
IsClientError returns true when this get students of teacher internal server error response has a 4xx status code
func (*GetStudentsOfTeacherInternalServerError) IsCode ¶
func (o *GetStudentsOfTeacherInternalServerError) IsCode(code int) bool
IsCode returns true when this get students of teacher internal server error response a status code equal to that given
func (*GetStudentsOfTeacherInternalServerError) IsRedirect ¶
func (o *GetStudentsOfTeacherInternalServerError) IsRedirect() bool
IsRedirect returns true when this get students of teacher internal server error response has a 3xx status code
func (*GetStudentsOfTeacherInternalServerError) IsServerError ¶
func (o *GetStudentsOfTeacherInternalServerError) IsServerError() bool
IsServerError returns true when this get students of teacher internal server error response has a 5xx status code
func (*GetStudentsOfTeacherInternalServerError) IsSuccess ¶
func (o *GetStudentsOfTeacherInternalServerError) IsSuccess() bool
IsSuccess returns true when this get students of teacher internal server error response has a 2xx status code
func (*GetStudentsOfTeacherInternalServerError) String ¶
func (o *GetStudentsOfTeacherInternalServerError) String() string
type GetStudentsOfTeacherNotFound ¶
type GetStudentsOfTeacherNotFound struct { }
GetStudentsOfTeacherNotFound describes a response with status code 404, with default header values.
Teacher not found
func NewGetStudentsOfTeacherNotFound ¶
func NewGetStudentsOfTeacherNotFound() *GetStudentsOfTeacherNotFound
NewGetStudentsOfTeacherNotFound creates a GetStudentsOfTeacherNotFound with default headers values
func (*GetStudentsOfTeacherNotFound) Code ¶
func (o *GetStudentsOfTeacherNotFound) Code() int
Code gets the status code for the get students of teacher not found response
func (*GetStudentsOfTeacherNotFound) Error ¶
func (o *GetStudentsOfTeacherNotFound) Error() string
func (*GetStudentsOfTeacherNotFound) IsClientError ¶
func (o *GetStudentsOfTeacherNotFound) IsClientError() bool
IsClientError returns true when this get students of teacher not found response has a 4xx status code
func (*GetStudentsOfTeacherNotFound) IsCode ¶
func (o *GetStudentsOfTeacherNotFound) IsCode(code int) bool
IsCode returns true when this get students of teacher not found response a status code equal to that given
func (*GetStudentsOfTeacherNotFound) IsRedirect ¶
func (o *GetStudentsOfTeacherNotFound) IsRedirect() bool
IsRedirect returns true when this get students of teacher not found response has a 3xx status code
func (*GetStudentsOfTeacherNotFound) IsServerError ¶
func (o *GetStudentsOfTeacherNotFound) IsServerError() bool
IsServerError returns true when this get students of teacher not found response has a 5xx status code
func (*GetStudentsOfTeacherNotFound) IsSuccess ¶
func (o *GetStudentsOfTeacherNotFound) IsSuccess() bool
IsSuccess returns true when this get students of teacher not found response has a 2xx status code
func (*GetStudentsOfTeacherNotFound) String ¶
func (o *GetStudentsOfTeacherNotFound) String() string
type GetStudentsOfTeacherOK ¶
GetStudentsOfTeacherOK describes a response with status code 200, with default header values.
Teacher's Students response
func NewGetStudentsOfTeacherOK ¶
func NewGetStudentsOfTeacherOK() *GetStudentsOfTeacherOK
NewGetStudentsOfTeacherOK creates a GetStudentsOfTeacherOK with default headers values
func (*GetStudentsOfTeacherOK) Code ¶
func (o *GetStudentsOfTeacherOK) Code() int
Code gets the status code for the get students of teacher o k response
func (*GetStudentsOfTeacherOK) Error ¶
func (o *GetStudentsOfTeacherOK) Error() string
func (*GetStudentsOfTeacherOK) GetPayload ¶
func (o *GetStudentsOfTeacherOK) GetPayload() []*models.Student
func (*GetStudentsOfTeacherOK) IsClientError ¶
func (o *GetStudentsOfTeacherOK) IsClientError() bool
IsClientError returns true when this get students of teacher o k response has a 4xx status code
func (*GetStudentsOfTeacherOK) IsCode ¶
func (o *GetStudentsOfTeacherOK) IsCode(code int) bool
IsCode returns true when this get students of teacher o k response a status code equal to that given
func (*GetStudentsOfTeacherOK) IsRedirect ¶
func (o *GetStudentsOfTeacherOK) IsRedirect() bool
IsRedirect returns true when this get students of teacher o k response has a 3xx status code
func (*GetStudentsOfTeacherOK) IsServerError ¶
func (o *GetStudentsOfTeacherOK) IsServerError() bool
IsServerError returns true when this get students of teacher o k response has a 5xx status code
func (*GetStudentsOfTeacherOK) IsSuccess ¶
func (o *GetStudentsOfTeacherOK) IsSuccess() bool
IsSuccess returns true when this get students of teacher o k response has a 2xx status code
func (*GetStudentsOfTeacherOK) String ¶
func (o *GetStudentsOfTeacherOK) String() string
type GetStudentsOfTeacherParams ¶
type GetStudentsOfTeacherParams struct { /* ID. The ID of the Teacher */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetStudentsOfTeacherParams contains all the parameters to send to the API endpoint
for the get students of teacher operation. Typically these are written to a http.Request.
func NewGetStudentsOfTeacherParams ¶
func NewGetStudentsOfTeacherParams() *GetStudentsOfTeacherParams
NewGetStudentsOfTeacherParams creates a new GetStudentsOfTeacherParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetStudentsOfTeacherParamsWithContext ¶
func NewGetStudentsOfTeacherParamsWithContext(ctx context.Context) *GetStudentsOfTeacherParams
NewGetStudentsOfTeacherParamsWithContext creates a new GetStudentsOfTeacherParams object with the ability to set a context for a request.
func NewGetStudentsOfTeacherParamsWithHTTPClient ¶
func NewGetStudentsOfTeacherParamsWithHTTPClient(client *http.Client) *GetStudentsOfTeacherParams
NewGetStudentsOfTeacherParamsWithHTTPClient creates a new GetStudentsOfTeacherParams object with the ability to set a custom HTTPClient for a request.
func NewGetStudentsOfTeacherParamsWithTimeout ¶
func NewGetStudentsOfTeacherParamsWithTimeout(timeout time.Duration) *GetStudentsOfTeacherParams
NewGetStudentsOfTeacherParamsWithTimeout creates a new GetStudentsOfTeacherParams object with the ability to set a timeout on a request.
func (*GetStudentsOfTeacherParams) SetContext ¶
func (o *GetStudentsOfTeacherParams) SetContext(ctx context.Context)
SetContext adds the context to the get students of teacher params
func (*GetStudentsOfTeacherParams) SetDefaults ¶
func (o *GetStudentsOfTeacherParams) SetDefaults()
SetDefaults hydrates default values in the get students of teacher params (not the query body).
All values with no default are reset to their zero value.
func (*GetStudentsOfTeacherParams) SetHTTPClient ¶
func (o *GetStudentsOfTeacherParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get students of teacher params
func (*GetStudentsOfTeacherParams) SetID ¶
func (o *GetStudentsOfTeacherParams) SetID(id int64)
SetID adds the id to the get students of teacher params
func (*GetStudentsOfTeacherParams) SetTimeout ¶
func (o *GetStudentsOfTeacherParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get students of teacher params
func (*GetStudentsOfTeacherParams) WithContext ¶
func (o *GetStudentsOfTeacherParams) WithContext(ctx context.Context) *GetStudentsOfTeacherParams
WithContext adds the context to the get students of teacher params
func (*GetStudentsOfTeacherParams) WithDefaults ¶
func (o *GetStudentsOfTeacherParams) WithDefaults() *GetStudentsOfTeacherParams
WithDefaults hydrates default values in the get students of teacher params (not the query body).
All values with no default are reset to their zero value.
func (*GetStudentsOfTeacherParams) WithHTTPClient ¶
func (o *GetStudentsOfTeacherParams) WithHTTPClient(client *http.Client) *GetStudentsOfTeacherParams
WithHTTPClient adds the HTTPClient to the get students of teacher params
func (*GetStudentsOfTeacherParams) WithID ¶
func (o *GetStudentsOfTeacherParams) WithID(id int64) *GetStudentsOfTeacherParams
WithID adds the id to the get students of teacher params
func (*GetStudentsOfTeacherParams) WithTimeout ¶
func (o *GetStudentsOfTeacherParams) WithTimeout(timeout time.Duration) *GetStudentsOfTeacherParams
WithTimeout adds the timeout to the get students of teacher params
func (*GetStudentsOfTeacherParams) WriteToRequest ¶
func (o *GetStudentsOfTeacherParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetStudentsOfTeacherReader ¶
type GetStudentsOfTeacherReader struct {
// contains filtered or unexported fields
}
GetStudentsOfTeacherReader is a Reader for the GetStudentsOfTeacher structure.
func (*GetStudentsOfTeacherReader) ReadResponse ¶
func (o *GetStudentsOfTeacherReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetStudentsParams ¶
type GetStudentsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetStudentsParams contains all the parameters to send to the API endpoint
for the get students operation. Typically these are written to a http.Request.
func NewGetStudentsParams ¶
func NewGetStudentsParams() *GetStudentsParams
NewGetStudentsParams creates a new GetStudentsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetStudentsParamsWithContext ¶
func NewGetStudentsParamsWithContext(ctx context.Context) *GetStudentsParams
NewGetStudentsParamsWithContext creates a new GetStudentsParams object with the ability to set a context for a request.
func NewGetStudentsParamsWithHTTPClient ¶
func NewGetStudentsParamsWithHTTPClient(client *http.Client) *GetStudentsParams
NewGetStudentsParamsWithHTTPClient creates a new GetStudentsParams object with the ability to set a custom HTTPClient for a request.
func NewGetStudentsParamsWithTimeout ¶
func NewGetStudentsParamsWithTimeout(timeout time.Duration) *GetStudentsParams
NewGetStudentsParamsWithTimeout creates a new GetStudentsParams object with the ability to set a timeout on a request.
func (*GetStudentsParams) SetContext ¶
func (o *GetStudentsParams) SetContext(ctx context.Context)
SetContext adds the context to the get students params
func (*GetStudentsParams) SetDefaults ¶
func (o *GetStudentsParams) SetDefaults()
SetDefaults hydrates default values in the get students params (not the query body).
All values with no default are reset to their zero value.
func (*GetStudentsParams) SetHTTPClient ¶
func (o *GetStudentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get students params
func (*GetStudentsParams) SetTimeout ¶
func (o *GetStudentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get students params
func (*GetStudentsParams) WithContext ¶
func (o *GetStudentsParams) WithContext(ctx context.Context) *GetStudentsParams
WithContext adds the context to the get students params
func (*GetStudentsParams) WithDefaults ¶
func (o *GetStudentsParams) WithDefaults() *GetStudentsParams
WithDefaults hydrates default values in the get students params (not the query body).
All values with no default are reset to their zero value.
func (*GetStudentsParams) WithHTTPClient ¶
func (o *GetStudentsParams) WithHTTPClient(client *http.Client) *GetStudentsParams
WithHTTPClient adds the HTTPClient to the get students params
func (*GetStudentsParams) WithTimeout ¶
func (o *GetStudentsParams) WithTimeout(timeout time.Duration) *GetStudentsParams
WithTimeout adds the timeout to the get students params
func (*GetStudentsParams) WriteToRequest ¶
func (o *GetStudentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetStudentsReader ¶
type GetStudentsReader struct {
// contains filtered or unexported fields
}
GetStudentsReader is a Reader for the GetStudents structure.
func (*GetStudentsReader) ReadResponse ¶
func (o *GetStudentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSubjectByIDInternalServerError ¶
type GetSubjectByIDInternalServerError struct { }
GetSubjectByIDInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetSubjectByIDInternalServerError ¶
func NewGetSubjectByIDInternalServerError() *GetSubjectByIDInternalServerError
NewGetSubjectByIDInternalServerError creates a GetSubjectByIDInternalServerError with default headers values
func (*GetSubjectByIDInternalServerError) Code ¶
func (o *GetSubjectByIDInternalServerError) Code() int
Code gets the status code for the get subject by Id internal server error response
func (*GetSubjectByIDInternalServerError) Error ¶
func (o *GetSubjectByIDInternalServerError) Error() string
func (*GetSubjectByIDInternalServerError) IsClientError ¶
func (o *GetSubjectByIDInternalServerError) IsClientError() bool
IsClientError returns true when this get subject by Id internal server error response has a 4xx status code
func (*GetSubjectByIDInternalServerError) IsCode ¶
func (o *GetSubjectByIDInternalServerError) IsCode(code int) bool
IsCode returns true when this get subject by Id internal server error response a status code equal to that given
func (*GetSubjectByIDInternalServerError) IsRedirect ¶
func (o *GetSubjectByIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this get subject by Id internal server error response has a 3xx status code
func (*GetSubjectByIDInternalServerError) IsServerError ¶
func (o *GetSubjectByIDInternalServerError) IsServerError() bool
IsServerError returns true when this get subject by Id internal server error response has a 5xx status code
func (*GetSubjectByIDInternalServerError) IsSuccess ¶
func (o *GetSubjectByIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this get subject by Id internal server error response has a 2xx status code
func (*GetSubjectByIDInternalServerError) String ¶
func (o *GetSubjectByIDInternalServerError) String() string
type GetSubjectByIDNotFound ¶
type GetSubjectByIDNotFound struct { }
GetSubjectByIDNotFound describes a response with status code 404, with default header values.
Subject not found
func NewGetSubjectByIDNotFound ¶
func NewGetSubjectByIDNotFound() *GetSubjectByIDNotFound
NewGetSubjectByIDNotFound creates a GetSubjectByIDNotFound with default headers values
func (*GetSubjectByIDNotFound) Code ¶
func (o *GetSubjectByIDNotFound) Code() int
Code gets the status code for the get subject by Id not found response
func (*GetSubjectByIDNotFound) Error ¶
func (o *GetSubjectByIDNotFound) Error() string
func (*GetSubjectByIDNotFound) IsClientError ¶
func (o *GetSubjectByIDNotFound) IsClientError() bool
IsClientError returns true when this get subject by Id not found response has a 4xx status code
func (*GetSubjectByIDNotFound) IsCode ¶
func (o *GetSubjectByIDNotFound) IsCode(code int) bool
IsCode returns true when this get subject by Id not found response a status code equal to that given
func (*GetSubjectByIDNotFound) IsRedirect ¶
func (o *GetSubjectByIDNotFound) IsRedirect() bool
IsRedirect returns true when this get subject by Id not found response has a 3xx status code
func (*GetSubjectByIDNotFound) IsServerError ¶
func (o *GetSubjectByIDNotFound) IsServerError() bool
IsServerError returns true when this get subject by Id not found response has a 5xx status code
func (*GetSubjectByIDNotFound) IsSuccess ¶
func (o *GetSubjectByIDNotFound) IsSuccess() bool
IsSuccess returns true when this get subject by Id not found response has a 2xx status code
func (*GetSubjectByIDNotFound) String ¶
func (o *GetSubjectByIDNotFound) String() string
type GetSubjectByIDOK ¶
GetSubjectByIDOK describes a response with status code 200, with default header values.
Subject response
func NewGetSubjectByIDOK ¶
func NewGetSubjectByIDOK() *GetSubjectByIDOK
NewGetSubjectByIDOK creates a GetSubjectByIDOK with default headers values
func (*GetSubjectByIDOK) Code ¶
func (o *GetSubjectByIDOK) Code() int
Code gets the status code for the get subject by Id o k response
func (*GetSubjectByIDOK) Error ¶
func (o *GetSubjectByIDOK) Error() string
func (*GetSubjectByIDOK) GetPayload ¶
func (o *GetSubjectByIDOK) GetPayload() *models.Subject
func (*GetSubjectByIDOK) IsClientError ¶
func (o *GetSubjectByIDOK) IsClientError() bool
IsClientError returns true when this get subject by Id o k response has a 4xx status code
func (*GetSubjectByIDOK) IsCode ¶
func (o *GetSubjectByIDOK) IsCode(code int) bool
IsCode returns true when this get subject by Id o k response a status code equal to that given
func (*GetSubjectByIDOK) IsRedirect ¶
func (o *GetSubjectByIDOK) IsRedirect() bool
IsRedirect returns true when this get subject by Id o k response has a 3xx status code
func (*GetSubjectByIDOK) IsServerError ¶
func (o *GetSubjectByIDOK) IsServerError() bool
IsServerError returns true when this get subject by Id o k response has a 5xx status code
func (*GetSubjectByIDOK) IsSuccess ¶
func (o *GetSubjectByIDOK) IsSuccess() bool
IsSuccess returns true when this get subject by Id o k response has a 2xx status code
func (*GetSubjectByIDOK) String ¶
func (o *GetSubjectByIDOK) String() string
type GetSubjectByIDParams ¶
type GetSubjectByIDParams struct { /* ID. ID of the Subject */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSubjectByIDParams contains all the parameters to send to the API endpoint
for the get subject by ID operation. Typically these are written to a http.Request.
func NewGetSubjectByIDParams ¶
func NewGetSubjectByIDParams() *GetSubjectByIDParams
NewGetSubjectByIDParams creates a new GetSubjectByIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetSubjectByIDParamsWithContext ¶
func NewGetSubjectByIDParamsWithContext(ctx context.Context) *GetSubjectByIDParams
NewGetSubjectByIDParamsWithContext creates a new GetSubjectByIDParams object with the ability to set a context for a request.
func NewGetSubjectByIDParamsWithHTTPClient ¶
func NewGetSubjectByIDParamsWithHTTPClient(client *http.Client) *GetSubjectByIDParams
NewGetSubjectByIDParamsWithHTTPClient creates a new GetSubjectByIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetSubjectByIDParamsWithTimeout ¶
func NewGetSubjectByIDParamsWithTimeout(timeout time.Duration) *GetSubjectByIDParams
NewGetSubjectByIDParamsWithTimeout creates a new GetSubjectByIDParams object with the ability to set a timeout on a request.
func (*GetSubjectByIDParams) SetContext ¶
func (o *GetSubjectByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get subject by ID params
func (*GetSubjectByIDParams) SetDefaults ¶
func (o *GetSubjectByIDParams) SetDefaults()
SetDefaults hydrates default values in the get subject by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetSubjectByIDParams) SetHTTPClient ¶
func (o *GetSubjectByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get subject by ID params
func (*GetSubjectByIDParams) SetID ¶
func (o *GetSubjectByIDParams) SetID(id int64)
SetID adds the id to the get subject by ID params
func (*GetSubjectByIDParams) SetTimeout ¶
func (o *GetSubjectByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get subject by ID params
func (*GetSubjectByIDParams) WithContext ¶
func (o *GetSubjectByIDParams) WithContext(ctx context.Context) *GetSubjectByIDParams
WithContext adds the context to the get subject by ID params
func (*GetSubjectByIDParams) WithDefaults ¶
func (o *GetSubjectByIDParams) WithDefaults() *GetSubjectByIDParams
WithDefaults hydrates default values in the get subject by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetSubjectByIDParams) WithHTTPClient ¶
func (o *GetSubjectByIDParams) WithHTTPClient(client *http.Client) *GetSubjectByIDParams
WithHTTPClient adds the HTTPClient to the get subject by ID params
func (*GetSubjectByIDParams) WithID ¶
func (o *GetSubjectByIDParams) WithID(id int64) *GetSubjectByIDParams
WithID adds the id to the get subject by ID params
func (*GetSubjectByIDParams) WithTimeout ¶
func (o *GetSubjectByIDParams) WithTimeout(timeout time.Duration) *GetSubjectByIDParams
WithTimeout adds the timeout to the get subject by ID params
func (*GetSubjectByIDParams) WriteToRequest ¶
func (o *GetSubjectByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSubjectByIDReader ¶
type GetSubjectByIDReader struct {
// contains filtered or unexported fields
}
GetSubjectByIDReader is a Reader for the GetSubjectByID structure.
func (*GetSubjectByIDReader) ReadResponse ¶
func (o *GetSubjectByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSubjectsInternalServerError ¶
type GetSubjectsInternalServerError struct { }
GetSubjectsInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetSubjectsInternalServerError ¶
func NewGetSubjectsInternalServerError() *GetSubjectsInternalServerError
NewGetSubjectsInternalServerError creates a GetSubjectsInternalServerError with default headers values
func (*GetSubjectsInternalServerError) Code ¶
func (o *GetSubjectsInternalServerError) Code() int
Code gets the status code for the get subjects internal server error response
func (*GetSubjectsInternalServerError) Error ¶
func (o *GetSubjectsInternalServerError) Error() string
func (*GetSubjectsInternalServerError) IsClientError ¶
func (o *GetSubjectsInternalServerError) IsClientError() bool
IsClientError returns true when this get subjects internal server error response has a 4xx status code
func (*GetSubjectsInternalServerError) IsCode ¶
func (o *GetSubjectsInternalServerError) IsCode(code int) bool
IsCode returns true when this get subjects internal server error response a status code equal to that given
func (*GetSubjectsInternalServerError) IsRedirect ¶
func (o *GetSubjectsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get subjects internal server error response has a 3xx status code
func (*GetSubjectsInternalServerError) IsServerError ¶
func (o *GetSubjectsInternalServerError) IsServerError() bool
IsServerError returns true when this get subjects internal server error response has a 5xx status code
func (*GetSubjectsInternalServerError) IsSuccess ¶
func (o *GetSubjectsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get subjects internal server error response has a 2xx status code
func (*GetSubjectsInternalServerError) String ¶
func (o *GetSubjectsInternalServerError) String() string
type GetSubjectsNotFound ¶
type GetSubjectsNotFound struct { }
GetSubjectsNotFound describes a response with status code 404, with default header values.
Subjects not found
func NewGetSubjectsNotFound ¶
func NewGetSubjectsNotFound() *GetSubjectsNotFound
NewGetSubjectsNotFound creates a GetSubjectsNotFound with default headers values
func (*GetSubjectsNotFound) Code ¶
func (o *GetSubjectsNotFound) Code() int
Code gets the status code for the get subjects not found response
func (*GetSubjectsNotFound) Error ¶
func (o *GetSubjectsNotFound) Error() string
func (*GetSubjectsNotFound) IsClientError ¶
func (o *GetSubjectsNotFound) IsClientError() bool
IsClientError returns true when this get subjects not found response has a 4xx status code
func (*GetSubjectsNotFound) IsCode ¶
func (o *GetSubjectsNotFound) IsCode(code int) bool
IsCode returns true when this get subjects not found response a status code equal to that given
func (*GetSubjectsNotFound) IsRedirect ¶
func (o *GetSubjectsNotFound) IsRedirect() bool
IsRedirect returns true when this get subjects not found response has a 3xx status code
func (*GetSubjectsNotFound) IsServerError ¶
func (o *GetSubjectsNotFound) IsServerError() bool
IsServerError returns true when this get subjects not found response has a 5xx status code
func (*GetSubjectsNotFound) IsSuccess ¶
func (o *GetSubjectsNotFound) IsSuccess() bool
IsSuccess returns true when this get subjects not found response has a 2xx status code
func (*GetSubjectsNotFound) String ¶
func (o *GetSubjectsNotFound) String() string
type GetSubjectsOK ¶
GetSubjectsOK describes a response with status code 200, with default header values.
Subjects' response
func NewGetSubjectsOK ¶
func NewGetSubjectsOK() *GetSubjectsOK
NewGetSubjectsOK creates a GetSubjectsOK with default headers values
func (*GetSubjectsOK) Code ¶
func (o *GetSubjectsOK) Code() int
Code gets the status code for the get subjects o k response
func (*GetSubjectsOK) Error ¶
func (o *GetSubjectsOK) Error() string
func (*GetSubjectsOK) GetPayload ¶
func (o *GetSubjectsOK) GetPayload() []*models.Subject
func (*GetSubjectsOK) IsClientError ¶
func (o *GetSubjectsOK) IsClientError() bool
IsClientError returns true when this get subjects o k response has a 4xx status code
func (*GetSubjectsOK) IsCode ¶
func (o *GetSubjectsOK) IsCode(code int) bool
IsCode returns true when this get subjects o k response a status code equal to that given
func (*GetSubjectsOK) IsRedirect ¶
func (o *GetSubjectsOK) IsRedirect() bool
IsRedirect returns true when this get subjects o k response has a 3xx status code
func (*GetSubjectsOK) IsServerError ¶
func (o *GetSubjectsOK) IsServerError() bool
IsServerError returns true when this get subjects o k response has a 5xx status code
func (*GetSubjectsOK) IsSuccess ¶
func (o *GetSubjectsOK) IsSuccess() bool
IsSuccess returns true when this get subjects o k response has a 2xx status code
func (*GetSubjectsOK) String ¶
func (o *GetSubjectsOK) String() string
type GetSubjectsOfClassInternalServerError ¶
type GetSubjectsOfClassInternalServerError struct { }
GetSubjectsOfClassInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetSubjectsOfClassInternalServerError ¶
func NewGetSubjectsOfClassInternalServerError() *GetSubjectsOfClassInternalServerError
NewGetSubjectsOfClassInternalServerError creates a GetSubjectsOfClassInternalServerError with default headers values
func (*GetSubjectsOfClassInternalServerError) Code ¶
func (o *GetSubjectsOfClassInternalServerError) Code() int
Code gets the status code for the get subjects of class internal server error response
func (*GetSubjectsOfClassInternalServerError) Error ¶
func (o *GetSubjectsOfClassInternalServerError) Error() string
func (*GetSubjectsOfClassInternalServerError) IsClientError ¶
func (o *GetSubjectsOfClassInternalServerError) IsClientError() bool
IsClientError returns true when this get subjects of class internal server error response has a 4xx status code
func (*GetSubjectsOfClassInternalServerError) IsCode ¶
func (o *GetSubjectsOfClassInternalServerError) IsCode(code int) bool
IsCode returns true when this get subjects of class internal server error response a status code equal to that given
func (*GetSubjectsOfClassInternalServerError) IsRedirect ¶
func (o *GetSubjectsOfClassInternalServerError) IsRedirect() bool
IsRedirect returns true when this get subjects of class internal server error response has a 3xx status code
func (*GetSubjectsOfClassInternalServerError) IsServerError ¶
func (o *GetSubjectsOfClassInternalServerError) IsServerError() bool
IsServerError returns true when this get subjects of class internal server error response has a 5xx status code
func (*GetSubjectsOfClassInternalServerError) IsSuccess ¶
func (o *GetSubjectsOfClassInternalServerError) IsSuccess() bool
IsSuccess returns true when this get subjects of class internal server error response has a 2xx status code
func (*GetSubjectsOfClassInternalServerError) String ¶
func (o *GetSubjectsOfClassInternalServerError) String() string
type GetSubjectsOfClassNotFound ¶
type GetSubjectsOfClassNotFound struct { }
GetSubjectsOfClassNotFound describes a response with status code 404, with default header values.
Class not found
func NewGetSubjectsOfClassNotFound ¶
func NewGetSubjectsOfClassNotFound() *GetSubjectsOfClassNotFound
NewGetSubjectsOfClassNotFound creates a GetSubjectsOfClassNotFound with default headers values
func (*GetSubjectsOfClassNotFound) Code ¶
func (o *GetSubjectsOfClassNotFound) Code() int
Code gets the status code for the get subjects of class not found response
func (*GetSubjectsOfClassNotFound) Error ¶
func (o *GetSubjectsOfClassNotFound) Error() string
func (*GetSubjectsOfClassNotFound) IsClientError ¶
func (o *GetSubjectsOfClassNotFound) IsClientError() bool
IsClientError returns true when this get subjects of class not found response has a 4xx status code
func (*GetSubjectsOfClassNotFound) IsCode ¶
func (o *GetSubjectsOfClassNotFound) IsCode(code int) bool
IsCode returns true when this get subjects of class not found response a status code equal to that given
func (*GetSubjectsOfClassNotFound) IsRedirect ¶
func (o *GetSubjectsOfClassNotFound) IsRedirect() bool
IsRedirect returns true when this get subjects of class not found response has a 3xx status code
func (*GetSubjectsOfClassNotFound) IsServerError ¶
func (o *GetSubjectsOfClassNotFound) IsServerError() bool
IsServerError returns true when this get subjects of class not found response has a 5xx status code
func (*GetSubjectsOfClassNotFound) IsSuccess ¶
func (o *GetSubjectsOfClassNotFound) IsSuccess() bool
IsSuccess returns true when this get subjects of class not found response has a 2xx status code
func (*GetSubjectsOfClassNotFound) String ¶
func (o *GetSubjectsOfClassNotFound) String() string
type GetSubjectsOfClassOK ¶
GetSubjectsOfClassOK describes a response with status code 200, with default header values.
Class' Subjects as response
func NewGetSubjectsOfClassOK ¶
func NewGetSubjectsOfClassOK() *GetSubjectsOfClassOK
NewGetSubjectsOfClassOK creates a GetSubjectsOfClassOK with default headers values
func (*GetSubjectsOfClassOK) Code ¶
func (o *GetSubjectsOfClassOK) Code() int
Code gets the status code for the get subjects of class o k response
func (*GetSubjectsOfClassOK) Error ¶
func (o *GetSubjectsOfClassOK) Error() string
func (*GetSubjectsOfClassOK) GetPayload ¶
func (o *GetSubjectsOfClassOK) GetPayload() []*models.Subject
func (*GetSubjectsOfClassOK) IsClientError ¶
func (o *GetSubjectsOfClassOK) IsClientError() bool
IsClientError returns true when this get subjects of class o k response has a 4xx status code
func (*GetSubjectsOfClassOK) IsCode ¶
func (o *GetSubjectsOfClassOK) IsCode(code int) bool
IsCode returns true when this get subjects of class o k response a status code equal to that given
func (*GetSubjectsOfClassOK) IsRedirect ¶
func (o *GetSubjectsOfClassOK) IsRedirect() bool
IsRedirect returns true when this get subjects of class o k response has a 3xx status code
func (*GetSubjectsOfClassOK) IsServerError ¶
func (o *GetSubjectsOfClassOK) IsServerError() bool
IsServerError returns true when this get subjects of class o k response has a 5xx status code
func (*GetSubjectsOfClassOK) IsSuccess ¶
func (o *GetSubjectsOfClassOK) IsSuccess() bool
IsSuccess returns true when this get subjects of class o k response has a 2xx status code
func (*GetSubjectsOfClassOK) String ¶
func (o *GetSubjectsOfClassOK) String() string
type GetSubjectsOfClassParams ¶
type GetSubjectsOfClassParams struct { /* ID. The ID of the Class */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSubjectsOfClassParams contains all the parameters to send to the API endpoint
for the get subjects of class operation. Typically these are written to a http.Request.
func NewGetSubjectsOfClassParams ¶
func NewGetSubjectsOfClassParams() *GetSubjectsOfClassParams
NewGetSubjectsOfClassParams creates a new GetSubjectsOfClassParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetSubjectsOfClassParamsWithContext ¶
func NewGetSubjectsOfClassParamsWithContext(ctx context.Context) *GetSubjectsOfClassParams
NewGetSubjectsOfClassParamsWithContext creates a new GetSubjectsOfClassParams object with the ability to set a context for a request.
func NewGetSubjectsOfClassParamsWithHTTPClient ¶
func NewGetSubjectsOfClassParamsWithHTTPClient(client *http.Client) *GetSubjectsOfClassParams
NewGetSubjectsOfClassParamsWithHTTPClient creates a new GetSubjectsOfClassParams object with the ability to set a custom HTTPClient for a request.
func NewGetSubjectsOfClassParamsWithTimeout ¶
func NewGetSubjectsOfClassParamsWithTimeout(timeout time.Duration) *GetSubjectsOfClassParams
NewGetSubjectsOfClassParamsWithTimeout creates a new GetSubjectsOfClassParams object with the ability to set a timeout on a request.
func (*GetSubjectsOfClassParams) SetContext ¶
func (o *GetSubjectsOfClassParams) SetContext(ctx context.Context)
SetContext adds the context to the get subjects of class params
func (*GetSubjectsOfClassParams) SetDefaults ¶
func (o *GetSubjectsOfClassParams) SetDefaults()
SetDefaults hydrates default values in the get subjects of class params (not the query body).
All values with no default are reset to their zero value.
func (*GetSubjectsOfClassParams) SetHTTPClient ¶
func (o *GetSubjectsOfClassParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get subjects of class params
func (*GetSubjectsOfClassParams) SetID ¶
func (o *GetSubjectsOfClassParams) SetID(id int64)
SetID adds the id to the get subjects of class params
func (*GetSubjectsOfClassParams) SetTimeout ¶
func (o *GetSubjectsOfClassParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get subjects of class params
func (*GetSubjectsOfClassParams) WithContext ¶
func (o *GetSubjectsOfClassParams) WithContext(ctx context.Context) *GetSubjectsOfClassParams
WithContext adds the context to the get subjects of class params
func (*GetSubjectsOfClassParams) WithDefaults ¶
func (o *GetSubjectsOfClassParams) WithDefaults() *GetSubjectsOfClassParams
WithDefaults hydrates default values in the get subjects of class params (not the query body).
All values with no default are reset to their zero value.
func (*GetSubjectsOfClassParams) WithHTTPClient ¶
func (o *GetSubjectsOfClassParams) WithHTTPClient(client *http.Client) *GetSubjectsOfClassParams
WithHTTPClient adds the HTTPClient to the get subjects of class params
func (*GetSubjectsOfClassParams) WithID ¶
func (o *GetSubjectsOfClassParams) WithID(id int64) *GetSubjectsOfClassParams
WithID adds the id to the get subjects of class params
func (*GetSubjectsOfClassParams) WithTimeout ¶
func (o *GetSubjectsOfClassParams) WithTimeout(timeout time.Duration) *GetSubjectsOfClassParams
WithTimeout adds the timeout to the get subjects of class params
func (*GetSubjectsOfClassParams) WriteToRequest ¶
func (o *GetSubjectsOfClassParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSubjectsOfClassReader ¶
type GetSubjectsOfClassReader struct {
// contains filtered or unexported fields
}
GetSubjectsOfClassReader is a Reader for the GetSubjectsOfClass structure.
func (*GetSubjectsOfClassReader) ReadResponse ¶
func (o *GetSubjectsOfClassReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSubjectsOfStudentInternalServerError ¶
type GetSubjectsOfStudentInternalServerError struct { }
GetSubjectsOfStudentInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetSubjectsOfStudentInternalServerError ¶
func NewGetSubjectsOfStudentInternalServerError() *GetSubjectsOfStudentInternalServerError
NewGetSubjectsOfStudentInternalServerError creates a GetSubjectsOfStudentInternalServerError with default headers values
func (*GetSubjectsOfStudentInternalServerError) Code ¶
func (o *GetSubjectsOfStudentInternalServerError) Code() int
Code gets the status code for the get subjects of student internal server error response
func (*GetSubjectsOfStudentInternalServerError) Error ¶
func (o *GetSubjectsOfStudentInternalServerError) Error() string
func (*GetSubjectsOfStudentInternalServerError) IsClientError ¶
func (o *GetSubjectsOfStudentInternalServerError) IsClientError() bool
IsClientError returns true when this get subjects of student internal server error response has a 4xx status code
func (*GetSubjectsOfStudentInternalServerError) IsCode ¶
func (o *GetSubjectsOfStudentInternalServerError) IsCode(code int) bool
IsCode returns true when this get subjects of student internal server error response a status code equal to that given
func (*GetSubjectsOfStudentInternalServerError) IsRedirect ¶
func (o *GetSubjectsOfStudentInternalServerError) IsRedirect() bool
IsRedirect returns true when this get subjects of student internal server error response has a 3xx status code
func (*GetSubjectsOfStudentInternalServerError) IsServerError ¶
func (o *GetSubjectsOfStudentInternalServerError) IsServerError() bool
IsServerError returns true when this get subjects of student internal server error response has a 5xx status code
func (*GetSubjectsOfStudentInternalServerError) IsSuccess ¶
func (o *GetSubjectsOfStudentInternalServerError) IsSuccess() bool
IsSuccess returns true when this get subjects of student internal server error response has a 2xx status code
func (*GetSubjectsOfStudentInternalServerError) String ¶
func (o *GetSubjectsOfStudentInternalServerError) String() string
type GetSubjectsOfStudentNotFound ¶
type GetSubjectsOfStudentNotFound struct { }
GetSubjectsOfStudentNotFound describes a response with status code 404, with default header values.
Student not found
func NewGetSubjectsOfStudentNotFound ¶
func NewGetSubjectsOfStudentNotFound() *GetSubjectsOfStudentNotFound
NewGetSubjectsOfStudentNotFound creates a GetSubjectsOfStudentNotFound with default headers values
func (*GetSubjectsOfStudentNotFound) Code ¶
func (o *GetSubjectsOfStudentNotFound) Code() int
Code gets the status code for the get subjects of student not found response
func (*GetSubjectsOfStudentNotFound) Error ¶
func (o *GetSubjectsOfStudentNotFound) Error() string
func (*GetSubjectsOfStudentNotFound) IsClientError ¶
func (o *GetSubjectsOfStudentNotFound) IsClientError() bool
IsClientError returns true when this get subjects of student not found response has a 4xx status code
func (*GetSubjectsOfStudentNotFound) IsCode ¶
func (o *GetSubjectsOfStudentNotFound) IsCode(code int) bool
IsCode returns true when this get subjects of student not found response a status code equal to that given
func (*GetSubjectsOfStudentNotFound) IsRedirect ¶
func (o *GetSubjectsOfStudentNotFound) IsRedirect() bool
IsRedirect returns true when this get subjects of student not found response has a 3xx status code
func (*GetSubjectsOfStudentNotFound) IsServerError ¶
func (o *GetSubjectsOfStudentNotFound) IsServerError() bool
IsServerError returns true when this get subjects of student not found response has a 5xx status code
func (*GetSubjectsOfStudentNotFound) IsSuccess ¶
func (o *GetSubjectsOfStudentNotFound) IsSuccess() bool
IsSuccess returns true when this get subjects of student not found response has a 2xx status code
func (*GetSubjectsOfStudentNotFound) String ¶
func (o *GetSubjectsOfStudentNotFound) String() string
type GetSubjectsOfStudentOK ¶
GetSubjectsOfStudentOK describes a response with status code 200, with default header values.
Student's Subjects as response
func NewGetSubjectsOfStudentOK ¶
func NewGetSubjectsOfStudentOK() *GetSubjectsOfStudentOK
NewGetSubjectsOfStudentOK creates a GetSubjectsOfStudentOK with default headers values
func (*GetSubjectsOfStudentOK) Code ¶
func (o *GetSubjectsOfStudentOK) Code() int
Code gets the status code for the get subjects of student o k response
func (*GetSubjectsOfStudentOK) Error ¶
func (o *GetSubjectsOfStudentOK) Error() string
func (*GetSubjectsOfStudentOK) GetPayload ¶
func (o *GetSubjectsOfStudentOK) GetPayload() []*models.Subject
func (*GetSubjectsOfStudentOK) IsClientError ¶
func (o *GetSubjectsOfStudentOK) IsClientError() bool
IsClientError returns true when this get subjects of student o k response has a 4xx status code
func (*GetSubjectsOfStudentOK) IsCode ¶
func (o *GetSubjectsOfStudentOK) IsCode(code int) bool
IsCode returns true when this get subjects of student o k response a status code equal to that given
func (*GetSubjectsOfStudentOK) IsRedirect ¶
func (o *GetSubjectsOfStudentOK) IsRedirect() bool
IsRedirect returns true when this get subjects of student o k response has a 3xx status code
func (*GetSubjectsOfStudentOK) IsServerError ¶
func (o *GetSubjectsOfStudentOK) IsServerError() bool
IsServerError returns true when this get subjects of student o k response has a 5xx status code
func (*GetSubjectsOfStudentOK) IsSuccess ¶
func (o *GetSubjectsOfStudentOK) IsSuccess() bool
IsSuccess returns true when this get subjects of student o k response has a 2xx status code
func (*GetSubjectsOfStudentOK) String ¶
func (o *GetSubjectsOfStudentOK) String() string
type GetSubjectsOfStudentParams ¶
type GetSubjectsOfStudentParams struct { /* ID. The ID of the Student */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSubjectsOfStudentParams contains all the parameters to send to the API endpoint
for the get subjects of student operation. Typically these are written to a http.Request.
func NewGetSubjectsOfStudentParams ¶
func NewGetSubjectsOfStudentParams() *GetSubjectsOfStudentParams
NewGetSubjectsOfStudentParams creates a new GetSubjectsOfStudentParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetSubjectsOfStudentParamsWithContext ¶
func NewGetSubjectsOfStudentParamsWithContext(ctx context.Context) *GetSubjectsOfStudentParams
NewGetSubjectsOfStudentParamsWithContext creates a new GetSubjectsOfStudentParams object with the ability to set a context for a request.
func NewGetSubjectsOfStudentParamsWithHTTPClient ¶
func NewGetSubjectsOfStudentParamsWithHTTPClient(client *http.Client) *GetSubjectsOfStudentParams
NewGetSubjectsOfStudentParamsWithHTTPClient creates a new GetSubjectsOfStudentParams object with the ability to set a custom HTTPClient for a request.
func NewGetSubjectsOfStudentParamsWithTimeout ¶
func NewGetSubjectsOfStudentParamsWithTimeout(timeout time.Duration) *GetSubjectsOfStudentParams
NewGetSubjectsOfStudentParamsWithTimeout creates a new GetSubjectsOfStudentParams object with the ability to set a timeout on a request.
func (*GetSubjectsOfStudentParams) SetContext ¶
func (o *GetSubjectsOfStudentParams) SetContext(ctx context.Context)
SetContext adds the context to the get subjects of student params
func (*GetSubjectsOfStudentParams) SetDefaults ¶
func (o *GetSubjectsOfStudentParams) SetDefaults()
SetDefaults hydrates default values in the get subjects of student params (not the query body).
All values with no default are reset to their zero value.
func (*GetSubjectsOfStudentParams) SetHTTPClient ¶
func (o *GetSubjectsOfStudentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get subjects of student params
func (*GetSubjectsOfStudentParams) SetID ¶
func (o *GetSubjectsOfStudentParams) SetID(id int64)
SetID adds the id to the get subjects of student params
func (*GetSubjectsOfStudentParams) SetTimeout ¶
func (o *GetSubjectsOfStudentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get subjects of student params
func (*GetSubjectsOfStudentParams) WithContext ¶
func (o *GetSubjectsOfStudentParams) WithContext(ctx context.Context) *GetSubjectsOfStudentParams
WithContext adds the context to the get subjects of student params
func (*GetSubjectsOfStudentParams) WithDefaults ¶
func (o *GetSubjectsOfStudentParams) WithDefaults() *GetSubjectsOfStudentParams
WithDefaults hydrates default values in the get subjects of student params (not the query body).
All values with no default are reset to their zero value.
func (*GetSubjectsOfStudentParams) WithHTTPClient ¶
func (o *GetSubjectsOfStudentParams) WithHTTPClient(client *http.Client) *GetSubjectsOfStudentParams
WithHTTPClient adds the HTTPClient to the get subjects of student params
func (*GetSubjectsOfStudentParams) WithID ¶
func (o *GetSubjectsOfStudentParams) WithID(id int64) *GetSubjectsOfStudentParams
WithID adds the id to the get subjects of student params
func (*GetSubjectsOfStudentParams) WithTimeout ¶
func (o *GetSubjectsOfStudentParams) WithTimeout(timeout time.Duration) *GetSubjectsOfStudentParams
WithTimeout adds the timeout to the get subjects of student params
func (*GetSubjectsOfStudentParams) WriteToRequest ¶
func (o *GetSubjectsOfStudentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSubjectsOfStudentReader ¶
type GetSubjectsOfStudentReader struct {
// contains filtered or unexported fields
}
GetSubjectsOfStudentReader is a Reader for the GetSubjectsOfStudent structure.
func (*GetSubjectsOfStudentReader) ReadResponse ¶
func (o *GetSubjectsOfStudentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSubjectsParams ¶
type GetSubjectsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSubjectsParams contains all the parameters to send to the API endpoint
for the get subjects operation. Typically these are written to a http.Request.
func NewGetSubjectsParams ¶
func NewGetSubjectsParams() *GetSubjectsParams
NewGetSubjectsParams creates a new GetSubjectsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetSubjectsParamsWithContext ¶
func NewGetSubjectsParamsWithContext(ctx context.Context) *GetSubjectsParams
NewGetSubjectsParamsWithContext creates a new GetSubjectsParams object with the ability to set a context for a request.
func NewGetSubjectsParamsWithHTTPClient ¶
func NewGetSubjectsParamsWithHTTPClient(client *http.Client) *GetSubjectsParams
NewGetSubjectsParamsWithHTTPClient creates a new GetSubjectsParams object with the ability to set a custom HTTPClient for a request.
func NewGetSubjectsParamsWithTimeout ¶
func NewGetSubjectsParamsWithTimeout(timeout time.Duration) *GetSubjectsParams
NewGetSubjectsParamsWithTimeout creates a new GetSubjectsParams object with the ability to set a timeout on a request.
func (*GetSubjectsParams) SetContext ¶
func (o *GetSubjectsParams) SetContext(ctx context.Context)
SetContext adds the context to the get subjects params
func (*GetSubjectsParams) SetDefaults ¶
func (o *GetSubjectsParams) SetDefaults()
SetDefaults hydrates default values in the get subjects params (not the query body).
All values with no default are reset to their zero value.
func (*GetSubjectsParams) SetHTTPClient ¶
func (o *GetSubjectsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get subjects params
func (*GetSubjectsParams) SetTimeout ¶
func (o *GetSubjectsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get subjects params
func (*GetSubjectsParams) WithContext ¶
func (o *GetSubjectsParams) WithContext(ctx context.Context) *GetSubjectsParams
WithContext adds the context to the get subjects params
func (*GetSubjectsParams) WithDefaults ¶
func (o *GetSubjectsParams) WithDefaults() *GetSubjectsParams
WithDefaults hydrates default values in the get subjects params (not the query body).
All values with no default are reset to their zero value.
func (*GetSubjectsParams) WithHTTPClient ¶
func (o *GetSubjectsParams) WithHTTPClient(client *http.Client) *GetSubjectsParams
WithHTTPClient adds the HTTPClient to the get subjects params
func (*GetSubjectsParams) WithTimeout ¶
func (o *GetSubjectsParams) WithTimeout(timeout time.Duration) *GetSubjectsParams
WithTimeout adds the timeout to the get subjects params
func (*GetSubjectsParams) WriteToRequest ¶
func (o *GetSubjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSubjectsReader ¶
type GetSubjectsReader struct {
// contains filtered or unexported fields
}
GetSubjectsReader is a Reader for the GetSubjects structure.
func (*GetSubjectsReader) ReadResponse ¶
func (o *GetSubjectsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTeacherAccountsInternalServerError ¶
type GetTeacherAccountsInternalServerError struct { }
GetTeacherAccountsInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetTeacherAccountsInternalServerError ¶
func NewGetTeacherAccountsInternalServerError() *GetTeacherAccountsInternalServerError
NewGetTeacherAccountsInternalServerError creates a GetTeacherAccountsInternalServerError with default headers values
func (*GetTeacherAccountsInternalServerError) Code ¶
func (o *GetTeacherAccountsInternalServerError) Code() int
Code gets the status code for the get teacher accounts internal server error response
func (*GetTeacherAccountsInternalServerError) Error ¶
func (o *GetTeacherAccountsInternalServerError) Error() string
func (*GetTeacherAccountsInternalServerError) IsClientError ¶
func (o *GetTeacherAccountsInternalServerError) IsClientError() bool
IsClientError returns true when this get teacher accounts internal server error response has a 4xx status code
func (*GetTeacherAccountsInternalServerError) IsCode ¶
func (o *GetTeacherAccountsInternalServerError) IsCode(code int) bool
IsCode returns true when this get teacher accounts internal server error response a status code equal to that given
func (*GetTeacherAccountsInternalServerError) IsRedirect ¶
func (o *GetTeacherAccountsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get teacher accounts internal server error response has a 3xx status code
func (*GetTeacherAccountsInternalServerError) IsServerError ¶
func (o *GetTeacherAccountsInternalServerError) IsServerError() bool
IsServerError returns true when this get teacher accounts internal server error response has a 5xx status code
func (*GetTeacherAccountsInternalServerError) IsSuccess ¶
func (o *GetTeacherAccountsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get teacher accounts internal server error response has a 2xx status code
func (*GetTeacherAccountsInternalServerError) String ¶
func (o *GetTeacherAccountsInternalServerError) String() string
type GetTeacherAccountsNotFound ¶
type GetTeacherAccountsNotFound struct { }
GetTeacherAccountsNotFound describes a response with status code 404, with default header values.
Teacher Account not found
func NewGetTeacherAccountsNotFound ¶
func NewGetTeacherAccountsNotFound() *GetTeacherAccountsNotFound
NewGetTeacherAccountsNotFound creates a GetTeacherAccountsNotFound with default headers values
func (*GetTeacherAccountsNotFound) Code ¶
func (o *GetTeacherAccountsNotFound) Code() int
Code gets the status code for the get teacher accounts not found response
func (*GetTeacherAccountsNotFound) Error ¶
func (o *GetTeacherAccountsNotFound) Error() string
func (*GetTeacherAccountsNotFound) IsClientError ¶
func (o *GetTeacherAccountsNotFound) IsClientError() bool
IsClientError returns true when this get teacher accounts not found response has a 4xx status code
func (*GetTeacherAccountsNotFound) IsCode ¶
func (o *GetTeacherAccountsNotFound) IsCode(code int) bool
IsCode returns true when this get teacher accounts not found response a status code equal to that given
func (*GetTeacherAccountsNotFound) IsRedirect ¶
func (o *GetTeacherAccountsNotFound) IsRedirect() bool
IsRedirect returns true when this get teacher accounts not found response has a 3xx status code
func (*GetTeacherAccountsNotFound) IsServerError ¶
func (o *GetTeacherAccountsNotFound) IsServerError() bool
IsServerError returns true when this get teacher accounts not found response has a 5xx status code
func (*GetTeacherAccountsNotFound) IsSuccess ¶
func (o *GetTeacherAccountsNotFound) IsSuccess() bool
IsSuccess returns true when this get teacher accounts not found response has a 2xx status code
func (*GetTeacherAccountsNotFound) String ¶
func (o *GetTeacherAccountsNotFound) String() string
type GetTeacherAccountsOK ¶
GetTeacherAccountsOK describes a response with status code 200, with default header values.
Teacher Accounts' response
func NewGetTeacherAccountsOK ¶
func NewGetTeacherAccountsOK() *GetTeacherAccountsOK
NewGetTeacherAccountsOK creates a GetTeacherAccountsOK with default headers values
func (*GetTeacherAccountsOK) Code ¶
func (o *GetTeacherAccountsOK) Code() int
Code gets the status code for the get teacher accounts o k response
func (*GetTeacherAccountsOK) Error ¶
func (o *GetTeacherAccountsOK) Error() string
func (*GetTeacherAccountsOK) GetPayload ¶
func (o *GetTeacherAccountsOK) GetPayload() []*models.Account
func (*GetTeacherAccountsOK) IsClientError ¶
func (o *GetTeacherAccountsOK) IsClientError() bool
IsClientError returns true when this get teacher accounts o k response has a 4xx status code
func (*GetTeacherAccountsOK) IsCode ¶
func (o *GetTeacherAccountsOK) IsCode(code int) bool
IsCode returns true when this get teacher accounts o k response a status code equal to that given
func (*GetTeacherAccountsOK) IsRedirect ¶
func (o *GetTeacherAccountsOK) IsRedirect() bool
IsRedirect returns true when this get teacher accounts o k response has a 3xx status code
func (*GetTeacherAccountsOK) IsServerError ¶
func (o *GetTeacherAccountsOK) IsServerError() bool
IsServerError returns true when this get teacher accounts o k response has a 5xx status code
func (*GetTeacherAccountsOK) IsSuccess ¶
func (o *GetTeacherAccountsOK) IsSuccess() bool
IsSuccess returns true when this get teacher accounts o k response has a 2xx status code
func (*GetTeacherAccountsOK) String ¶
func (o *GetTeacherAccountsOK) String() string
type GetTeacherAccountsParams ¶
type GetTeacherAccountsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTeacherAccountsParams contains all the parameters to send to the API endpoint
for the get teacher accounts operation. Typically these are written to a http.Request.
func NewGetTeacherAccountsParams ¶
func NewGetTeacherAccountsParams() *GetTeacherAccountsParams
NewGetTeacherAccountsParams creates a new GetTeacherAccountsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetTeacherAccountsParamsWithContext ¶
func NewGetTeacherAccountsParamsWithContext(ctx context.Context) *GetTeacherAccountsParams
NewGetTeacherAccountsParamsWithContext creates a new GetTeacherAccountsParams object with the ability to set a context for a request.
func NewGetTeacherAccountsParamsWithHTTPClient ¶
func NewGetTeacherAccountsParamsWithHTTPClient(client *http.Client) *GetTeacherAccountsParams
NewGetTeacherAccountsParamsWithHTTPClient creates a new GetTeacherAccountsParams object with the ability to set a custom HTTPClient for a request.
func NewGetTeacherAccountsParamsWithTimeout ¶
func NewGetTeacherAccountsParamsWithTimeout(timeout time.Duration) *GetTeacherAccountsParams
NewGetTeacherAccountsParamsWithTimeout creates a new GetTeacherAccountsParams object with the ability to set a timeout on a request.
func (*GetTeacherAccountsParams) SetContext ¶
func (o *GetTeacherAccountsParams) SetContext(ctx context.Context)
SetContext adds the context to the get teacher accounts params
func (*GetTeacherAccountsParams) SetDefaults ¶
func (o *GetTeacherAccountsParams) SetDefaults()
SetDefaults hydrates default values in the get teacher accounts params (not the query body).
All values with no default are reset to their zero value.
func (*GetTeacherAccountsParams) SetHTTPClient ¶
func (o *GetTeacherAccountsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get teacher accounts params
func (*GetTeacherAccountsParams) SetTimeout ¶
func (o *GetTeacherAccountsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get teacher accounts params
func (*GetTeacherAccountsParams) WithContext ¶
func (o *GetTeacherAccountsParams) WithContext(ctx context.Context) *GetTeacherAccountsParams
WithContext adds the context to the get teacher accounts params
func (*GetTeacherAccountsParams) WithDefaults ¶
func (o *GetTeacherAccountsParams) WithDefaults() *GetTeacherAccountsParams
WithDefaults hydrates default values in the get teacher accounts params (not the query body).
All values with no default are reset to their zero value.
func (*GetTeacherAccountsParams) WithHTTPClient ¶
func (o *GetTeacherAccountsParams) WithHTTPClient(client *http.Client) *GetTeacherAccountsParams
WithHTTPClient adds the HTTPClient to the get teacher accounts params
func (*GetTeacherAccountsParams) WithTimeout ¶
func (o *GetTeacherAccountsParams) WithTimeout(timeout time.Duration) *GetTeacherAccountsParams
WithTimeout adds the timeout to the get teacher accounts params
func (*GetTeacherAccountsParams) WriteToRequest ¶
func (o *GetTeacherAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTeacherAccountsReader ¶
type GetTeacherAccountsReader struct {
// contains filtered or unexported fields
}
GetTeacherAccountsReader is a Reader for the GetTeacherAccounts structure.
func (*GetTeacherAccountsReader) ReadResponse ¶
func (o *GetTeacherAccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTeacherByIDInternalServerError ¶
type GetTeacherByIDInternalServerError struct { }
GetTeacherByIDInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetTeacherByIDInternalServerError ¶
func NewGetTeacherByIDInternalServerError() *GetTeacherByIDInternalServerError
NewGetTeacherByIDInternalServerError creates a GetTeacherByIDInternalServerError with default headers values
func (*GetTeacherByIDInternalServerError) Code ¶
func (o *GetTeacherByIDInternalServerError) Code() int
Code gets the status code for the get teacher by Id internal server error response
func (*GetTeacherByIDInternalServerError) Error ¶
func (o *GetTeacherByIDInternalServerError) Error() string
func (*GetTeacherByIDInternalServerError) IsClientError ¶
func (o *GetTeacherByIDInternalServerError) IsClientError() bool
IsClientError returns true when this get teacher by Id internal server error response has a 4xx status code
func (*GetTeacherByIDInternalServerError) IsCode ¶
func (o *GetTeacherByIDInternalServerError) IsCode(code int) bool
IsCode returns true when this get teacher by Id internal server error response a status code equal to that given
func (*GetTeacherByIDInternalServerError) IsRedirect ¶
func (o *GetTeacherByIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this get teacher by Id internal server error response has a 3xx status code
func (*GetTeacherByIDInternalServerError) IsServerError ¶
func (o *GetTeacherByIDInternalServerError) IsServerError() bool
IsServerError returns true when this get teacher by Id internal server error response has a 5xx status code
func (*GetTeacherByIDInternalServerError) IsSuccess ¶
func (o *GetTeacherByIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this get teacher by Id internal server error response has a 2xx status code
func (*GetTeacherByIDInternalServerError) String ¶
func (o *GetTeacherByIDInternalServerError) String() string
type GetTeacherByIDNotFound ¶
type GetTeacherByIDNotFound struct { }
GetTeacherByIDNotFound describes a response with status code 404, with default header values.
Teacher not found
func NewGetTeacherByIDNotFound ¶
func NewGetTeacherByIDNotFound() *GetTeacherByIDNotFound
NewGetTeacherByIDNotFound creates a GetTeacherByIDNotFound with default headers values
func (*GetTeacherByIDNotFound) Code ¶
func (o *GetTeacherByIDNotFound) Code() int
Code gets the status code for the get teacher by Id not found response
func (*GetTeacherByIDNotFound) Error ¶
func (o *GetTeacherByIDNotFound) Error() string
func (*GetTeacherByIDNotFound) IsClientError ¶
func (o *GetTeacherByIDNotFound) IsClientError() bool
IsClientError returns true when this get teacher by Id not found response has a 4xx status code
func (*GetTeacherByIDNotFound) IsCode ¶
func (o *GetTeacherByIDNotFound) IsCode(code int) bool
IsCode returns true when this get teacher by Id not found response a status code equal to that given
func (*GetTeacherByIDNotFound) IsRedirect ¶
func (o *GetTeacherByIDNotFound) IsRedirect() bool
IsRedirect returns true when this get teacher by Id not found response has a 3xx status code
func (*GetTeacherByIDNotFound) IsServerError ¶
func (o *GetTeacherByIDNotFound) IsServerError() bool
IsServerError returns true when this get teacher by Id not found response has a 5xx status code
func (*GetTeacherByIDNotFound) IsSuccess ¶
func (o *GetTeacherByIDNotFound) IsSuccess() bool
IsSuccess returns true when this get teacher by Id not found response has a 2xx status code
func (*GetTeacherByIDNotFound) String ¶
func (o *GetTeacherByIDNotFound) String() string
type GetTeacherByIDOK ¶
GetTeacherByIDOK describes a response with status code 200, with default header values.
Teacher response
func NewGetTeacherByIDOK ¶
func NewGetTeacherByIDOK() *GetTeacherByIDOK
NewGetTeacherByIDOK creates a GetTeacherByIDOK with default headers values
func (*GetTeacherByIDOK) Code ¶
func (o *GetTeacherByIDOK) Code() int
Code gets the status code for the get teacher by Id o k response
func (*GetTeacherByIDOK) Error ¶
func (o *GetTeacherByIDOK) Error() string
func (*GetTeacherByIDOK) GetPayload ¶
func (o *GetTeacherByIDOK) GetPayload() *models.Teacher
func (*GetTeacherByIDOK) IsClientError ¶
func (o *GetTeacherByIDOK) IsClientError() bool
IsClientError returns true when this get teacher by Id o k response has a 4xx status code
func (*GetTeacherByIDOK) IsCode ¶
func (o *GetTeacherByIDOK) IsCode(code int) bool
IsCode returns true when this get teacher by Id o k response a status code equal to that given
func (*GetTeacherByIDOK) IsRedirect ¶
func (o *GetTeacherByIDOK) IsRedirect() bool
IsRedirect returns true when this get teacher by Id o k response has a 3xx status code
func (*GetTeacherByIDOK) IsServerError ¶
func (o *GetTeacherByIDOK) IsServerError() bool
IsServerError returns true when this get teacher by Id o k response has a 5xx status code
func (*GetTeacherByIDOK) IsSuccess ¶
func (o *GetTeacherByIDOK) IsSuccess() bool
IsSuccess returns true when this get teacher by Id o k response has a 2xx status code
func (*GetTeacherByIDOK) String ¶
func (o *GetTeacherByIDOK) String() string
type GetTeacherByIDParams ¶
type GetTeacherByIDParams struct { /* ID. ID of the Teacher */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTeacherByIDParams contains all the parameters to send to the API endpoint
for the get teacher by ID operation. Typically these are written to a http.Request.
func NewGetTeacherByIDParams ¶
func NewGetTeacherByIDParams() *GetTeacherByIDParams
NewGetTeacherByIDParams creates a new GetTeacherByIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetTeacherByIDParamsWithContext ¶
func NewGetTeacherByIDParamsWithContext(ctx context.Context) *GetTeacherByIDParams
NewGetTeacherByIDParamsWithContext creates a new GetTeacherByIDParams object with the ability to set a context for a request.
func NewGetTeacherByIDParamsWithHTTPClient ¶
func NewGetTeacherByIDParamsWithHTTPClient(client *http.Client) *GetTeacherByIDParams
NewGetTeacherByIDParamsWithHTTPClient creates a new GetTeacherByIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetTeacherByIDParamsWithTimeout ¶
func NewGetTeacherByIDParamsWithTimeout(timeout time.Duration) *GetTeacherByIDParams
NewGetTeacherByIDParamsWithTimeout creates a new GetTeacherByIDParams object with the ability to set a timeout on a request.
func (*GetTeacherByIDParams) SetContext ¶
func (o *GetTeacherByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get teacher by ID params
func (*GetTeacherByIDParams) SetDefaults ¶
func (o *GetTeacherByIDParams) SetDefaults()
SetDefaults hydrates default values in the get teacher by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetTeacherByIDParams) SetHTTPClient ¶
func (o *GetTeacherByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get teacher by ID params
func (*GetTeacherByIDParams) SetID ¶
func (o *GetTeacherByIDParams) SetID(id int64)
SetID adds the id to the get teacher by ID params
func (*GetTeacherByIDParams) SetTimeout ¶
func (o *GetTeacherByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get teacher by ID params
func (*GetTeacherByIDParams) WithContext ¶
func (o *GetTeacherByIDParams) WithContext(ctx context.Context) *GetTeacherByIDParams
WithContext adds the context to the get teacher by ID params
func (*GetTeacherByIDParams) WithDefaults ¶
func (o *GetTeacherByIDParams) WithDefaults() *GetTeacherByIDParams
WithDefaults hydrates default values in the get teacher by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetTeacherByIDParams) WithHTTPClient ¶
func (o *GetTeacherByIDParams) WithHTTPClient(client *http.Client) *GetTeacherByIDParams
WithHTTPClient adds the HTTPClient to the get teacher by ID params
func (*GetTeacherByIDParams) WithID ¶
func (o *GetTeacherByIDParams) WithID(id int64) *GetTeacherByIDParams
WithID adds the id to the get teacher by ID params
func (*GetTeacherByIDParams) WithTimeout ¶
func (o *GetTeacherByIDParams) WithTimeout(timeout time.Duration) *GetTeacherByIDParams
WithTimeout adds the timeout to the get teacher by ID params
func (*GetTeacherByIDParams) WriteToRequest ¶
func (o *GetTeacherByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTeacherByIDReader ¶
type GetTeacherByIDReader struct {
// contains filtered or unexported fields
}
GetTeacherByIDReader is a Reader for the GetTeacherByID structure.
func (*GetTeacherByIDReader) ReadResponse ¶
func (o *GetTeacherByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTeacherOfSubjectInternalServerError ¶
type GetTeacherOfSubjectInternalServerError struct { }
GetTeacherOfSubjectInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetTeacherOfSubjectInternalServerError ¶
func NewGetTeacherOfSubjectInternalServerError() *GetTeacherOfSubjectInternalServerError
NewGetTeacherOfSubjectInternalServerError creates a GetTeacherOfSubjectInternalServerError with default headers values
func (*GetTeacherOfSubjectInternalServerError) Code ¶
func (o *GetTeacherOfSubjectInternalServerError) Code() int
Code gets the status code for the get teacher of subject internal server error response
func (*GetTeacherOfSubjectInternalServerError) Error ¶
func (o *GetTeacherOfSubjectInternalServerError) Error() string
func (*GetTeacherOfSubjectInternalServerError) IsClientError ¶
func (o *GetTeacherOfSubjectInternalServerError) IsClientError() bool
IsClientError returns true when this get teacher of subject internal server error response has a 4xx status code
func (*GetTeacherOfSubjectInternalServerError) IsCode ¶
func (o *GetTeacherOfSubjectInternalServerError) IsCode(code int) bool
IsCode returns true when this get teacher of subject internal server error response a status code equal to that given
func (*GetTeacherOfSubjectInternalServerError) IsRedirect ¶
func (o *GetTeacherOfSubjectInternalServerError) IsRedirect() bool
IsRedirect returns true when this get teacher of subject internal server error response has a 3xx status code
func (*GetTeacherOfSubjectInternalServerError) IsServerError ¶
func (o *GetTeacherOfSubjectInternalServerError) IsServerError() bool
IsServerError returns true when this get teacher of subject internal server error response has a 5xx status code
func (*GetTeacherOfSubjectInternalServerError) IsSuccess ¶
func (o *GetTeacherOfSubjectInternalServerError) IsSuccess() bool
IsSuccess returns true when this get teacher of subject internal server error response has a 2xx status code
func (*GetTeacherOfSubjectInternalServerError) String ¶
func (o *GetTeacherOfSubjectInternalServerError) String() string
type GetTeacherOfSubjectNotFound ¶
type GetTeacherOfSubjectNotFound struct { }
GetTeacherOfSubjectNotFound describes a response with status code 404, with default header values.
Subject not found
func NewGetTeacherOfSubjectNotFound ¶
func NewGetTeacherOfSubjectNotFound() *GetTeacherOfSubjectNotFound
NewGetTeacherOfSubjectNotFound creates a GetTeacherOfSubjectNotFound with default headers values
func (*GetTeacherOfSubjectNotFound) Code ¶
func (o *GetTeacherOfSubjectNotFound) Code() int
Code gets the status code for the get teacher of subject not found response
func (*GetTeacherOfSubjectNotFound) Error ¶
func (o *GetTeacherOfSubjectNotFound) Error() string
func (*GetTeacherOfSubjectNotFound) IsClientError ¶
func (o *GetTeacherOfSubjectNotFound) IsClientError() bool
IsClientError returns true when this get teacher of subject not found response has a 4xx status code
func (*GetTeacherOfSubjectNotFound) IsCode ¶
func (o *GetTeacherOfSubjectNotFound) IsCode(code int) bool
IsCode returns true when this get teacher of subject not found response a status code equal to that given
func (*GetTeacherOfSubjectNotFound) IsRedirect ¶
func (o *GetTeacherOfSubjectNotFound) IsRedirect() bool
IsRedirect returns true when this get teacher of subject not found response has a 3xx status code
func (*GetTeacherOfSubjectNotFound) IsServerError ¶
func (o *GetTeacherOfSubjectNotFound) IsServerError() bool
IsServerError returns true when this get teacher of subject not found response has a 5xx status code
func (*GetTeacherOfSubjectNotFound) IsSuccess ¶
func (o *GetTeacherOfSubjectNotFound) IsSuccess() bool
IsSuccess returns true when this get teacher of subject not found response has a 2xx status code
func (*GetTeacherOfSubjectNotFound) String ¶
func (o *GetTeacherOfSubjectNotFound) String() string
type GetTeacherOfSubjectOK ¶
GetTeacherOfSubjectOK describes a response with status code 200, with default header values.
Subject's Teacher as response
func NewGetTeacherOfSubjectOK ¶
func NewGetTeacherOfSubjectOK() *GetTeacherOfSubjectOK
NewGetTeacherOfSubjectOK creates a GetTeacherOfSubjectOK with default headers values
func (*GetTeacherOfSubjectOK) Code ¶
func (o *GetTeacherOfSubjectOK) Code() int
Code gets the status code for the get teacher of subject o k response
func (*GetTeacherOfSubjectOK) Error ¶
func (o *GetTeacherOfSubjectOK) Error() string
func (*GetTeacherOfSubjectOK) GetPayload ¶
func (o *GetTeacherOfSubjectOK) GetPayload() *models.Teacher
func (*GetTeacherOfSubjectOK) IsClientError ¶
func (o *GetTeacherOfSubjectOK) IsClientError() bool
IsClientError returns true when this get teacher of subject o k response has a 4xx status code
func (*GetTeacherOfSubjectOK) IsCode ¶
func (o *GetTeacherOfSubjectOK) IsCode(code int) bool
IsCode returns true when this get teacher of subject o k response a status code equal to that given
func (*GetTeacherOfSubjectOK) IsRedirect ¶
func (o *GetTeacherOfSubjectOK) IsRedirect() bool
IsRedirect returns true when this get teacher of subject o k response has a 3xx status code
func (*GetTeacherOfSubjectOK) IsServerError ¶
func (o *GetTeacherOfSubjectOK) IsServerError() bool
IsServerError returns true when this get teacher of subject o k response has a 5xx status code
func (*GetTeacherOfSubjectOK) IsSuccess ¶
func (o *GetTeacherOfSubjectOK) IsSuccess() bool
IsSuccess returns true when this get teacher of subject o k response has a 2xx status code
func (*GetTeacherOfSubjectOK) String ¶
func (o *GetTeacherOfSubjectOK) String() string
type GetTeacherOfSubjectParams ¶
type GetTeacherOfSubjectParams struct { /* ID. The ID of the Subject */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTeacherOfSubjectParams contains all the parameters to send to the API endpoint
for the get teacher of subject operation. Typically these are written to a http.Request.
func NewGetTeacherOfSubjectParams ¶
func NewGetTeacherOfSubjectParams() *GetTeacherOfSubjectParams
NewGetTeacherOfSubjectParams creates a new GetTeacherOfSubjectParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetTeacherOfSubjectParamsWithContext ¶
func NewGetTeacherOfSubjectParamsWithContext(ctx context.Context) *GetTeacherOfSubjectParams
NewGetTeacherOfSubjectParamsWithContext creates a new GetTeacherOfSubjectParams object with the ability to set a context for a request.
func NewGetTeacherOfSubjectParamsWithHTTPClient ¶
func NewGetTeacherOfSubjectParamsWithHTTPClient(client *http.Client) *GetTeacherOfSubjectParams
NewGetTeacherOfSubjectParamsWithHTTPClient creates a new GetTeacherOfSubjectParams object with the ability to set a custom HTTPClient for a request.
func NewGetTeacherOfSubjectParamsWithTimeout ¶
func NewGetTeacherOfSubjectParamsWithTimeout(timeout time.Duration) *GetTeacherOfSubjectParams
NewGetTeacherOfSubjectParamsWithTimeout creates a new GetTeacherOfSubjectParams object with the ability to set a timeout on a request.
func (*GetTeacherOfSubjectParams) SetContext ¶
func (o *GetTeacherOfSubjectParams) SetContext(ctx context.Context)
SetContext adds the context to the get teacher of subject params
func (*GetTeacherOfSubjectParams) SetDefaults ¶
func (o *GetTeacherOfSubjectParams) SetDefaults()
SetDefaults hydrates default values in the get teacher of subject params (not the query body).
All values with no default are reset to their zero value.
func (*GetTeacherOfSubjectParams) SetHTTPClient ¶
func (o *GetTeacherOfSubjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get teacher of subject params
func (*GetTeacherOfSubjectParams) SetID ¶
func (o *GetTeacherOfSubjectParams) SetID(id int64)
SetID adds the id to the get teacher of subject params
func (*GetTeacherOfSubjectParams) SetTimeout ¶
func (o *GetTeacherOfSubjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get teacher of subject params
func (*GetTeacherOfSubjectParams) WithContext ¶
func (o *GetTeacherOfSubjectParams) WithContext(ctx context.Context) *GetTeacherOfSubjectParams
WithContext adds the context to the get teacher of subject params
func (*GetTeacherOfSubjectParams) WithDefaults ¶
func (o *GetTeacherOfSubjectParams) WithDefaults() *GetTeacherOfSubjectParams
WithDefaults hydrates default values in the get teacher of subject params (not the query body).
All values with no default are reset to their zero value.
func (*GetTeacherOfSubjectParams) WithHTTPClient ¶
func (o *GetTeacherOfSubjectParams) WithHTTPClient(client *http.Client) *GetTeacherOfSubjectParams
WithHTTPClient adds the HTTPClient to the get teacher of subject params
func (*GetTeacherOfSubjectParams) WithID ¶
func (o *GetTeacherOfSubjectParams) WithID(id int64) *GetTeacherOfSubjectParams
WithID adds the id to the get teacher of subject params
func (*GetTeacherOfSubjectParams) WithTimeout ¶
func (o *GetTeacherOfSubjectParams) WithTimeout(timeout time.Duration) *GetTeacherOfSubjectParams
WithTimeout adds the timeout to the get teacher of subject params
func (*GetTeacherOfSubjectParams) WriteToRequest ¶
func (o *GetTeacherOfSubjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTeacherOfSubjectReader ¶
type GetTeacherOfSubjectReader struct {
// contains filtered or unexported fields
}
GetTeacherOfSubjectReader is a Reader for the GetTeacherOfSubject structure.
func (*GetTeacherOfSubjectReader) ReadResponse ¶
func (o *GetTeacherOfSubjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTeachersInternalServerError ¶
type GetTeachersInternalServerError struct { }
GetTeachersInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetTeachersInternalServerError ¶
func NewGetTeachersInternalServerError() *GetTeachersInternalServerError
NewGetTeachersInternalServerError creates a GetTeachersInternalServerError with default headers values
func (*GetTeachersInternalServerError) Code ¶
func (o *GetTeachersInternalServerError) Code() int
Code gets the status code for the get teachers internal server error response
func (*GetTeachersInternalServerError) Error ¶
func (o *GetTeachersInternalServerError) Error() string
func (*GetTeachersInternalServerError) IsClientError ¶
func (o *GetTeachersInternalServerError) IsClientError() bool
IsClientError returns true when this get teachers internal server error response has a 4xx status code
func (*GetTeachersInternalServerError) IsCode ¶
func (o *GetTeachersInternalServerError) IsCode(code int) bool
IsCode returns true when this get teachers internal server error response a status code equal to that given
func (*GetTeachersInternalServerError) IsRedirect ¶
func (o *GetTeachersInternalServerError) IsRedirect() bool
IsRedirect returns true when this get teachers internal server error response has a 3xx status code
func (*GetTeachersInternalServerError) IsServerError ¶
func (o *GetTeachersInternalServerError) IsServerError() bool
IsServerError returns true when this get teachers internal server error response has a 5xx status code
func (*GetTeachersInternalServerError) IsSuccess ¶
func (o *GetTeachersInternalServerError) IsSuccess() bool
IsSuccess returns true when this get teachers internal server error response has a 2xx status code
func (*GetTeachersInternalServerError) String ¶
func (o *GetTeachersInternalServerError) String() string
type GetTeachersNotFound ¶
type GetTeachersNotFound struct { }
GetTeachersNotFound describes a response with status code 404, with default header values.
Teachers not found
func NewGetTeachersNotFound ¶
func NewGetTeachersNotFound() *GetTeachersNotFound
NewGetTeachersNotFound creates a GetTeachersNotFound with default headers values
func (*GetTeachersNotFound) Code ¶
func (o *GetTeachersNotFound) Code() int
Code gets the status code for the get teachers not found response
func (*GetTeachersNotFound) Error ¶
func (o *GetTeachersNotFound) Error() string
func (*GetTeachersNotFound) IsClientError ¶
func (o *GetTeachersNotFound) IsClientError() bool
IsClientError returns true when this get teachers not found response has a 4xx status code
func (*GetTeachersNotFound) IsCode ¶
func (o *GetTeachersNotFound) IsCode(code int) bool
IsCode returns true when this get teachers not found response a status code equal to that given
func (*GetTeachersNotFound) IsRedirect ¶
func (o *GetTeachersNotFound) IsRedirect() bool
IsRedirect returns true when this get teachers not found response has a 3xx status code
func (*GetTeachersNotFound) IsServerError ¶
func (o *GetTeachersNotFound) IsServerError() bool
IsServerError returns true when this get teachers not found response has a 5xx status code
func (*GetTeachersNotFound) IsSuccess ¶
func (o *GetTeachersNotFound) IsSuccess() bool
IsSuccess returns true when this get teachers not found response has a 2xx status code
func (*GetTeachersNotFound) String ¶
func (o *GetTeachersNotFound) String() string
type GetTeachersOK ¶
GetTeachersOK describes a response with status code 200, with default header values.
Teachers' response
func NewGetTeachersOK ¶
func NewGetTeachersOK() *GetTeachersOK
NewGetTeachersOK creates a GetTeachersOK with default headers values
func (*GetTeachersOK) Code ¶
func (o *GetTeachersOK) Code() int
Code gets the status code for the get teachers o k response
func (*GetTeachersOK) Error ¶
func (o *GetTeachersOK) Error() string
func (*GetTeachersOK) GetPayload ¶
func (o *GetTeachersOK) GetPayload() []*models.Teacher
func (*GetTeachersOK) IsClientError ¶
func (o *GetTeachersOK) IsClientError() bool
IsClientError returns true when this get teachers o k response has a 4xx status code
func (*GetTeachersOK) IsCode ¶
func (o *GetTeachersOK) IsCode(code int) bool
IsCode returns true when this get teachers o k response a status code equal to that given
func (*GetTeachersOK) IsRedirect ¶
func (o *GetTeachersOK) IsRedirect() bool
IsRedirect returns true when this get teachers o k response has a 3xx status code
func (*GetTeachersOK) IsServerError ¶
func (o *GetTeachersOK) IsServerError() bool
IsServerError returns true when this get teachers o k response has a 5xx status code
func (*GetTeachersOK) IsSuccess ¶
func (o *GetTeachersOK) IsSuccess() bool
IsSuccess returns true when this get teachers o k response has a 2xx status code
func (*GetTeachersOK) String ¶
func (o *GetTeachersOK) String() string
type GetTeachersOfClassInternalServerError ¶
type GetTeachersOfClassInternalServerError struct { }
GetTeachersOfClassInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetTeachersOfClassInternalServerError ¶
func NewGetTeachersOfClassInternalServerError() *GetTeachersOfClassInternalServerError
NewGetTeachersOfClassInternalServerError creates a GetTeachersOfClassInternalServerError with default headers values
func (*GetTeachersOfClassInternalServerError) Code ¶
func (o *GetTeachersOfClassInternalServerError) Code() int
Code gets the status code for the get teachers of class internal server error response
func (*GetTeachersOfClassInternalServerError) Error ¶
func (o *GetTeachersOfClassInternalServerError) Error() string
func (*GetTeachersOfClassInternalServerError) IsClientError ¶
func (o *GetTeachersOfClassInternalServerError) IsClientError() bool
IsClientError returns true when this get teachers of class internal server error response has a 4xx status code
func (*GetTeachersOfClassInternalServerError) IsCode ¶
func (o *GetTeachersOfClassInternalServerError) IsCode(code int) bool
IsCode returns true when this get teachers of class internal server error response a status code equal to that given
func (*GetTeachersOfClassInternalServerError) IsRedirect ¶
func (o *GetTeachersOfClassInternalServerError) IsRedirect() bool
IsRedirect returns true when this get teachers of class internal server error response has a 3xx status code
func (*GetTeachersOfClassInternalServerError) IsServerError ¶
func (o *GetTeachersOfClassInternalServerError) IsServerError() bool
IsServerError returns true when this get teachers of class internal server error response has a 5xx status code
func (*GetTeachersOfClassInternalServerError) IsSuccess ¶
func (o *GetTeachersOfClassInternalServerError) IsSuccess() bool
IsSuccess returns true when this get teachers of class internal server error response has a 2xx status code
func (*GetTeachersOfClassInternalServerError) String ¶
func (o *GetTeachersOfClassInternalServerError) String() string
type GetTeachersOfClassNotFound ¶
type GetTeachersOfClassNotFound struct { }
GetTeachersOfClassNotFound describes a response with status code 404, with default header values.
Class not found
func NewGetTeachersOfClassNotFound ¶
func NewGetTeachersOfClassNotFound() *GetTeachersOfClassNotFound
NewGetTeachersOfClassNotFound creates a GetTeachersOfClassNotFound with default headers values
func (*GetTeachersOfClassNotFound) Code ¶
func (o *GetTeachersOfClassNotFound) Code() int
Code gets the status code for the get teachers of class not found response
func (*GetTeachersOfClassNotFound) Error ¶
func (o *GetTeachersOfClassNotFound) Error() string
func (*GetTeachersOfClassNotFound) IsClientError ¶
func (o *GetTeachersOfClassNotFound) IsClientError() bool
IsClientError returns true when this get teachers of class not found response has a 4xx status code
func (*GetTeachersOfClassNotFound) IsCode ¶
func (o *GetTeachersOfClassNotFound) IsCode(code int) bool
IsCode returns true when this get teachers of class not found response a status code equal to that given
func (*GetTeachersOfClassNotFound) IsRedirect ¶
func (o *GetTeachersOfClassNotFound) IsRedirect() bool
IsRedirect returns true when this get teachers of class not found response has a 3xx status code
func (*GetTeachersOfClassNotFound) IsServerError ¶
func (o *GetTeachersOfClassNotFound) IsServerError() bool
IsServerError returns true when this get teachers of class not found response has a 5xx status code
func (*GetTeachersOfClassNotFound) IsSuccess ¶
func (o *GetTeachersOfClassNotFound) IsSuccess() bool
IsSuccess returns true when this get teachers of class not found response has a 2xx status code
func (*GetTeachersOfClassNotFound) String ¶
func (o *GetTeachersOfClassNotFound) String() string
type GetTeachersOfClassOK ¶
GetTeachersOfClassOK describes a response with status code 200, with default header values.
Class' Teachers as response
func NewGetTeachersOfClassOK ¶
func NewGetTeachersOfClassOK() *GetTeachersOfClassOK
NewGetTeachersOfClassOK creates a GetTeachersOfClassOK with default headers values
func (*GetTeachersOfClassOK) Code ¶
func (o *GetTeachersOfClassOK) Code() int
Code gets the status code for the get teachers of class o k response
func (*GetTeachersOfClassOK) Error ¶
func (o *GetTeachersOfClassOK) Error() string
func (*GetTeachersOfClassOK) GetPayload ¶
func (o *GetTeachersOfClassOK) GetPayload() []*models.Teacher
func (*GetTeachersOfClassOK) IsClientError ¶
func (o *GetTeachersOfClassOK) IsClientError() bool
IsClientError returns true when this get teachers of class o k response has a 4xx status code
func (*GetTeachersOfClassOK) IsCode ¶
func (o *GetTeachersOfClassOK) IsCode(code int) bool
IsCode returns true when this get teachers of class o k response a status code equal to that given
func (*GetTeachersOfClassOK) IsRedirect ¶
func (o *GetTeachersOfClassOK) IsRedirect() bool
IsRedirect returns true when this get teachers of class o k response has a 3xx status code
func (*GetTeachersOfClassOK) IsServerError ¶
func (o *GetTeachersOfClassOK) IsServerError() bool
IsServerError returns true when this get teachers of class o k response has a 5xx status code
func (*GetTeachersOfClassOK) IsSuccess ¶
func (o *GetTeachersOfClassOK) IsSuccess() bool
IsSuccess returns true when this get teachers of class o k response has a 2xx status code
func (*GetTeachersOfClassOK) String ¶
func (o *GetTeachersOfClassOK) String() string
type GetTeachersOfClassParams ¶
type GetTeachersOfClassParams struct { /* ID. The ID of the Class */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTeachersOfClassParams contains all the parameters to send to the API endpoint
for the get teachers of class operation. Typically these are written to a http.Request.
func NewGetTeachersOfClassParams ¶
func NewGetTeachersOfClassParams() *GetTeachersOfClassParams
NewGetTeachersOfClassParams creates a new GetTeachersOfClassParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetTeachersOfClassParamsWithContext ¶
func NewGetTeachersOfClassParamsWithContext(ctx context.Context) *GetTeachersOfClassParams
NewGetTeachersOfClassParamsWithContext creates a new GetTeachersOfClassParams object with the ability to set a context for a request.
func NewGetTeachersOfClassParamsWithHTTPClient ¶
func NewGetTeachersOfClassParamsWithHTTPClient(client *http.Client) *GetTeachersOfClassParams
NewGetTeachersOfClassParamsWithHTTPClient creates a new GetTeachersOfClassParams object with the ability to set a custom HTTPClient for a request.
func NewGetTeachersOfClassParamsWithTimeout ¶
func NewGetTeachersOfClassParamsWithTimeout(timeout time.Duration) *GetTeachersOfClassParams
NewGetTeachersOfClassParamsWithTimeout creates a new GetTeachersOfClassParams object with the ability to set a timeout on a request.
func (*GetTeachersOfClassParams) SetContext ¶
func (o *GetTeachersOfClassParams) SetContext(ctx context.Context)
SetContext adds the context to the get teachers of class params
func (*GetTeachersOfClassParams) SetDefaults ¶
func (o *GetTeachersOfClassParams) SetDefaults()
SetDefaults hydrates default values in the get teachers of class params (not the query body).
All values with no default are reset to their zero value.
func (*GetTeachersOfClassParams) SetHTTPClient ¶
func (o *GetTeachersOfClassParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get teachers of class params
func (*GetTeachersOfClassParams) SetID ¶
func (o *GetTeachersOfClassParams) SetID(id int64)
SetID adds the id to the get teachers of class params
func (*GetTeachersOfClassParams) SetTimeout ¶
func (o *GetTeachersOfClassParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get teachers of class params
func (*GetTeachersOfClassParams) WithContext ¶
func (o *GetTeachersOfClassParams) WithContext(ctx context.Context) *GetTeachersOfClassParams
WithContext adds the context to the get teachers of class params
func (*GetTeachersOfClassParams) WithDefaults ¶
func (o *GetTeachersOfClassParams) WithDefaults() *GetTeachersOfClassParams
WithDefaults hydrates default values in the get teachers of class params (not the query body).
All values with no default are reset to their zero value.
func (*GetTeachersOfClassParams) WithHTTPClient ¶
func (o *GetTeachersOfClassParams) WithHTTPClient(client *http.Client) *GetTeachersOfClassParams
WithHTTPClient adds the HTTPClient to the get teachers of class params
func (*GetTeachersOfClassParams) WithID ¶
func (o *GetTeachersOfClassParams) WithID(id int64) *GetTeachersOfClassParams
WithID adds the id to the get teachers of class params
func (*GetTeachersOfClassParams) WithTimeout ¶
func (o *GetTeachersOfClassParams) WithTimeout(timeout time.Duration) *GetTeachersOfClassParams
WithTimeout adds the timeout to the get teachers of class params
func (*GetTeachersOfClassParams) WriteToRequest ¶
func (o *GetTeachersOfClassParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTeachersOfClassReader ¶
type GetTeachersOfClassReader struct {
// contains filtered or unexported fields
}
GetTeachersOfClassReader is a Reader for the GetTeachersOfClass structure.
func (*GetTeachersOfClassReader) ReadResponse ¶
func (o *GetTeachersOfClassReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTeachersParams ¶
type GetTeachersParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTeachersParams contains all the parameters to send to the API endpoint
for the get teachers operation. Typically these are written to a http.Request.
func NewGetTeachersParams ¶
func NewGetTeachersParams() *GetTeachersParams
NewGetTeachersParams creates a new GetTeachersParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetTeachersParamsWithContext ¶
func NewGetTeachersParamsWithContext(ctx context.Context) *GetTeachersParams
NewGetTeachersParamsWithContext creates a new GetTeachersParams object with the ability to set a context for a request.
func NewGetTeachersParamsWithHTTPClient ¶
func NewGetTeachersParamsWithHTTPClient(client *http.Client) *GetTeachersParams
NewGetTeachersParamsWithHTTPClient creates a new GetTeachersParams object with the ability to set a custom HTTPClient for a request.
func NewGetTeachersParamsWithTimeout ¶
func NewGetTeachersParamsWithTimeout(timeout time.Duration) *GetTeachersParams
NewGetTeachersParamsWithTimeout creates a new GetTeachersParams object with the ability to set a timeout on a request.
func (*GetTeachersParams) SetContext ¶
func (o *GetTeachersParams) SetContext(ctx context.Context)
SetContext adds the context to the get teachers params
func (*GetTeachersParams) SetDefaults ¶
func (o *GetTeachersParams) SetDefaults()
SetDefaults hydrates default values in the get teachers params (not the query body).
All values with no default are reset to their zero value.
func (*GetTeachersParams) SetHTTPClient ¶
func (o *GetTeachersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get teachers params
func (*GetTeachersParams) SetTimeout ¶
func (o *GetTeachersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get teachers params
func (*GetTeachersParams) WithContext ¶
func (o *GetTeachersParams) WithContext(ctx context.Context) *GetTeachersParams
WithContext adds the context to the get teachers params
func (*GetTeachersParams) WithDefaults ¶
func (o *GetTeachersParams) WithDefaults() *GetTeachersParams
WithDefaults hydrates default values in the get teachers params (not the query body).
All values with no default are reset to their zero value.
func (*GetTeachersParams) WithHTTPClient ¶
func (o *GetTeachersParams) WithHTTPClient(client *http.Client) *GetTeachersParams
WithHTTPClient adds the HTTPClient to the get teachers params
func (*GetTeachersParams) WithTimeout ¶
func (o *GetTeachersParams) WithTimeout(timeout time.Duration) *GetTeachersParams
WithTimeout adds the timeout to the get teachers params
func (*GetTeachersParams) WriteToRequest ¶
func (o *GetTeachersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTeachersReader ¶
type GetTeachersReader struct {
// contains filtered or unexported fields
}
GetTeachersReader is a Reader for the GetTeachers structure.
func (*GetTeachersReader) ReadResponse ¶
func (o *GetTeachersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateAccountInternalServerError ¶
type UpdateAccountInternalServerError struct { }
UpdateAccountInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewUpdateAccountInternalServerError ¶
func NewUpdateAccountInternalServerError() *UpdateAccountInternalServerError
NewUpdateAccountInternalServerError creates a UpdateAccountInternalServerError with default headers values
func (*UpdateAccountInternalServerError) Code ¶
func (o *UpdateAccountInternalServerError) Code() int
Code gets the status code for the update account internal server error response
func (*UpdateAccountInternalServerError) Error ¶
func (o *UpdateAccountInternalServerError) Error() string
func (*UpdateAccountInternalServerError) IsClientError ¶
func (o *UpdateAccountInternalServerError) IsClientError() bool
IsClientError returns true when this update account internal server error response has a 4xx status code
func (*UpdateAccountInternalServerError) IsCode ¶
func (o *UpdateAccountInternalServerError) IsCode(code int) bool
IsCode returns true when this update account internal server error response a status code equal to that given
func (*UpdateAccountInternalServerError) IsRedirect ¶
func (o *UpdateAccountInternalServerError) IsRedirect() bool
IsRedirect returns true when this update account internal server error response has a 3xx status code
func (*UpdateAccountInternalServerError) IsServerError ¶
func (o *UpdateAccountInternalServerError) IsServerError() bool
IsServerError returns true when this update account internal server error response has a 5xx status code
func (*UpdateAccountInternalServerError) IsSuccess ¶
func (o *UpdateAccountInternalServerError) IsSuccess() bool
IsSuccess returns true when this update account internal server error response has a 2xx status code
func (*UpdateAccountInternalServerError) String ¶
func (o *UpdateAccountInternalServerError) String() string
type UpdateAccountNotFound ¶
type UpdateAccountNotFound struct { }
UpdateAccountNotFound describes a response with status code 404, with default header values.
Account not found!
func NewUpdateAccountNotFound ¶
func NewUpdateAccountNotFound() *UpdateAccountNotFound
NewUpdateAccountNotFound creates a UpdateAccountNotFound with default headers values
func (*UpdateAccountNotFound) Code ¶
func (o *UpdateAccountNotFound) Code() int
Code gets the status code for the update account not found response
func (*UpdateAccountNotFound) Error ¶
func (o *UpdateAccountNotFound) Error() string
func (*UpdateAccountNotFound) IsClientError ¶
func (o *UpdateAccountNotFound) IsClientError() bool
IsClientError returns true when this update account not found response has a 4xx status code
func (*UpdateAccountNotFound) IsCode ¶
func (o *UpdateAccountNotFound) IsCode(code int) bool
IsCode returns true when this update account not found response a status code equal to that given
func (*UpdateAccountNotFound) IsRedirect ¶
func (o *UpdateAccountNotFound) IsRedirect() bool
IsRedirect returns true when this update account not found response has a 3xx status code
func (*UpdateAccountNotFound) IsServerError ¶
func (o *UpdateAccountNotFound) IsServerError() bool
IsServerError returns true when this update account not found response has a 5xx status code
func (*UpdateAccountNotFound) IsSuccess ¶
func (o *UpdateAccountNotFound) IsSuccess() bool
IsSuccess returns true when this update account not found response has a 2xx status code
func (*UpdateAccountNotFound) String ¶
func (o *UpdateAccountNotFound) String() string
type UpdateAccountOK ¶
UpdateAccountOK describes a response with status code 200, with default header values.
Account updated
func NewUpdateAccountOK ¶
func NewUpdateAccountOK() *UpdateAccountOK
NewUpdateAccountOK creates a UpdateAccountOK with default headers values
func (*UpdateAccountOK) Code ¶
func (o *UpdateAccountOK) Code() int
Code gets the status code for the update account o k response
func (*UpdateAccountOK) Error ¶
func (o *UpdateAccountOK) Error() string
func (*UpdateAccountOK) GetPayload ¶
func (o *UpdateAccountOK) GetPayload() *models.Account
func (*UpdateAccountOK) IsClientError ¶
func (o *UpdateAccountOK) IsClientError() bool
IsClientError returns true when this update account o k response has a 4xx status code
func (*UpdateAccountOK) IsCode ¶
func (o *UpdateAccountOK) IsCode(code int) bool
IsCode returns true when this update account o k response a status code equal to that given
func (*UpdateAccountOK) IsRedirect ¶
func (o *UpdateAccountOK) IsRedirect() bool
IsRedirect returns true when this update account o k response has a 3xx status code
func (*UpdateAccountOK) IsServerError ¶
func (o *UpdateAccountOK) IsServerError() bool
IsServerError returns true when this update account o k response has a 5xx status code
func (*UpdateAccountOK) IsSuccess ¶
func (o *UpdateAccountOK) IsSuccess() bool
IsSuccess returns true when this update account o k response has a 2xx status code
func (*UpdateAccountOK) String ¶
func (o *UpdateAccountOK) String() string
type UpdateAccountParams ¶
type UpdateAccountParams struct { /* Account. Account details */ Account *models.Account Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateAccountParams contains all the parameters to send to the API endpoint
for the update account operation. Typically these are written to a http.Request.
func NewUpdateAccountParams ¶
func NewUpdateAccountParams() *UpdateAccountParams
NewUpdateAccountParams creates a new UpdateAccountParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateAccountParamsWithContext ¶
func NewUpdateAccountParamsWithContext(ctx context.Context) *UpdateAccountParams
NewUpdateAccountParamsWithContext creates a new UpdateAccountParams object with the ability to set a context for a request.
func NewUpdateAccountParamsWithHTTPClient ¶
func NewUpdateAccountParamsWithHTTPClient(client *http.Client) *UpdateAccountParams
NewUpdateAccountParamsWithHTTPClient creates a new UpdateAccountParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateAccountParamsWithTimeout ¶
func NewUpdateAccountParamsWithTimeout(timeout time.Duration) *UpdateAccountParams
NewUpdateAccountParamsWithTimeout creates a new UpdateAccountParams object with the ability to set a timeout on a request.
func (*UpdateAccountParams) SetAccount ¶
func (o *UpdateAccountParams) SetAccount(account *models.Account)
SetAccount adds the account to the update account params
func (*UpdateAccountParams) SetContext ¶
func (o *UpdateAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the update account params
func (*UpdateAccountParams) SetDefaults ¶
func (o *UpdateAccountParams) SetDefaults()
SetDefaults hydrates default values in the update account params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAccountParams) SetHTTPClient ¶
func (o *UpdateAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update account params
func (*UpdateAccountParams) SetTimeout ¶
func (o *UpdateAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update account params
func (*UpdateAccountParams) WithAccount ¶
func (o *UpdateAccountParams) WithAccount(account *models.Account) *UpdateAccountParams
WithAccount adds the account to the update account params
func (*UpdateAccountParams) WithContext ¶
func (o *UpdateAccountParams) WithContext(ctx context.Context) *UpdateAccountParams
WithContext adds the context to the update account params
func (*UpdateAccountParams) WithDefaults ¶
func (o *UpdateAccountParams) WithDefaults() *UpdateAccountParams
WithDefaults hydrates default values in the update account params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAccountParams) WithHTTPClient ¶
func (o *UpdateAccountParams) WithHTTPClient(client *http.Client) *UpdateAccountParams
WithHTTPClient adds the HTTPClient to the update account params
func (*UpdateAccountParams) WithTimeout ¶
func (o *UpdateAccountParams) WithTimeout(timeout time.Duration) *UpdateAccountParams
WithTimeout adds the timeout to the update account params
func (*UpdateAccountParams) WriteToRequest ¶
func (o *UpdateAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateAccountReader ¶
type UpdateAccountReader struct {
// contains filtered or unexported fields
}
UpdateAccountReader is a Reader for the UpdateAccount structure.
func (*UpdateAccountReader) ReadResponse ¶
func (o *UpdateAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateClassNameBody ¶
type UpdateClassNameBody struct { // name Name string `json:"Name,omitempty"` }
UpdateClassNameBody update class name body swagger:model UpdateClassNameBody
func (*UpdateClassNameBody) ContextValidate ¶
ContextValidate validates this update class name body based on context it is used
func (*UpdateClassNameBody) MarshalBinary ¶
func (o *UpdateClassNameBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateClassNameBody) UnmarshalBinary ¶
func (o *UpdateClassNameBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateClassNameInternalServerError ¶
type UpdateClassNameInternalServerError struct { }
UpdateClassNameInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewUpdateClassNameInternalServerError ¶
func NewUpdateClassNameInternalServerError() *UpdateClassNameInternalServerError
NewUpdateClassNameInternalServerError creates a UpdateClassNameInternalServerError with default headers values
func (*UpdateClassNameInternalServerError) Code ¶
func (o *UpdateClassNameInternalServerError) Code() int
Code gets the status code for the update class name internal server error response
func (*UpdateClassNameInternalServerError) Error ¶
func (o *UpdateClassNameInternalServerError) Error() string
func (*UpdateClassNameInternalServerError) IsClientError ¶
func (o *UpdateClassNameInternalServerError) IsClientError() bool
IsClientError returns true when this update class name internal server error response has a 4xx status code
func (*UpdateClassNameInternalServerError) IsCode ¶
func (o *UpdateClassNameInternalServerError) IsCode(code int) bool
IsCode returns true when this update class name internal server error response a status code equal to that given
func (*UpdateClassNameInternalServerError) IsRedirect ¶
func (o *UpdateClassNameInternalServerError) IsRedirect() bool
IsRedirect returns true when this update class name internal server error response has a 3xx status code
func (*UpdateClassNameInternalServerError) IsServerError ¶
func (o *UpdateClassNameInternalServerError) IsServerError() bool
IsServerError returns true when this update class name internal server error response has a 5xx status code
func (*UpdateClassNameInternalServerError) IsSuccess ¶
func (o *UpdateClassNameInternalServerError) IsSuccess() bool
IsSuccess returns true when this update class name internal server error response has a 2xx status code
func (*UpdateClassNameInternalServerError) String ¶
func (o *UpdateClassNameInternalServerError) String() string
type UpdateClassNameNotFound ¶
type UpdateClassNameNotFound struct { }
UpdateClassNameNotFound describes a response with status code 404, with default header values.
Class not found!
func NewUpdateClassNameNotFound ¶
func NewUpdateClassNameNotFound() *UpdateClassNameNotFound
NewUpdateClassNameNotFound creates a UpdateClassNameNotFound with default headers values
func (*UpdateClassNameNotFound) Code ¶
func (o *UpdateClassNameNotFound) Code() int
Code gets the status code for the update class name not found response
func (*UpdateClassNameNotFound) Error ¶
func (o *UpdateClassNameNotFound) Error() string
func (*UpdateClassNameNotFound) IsClientError ¶
func (o *UpdateClassNameNotFound) IsClientError() bool
IsClientError returns true when this update class name not found response has a 4xx status code
func (*UpdateClassNameNotFound) IsCode ¶
func (o *UpdateClassNameNotFound) IsCode(code int) bool
IsCode returns true when this update class name not found response a status code equal to that given
func (*UpdateClassNameNotFound) IsRedirect ¶
func (o *UpdateClassNameNotFound) IsRedirect() bool
IsRedirect returns true when this update class name not found response has a 3xx status code
func (*UpdateClassNameNotFound) IsServerError ¶
func (o *UpdateClassNameNotFound) IsServerError() bool
IsServerError returns true when this update class name not found response has a 5xx status code
func (*UpdateClassNameNotFound) IsSuccess ¶
func (o *UpdateClassNameNotFound) IsSuccess() bool
IsSuccess returns true when this update class name not found response has a 2xx status code
func (*UpdateClassNameNotFound) String ¶
func (o *UpdateClassNameNotFound) String() string
type UpdateClassNameOK ¶
type UpdateClassNameOK struct {
Payload int64
}
UpdateClassNameOK describes a response with status code 200, with default header values.
Class Name updated Successfully!
func NewUpdateClassNameOK ¶
func NewUpdateClassNameOK() *UpdateClassNameOK
NewUpdateClassNameOK creates a UpdateClassNameOK with default headers values
func (*UpdateClassNameOK) Code ¶
func (o *UpdateClassNameOK) Code() int
Code gets the status code for the update class name o k response
func (*UpdateClassNameOK) Error ¶
func (o *UpdateClassNameOK) Error() string
func (*UpdateClassNameOK) GetPayload ¶
func (o *UpdateClassNameOK) GetPayload() int64
func (*UpdateClassNameOK) IsClientError ¶
func (o *UpdateClassNameOK) IsClientError() bool
IsClientError returns true when this update class name o k response has a 4xx status code
func (*UpdateClassNameOK) IsCode ¶
func (o *UpdateClassNameOK) IsCode(code int) bool
IsCode returns true when this update class name o k response a status code equal to that given
func (*UpdateClassNameOK) IsRedirect ¶
func (o *UpdateClassNameOK) IsRedirect() bool
IsRedirect returns true when this update class name o k response has a 3xx status code
func (*UpdateClassNameOK) IsServerError ¶
func (o *UpdateClassNameOK) IsServerError() bool
IsServerError returns true when this update class name o k response has a 5xx status code
func (*UpdateClassNameOK) IsSuccess ¶
func (o *UpdateClassNameOK) IsSuccess() bool
IsSuccess returns true when this update class name o k response has a 2xx status code
func (*UpdateClassNameOK) String ¶
func (o *UpdateClassNameOK) String() string
type UpdateClassNameParams ¶
type UpdateClassNameParams struct { /* ID. Class ID */ ID int64 /* Name. Updated Name to be stored */ Name UpdateClassNameBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateClassNameParams contains all the parameters to send to the API endpoint
for the update class name operation. Typically these are written to a http.Request.
func NewUpdateClassNameParams ¶
func NewUpdateClassNameParams() *UpdateClassNameParams
NewUpdateClassNameParams creates a new UpdateClassNameParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateClassNameParamsWithContext ¶
func NewUpdateClassNameParamsWithContext(ctx context.Context) *UpdateClassNameParams
NewUpdateClassNameParamsWithContext creates a new UpdateClassNameParams object with the ability to set a context for a request.
func NewUpdateClassNameParamsWithHTTPClient ¶
func NewUpdateClassNameParamsWithHTTPClient(client *http.Client) *UpdateClassNameParams
NewUpdateClassNameParamsWithHTTPClient creates a new UpdateClassNameParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateClassNameParamsWithTimeout ¶
func NewUpdateClassNameParamsWithTimeout(timeout time.Duration) *UpdateClassNameParams
NewUpdateClassNameParamsWithTimeout creates a new UpdateClassNameParams object with the ability to set a timeout on a request.
func (*UpdateClassNameParams) SetContext ¶
func (o *UpdateClassNameParams) SetContext(ctx context.Context)
SetContext adds the context to the update class name params
func (*UpdateClassNameParams) SetDefaults ¶
func (o *UpdateClassNameParams) SetDefaults()
SetDefaults hydrates default values in the update class name params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateClassNameParams) SetHTTPClient ¶
func (o *UpdateClassNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update class name params
func (*UpdateClassNameParams) SetID ¶
func (o *UpdateClassNameParams) SetID(id int64)
SetID adds the id to the update class name params
func (*UpdateClassNameParams) SetName ¶
func (o *UpdateClassNameParams) SetName(name UpdateClassNameBody)
SetName adds the name to the update class name params
func (*UpdateClassNameParams) SetTimeout ¶
func (o *UpdateClassNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update class name params
func (*UpdateClassNameParams) WithContext ¶
func (o *UpdateClassNameParams) WithContext(ctx context.Context) *UpdateClassNameParams
WithContext adds the context to the update class name params
func (*UpdateClassNameParams) WithDefaults ¶
func (o *UpdateClassNameParams) WithDefaults() *UpdateClassNameParams
WithDefaults hydrates default values in the update class name params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateClassNameParams) WithHTTPClient ¶
func (o *UpdateClassNameParams) WithHTTPClient(client *http.Client) *UpdateClassNameParams
WithHTTPClient adds the HTTPClient to the update class name params
func (*UpdateClassNameParams) WithID ¶
func (o *UpdateClassNameParams) WithID(id int64) *UpdateClassNameParams
WithID adds the id to the update class name params
func (*UpdateClassNameParams) WithName ¶
func (o *UpdateClassNameParams) WithName(name UpdateClassNameBody) *UpdateClassNameParams
WithName adds the name to the update class name params
func (*UpdateClassNameParams) WithTimeout ¶
func (o *UpdateClassNameParams) WithTimeout(timeout time.Duration) *UpdateClassNameParams
WithTimeout adds the timeout to the update class name params
func (*UpdateClassNameParams) WriteToRequest ¶
func (o *UpdateClassNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateClassNameReader ¶
type UpdateClassNameReader struct {
// contains filtered or unexported fields
}
UpdateClassNameReader is a Reader for the UpdateClassName structure.
func (*UpdateClassNameReader) ReadResponse ¶
func (o *UpdateClassNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateGPABody ¶
type UpdateGPABody struct { // g p a GPA float64 `json:"GPA,omitempty"` }
UpdateGPABody update g p a body swagger:model UpdateGPABody
func (*UpdateGPABody) ContextValidate ¶
ContextValidate validates this update g p a body based on context it is used
func (*UpdateGPABody) MarshalBinary ¶
func (o *UpdateGPABody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateGPABody) UnmarshalBinary ¶
func (o *UpdateGPABody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateGPAInternalServerError ¶
type UpdateGPAInternalServerError struct { }
UpdateGPAInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewUpdateGPAInternalServerError ¶
func NewUpdateGPAInternalServerError() *UpdateGPAInternalServerError
NewUpdateGPAInternalServerError creates a UpdateGPAInternalServerError with default headers values
func (*UpdateGPAInternalServerError) Code ¶
func (o *UpdateGPAInternalServerError) Code() int
Code gets the status code for the update g p a internal server error response
func (*UpdateGPAInternalServerError) Error ¶
func (o *UpdateGPAInternalServerError) Error() string
func (*UpdateGPAInternalServerError) IsClientError ¶
func (o *UpdateGPAInternalServerError) IsClientError() bool
IsClientError returns true when this update g p a internal server error response has a 4xx status code
func (*UpdateGPAInternalServerError) IsCode ¶
func (o *UpdateGPAInternalServerError) IsCode(code int) bool
IsCode returns true when this update g p a internal server error response a status code equal to that given
func (*UpdateGPAInternalServerError) IsRedirect ¶
func (o *UpdateGPAInternalServerError) IsRedirect() bool
IsRedirect returns true when this update g p a internal server error response has a 3xx status code
func (*UpdateGPAInternalServerError) IsServerError ¶
func (o *UpdateGPAInternalServerError) IsServerError() bool
IsServerError returns true when this update g p a internal server error response has a 5xx status code
func (*UpdateGPAInternalServerError) IsSuccess ¶
func (o *UpdateGPAInternalServerError) IsSuccess() bool
IsSuccess returns true when this update g p a internal server error response has a 2xx status code
func (*UpdateGPAInternalServerError) String ¶
func (o *UpdateGPAInternalServerError) String() string
type UpdateGPANotFound ¶
type UpdateGPANotFound struct { }
UpdateGPANotFound describes a response with status code 404, with default header values.
Student Not found!
func NewUpdateGPANotFound ¶
func NewUpdateGPANotFound() *UpdateGPANotFound
NewUpdateGPANotFound creates a UpdateGPANotFound with default headers values
func (*UpdateGPANotFound) Code ¶
func (o *UpdateGPANotFound) Code() int
Code gets the status code for the update g p a not found response
func (*UpdateGPANotFound) Error ¶
func (o *UpdateGPANotFound) Error() string
func (*UpdateGPANotFound) IsClientError ¶
func (o *UpdateGPANotFound) IsClientError() bool
IsClientError returns true when this update g p a not found response has a 4xx status code
func (*UpdateGPANotFound) IsCode ¶
func (o *UpdateGPANotFound) IsCode(code int) bool
IsCode returns true when this update g p a not found response a status code equal to that given
func (*UpdateGPANotFound) IsRedirect ¶
func (o *UpdateGPANotFound) IsRedirect() bool
IsRedirect returns true when this update g p a not found response has a 3xx status code
func (*UpdateGPANotFound) IsServerError ¶
func (o *UpdateGPANotFound) IsServerError() bool
IsServerError returns true when this update g p a not found response has a 5xx status code
func (*UpdateGPANotFound) IsSuccess ¶
func (o *UpdateGPANotFound) IsSuccess() bool
IsSuccess returns true when this update g p a not found response has a 2xx status code
func (*UpdateGPANotFound) String ¶
func (o *UpdateGPANotFound) String() string
type UpdateGPAOK ¶
type UpdateGPAOK struct {
Payload int64
}
UpdateGPAOK describes a response with status code 200, with default header values.
GPA assigned to Student
func NewUpdateGPAOK ¶
func NewUpdateGPAOK() *UpdateGPAOK
NewUpdateGPAOK creates a UpdateGPAOK with default headers values
func (*UpdateGPAOK) Code ¶
func (o *UpdateGPAOK) Code() int
Code gets the status code for the update g p a o k response
func (*UpdateGPAOK) Error ¶
func (o *UpdateGPAOK) Error() string
func (*UpdateGPAOK) GetPayload ¶
func (o *UpdateGPAOK) GetPayload() int64
func (*UpdateGPAOK) IsClientError ¶
func (o *UpdateGPAOK) IsClientError() bool
IsClientError returns true when this update g p a o k response has a 4xx status code
func (*UpdateGPAOK) IsCode ¶
func (o *UpdateGPAOK) IsCode(code int) bool
IsCode returns true when this update g p a o k response a status code equal to that given
func (*UpdateGPAOK) IsRedirect ¶
func (o *UpdateGPAOK) IsRedirect() bool
IsRedirect returns true when this update g p a o k response has a 3xx status code
func (*UpdateGPAOK) IsServerError ¶
func (o *UpdateGPAOK) IsServerError() bool
IsServerError returns true when this update g p a o k response has a 5xx status code
func (*UpdateGPAOK) IsSuccess ¶
func (o *UpdateGPAOK) IsSuccess() bool
IsSuccess returns true when this update g p a o k response has a 2xx status code
func (*UpdateGPAOK) String ¶
func (o *UpdateGPAOK) String() string
type UpdateGPAParams ¶
type UpdateGPAParams struct { /* ID. Student ID */ ID int64 /* Gpa. The object containing gpa to be assigned */ Gpa UpdateGPABody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateGPAParams contains all the parameters to send to the API endpoint
for the update g p a operation. Typically these are written to a http.Request.
func NewUpdateGPAParams ¶
func NewUpdateGPAParams() *UpdateGPAParams
NewUpdateGPAParams creates a new UpdateGPAParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateGPAParamsWithContext ¶
func NewUpdateGPAParamsWithContext(ctx context.Context) *UpdateGPAParams
NewUpdateGPAParamsWithContext creates a new UpdateGPAParams object with the ability to set a context for a request.
func NewUpdateGPAParamsWithHTTPClient ¶
func NewUpdateGPAParamsWithHTTPClient(client *http.Client) *UpdateGPAParams
NewUpdateGPAParamsWithHTTPClient creates a new UpdateGPAParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateGPAParamsWithTimeout ¶
func NewUpdateGPAParamsWithTimeout(timeout time.Duration) *UpdateGPAParams
NewUpdateGPAParamsWithTimeout creates a new UpdateGPAParams object with the ability to set a timeout on a request.
func (*UpdateGPAParams) SetContext ¶
func (o *UpdateGPAParams) SetContext(ctx context.Context)
SetContext adds the context to the update g p a params
func (*UpdateGPAParams) SetDefaults ¶
func (o *UpdateGPAParams) SetDefaults()
SetDefaults hydrates default values in the update g p a params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateGPAParams) SetGpa ¶
func (o *UpdateGPAParams) SetGpa(gpa UpdateGPABody)
SetGpa adds the gpa to the update g p a params
func (*UpdateGPAParams) SetHTTPClient ¶
func (o *UpdateGPAParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update g p a params
func (*UpdateGPAParams) SetID ¶
func (o *UpdateGPAParams) SetID(id int64)
SetID adds the id to the update g p a params
func (*UpdateGPAParams) SetTimeout ¶
func (o *UpdateGPAParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update g p a params
func (*UpdateGPAParams) WithContext ¶
func (o *UpdateGPAParams) WithContext(ctx context.Context) *UpdateGPAParams
WithContext adds the context to the update g p a params
func (*UpdateGPAParams) WithDefaults ¶
func (o *UpdateGPAParams) WithDefaults() *UpdateGPAParams
WithDefaults hydrates default values in the update g p a params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateGPAParams) WithGpa ¶
func (o *UpdateGPAParams) WithGpa(gpa UpdateGPABody) *UpdateGPAParams
WithGpa adds the gpa to the update g p a params
func (*UpdateGPAParams) WithHTTPClient ¶
func (o *UpdateGPAParams) WithHTTPClient(client *http.Client) *UpdateGPAParams
WithHTTPClient adds the HTTPClient to the update g p a params
func (*UpdateGPAParams) WithID ¶
func (o *UpdateGPAParams) WithID(id int64) *UpdateGPAParams
WithID adds the id to the update g p a params
func (*UpdateGPAParams) WithTimeout ¶
func (o *UpdateGPAParams) WithTimeout(timeout time.Duration) *UpdateGPAParams
WithTimeout adds the timeout to the update g p a params
func (*UpdateGPAParams) WriteToRequest ¶
func (o *UpdateGPAParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateGPAReader ¶
type UpdateGPAReader struct {
// contains filtered or unexported fields
}
UpdateGPAReader is a Reader for the UpdateGPA structure.
func (*UpdateGPAReader) ReadResponse ¶
func (o *UpdateGPAReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateStudentNameBody ¶
type UpdateStudentNameBody struct { // name Name string `json:"Name,omitempty"` }
UpdateStudentNameBody update student name body swagger:model UpdateStudentNameBody
func (*UpdateStudentNameBody) ContextValidate ¶
ContextValidate validates this update student name body based on context it is used
func (*UpdateStudentNameBody) MarshalBinary ¶
func (o *UpdateStudentNameBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateStudentNameBody) UnmarshalBinary ¶
func (o *UpdateStudentNameBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateStudentNameInternalServerError ¶
type UpdateStudentNameInternalServerError struct { }
UpdateStudentNameInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewUpdateStudentNameInternalServerError ¶
func NewUpdateStudentNameInternalServerError() *UpdateStudentNameInternalServerError
NewUpdateStudentNameInternalServerError creates a UpdateStudentNameInternalServerError with default headers values
func (*UpdateStudentNameInternalServerError) Code ¶
func (o *UpdateStudentNameInternalServerError) Code() int
Code gets the status code for the update student name internal server error response
func (*UpdateStudentNameInternalServerError) Error ¶
func (o *UpdateStudentNameInternalServerError) Error() string
func (*UpdateStudentNameInternalServerError) IsClientError ¶
func (o *UpdateStudentNameInternalServerError) IsClientError() bool
IsClientError returns true when this update student name internal server error response has a 4xx status code
func (*UpdateStudentNameInternalServerError) IsCode ¶
func (o *UpdateStudentNameInternalServerError) IsCode(code int) bool
IsCode returns true when this update student name internal server error response a status code equal to that given
func (*UpdateStudentNameInternalServerError) IsRedirect ¶
func (o *UpdateStudentNameInternalServerError) IsRedirect() bool
IsRedirect returns true when this update student name internal server error response has a 3xx status code
func (*UpdateStudentNameInternalServerError) IsServerError ¶
func (o *UpdateStudentNameInternalServerError) IsServerError() bool
IsServerError returns true when this update student name internal server error response has a 5xx status code
func (*UpdateStudentNameInternalServerError) IsSuccess ¶
func (o *UpdateStudentNameInternalServerError) IsSuccess() bool
IsSuccess returns true when this update student name internal server error response has a 2xx status code
func (*UpdateStudentNameInternalServerError) String ¶
func (o *UpdateStudentNameInternalServerError) String() string
type UpdateStudentNameNotFound ¶
type UpdateStudentNameNotFound struct { }
UpdateStudentNameNotFound describes a response with status code 404, with default header values.
Student not found!
func NewUpdateStudentNameNotFound ¶
func NewUpdateStudentNameNotFound() *UpdateStudentNameNotFound
NewUpdateStudentNameNotFound creates a UpdateStudentNameNotFound with default headers values
func (*UpdateStudentNameNotFound) Code ¶
func (o *UpdateStudentNameNotFound) Code() int
Code gets the status code for the update student name not found response
func (*UpdateStudentNameNotFound) Error ¶
func (o *UpdateStudentNameNotFound) Error() string
func (*UpdateStudentNameNotFound) IsClientError ¶
func (o *UpdateStudentNameNotFound) IsClientError() bool
IsClientError returns true when this update student name not found response has a 4xx status code
func (*UpdateStudentNameNotFound) IsCode ¶
func (o *UpdateStudentNameNotFound) IsCode(code int) bool
IsCode returns true when this update student name not found response a status code equal to that given
func (*UpdateStudentNameNotFound) IsRedirect ¶
func (o *UpdateStudentNameNotFound) IsRedirect() bool
IsRedirect returns true when this update student name not found response has a 3xx status code
func (*UpdateStudentNameNotFound) IsServerError ¶
func (o *UpdateStudentNameNotFound) IsServerError() bool
IsServerError returns true when this update student name not found response has a 5xx status code
func (*UpdateStudentNameNotFound) IsSuccess ¶
func (o *UpdateStudentNameNotFound) IsSuccess() bool
IsSuccess returns true when this update student name not found response has a 2xx status code
func (*UpdateStudentNameNotFound) String ¶
func (o *UpdateStudentNameNotFound) String() string
type UpdateStudentNameOK ¶
type UpdateStudentNameOK struct {
Payload int64
}
UpdateStudentNameOK describes a response with status code 200, with default header values.
Student Name updated Successfully!
func NewUpdateStudentNameOK ¶
func NewUpdateStudentNameOK() *UpdateStudentNameOK
NewUpdateStudentNameOK creates a UpdateStudentNameOK with default headers values
func (*UpdateStudentNameOK) Code ¶
func (o *UpdateStudentNameOK) Code() int
Code gets the status code for the update student name o k response
func (*UpdateStudentNameOK) Error ¶
func (o *UpdateStudentNameOK) Error() string
func (*UpdateStudentNameOK) GetPayload ¶
func (o *UpdateStudentNameOK) GetPayload() int64
func (*UpdateStudentNameOK) IsClientError ¶
func (o *UpdateStudentNameOK) IsClientError() bool
IsClientError returns true when this update student name o k response has a 4xx status code
func (*UpdateStudentNameOK) IsCode ¶
func (o *UpdateStudentNameOK) IsCode(code int) bool
IsCode returns true when this update student name o k response a status code equal to that given
func (*UpdateStudentNameOK) IsRedirect ¶
func (o *UpdateStudentNameOK) IsRedirect() bool
IsRedirect returns true when this update student name o k response has a 3xx status code
func (*UpdateStudentNameOK) IsServerError ¶
func (o *UpdateStudentNameOK) IsServerError() bool
IsServerError returns true when this update student name o k response has a 5xx status code
func (*UpdateStudentNameOK) IsSuccess ¶
func (o *UpdateStudentNameOK) IsSuccess() bool
IsSuccess returns true when this update student name o k response has a 2xx status code
func (*UpdateStudentNameOK) String ¶
func (o *UpdateStudentNameOK) String() string
type UpdateStudentNameParams ¶
type UpdateStudentNameParams struct { /* ID. Student ID */ ID int64 /* Name. Updated Name to be stored */ Name UpdateStudentNameBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateStudentNameParams contains all the parameters to send to the API endpoint
for the update student name operation. Typically these are written to a http.Request.
func NewUpdateStudentNameParams ¶
func NewUpdateStudentNameParams() *UpdateStudentNameParams
NewUpdateStudentNameParams creates a new UpdateStudentNameParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateStudentNameParamsWithContext ¶
func NewUpdateStudentNameParamsWithContext(ctx context.Context) *UpdateStudentNameParams
NewUpdateStudentNameParamsWithContext creates a new UpdateStudentNameParams object with the ability to set a context for a request.
func NewUpdateStudentNameParamsWithHTTPClient ¶
func NewUpdateStudentNameParamsWithHTTPClient(client *http.Client) *UpdateStudentNameParams
NewUpdateStudentNameParamsWithHTTPClient creates a new UpdateStudentNameParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateStudentNameParamsWithTimeout ¶
func NewUpdateStudentNameParamsWithTimeout(timeout time.Duration) *UpdateStudentNameParams
NewUpdateStudentNameParamsWithTimeout creates a new UpdateStudentNameParams object with the ability to set a timeout on a request.
func (*UpdateStudentNameParams) SetContext ¶
func (o *UpdateStudentNameParams) SetContext(ctx context.Context)
SetContext adds the context to the update student name params
func (*UpdateStudentNameParams) SetDefaults ¶
func (o *UpdateStudentNameParams) SetDefaults()
SetDefaults hydrates default values in the update student name params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateStudentNameParams) SetHTTPClient ¶
func (o *UpdateStudentNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update student name params
func (*UpdateStudentNameParams) SetID ¶
func (o *UpdateStudentNameParams) SetID(id int64)
SetID adds the id to the update student name params
func (*UpdateStudentNameParams) SetName ¶
func (o *UpdateStudentNameParams) SetName(name UpdateStudentNameBody)
SetName adds the name to the update student name params
func (*UpdateStudentNameParams) SetTimeout ¶
func (o *UpdateStudentNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update student name params
func (*UpdateStudentNameParams) WithContext ¶
func (o *UpdateStudentNameParams) WithContext(ctx context.Context) *UpdateStudentNameParams
WithContext adds the context to the update student name params
func (*UpdateStudentNameParams) WithDefaults ¶
func (o *UpdateStudentNameParams) WithDefaults() *UpdateStudentNameParams
WithDefaults hydrates default values in the update student name params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateStudentNameParams) WithHTTPClient ¶
func (o *UpdateStudentNameParams) WithHTTPClient(client *http.Client) *UpdateStudentNameParams
WithHTTPClient adds the HTTPClient to the update student name params
func (*UpdateStudentNameParams) WithID ¶
func (o *UpdateStudentNameParams) WithID(id int64) *UpdateStudentNameParams
WithID adds the id to the update student name params
func (*UpdateStudentNameParams) WithName ¶
func (o *UpdateStudentNameParams) WithName(name UpdateStudentNameBody) *UpdateStudentNameParams
WithName adds the name to the update student name params
func (*UpdateStudentNameParams) WithTimeout ¶
func (o *UpdateStudentNameParams) WithTimeout(timeout time.Duration) *UpdateStudentNameParams
WithTimeout adds the timeout to the update student name params
func (*UpdateStudentNameParams) WriteToRequest ¶
func (o *UpdateStudentNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateStudentNameReader ¶
type UpdateStudentNameReader struct {
// contains filtered or unexported fields
}
UpdateStudentNameReader is a Reader for the UpdateStudentName structure.
func (*UpdateStudentNameReader) ReadResponse ¶
func (o *UpdateStudentNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateSubjectNameBody ¶
type UpdateSubjectNameBody struct { // name Name string `json:"Name,omitempty"` }
UpdateSubjectNameBody update subject name body swagger:model UpdateSubjectNameBody
func (*UpdateSubjectNameBody) ContextValidate ¶
ContextValidate validates this update subject name body based on context it is used
func (*UpdateSubjectNameBody) MarshalBinary ¶
func (o *UpdateSubjectNameBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateSubjectNameBody) UnmarshalBinary ¶
func (o *UpdateSubjectNameBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateSubjectNameInternalServerError ¶
type UpdateSubjectNameInternalServerError struct { }
UpdateSubjectNameInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewUpdateSubjectNameInternalServerError ¶
func NewUpdateSubjectNameInternalServerError() *UpdateSubjectNameInternalServerError
NewUpdateSubjectNameInternalServerError creates a UpdateSubjectNameInternalServerError with default headers values
func (*UpdateSubjectNameInternalServerError) Code ¶
func (o *UpdateSubjectNameInternalServerError) Code() int
Code gets the status code for the update subject name internal server error response
func (*UpdateSubjectNameInternalServerError) Error ¶
func (o *UpdateSubjectNameInternalServerError) Error() string
func (*UpdateSubjectNameInternalServerError) IsClientError ¶
func (o *UpdateSubjectNameInternalServerError) IsClientError() bool
IsClientError returns true when this update subject name internal server error response has a 4xx status code
func (*UpdateSubjectNameInternalServerError) IsCode ¶
func (o *UpdateSubjectNameInternalServerError) IsCode(code int) bool
IsCode returns true when this update subject name internal server error response a status code equal to that given
func (*UpdateSubjectNameInternalServerError) IsRedirect ¶
func (o *UpdateSubjectNameInternalServerError) IsRedirect() bool
IsRedirect returns true when this update subject name internal server error response has a 3xx status code
func (*UpdateSubjectNameInternalServerError) IsServerError ¶
func (o *UpdateSubjectNameInternalServerError) IsServerError() bool
IsServerError returns true when this update subject name internal server error response has a 5xx status code
func (*UpdateSubjectNameInternalServerError) IsSuccess ¶
func (o *UpdateSubjectNameInternalServerError) IsSuccess() bool
IsSuccess returns true when this update subject name internal server error response has a 2xx status code
func (*UpdateSubjectNameInternalServerError) String ¶
func (o *UpdateSubjectNameInternalServerError) String() string
type UpdateSubjectNameNotFound ¶
type UpdateSubjectNameNotFound struct { }
UpdateSubjectNameNotFound describes a response with status code 404, with default header values.
Subject not found!
func NewUpdateSubjectNameNotFound ¶
func NewUpdateSubjectNameNotFound() *UpdateSubjectNameNotFound
NewUpdateSubjectNameNotFound creates a UpdateSubjectNameNotFound with default headers values
func (*UpdateSubjectNameNotFound) Code ¶
func (o *UpdateSubjectNameNotFound) Code() int
Code gets the status code for the update subject name not found response
func (*UpdateSubjectNameNotFound) Error ¶
func (o *UpdateSubjectNameNotFound) Error() string
func (*UpdateSubjectNameNotFound) IsClientError ¶
func (o *UpdateSubjectNameNotFound) IsClientError() bool
IsClientError returns true when this update subject name not found response has a 4xx status code
func (*UpdateSubjectNameNotFound) IsCode ¶
func (o *UpdateSubjectNameNotFound) IsCode(code int) bool
IsCode returns true when this update subject name not found response a status code equal to that given
func (*UpdateSubjectNameNotFound) IsRedirect ¶
func (o *UpdateSubjectNameNotFound) IsRedirect() bool
IsRedirect returns true when this update subject name not found response has a 3xx status code
func (*UpdateSubjectNameNotFound) IsServerError ¶
func (o *UpdateSubjectNameNotFound) IsServerError() bool
IsServerError returns true when this update subject name not found response has a 5xx status code
func (*UpdateSubjectNameNotFound) IsSuccess ¶
func (o *UpdateSubjectNameNotFound) IsSuccess() bool
IsSuccess returns true when this update subject name not found response has a 2xx status code
func (*UpdateSubjectNameNotFound) String ¶
func (o *UpdateSubjectNameNotFound) String() string
type UpdateSubjectNameOK ¶
type UpdateSubjectNameOK struct {
Payload int64
}
UpdateSubjectNameOK describes a response with status code 200, with default header values.
Subject Name updated Successfully!
func NewUpdateSubjectNameOK ¶
func NewUpdateSubjectNameOK() *UpdateSubjectNameOK
NewUpdateSubjectNameOK creates a UpdateSubjectNameOK with default headers values
func (*UpdateSubjectNameOK) Code ¶
func (o *UpdateSubjectNameOK) Code() int
Code gets the status code for the update subject name o k response
func (*UpdateSubjectNameOK) Error ¶
func (o *UpdateSubjectNameOK) Error() string
func (*UpdateSubjectNameOK) GetPayload ¶
func (o *UpdateSubjectNameOK) GetPayload() int64
func (*UpdateSubjectNameOK) IsClientError ¶
func (o *UpdateSubjectNameOK) IsClientError() bool
IsClientError returns true when this update subject name o k response has a 4xx status code
func (*UpdateSubjectNameOK) IsCode ¶
func (o *UpdateSubjectNameOK) IsCode(code int) bool
IsCode returns true when this update subject name o k response a status code equal to that given
func (*UpdateSubjectNameOK) IsRedirect ¶
func (o *UpdateSubjectNameOK) IsRedirect() bool
IsRedirect returns true when this update subject name o k response has a 3xx status code
func (*UpdateSubjectNameOK) IsServerError ¶
func (o *UpdateSubjectNameOK) IsServerError() bool
IsServerError returns true when this update subject name o k response has a 5xx status code
func (*UpdateSubjectNameOK) IsSuccess ¶
func (o *UpdateSubjectNameOK) IsSuccess() bool
IsSuccess returns true when this update subject name o k response has a 2xx status code
func (*UpdateSubjectNameOK) String ¶
func (o *UpdateSubjectNameOK) String() string
type UpdateSubjectNameParams ¶
type UpdateSubjectNameParams struct { /* ID. Subject ID */ ID int64 /* Name. Updated Name to be stored */ Name UpdateSubjectNameBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateSubjectNameParams contains all the parameters to send to the API endpoint
for the update subject name operation. Typically these are written to a http.Request.
func NewUpdateSubjectNameParams ¶
func NewUpdateSubjectNameParams() *UpdateSubjectNameParams
NewUpdateSubjectNameParams creates a new UpdateSubjectNameParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateSubjectNameParamsWithContext ¶
func NewUpdateSubjectNameParamsWithContext(ctx context.Context) *UpdateSubjectNameParams
NewUpdateSubjectNameParamsWithContext creates a new UpdateSubjectNameParams object with the ability to set a context for a request.
func NewUpdateSubjectNameParamsWithHTTPClient ¶
func NewUpdateSubjectNameParamsWithHTTPClient(client *http.Client) *UpdateSubjectNameParams
NewUpdateSubjectNameParamsWithHTTPClient creates a new UpdateSubjectNameParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateSubjectNameParamsWithTimeout ¶
func NewUpdateSubjectNameParamsWithTimeout(timeout time.Duration) *UpdateSubjectNameParams
NewUpdateSubjectNameParamsWithTimeout creates a new UpdateSubjectNameParams object with the ability to set a timeout on a request.
func (*UpdateSubjectNameParams) SetContext ¶
func (o *UpdateSubjectNameParams) SetContext(ctx context.Context)
SetContext adds the context to the update subject name params
func (*UpdateSubjectNameParams) SetDefaults ¶
func (o *UpdateSubjectNameParams) SetDefaults()
SetDefaults hydrates default values in the update subject name params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSubjectNameParams) SetHTTPClient ¶
func (o *UpdateSubjectNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update subject name params
func (*UpdateSubjectNameParams) SetID ¶
func (o *UpdateSubjectNameParams) SetID(id int64)
SetID adds the id to the update subject name params
func (*UpdateSubjectNameParams) SetName ¶
func (o *UpdateSubjectNameParams) SetName(name UpdateSubjectNameBody)
SetName adds the name to the update subject name params
func (*UpdateSubjectNameParams) SetTimeout ¶
func (o *UpdateSubjectNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update subject name params
func (*UpdateSubjectNameParams) WithContext ¶
func (o *UpdateSubjectNameParams) WithContext(ctx context.Context) *UpdateSubjectNameParams
WithContext adds the context to the update subject name params
func (*UpdateSubjectNameParams) WithDefaults ¶
func (o *UpdateSubjectNameParams) WithDefaults() *UpdateSubjectNameParams
WithDefaults hydrates default values in the update subject name params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSubjectNameParams) WithHTTPClient ¶
func (o *UpdateSubjectNameParams) WithHTTPClient(client *http.Client) *UpdateSubjectNameParams
WithHTTPClient adds the HTTPClient to the update subject name params
func (*UpdateSubjectNameParams) WithID ¶
func (o *UpdateSubjectNameParams) WithID(id int64) *UpdateSubjectNameParams
WithID adds the id to the update subject name params
func (*UpdateSubjectNameParams) WithName ¶
func (o *UpdateSubjectNameParams) WithName(name UpdateSubjectNameBody) *UpdateSubjectNameParams
WithName adds the name to the update subject name params
func (*UpdateSubjectNameParams) WithTimeout ¶
func (o *UpdateSubjectNameParams) WithTimeout(timeout time.Duration) *UpdateSubjectNameParams
WithTimeout adds the timeout to the update subject name params
func (*UpdateSubjectNameParams) WriteToRequest ¶
func (o *UpdateSubjectNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateSubjectNameReader ¶
type UpdateSubjectNameReader struct {
// contains filtered or unexported fields
}
UpdateSubjectNameReader is a Reader for the UpdateSubjectName structure.
func (*UpdateSubjectNameReader) ReadResponse ¶
func (o *UpdateSubjectNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateTeacherNameBody ¶
type UpdateTeacherNameBody struct { // name Name string `json:"Name,omitempty"` }
UpdateTeacherNameBody update teacher name body swagger:model UpdateTeacherNameBody
func (*UpdateTeacherNameBody) ContextValidate ¶
ContextValidate validates this update teacher name body based on context it is used
func (*UpdateTeacherNameBody) MarshalBinary ¶
func (o *UpdateTeacherNameBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateTeacherNameBody) UnmarshalBinary ¶
func (o *UpdateTeacherNameBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateTeacherNameInternalServerError ¶
type UpdateTeacherNameInternalServerError struct { }
UpdateTeacherNameInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewUpdateTeacherNameInternalServerError ¶
func NewUpdateTeacherNameInternalServerError() *UpdateTeacherNameInternalServerError
NewUpdateTeacherNameInternalServerError creates a UpdateTeacherNameInternalServerError with default headers values
func (*UpdateTeacherNameInternalServerError) Code ¶
func (o *UpdateTeacherNameInternalServerError) Code() int
Code gets the status code for the update teacher name internal server error response
func (*UpdateTeacherNameInternalServerError) Error ¶
func (o *UpdateTeacherNameInternalServerError) Error() string
func (*UpdateTeacherNameInternalServerError) IsClientError ¶
func (o *UpdateTeacherNameInternalServerError) IsClientError() bool
IsClientError returns true when this update teacher name internal server error response has a 4xx status code
func (*UpdateTeacherNameInternalServerError) IsCode ¶
func (o *UpdateTeacherNameInternalServerError) IsCode(code int) bool
IsCode returns true when this update teacher name internal server error response a status code equal to that given
func (*UpdateTeacherNameInternalServerError) IsRedirect ¶
func (o *UpdateTeacherNameInternalServerError) IsRedirect() bool
IsRedirect returns true when this update teacher name internal server error response has a 3xx status code
func (*UpdateTeacherNameInternalServerError) IsServerError ¶
func (o *UpdateTeacherNameInternalServerError) IsServerError() bool
IsServerError returns true when this update teacher name internal server error response has a 5xx status code
func (*UpdateTeacherNameInternalServerError) IsSuccess ¶
func (o *UpdateTeacherNameInternalServerError) IsSuccess() bool
IsSuccess returns true when this update teacher name internal server error response has a 2xx status code
func (*UpdateTeacherNameInternalServerError) String ¶
func (o *UpdateTeacherNameInternalServerError) String() string
type UpdateTeacherNameNotFound ¶
type UpdateTeacherNameNotFound struct { }
UpdateTeacherNameNotFound describes a response with status code 404, with default header values.
Teacher not found!
func NewUpdateTeacherNameNotFound ¶
func NewUpdateTeacherNameNotFound() *UpdateTeacherNameNotFound
NewUpdateTeacherNameNotFound creates a UpdateTeacherNameNotFound with default headers values
func (*UpdateTeacherNameNotFound) Code ¶
func (o *UpdateTeacherNameNotFound) Code() int
Code gets the status code for the update teacher name not found response
func (*UpdateTeacherNameNotFound) Error ¶
func (o *UpdateTeacherNameNotFound) Error() string
func (*UpdateTeacherNameNotFound) IsClientError ¶
func (o *UpdateTeacherNameNotFound) IsClientError() bool
IsClientError returns true when this update teacher name not found response has a 4xx status code
func (*UpdateTeacherNameNotFound) IsCode ¶
func (o *UpdateTeacherNameNotFound) IsCode(code int) bool
IsCode returns true when this update teacher name not found response a status code equal to that given
func (*UpdateTeacherNameNotFound) IsRedirect ¶
func (o *UpdateTeacherNameNotFound) IsRedirect() bool
IsRedirect returns true when this update teacher name not found response has a 3xx status code
func (*UpdateTeacherNameNotFound) IsServerError ¶
func (o *UpdateTeacherNameNotFound) IsServerError() bool
IsServerError returns true when this update teacher name not found response has a 5xx status code
func (*UpdateTeacherNameNotFound) IsSuccess ¶
func (o *UpdateTeacherNameNotFound) IsSuccess() bool
IsSuccess returns true when this update teacher name not found response has a 2xx status code
func (*UpdateTeacherNameNotFound) String ¶
func (o *UpdateTeacherNameNotFound) String() string
type UpdateTeacherNameOK ¶
type UpdateTeacherNameOK struct {
Payload int64
}
UpdateTeacherNameOK describes a response with status code 200, with default header values.
Teacher updated
func NewUpdateTeacherNameOK ¶
func NewUpdateTeacherNameOK() *UpdateTeacherNameOK
NewUpdateTeacherNameOK creates a UpdateTeacherNameOK with default headers values
func (*UpdateTeacherNameOK) Code ¶
func (o *UpdateTeacherNameOK) Code() int
Code gets the status code for the update teacher name o k response
func (*UpdateTeacherNameOK) Error ¶
func (o *UpdateTeacherNameOK) Error() string
func (*UpdateTeacherNameOK) GetPayload ¶
func (o *UpdateTeacherNameOK) GetPayload() int64
func (*UpdateTeacherNameOK) IsClientError ¶
func (o *UpdateTeacherNameOK) IsClientError() bool
IsClientError returns true when this update teacher name o k response has a 4xx status code
func (*UpdateTeacherNameOK) IsCode ¶
func (o *UpdateTeacherNameOK) IsCode(code int) bool
IsCode returns true when this update teacher name o k response a status code equal to that given
func (*UpdateTeacherNameOK) IsRedirect ¶
func (o *UpdateTeacherNameOK) IsRedirect() bool
IsRedirect returns true when this update teacher name o k response has a 3xx status code
func (*UpdateTeacherNameOK) IsServerError ¶
func (o *UpdateTeacherNameOK) IsServerError() bool
IsServerError returns true when this update teacher name o k response has a 5xx status code
func (*UpdateTeacherNameOK) IsSuccess ¶
func (o *UpdateTeacherNameOK) IsSuccess() bool
IsSuccess returns true when this update teacher name o k response has a 2xx status code
func (*UpdateTeacherNameOK) String ¶
func (o *UpdateTeacherNameOK) String() string
type UpdateTeacherNameParams ¶
type UpdateTeacherNameParams struct { /* ID. Teacher ID */ ID int64 /* Name. Updated Name to be stored */ Name UpdateTeacherNameBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateTeacherNameParams contains all the parameters to send to the API endpoint
for the update teacher name operation. Typically these are written to a http.Request.
func NewUpdateTeacherNameParams ¶
func NewUpdateTeacherNameParams() *UpdateTeacherNameParams
NewUpdateTeacherNameParams creates a new UpdateTeacherNameParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateTeacherNameParamsWithContext ¶
func NewUpdateTeacherNameParamsWithContext(ctx context.Context) *UpdateTeacherNameParams
NewUpdateTeacherNameParamsWithContext creates a new UpdateTeacherNameParams object with the ability to set a context for a request.
func NewUpdateTeacherNameParamsWithHTTPClient ¶
func NewUpdateTeacherNameParamsWithHTTPClient(client *http.Client) *UpdateTeacherNameParams
NewUpdateTeacherNameParamsWithHTTPClient creates a new UpdateTeacherNameParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateTeacherNameParamsWithTimeout ¶
func NewUpdateTeacherNameParamsWithTimeout(timeout time.Duration) *UpdateTeacherNameParams
NewUpdateTeacherNameParamsWithTimeout creates a new UpdateTeacherNameParams object with the ability to set a timeout on a request.
func (*UpdateTeacherNameParams) SetContext ¶
func (o *UpdateTeacherNameParams) SetContext(ctx context.Context)
SetContext adds the context to the update teacher name params
func (*UpdateTeacherNameParams) SetDefaults ¶
func (o *UpdateTeacherNameParams) SetDefaults()
SetDefaults hydrates default values in the update teacher name params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateTeacherNameParams) SetHTTPClient ¶
func (o *UpdateTeacherNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update teacher name params
func (*UpdateTeacherNameParams) SetID ¶
func (o *UpdateTeacherNameParams) SetID(id int64)
SetID adds the id to the update teacher name params
func (*UpdateTeacherNameParams) SetName ¶
func (o *UpdateTeacherNameParams) SetName(name UpdateTeacherNameBody)
SetName adds the name to the update teacher name params
func (*UpdateTeacherNameParams) SetTimeout ¶
func (o *UpdateTeacherNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update teacher name params
func (*UpdateTeacherNameParams) WithContext ¶
func (o *UpdateTeacherNameParams) WithContext(ctx context.Context) *UpdateTeacherNameParams
WithContext adds the context to the update teacher name params
func (*UpdateTeacherNameParams) WithDefaults ¶
func (o *UpdateTeacherNameParams) WithDefaults() *UpdateTeacherNameParams
WithDefaults hydrates default values in the update teacher name params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateTeacherNameParams) WithHTTPClient ¶
func (o *UpdateTeacherNameParams) WithHTTPClient(client *http.Client) *UpdateTeacherNameParams
WithHTTPClient adds the HTTPClient to the update teacher name params
func (*UpdateTeacherNameParams) WithID ¶
func (o *UpdateTeacherNameParams) WithID(id int64) *UpdateTeacherNameParams
WithID adds the id to the update teacher name params
func (*UpdateTeacherNameParams) WithName ¶
func (o *UpdateTeacherNameParams) WithName(name UpdateTeacherNameBody) *UpdateTeacherNameParams
WithName adds the name to the update teacher name params
func (*UpdateTeacherNameParams) WithTimeout ¶
func (o *UpdateTeacherNameParams) WithTimeout(timeout time.Duration) *UpdateTeacherNameParams
WithTimeout adds the timeout to the update teacher name params
func (*UpdateTeacherNameParams) WriteToRequest ¶
func (o *UpdateTeacherNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateTeacherNameReader ¶
type UpdateTeacherNameReader struct {
// contains filtered or unexported fields
}
UpdateTeacherNameReader is a Reader for the UpdateTeacherName structure.
func (*UpdateTeacherNameReader) ReadResponse ¶
func (o *UpdateTeacherNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- add_account_parameters.go
- add_account_responses.go
- add_class_parameters.go
- add_class_responses.go
- add_or_remove_student_parameters.go
- add_or_remove_student_responses.go
- add_student_parameters.go
- add_student_responses.go
- add_subject_parameters.go
- add_subject_responses.go
- add_teacher_parameters.go
- add_teacher_responses.go
- assign_class_parameters.go
- assign_class_responses.go
- assign_subject_to_student_parameters.go
- assign_subject_to_student_responses.go
- assign_subject_to_teacher_parameters.go
- assign_subject_to_teacher_responses.go
- delete_account_parameters.go
- delete_account_responses.go
- delete_class_parameters.go
- delete_class_responses.go
- delete_student_parameters.go
- delete_student_responses.go
- delete_subject_parameters.go
- delete_subject_responses.go
- delete_teacher_parameters.go
- delete_teacher_responses.go
- get_account_by_id_parameters.go
- get_account_by_id_responses.go
- get_accounts_parameters.go
- get_accounts_responses.go
- get_class_by_id_parameters.go
- get_class_by_id_responses.go
- get_class_of_teacher_parameters.go
- get_class_of_teacher_responses.go
- get_classes_of_student_parameters.go
- get_classes_of_student_responses.go
- get_classes_parameters.go
- get_classes_responses.go
- get_defaulted_student_accounts_parameters.go
- get_defaulted_student_accounts_responses.go
- get_student_accounts_parameters.go
- get_student_accounts_responses.go
- get_student_by_id_parameters.go
- get_student_by_id_responses.go
- get_students_of_class_parameters.go
- get_students_of_class_responses.go
- get_students_of_subject_parameters.go
- get_students_of_subject_responses.go
- get_students_of_teacher_parameters.go
- get_students_of_teacher_responses.go
- get_students_parameters.go
- get_students_responses.go
- get_subject_by_id_parameters.go
- get_subject_by_id_responses.go
- get_subjects_of_class_parameters.go
- get_subjects_of_class_responses.go
- get_subjects_of_student_parameters.go
- get_subjects_of_student_responses.go
- get_subjects_parameters.go
- get_subjects_responses.go
- get_teacher_accounts_parameters.go
- get_teacher_accounts_responses.go
- get_teacher_by_id_parameters.go
- get_teacher_by_id_responses.go
- get_teacher_of_subject_parameters.go
- get_teacher_of_subject_responses.go
- get_teachers_of_class_parameters.go
- get_teachers_of_class_responses.go
- get_teachers_parameters.go
- get_teachers_responses.go
- operations_client.go
- update_account_parameters.go
- update_account_responses.go
- update_class_name_parameters.go
- update_class_name_responses.go
- update_g_p_a_parameters.go
- update_g_p_a_responses.go
- update_student_name_parameters.go
- update_student_name_responses.go
- update_subject_name_parameters.go
- update_subject_name_responses.go
- update_teacher_name_parameters.go
- update_teacher_name_responses.go