Documentation
¶
Index ¶
- type Client
- func (a *Client) GetCampusesCampusIDSchedules(params *GetCampusesCampusIDSchedulesParams, opts ...ClientOption) (*GetCampusesCampusIDSchedulesOK, error)
- func (a *Client) GetCampusesCampusIDSchedulesContext(ctx context.Context, params *GetCampusesCampusIDSchedulesParams, ...) (*GetCampusesCampusIDSchedulesOK, error)
- func (a *Client) GetCollegesCollegeIDSchedules(params *GetCollegesCollegeIDSchedulesParams, opts ...ClientOption) (*GetCollegesCollegeIDSchedulesOK, error)
- func (a *Client) GetCollegesCollegeIDSchedulesContext(ctx context.Context, params *GetCollegesCollegeIDSchedulesParams, ...) (*GetCollegesCollegeIDSchedulesOK, error)
- func (a *Client) GetGroupsGroupIDSchedules(params *GetGroupsGroupIDSchedulesParams, opts ...ClientOption) (*GetGroupsGroupIDSchedulesOK, error)
- func (a *Client) GetGroupsGroupIDSchedulesContext(ctx context.Context, params *GetGroupsGroupIDSchedulesParams, ...) (*GetGroupsGroupIDSchedulesOK, error)
- func (a *Client) SetTransport(transport runtime.ContextualTransport)
- type ClientOption
- type ClientService
- type GetCampusesCampusIDSchedulesBadRequest
- func (o *GetCampusesCampusIDSchedulesBadRequest) Code() int
- func (o *GetCampusesCampusIDSchedulesBadRequest) Error() string
- func (o *GetCampusesCampusIDSchedulesBadRequest) GetPayload() *models.DtoErrorResponse
- func (o *GetCampusesCampusIDSchedulesBadRequest) IsClientError() bool
- func (o *GetCampusesCampusIDSchedulesBadRequest) IsCode(code int) bool
- func (o *GetCampusesCampusIDSchedulesBadRequest) IsRedirect() bool
- func (o *GetCampusesCampusIDSchedulesBadRequest) IsServerError() bool
- func (o *GetCampusesCampusIDSchedulesBadRequest) IsSuccess() bool
- func (o *GetCampusesCampusIDSchedulesBadRequest) String() string
- type GetCampusesCampusIDSchedulesInternalServerError
- func (o *GetCampusesCampusIDSchedulesInternalServerError) Code() int
- func (o *GetCampusesCampusIDSchedulesInternalServerError) Error() string
- func (o *GetCampusesCampusIDSchedulesInternalServerError) GetPayload() *models.DtoErrorResponse
- func (o *GetCampusesCampusIDSchedulesInternalServerError) IsClientError() bool
- func (o *GetCampusesCampusIDSchedulesInternalServerError) IsCode(code int) bool
- func (o *GetCampusesCampusIDSchedulesInternalServerError) IsRedirect() bool
- func (o *GetCampusesCampusIDSchedulesInternalServerError) IsServerError() bool
- func (o *GetCampusesCampusIDSchedulesInternalServerError) IsSuccess() bool
- func (o *GetCampusesCampusIDSchedulesInternalServerError) String() string
- type GetCampusesCampusIDSchedulesNotFound
- func (o *GetCampusesCampusIDSchedulesNotFound) Code() int
- func (o *GetCampusesCampusIDSchedulesNotFound) Error() string
- func (o *GetCampusesCampusIDSchedulesNotFound) GetPayload() *models.DtoErrorResponse
- func (o *GetCampusesCampusIDSchedulesNotFound) IsClientError() bool
- func (o *GetCampusesCampusIDSchedulesNotFound) IsCode(code int) bool
- func (o *GetCampusesCampusIDSchedulesNotFound) IsRedirect() bool
- func (o *GetCampusesCampusIDSchedulesNotFound) IsServerError() bool
- func (o *GetCampusesCampusIDSchedulesNotFound) IsSuccess() bool
- func (o *GetCampusesCampusIDSchedulesNotFound) String() string
- type GetCampusesCampusIDSchedulesOK
- func (o *GetCampusesCampusIDSchedulesOK) Code() int
- func (o *GetCampusesCampusIDSchedulesOK) Error() string
- func (o *GetCampusesCampusIDSchedulesOK) GetPayload() []*models.DtoScheduleResponse
- func (o *GetCampusesCampusIDSchedulesOK) IsClientError() bool
- func (o *GetCampusesCampusIDSchedulesOK) IsCode(code int) bool
- func (o *GetCampusesCampusIDSchedulesOK) IsRedirect() bool
- func (o *GetCampusesCampusIDSchedulesOK) IsServerError() bool
- func (o *GetCampusesCampusIDSchedulesOK) IsSuccess() bool
- func (o *GetCampusesCampusIDSchedulesOK) String() string
- type GetCampusesCampusIDSchedulesParams
- func NewGetCampusesCampusIDSchedulesParams() *GetCampusesCampusIDSchedulesParams
- func NewGetCampusesCampusIDSchedulesParamsWithContext(ctx context.Context) *GetCampusesCampusIDSchedulesParamsdeprecated
- func NewGetCampusesCampusIDSchedulesParamsWithHTTPClient(client *http.Client) *GetCampusesCampusIDSchedulesParams
- func NewGetCampusesCampusIDSchedulesParamsWithTimeout(timeout time.Duration) *GetCampusesCampusIDSchedulesParams
- func (o *GetCampusesCampusIDSchedulesParams) SetCabinet(cabinet *string)
- func (o *GetCampusesCampusIDSchedulesParams) SetCampusID(campusID int64)
- func (o *GetCampusesCampusIDSchedulesParams) SetContext(ctx context.Context)deprecated
- func (o *GetCampusesCampusIDSchedulesParams) SetDate(date *string)
- func (o *GetCampusesCampusIDSchedulesParams) SetDay(day *string)
- func (o *GetCampusesCampusIDSchedulesParams) SetDefaults()
- func (o *GetCampusesCampusIDSchedulesParams) SetHTTPClient(client *http.Client)
- func (o *GetCampusesCampusIDSchedulesParams) SetTeacher(teacher *string)
- func (o *GetCampusesCampusIDSchedulesParams) SetTimeout(timeout time.Duration)
- func (o *GetCampusesCampusIDSchedulesParams) SetTitle(title *string)
- func (o *GetCampusesCampusIDSchedulesParams) SetWeek(week *string)
- func (o *GetCampusesCampusIDSchedulesParams) SetWeekday(weekday *string)
- func (o *GetCampusesCampusIDSchedulesParams) WithCabinet(cabinet *string) *GetCampusesCampusIDSchedulesParams
- func (o *GetCampusesCampusIDSchedulesParams) WithCampusID(campusID int64) *GetCampusesCampusIDSchedulesParams
- func (o *GetCampusesCampusIDSchedulesParams) WithContext(ctx context.Context) *GetCampusesCampusIDSchedulesParamsdeprecated
- func (o *GetCampusesCampusIDSchedulesParams) WithDate(date *string) *GetCampusesCampusIDSchedulesParams
- func (o *GetCampusesCampusIDSchedulesParams) WithDay(day *string) *GetCampusesCampusIDSchedulesParams
- func (o *GetCampusesCampusIDSchedulesParams) WithDefaults() *GetCampusesCampusIDSchedulesParams
- func (o *GetCampusesCampusIDSchedulesParams) WithHTTPClient(client *http.Client) *GetCampusesCampusIDSchedulesParams
- func (o *GetCampusesCampusIDSchedulesParams) WithTeacher(teacher *string) *GetCampusesCampusIDSchedulesParams
- func (o *GetCampusesCampusIDSchedulesParams) WithTimeout(timeout time.Duration) *GetCampusesCampusIDSchedulesParams
- func (o *GetCampusesCampusIDSchedulesParams) WithTitle(title *string) *GetCampusesCampusIDSchedulesParams
- func (o *GetCampusesCampusIDSchedulesParams) WithWeek(week *string) *GetCampusesCampusIDSchedulesParams
- func (o *GetCampusesCampusIDSchedulesParams) WithWeekday(weekday *string) *GetCampusesCampusIDSchedulesParams
- func (o *GetCampusesCampusIDSchedulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCampusesCampusIDSchedulesReader
- type GetCollegesCollegeIDSchedulesBadRequest
- func (o *GetCollegesCollegeIDSchedulesBadRequest) Code() int
- func (o *GetCollegesCollegeIDSchedulesBadRequest) Error() string
- func (o *GetCollegesCollegeIDSchedulesBadRequest) GetPayload() *models.DtoErrorResponse
- func (o *GetCollegesCollegeIDSchedulesBadRequest) IsClientError() bool
- func (o *GetCollegesCollegeIDSchedulesBadRequest) IsCode(code int) bool
- func (o *GetCollegesCollegeIDSchedulesBadRequest) IsRedirect() bool
- func (o *GetCollegesCollegeIDSchedulesBadRequest) IsServerError() bool
- func (o *GetCollegesCollegeIDSchedulesBadRequest) IsSuccess() bool
- func (o *GetCollegesCollegeIDSchedulesBadRequest) String() string
- type GetCollegesCollegeIDSchedulesInternalServerError
- func (o *GetCollegesCollegeIDSchedulesInternalServerError) Code() int
- func (o *GetCollegesCollegeIDSchedulesInternalServerError) Error() string
- func (o *GetCollegesCollegeIDSchedulesInternalServerError) GetPayload() *models.DtoErrorResponse
- func (o *GetCollegesCollegeIDSchedulesInternalServerError) IsClientError() bool
- func (o *GetCollegesCollegeIDSchedulesInternalServerError) IsCode(code int) bool
- func (o *GetCollegesCollegeIDSchedulesInternalServerError) IsRedirect() bool
- func (o *GetCollegesCollegeIDSchedulesInternalServerError) IsServerError() bool
- func (o *GetCollegesCollegeIDSchedulesInternalServerError) IsSuccess() bool
- func (o *GetCollegesCollegeIDSchedulesInternalServerError) String() string
- type GetCollegesCollegeIDSchedulesNotFound
- func (o *GetCollegesCollegeIDSchedulesNotFound) Code() int
- func (o *GetCollegesCollegeIDSchedulesNotFound) Error() string
- func (o *GetCollegesCollegeIDSchedulesNotFound) GetPayload() *models.DtoErrorResponse
- func (o *GetCollegesCollegeIDSchedulesNotFound) IsClientError() bool
- func (o *GetCollegesCollegeIDSchedulesNotFound) IsCode(code int) bool
- func (o *GetCollegesCollegeIDSchedulesNotFound) IsRedirect() bool
- func (o *GetCollegesCollegeIDSchedulesNotFound) IsServerError() bool
- func (o *GetCollegesCollegeIDSchedulesNotFound) IsSuccess() bool
- func (o *GetCollegesCollegeIDSchedulesNotFound) String() string
- type GetCollegesCollegeIDSchedulesOK
- func (o *GetCollegesCollegeIDSchedulesOK) Code() int
- func (o *GetCollegesCollegeIDSchedulesOK) Error() string
- func (o *GetCollegesCollegeIDSchedulesOK) GetPayload() []*models.DtoScheduleResponse
- func (o *GetCollegesCollegeIDSchedulesOK) IsClientError() bool
- func (o *GetCollegesCollegeIDSchedulesOK) IsCode(code int) bool
- func (o *GetCollegesCollegeIDSchedulesOK) IsRedirect() bool
- func (o *GetCollegesCollegeIDSchedulesOK) IsServerError() bool
- func (o *GetCollegesCollegeIDSchedulesOK) IsSuccess() bool
- func (o *GetCollegesCollegeIDSchedulesOK) String() string
- type GetCollegesCollegeIDSchedulesParams
- func NewGetCollegesCollegeIDSchedulesParams() *GetCollegesCollegeIDSchedulesParams
- func NewGetCollegesCollegeIDSchedulesParamsWithContext(ctx context.Context) *GetCollegesCollegeIDSchedulesParamsdeprecated
- func NewGetCollegesCollegeIDSchedulesParamsWithHTTPClient(client *http.Client) *GetCollegesCollegeIDSchedulesParams
- func NewGetCollegesCollegeIDSchedulesParamsWithTimeout(timeout time.Duration) *GetCollegesCollegeIDSchedulesParams
- func (o *GetCollegesCollegeIDSchedulesParams) SetCabinet(cabinet *string)
- func (o *GetCollegesCollegeIDSchedulesParams) SetCollegeID(collegeID int64)
- func (o *GetCollegesCollegeIDSchedulesParams) SetContext(ctx context.Context)deprecated
- func (o *GetCollegesCollegeIDSchedulesParams) SetDate(date *string)
- func (o *GetCollegesCollegeIDSchedulesParams) SetDay(day *string)
- func (o *GetCollegesCollegeIDSchedulesParams) SetDefaults()
- func (o *GetCollegesCollegeIDSchedulesParams) SetHTTPClient(client *http.Client)
- func (o *GetCollegesCollegeIDSchedulesParams) SetTeacher(teacher *string)
- func (o *GetCollegesCollegeIDSchedulesParams) SetTimeout(timeout time.Duration)
- func (o *GetCollegesCollegeIDSchedulesParams) SetTitle(title *string)
- func (o *GetCollegesCollegeIDSchedulesParams) SetWeek(week *string)
- func (o *GetCollegesCollegeIDSchedulesParams) SetWeekday(weekday *string)
- func (o *GetCollegesCollegeIDSchedulesParams) WithCabinet(cabinet *string) *GetCollegesCollegeIDSchedulesParams
- func (o *GetCollegesCollegeIDSchedulesParams) WithCollegeID(collegeID int64) *GetCollegesCollegeIDSchedulesParams
- func (o *GetCollegesCollegeIDSchedulesParams) WithContext(ctx context.Context) *GetCollegesCollegeIDSchedulesParamsdeprecated
- func (o *GetCollegesCollegeIDSchedulesParams) WithDate(date *string) *GetCollegesCollegeIDSchedulesParams
- func (o *GetCollegesCollegeIDSchedulesParams) WithDay(day *string) *GetCollegesCollegeIDSchedulesParams
- func (o *GetCollegesCollegeIDSchedulesParams) WithDefaults() *GetCollegesCollegeIDSchedulesParams
- func (o *GetCollegesCollegeIDSchedulesParams) WithHTTPClient(client *http.Client) *GetCollegesCollegeIDSchedulesParams
- func (o *GetCollegesCollegeIDSchedulesParams) WithTeacher(teacher *string) *GetCollegesCollegeIDSchedulesParams
- func (o *GetCollegesCollegeIDSchedulesParams) WithTimeout(timeout time.Duration) *GetCollegesCollegeIDSchedulesParams
- func (o *GetCollegesCollegeIDSchedulesParams) WithTitle(title *string) *GetCollegesCollegeIDSchedulesParams
- func (o *GetCollegesCollegeIDSchedulesParams) WithWeek(week *string) *GetCollegesCollegeIDSchedulesParams
- func (o *GetCollegesCollegeIDSchedulesParams) WithWeekday(weekday *string) *GetCollegesCollegeIDSchedulesParams
- func (o *GetCollegesCollegeIDSchedulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCollegesCollegeIDSchedulesReader
- type GetGroupsGroupIDSchedulesBadRequest
- func (o *GetGroupsGroupIDSchedulesBadRequest) Code() int
- func (o *GetGroupsGroupIDSchedulesBadRequest) Error() string
- func (o *GetGroupsGroupIDSchedulesBadRequest) GetPayload() *models.DtoErrorResponse
- func (o *GetGroupsGroupIDSchedulesBadRequest) IsClientError() bool
- func (o *GetGroupsGroupIDSchedulesBadRequest) IsCode(code int) bool
- func (o *GetGroupsGroupIDSchedulesBadRequest) IsRedirect() bool
- func (o *GetGroupsGroupIDSchedulesBadRequest) IsServerError() bool
- func (o *GetGroupsGroupIDSchedulesBadRequest) IsSuccess() bool
- func (o *GetGroupsGroupIDSchedulesBadRequest) String() string
- type GetGroupsGroupIDSchedulesInternalServerError
- func (o *GetGroupsGroupIDSchedulesInternalServerError) Code() int
- func (o *GetGroupsGroupIDSchedulesInternalServerError) Error() string
- func (o *GetGroupsGroupIDSchedulesInternalServerError) GetPayload() *models.DtoErrorResponse
- func (o *GetGroupsGroupIDSchedulesInternalServerError) IsClientError() bool
- func (o *GetGroupsGroupIDSchedulesInternalServerError) IsCode(code int) bool
- func (o *GetGroupsGroupIDSchedulesInternalServerError) IsRedirect() bool
- func (o *GetGroupsGroupIDSchedulesInternalServerError) IsServerError() bool
- func (o *GetGroupsGroupIDSchedulesInternalServerError) IsSuccess() bool
- func (o *GetGroupsGroupIDSchedulesInternalServerError) String() string
- type GetGroupsGroupIDSchedulesNotFound
- func (o *GetGroupsGroupIDSchedulesNotFound) Code() int
- func (o *GetGroupsGroupIDSchedulesNotFound) Error() string
- func (o *GetGroupsGroupIDSchedulesNotFound) GetPayload() *models.DtoErrorResponse
- func (o *GetGroupsGroupIDSchedulesNotFound) IsClientError() bool
- func (o *GetGroupsGroupIDSchedulesNotFound) IsCode(code int) bool
- func (o *GetGroupsGroupIDSchedulesNotFound) IsRedirect() bool
- func (o *GetGroupsGroupIDSchedulesNotFound) IsServerError() bool
- func (o *GetGroupsGroupIDSchedulesNotFound) IsSuccess() bool
- func (o *GetGroupsGroupIDSchedulesNotFound) String() string
- type GetGroupsGroupIDSchedulesOK
- func (o *GetGroupsGroupIDSchedulesOK) Code() int
- func (o *GetGroupsGroupIDSchedulesOK) Error() string
- func (o *GetGroupsGroupIDSchedulesOK) GetPayload() []*models.DtoScheduleResponse
- func (o *GetGroupsGroupIDSchedulesOK) IsClientError() bool
- func (o *GetGroupsGroupIDSchedulesOK) IsCode(code int) bool
- func (o *GetGroupsGroupIDSchedulesOK) IsRedirect() bool
- func (o *GetGroupsGroupIDSchedulesOK) IsServerError() bool
- func (o *GetGroupsGroupIDSchedulesOK) IsSuccess() bool
- func (o *GetGroupsGroupIDSchedulesOK) String() string
- type GetGroupsGroupIDSchedulesParams
- func NewGetGroupsGroupIDSchedulesParams() *GetGroupsGroupIDSchedulesParams
- func NewGetGroupsGroupIDSchedulesParamsWithContext(ctx context.Context) *GetGroupsGroupIDSchedulesParamsdeprecated
- func NewGetGroupsGroupIDSchedulesParamsWithHTTPClient(client *http.Client) *GetGroupsGroupIDSchedulesParams
- func NewGetGroupsGroupIDSchedulesParamsWithTimeout(timeout time.Duration) *GetGroupsGroupIDSchedulesParams
- func (o *GetGroupsGroupIDSchedulesParams) SetCabinet(cabinet *string)
- func (o *GetGroupsGroupIDSchedulesParams) SetContext(ctx context.Context)deprecated
- func (o *GetGroupsGroupIDSchedulesParams) SetDate(date *string)
- func (o *GetGroupsGroupIDSchedulesParams) SetDay(day *string)
- func (o *GetGroupsGroupIDSchedulesParams) SetDefaults()
- func (o *GetGroupsGroupIDSchedulesParams) SetGroupID(groupID int64)
- func (o *GetGroupsGroupIDSchedulesParams) SetHTTPClient(client *http.Client)
- func (o *GetGroupsGroupIDSchedulesParams) SetTeacher(teacher *string)
- func (o *GetGroupsGroupIDSchedulesParams) SetTimeout(timeout time.Duration)
- func (o *GetGroupsGroupIDSchedulesParams) SetTitle(title *string)
- func (o *GetGroupsGroupIDSchedulesParams) SetWeek(week *string)
- func (o *GetGroupsGroupIDSchedulesParams) SetWeekday(weekday *string)
- func (o *GetGroupsGroupIDSchedulesParams) WithCabinet(cabinet *string) *GetGroupsGroupIDSchedulesParams
- func (o *GetGroupsGroupIDSchedulesParams) WithContext(ctx context.Context) *GetGroupsGroupIDSchedulesParamsdeprecated
- func (o *GetGroupsGroupIDSchedulesParams) WithDate(date *string) *GetGroupsGroupIDSchedulesParams
- func (o *GetGroupsGroupIDSchedulesParams) WithDay(day *string) *GetGroupsGroupIDSchedulesParams
- func (o *GetGroupsGroupIDSchedulesParams) WithDefaults() *GetGroupsGroupIDSchedulesParams
- func (o *GetGroupsGroupIDSchedulesParams) WithGroupID(groupID int64) *GetGroupsGroupIDSchedulesParams
- func (o *GetGroupsGroupIDSchedulesParams) WithHTTPClient(client *http.Client) *GetGroupsGroupIDSchedulesParams
- func (o *GetGroupsGroupIDSchedulesParams) WithTeacher(teacher *string) *GetGroupsGroupIDSchedulesParams
- func (o *GetGroupsGroupIDSchedulesParams) WithTimeout(timeout time.Duration) *GetGroupsGroupIDSchedulesParams
- func (o *GetGroupsGroupIDSchedulesParams) WithTitle(title *string) *GetGroupsGroupIDSchedulesParams
- func (o *GetGroupsGroupIDSchedulesParams) WithWeek(week *string) *GetGroupsGroupIDSchedulesParams
- func (o *GetGroupsGroupIDSchedulesParams) WithWeekday(weekday *string) *GetGroupsGroupIDSchedulesParams
- func (o *GetGroupsGroupIDSchedulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGroupsGroupIDSchedulesReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for schedules API.
func (*Client) GetCampusesCampusIDSchedules ¶ added in v0.5.0
func (a *Client) GetCampusesCampusIDSchedules(params *GetCampusesCampusIDSchedulesParams, opts ...ClientOption) (*GetCampusesCampusIDSchedulesOK, error)
GetCampusesCampusIDSchedules gets schedules by campus ID.
get schedules by campus ID.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetCampusesCampusIDSchedulesContext instead.
func (*Client) GetCampusesCampusIDSchedulesContext ¶ added in v0.5.0
func (a *Client) GetCampusesCampusIDSchedulesContext(ctx context.Context, params *GetCampusesCampusIDSchedulesParams, opts ...ClientOption) (*GetCampusesCampusIDSchedulesOK, error)
GetCampusesCampusIDSchedulesContext gets schedules by campus ID.
get schedules by campus ID.
Do not use the deprecated [GetCampusesCampusIDSchedulesParams.Context] with this method: it would be ignored.
func (*Client) GetCollegesCollegeIDSchedules ¶ added in v0.5.0
func (a *Client) GetCollegesCollegeIDSchedules(params *GetCollegesCollegeIDSchedulesParams, opts ...ClientOption) (*GetCollegesCollegeIDSchedulesOK, error)
GetCollegesCollegeIDSchedules gets schedules by college ID.
get schedules by college ID.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetCollegesCollegeIDSchedulesContext instead.
func (*Client) GetCollegesCollegeIDSchedulesContext ¶ added in v0.5.0
func (a *Client) GetCollegesCollegeIDSchedulesContext(ctx context.Context, params *GetCollegesCollegeIDSchedulesParams, opts ...ClientOption) (*GetCollegesCollegeIDSchedulesOK, error)
GetCollegesCollegeIDSchedulesContext gets schedules by college ID.
get schedules by college ID.
Do not use the deprecated [GetCollegesCollegeIDSchedulesParams.Context] with this method: it would be ignored.
func (*Client) GetGroupsGroupIDSchedules ¶
func (a *Client) GetGroupsGroupIDSchedules(params *GetGroupsGroupIDSchedulesParams, opts ...ClientOption) (*GetGroupsGroupIDSchedulesOK, error)
GetGroupsGroupIDSchedules gets schedules by group ID.
get schedules by group ID.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetGroupsGroupIDSchedulesContext instead.
func (*Client) GetGroupsGroupIDSchedulesContext ¶
func (a *Client) GetGroupsGroupIDSchedulesContext(ctx context.Context, params *GetGroupsGroupIDSchedulesParams, opts ...ClientOption) (*GetGroupsGroupIDSchedulesOK, error)
GetGroupsGroupIDSchedulesContext gets schedules by group ID.
get schedules by group ID.
Do not use the deprecated [GetGroupsGroupIDSchedulesParams.Context] with this method: it would be ignored.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ContextualTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface {
// GetCampusesCampusIDSchedules get schedules by campus ID.
GetCampusesCampusIDSchedules(params *GetCampusesCampusIDSchedulesParams, opts ...ClientOption) (*GetCampusesCampusIDSchedulesOK, error)
// GetCampusesCampusIDSchedulesContext get schedules by campus ID.
GetCampusesCampusIDSchedulesContext(ctx context.Context, params *GetCampusesCampusIDSchedulesParams, opts ...ClientOption) (*GetCampusesCampusIDSchedulesOK, error)
// GetCollegesCollegeIDSchedules get schedules by college ID.
GetCollegesCollegeIDSchedules(params *GetCollegesCollegeIDSchedulesParams, opts ...ClientOption) (*GetCollegesCollegeIDSchedulesOK, error)
// GetCollegesCollegeIDSchedulesContext get schedules by college ID.
GetCollegesCollegeIDSchedulesContext(ctx context.Context, params *GetCollegesCollegeIDSchedulesParams, opts ...ClientOption) (*GetCollegesCollegeIDSchedulesOK, error)
// GetGroupsGroupIDSchedules get schedules by group ID.
GetGroupsGroupIDSchedules(params *GetGroupsGroupIDSchedulesParams, opts ...ClientOption) (*GetGroupsGroupIDSchedulesOK, error)
// GetGroupsGroupIDSchedulesContext get schedules by group ID.
GetGroupsGroupIDSchedulesContext(ctx context.Context, params *GetGroupsGroupIDSchedulesParams, opts ...ClientOption) (*GetGroupsGroupIDSchedulesOK, error)
SetTransport(transport runtime.ContextualTransport)
}
ClientService is the interface for Client methods.
func New ¶
func New(transport runtime.ContextualTransport, formats strfmt.Registry) ClientService
New creates a new schedules API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new schedules API client with basic auth credentials.
It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new schedules API client with a bearer token for authentication.
It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type GetCampusesCampusIDSchedulesBadRequest ¶ added in v0.5.0
type GetCampusesCampusIDSchedulesBadRequest struct {
Payload *models.DtoErrorResponse
}
GetCampusesCampusIDSchedulesBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetCampusesCampusIDSchedulesBadRequest ¶ added in v0.5.0
func NewGetCampusesCampusIDSchedulesBadRequest() *GetCampusesCampusIDSchedulesBadRequest
NewGetCampusesCampusIDSchedulesBadRequest creates a GetCampusesCampusIDSchedulesBadRequest with default headers values
func (*GetCampusesCampusIDSchedulesBadRequest) Code ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesBadRequest) Code() int
Code gets the status code for the get campuses campus Id schedules bad request response
func (*GetCampusesCampusIDSchedulesBadRequest) Error ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesBadRequest) Error() string
func (*GetCampusesCampusIDSchedulesBadRequest) GetPayload ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesBadRequest) GetPayload() *models.DtoErrorResponse
func (*GetCampusesCampusIDSchedulesBadRequest) IsClientError ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesBadRequest) IsClientError() bool
IsClientError returns true when this get campuses campus Id schedules bad request response has a 4xx status code
func (*GetCampusesCampusIDSchedulesBadRequest) IsCode ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesBadRequest) IsCode(code int) bool
IsCode returns true when this get campuses campus Id schedules bad request response a status code equal to that given
func (*GetCampusesCampusIDSchedulesBadRequest) IsRedirect ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesBadRequest) IsRedirect() bool
IsRedirect returns true when this get campuses campus Id schedules bad request response has a 3xx status code
func (*GetCampusesCampusIDSchedulesBadRequest) IsServerError ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesBadRequest) IsServerError() bool
IsServerError returns true when this get campuses campus Id schedules bad request response has a 5xx status code
func (*GetCampusesCampusIDSchedulesBadRequest) IsSuccess ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesBadRequest) IsSuccess() bool
IsSuccess returns true when this get campuses campus Id schedules bad request response has a 2xx status code
func (*GetCampusesCampusIDSchedulesBadRequest) String ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesBadRequest) String() string
type GetCampusesCampusIDSchedulesInternalServerError ¶ added in v0.5.0
type GetCampusesCampusIDSchedulesInternalServerError struct {
Payload *models.DtoErrorResponse
}
GetCampusesCampusIDSchedulesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetCampusesCampusIDSchedulesInternalServerError ¶ added in v0.5.0
func NewGetCampusesCampusIDSchedulesInternalServerError() *GetCampusesCampusIDSchedulesInternalServerError
NewGetCampusesCampusIDSchedulesInternalServerError creates a GetCampusesCampusIDSchedulesInternalServerError with default headers values
func (*GetCampusesCampusIDSchedulesInternalServerError) Code ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesInternalServerError) Code() int
Code gets the status code for the get campuses campus Id schedules internal server error response
func (*GetCampusesCampusIDSchedulesInternalServerError) Error ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesInternalServerError) Error() string
func (*GetCampusesCampusIDSchedulesInternalServerError) GetPayload ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesInternalServerError) GetPayload() *models.DtoErrorResponse
func (*GetCampusesCampusIDSchedulesInternalServerError) IsClientError ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesInternalServerError) IsClientError() bool
IsClientError returns true when this get campuses campus Id schedules internal server error response has a 4xx status code
func (*GetCampusesCampusIDSchedulesInternalServerError) IsCode ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesInternalServerError) IsCode(code int) bool
IsCode returns true when this get campuses campus Id schedules internal server error response a status code equal to that given
func (*GetCampusesCampusIDSchedulesInternalServerError) IsRedirect ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesInternalServerError) IsRedirect() bool
IsRedirect returns true when this get campuses campus Id schedules internal server error response has a 3xx status code
func (*GetCampusesCampusIDSchedulesInternalServerError) IsServerError ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesInternalServerError) IsServerError() bool
IsServerError returns true when this get campuses campus Id schedules internal server error response has a 5xx status code
func (*GetCampusesCampusIDSchedulesInternalServerError) IsSuccess ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesInternalServerError) IsSuccess() bool
IsSuccess returns true when this get campuses campus Id schedules internal server error response has a 2xx status code
func (*GetCampusesCampusIDSchedulesInternalServerError) String ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesInternalServerError) String() string
type GetCampusesCampusIDSchedulesNotFound ¶ added in v0.5.0
type GetCampusesCampusIDSchedulesNotFound struct {
Payload *models.DtoErrorResponse
}
GetCampusesCampusIDSchedulesNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetCampusesCampusIDSchedulesNotFound ¶ added in v0.5.0
func NewGetCampusesCampusIDSchedulesNotFound() *GetCampusesCampusIDSchedulesNotFound
NewGetCampusesCampusIDSchedulesNotFound creates a GetCampusesCampusIDSchedulesNotFound with default headers values
func (*GetCampusesCampusIDSchedulesNotFound) Code ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesNotFound) Code() int
Code gets the status code for the get campuses campus Id schedules not found response
func (*GetCampusesCampusIDSchedulesNotFound) Error ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesNotFound) Error() string
func (*GetCampusesCampusIDSchedulesNotFound) GetPayload ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesNotFound) GetPayload() *models.DtoErrorResponse
func (*GetCampusesCampusIDSchedulesNotFound) IsClientError ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesNotFound) IsClientError() bool
IsClientError returns true when this get campuses campus Id schedules not found response has a 4xx status code
func (*GetCampusesCampusIDSchedulesNotFound) IsCode ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesNotFound) IsCode(code int) bool
IsCode returns true when this get campuses campus Id schedules not found response a status code equal to that given
func (*GetCampusesCampusIDSchedulesNotFound) IsRedirect ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesNotFound) IsRedirect() bool
IsRedirect returns true when this get campuses campus Id schedules not found response has a 3xx status code
func (*GetCampusesCampusIDSchedulesNotFound) IsServerError ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesNotFound) IsServerError() bool
IsServerError returns true when this get campuses campus Id schedules not found response has a 5xx status code
func (*GetCampusesCampusIDSchedulesNotFound) IsSuccess ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesNotFound) IsSuccess() bool
IsSuccess returns true when this get campuses campus Id schedules not found response has a 2xx status code
func (*GetCampusesCampusIDSchedulesNotFound) String ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesNotFound) String() string
type GetCampusesCampusIDSchedulesOK ¶ added in v0.5.0
type GetCampusesCampusIDSchedulesOK struct {
Payload []*models.DtoScheduleResponse
}
GetCampusesCampusIDSchedulesOK describes a response with status code 200, with default header values.
OK
func NewGetCampusesCampusIDSchedulesOK ¶ added in v0.5.0
func NewGetCampusesCampusIDSchedulesOK() *GetCampusesCampusIDSchedulesOK
NewGetCampusesCampusIDSchedulesOK creates a GetCampusesCampusIDSchedulesOK with default headers values
func (*GetCampusesCampusIDSchedulesOK) Code ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesOK) Code() int
Code gets the status code for the get campuses campus Id schedules o k response
func (*GetCampusesCampusIDSchedulesOK) Error ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesOK) Error() string
func (*GetCampusesCampusIDSchedulesOK) GetPayload ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesOK) GetPayload() []*models.DtoScheduleResponse
func (*GetCampusesCampusIDSchedulesOK) IsClientError ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesOK) IsClientError() bool
IsClientError returns true when this get campuses campus Id schedules o k response has a 4xx status code
func (*GetCampusesCampusIDSchedulesOK) IsCode ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesOK) IsCode(code int) bool
IsCode returns true when this get campuses campus Id schedules o k response a status code equal to that given
func (*GetCampusesCampusIDSchedulesOK) IsRedirect ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesOK) IsRedirect() bool
IsRedirect returns true when this get campuses campus Id schedules o k response has a 3xx status code
func (*GetCampusesCampusIDSchedulesOK) IsServerError ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesOK) IsServerError() bool
IsServerError returns true when this get campuses campus Id schedules o k response has a 5xx status code
func (*GetCampusesCampusIDSchedulesOK) IsSuccess ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesOK) IsSuccess() bool
IsSuccess returns true when this get campuses campus Id schedules o k response has a 2xx status code
func (*GetCampusesCampusIDSchedulesOK) String ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesOK) String() string
type GetCampusesCampusIDSchedulesParams ¶ added in v0.5.0
type GetCampusesCampusIDSchedulesParams struct {
// Cabinet.
//
// Like cabinet of lessons
Cabinet *string
// CampusID.
//
// Campus ID
CampusID int64
// Date.
//
// Specific date (yyyy-mm-dd)
Date *string
// Day.
//
// Relative day
Day *string
// Teacher.
//
// Like teacher of lessons
Teacher *string
// Title.
//
// Like title of lessons
Title *string
// Week.
//
// Week of schedules
Week *string
// Weekday.
//
// Weekday of schedules
Weekday *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetCampusesCampusIDSchedulesParams contains all the parameters to send to the API endpoint
for the get campuses campus ID schedules operation. Typically these are written to a http.Request.
func NewGetCampusesCampusIDSchedulesParams ¶ added in v0.5.0
func NewGetCampusesCampusIDSchedulesParams() *GetCampusesCampusIDSchedulesParams
NewGetCampusesCampusIDSchedulesParams creates a new GetCampusesCampusIDSchedulesParams 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 NewGetCampusesCampusIDSchedulesParamsWithContext
deprecated
added in
v0.5.0
func NewGetCampusesCampusIDSchedulesParamsWithContext(ctx context.Context) *GetCampusesCampusIDSchedulesParams
NewGetCampusesCampusIDSchedulesParamsWithContext creates a new GetCampusesCampusIDSchedulesParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetCampusesCampusIDSchedulesParams.
func NewGetCampusesCampusIDSchedulesParamsWithHTTPClient ¶ added in v0.5.0
func NewGetCampusesCampusIDSchedulesParamsWithHTTPClient(client *http.Client) *GetCampusesCampusIDSchedulesParams
NewGetCampusesCampusIDSchedulesParamsWithHTTPClient creates a new GetCampusesCampusIDSchedulesParams object with the ability to set a custom HTTPClient for a request.
func NewGetCampusesCampusIDSchedulesParamsWithTimeout ¶ added in v0.5.0
func NewGetCampusesCampusIDSchedulesParamsWithTimeout(timeout time.Duration) *GetCampusesCampusIDSchedulesParams
NewGetCampusesCampusIDSchedulesParamsWithTimeout creates a new GetCampusesCampusIDSchedulesParams object with the ability to set a timeout on a request.
func (*GetCampusesCampusIDSchedulesParams) SetCabinet ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesParams) SetCabinet(cabinet *string)
SetCabinet adds the cabinet to the get campuses campus ID schedules params.
func (*GetCampusesCampusIDSchedulesParams) SetCampusID ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesParams) SetCampusID(campusID int64)
SetCampusID adds the campusId to the get campuses campus ID schedules params.
func (*GetCampusesCampusIDSchedulesParams) SetContext
deprecated
added in
v0.5.0
func (o *GetCampusesCampusIDSchedulesParams) SetContext(ctx context.Context)
SetContext adds the context to the get campuses campus ID schedules params.
Deprecated: use the operation call with context to pass the context instead of GetCampusesCampusIDSchedulesParams.
func (*GetCampusesCampusIDSchedulesParams) SetDate ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesParams) SetDate(date *string)
SetDate adds the date to the get campuses campus ID schedules params.
func (*GetCampusesCampusIDSchedulesParams) SetDay ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesParams) SetDay(day *string)
SetDay adds the day to the get campuses campus ID schedules params.
func (*GetCampusesCampusIDSchedulesParams) SetDefaults ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesParams) SetDefaults()
SetDefaults hydrates default values in the get campuses campus ID schedules params (not the query body).
All values with no default are reset to their zero value.
func (*GetCampusesCampusIDSchedulesParams) SetHTTPClient ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get campuses campus ID schedules params.
func (*GetCampusesCampusIDSchedulesParams) SetTeacher ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesParams) SetTeacher(teacher *string)
SetTeacher adds the teacher to the get campuses campus ID schedules params.
func (*GetCampusesCampusIDSchedulesParams) SetTimeout ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get campuses campus ID schedules params.
func (*GetCampusesCampusIDSchedulesParams) SetTitle ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesParams) SetTitle(title *string)
SetTitle adds the title to the get campuses campus ID schedules params.
func (*GetCampusesCampusIDSchedulesParams) SetWeek ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesParams) SetWeek(week *string)
SetWeek adds the week to the get campuses campus ID schedules params.
func (*GetCampusesCampusIDSchedulesParams) SetWeekday ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesParams) SetWeekday(weekday *string)
SetWeekday adds the weekday to the get campuses campus ID schedules params.
func (*GetCampusesCampusIDSchedulesParams) WithCabinet ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesParams) WithCabinet(cabinet *string) *GetCampusesCampusIDSchedulesParams
WithCabinet adds the cabinet to the get campuses campus ID schedules params.
func (*GetCampusesCampusIDSchedulesParams) WithCampusID ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesParams) WithCampusID(campusID int64) *GetCampusesCampusIDSchedulesParams
WithCampusID adds the campusID to the get campuses campus ID schedules params.
func (*GetCampusesCampusIDSchedulesParams) WithContext
deprecated
added in
v0.5.0
func (o *GetCampusesCampusIDSchedulesParams) WithContext(ctx context.Context) *GetCampusesCampusIDSchedulesParams
WithContext adds the context to the get campuses campus ID schedules params.
Deprecated: use the operation call with context to pass the context instead of GetCampusesCampusIDSchedulesParams.
func (*GetCampusesCampusIDSchedulesParams) WithDate ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesParams) WithDate(date *string) *GetCampusesCampusIDSchedulesParams
WithDate adds the date to the get campuses campus ID schedules params.
func (*GetCampusesCampusIDSchedulesParams) WithDay ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesParams) WithDay(day *string) *GetCampusesCampusIDSchedulesParams
WithDay adds the day to the get campuses campus ID schedules params.
func (*GetCampusesCampusIDSchedulesParams) WithDefaults ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesParams) WithDefaults() *GetCampusesCampusIDSchedulesParams
WithDefaults hydrates default values in the get campuses campus ID schedules params (not the query body).
All values with no default are reset to their zero value.
func (*GetCampusesCampusIDSchedulesParams) WithHTTPClient ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesParams) WithHTTPClient(client *http.Client) *GetCampusesCampusIDSchedulesParams
WithHTTPClient adds the HTTPClient to the get campuses campus ID schedules params.
func (*GetCampusesCampusIDSchedulesParams) WithTeacher ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesParams) WithTeacher(teacher *string) *GetCampusesCampusIDSchedulesParams
WithTeacher adds the teacher to the get campuses campus ID schedules params.
func (*GetCampusesCampusIDSchedulesParams) WithTimeout ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesParams) WithTimeout(timeout time.Duration) *GetCampusesCampusIDSchedulesParams
WithTimeout adds the timeout to the get campuses campus ID schedules params.
func (*GetCampusesCampusIDSchedulesParams) WithTitle ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesParams) WithTitle(title *string) *GetCampusesCampusIDSchedulesParams
WithTitle adds the title to the get campuses campus ID schedules params.
func (*GetCampusesCampusIDSchedulesParams) WithWeek ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesParams) WithWeek(week *string) *GetCampusesCampusIDSchedulesParams
WithWeek adds the week to the get campuses campus ID schedules params.
func (*GetCampusesCampusIDSchedulesParams) WithWeekday ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesParams) WithWeekday(weekday *string) *GetCampusesCampusIDSchedulesParams
WithWeekday adds the weekday to the get campuses campus ID schedules params.
func (*GetCampusesCampusIDSchedulesParams) WriteToRequest ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetCampusesCampusIDSchedulesReader ¶ added in v0.5.0
type GetCampusesCampusIDSchedulesReader struct {
// contains filtered or unexported fields
}
GetCampusesCampusIDSchedulesReader is a Reader for the GetCampusesCampusIDSchedules structure.
func (*GetCampusesCampusIDSchedulesReader) ReadResponse ¶ added in v0.5.0
func (o *GetCampusesCampusIDSchedulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetCollegesCollegeIDSchedulesBadRequest ¶ added in v0.5.0
type GetCollegesCollegeIDSchedulesBadRequest struct {
Payload *models.DtoErrorResponse
}
GetCollegesCollegeIDSchedulesBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetCollegesCollegeIDSchedulesBadRequest ¶ added in v0.5.0
func NewGetCollegesCollegeIDSchedulesBadRequest() *GetCollegesCollegeIDSchedulesBadRequest
NewGetCollegesCollegeIDSchedulesBadRequest creates a GetCollegesCollegeIDSchedulesBadRequest with default headers values
func (*GetCollegesCollegeIDSchedulesBadRequest) Code ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesBadRequest) Code() int
Code gets the status code for the get colleges college Id schedules bad request response
func (*GetCollegesCollegeIDSchedulesBadRequest) Error ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesBadRequest) Error() string
func (*GetCollegesCollegeIDSchedulesBadRequest) GetPayload ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesBadRequest) GetPayload() *models.DtoErrorResponse
func (*GetCollegesCollegeIDSchedulesBadRequest) IsClientError ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesBadRequest) IsClientError() bool
IsClientError returns true when this get colleges college Id schedules bad request response has a 4xx status code
func (*GetCollegesCollegeIDSchedulesBadRequest) IsCode ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesBadRequest) IsCode(code int) bool
IsCode returns true when this get colleges college Id schedules bad request response a status code equal to that given
func (*GetCollegesCollegeIDSchedulesBadRequest) IsRedirect ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesBadRequest) IsRedirect() bool
IsRedirect returns true when this get colleges college Id schedules bad request response has a 3xx status code
func (*GetCollegesCollegeIDSchedulesBadRequest) IsServerError ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesBadRequest) IsServerError() bool
IsServerError returns true when this get colleges college Id schedules bad request response has a 5xx status code
func (*GetCollegesCollegeIDSchedulesBadRequest) IsSuccess ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesBadRequest) IsSuccess() bool
IsSuccess returns true when this get colleges college Id schedules bad request response has a 2xx status code
func (*GetCollegesCollegeIDSchedulesBadRequest) String ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesBadRequest) String() string
type GetCollegesCollegeIDSchedulesInternalServerError ¶ added in v0.5.0
type GetCollegesCollegeIDSchedulesInternalServerError struct {
Payload *models.DtoErrorResponse
}
GetCollegesCollegeIDSchedulesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetCollegesCollegeIDSchedulesInternalServerError ¶ added in v0.5.0
func NewGetCollegesCollegeIDSchedulesInternalServerError() *GetCollegesCollegeIDSchedulesInternalServerError
NewGetCollegesCollegeIDSchedulesInternalServerError creates a GetCollegesCollegeIDSchedulesInternalServerError with default headers values
func (*GetCollegesCollegeIDSchedulesInternalServerError) Code ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesInternalServerError) Code() int
Code gets the status code for the get colleges college Id schedules internal server error response
func (*GetCollegesCollegeIDSchedulesInternalServerError) Error ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesInternalServerError) Error() string
func (*GetCollegesCollegeIDSchedulesInternalServerError) GetPayload ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesInternalServerError) GetPayload() *models.DtoErrorResponse
func (*GetCollegesCollegeIDSchedulesInternalServerError) IsClientError ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesInternalServerError) IsClientError() bool
IsClientError returns true when this get colleges college Id schedules internal server error response has a 4xx status code
func (*GetCollegesCollegeIDSchedulesInternalServerError) IsCode ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesInternalServerError) IsCode(code int) bool
IsCode returns true when this get colleges college Id schedules internal server error response a status code equal to that given
func (*GetCollegesCollegeIDSchedulesInternalServerError) IsRedirect ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesInternalServerError) IsRedirect() bool
IsRedirect returns true when this get colleges college Id schedules internal server error response has a 3xx status code
func (*GetCollegesCollegeIDSchedulesInternalServerError) IsServerError ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesInternalServerError) IsServerError() bool
IsServerError returns true when this get colleges college Id schedules internal server error response has a 5xx status code
func (*GetCollegesCollegeIDSchedulesInternalServerError) IsSuccess ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesInternalServerError) IsSuccess() bool
IsSuccess returns true when this get colleges college Id schedules internal server error response has a 2xx status code
func (*GetCollegesCollegeIDSchedulesInternalServerError) String ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesInternalServerError) String() string
type GetCollegesCollegeIDSchedulesNotFound ¶ added in v0.5.0
type GetCollegesCollegeIDSchedulesNotFound struct {
Payload *models.DtoErrorResponse
}
GetCollegesCollegeIDSchedulesNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetCollegesCollegeIDSchedulesNotFound ¶ added in v0.5.0
func NewGetCollegesCollegeIDSchedulesNotFound() *GetCollegesCollegeIDSchedulesNotFound
NewGetCollegesCollegeIDSchedulesNotFound creates a GetCollegesCollegeIDSchedulesNotFound with default headers values
func (*GetCollegesCollegeIDSchedulesNotFound) Code ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesNotFound) Code() int
Code gets the status code for the get colleges college Id schedules not found response
func (*GetCollegesCollegeIDSchedulesNotFound) Error ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesNotFound) Error() string
func (*GetCollegesCollegeIDSchedulesNotFound) GetPayload ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesNotFound) GetPayload() *models.DtoErrorResponse
func (*GetCollegesCollegeIDSchedulesNotFound) IsClientError ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesNotFound) IsClientError() bool
IsClientError returns true when this get colleges college Id schedules not found response has a 4xx status code
func (*GetCollegesCollegeIDSchedulesNotFound) IsCode ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesNotFound) IsCode(code int) bool
IsCode returns true when this get colleges college Id schedules not found response a status code equal to that given
func (*GetCollegesCollegeIDSchedulesNotFound) IsRedirect ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesNotFound) IsRedirect() bool
IsRedirect returns true when this get colleges college Id schedules not found response has a 3xx status code
func (*GetCollegesCollegeIDSchedulesNotFound) IsServerError ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesNotFound) IsServerError() bool
IsServerError returns true when this get colleges college Id schedules not found response has a 5xx status code
func (*GetCollegesCollegeIDSchedulesNotFound) IsSuccess ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesNotFound) IsSuccess() bool
IsSuccess returns true when this get colleges college Id schedules not found response has a 2xx status code
func (*GetCollegesCollegeIDSchedulesNotFound) String ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesNotFound) String() string
type GetCollegesCollegeIDSchedulesOK ¶ added in v0.5.0
type GetCollegesCollegeIDSchedulesOK struct {
Payload []*models.DtoScheduleResponse
}
GetCollegesCollegeIDSchedulesOK describes a response with status code 200, with default header values.
OK
func NewGetCollegesCollegeIDSchedulesOK ¶ added in v0.5.0
func NewGetCollegesCollegeIDSchedulesOK() *GetCollegesCollegeIDSchedulesOK
NewGetCollegesCollegeIDSchedulesOK creates a GetCollegesCollegeIDSchedulesOK with default headers values
func (*GetCollegesCollegeIDSchedulesOK) Code ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesOK) Code() int
Code gets the status code for the get colleges college Id schedules o k response
func (*GetCollegesCollegeIDSchedulesOK) Error ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesOK) Error() string
func (*GetCollegesCollegeIDSchedulesOK) GetPayload ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesOK) GetPayload() []*models.DtoScheduleResponse
func (*GetCollegesCollegeIDSchedulesOK) IsClientError ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesOK) IsClientError() bool
IsClientError returns true when this get colleges college Id schedules o k response has a 4xx status code
func (*GetCollegesCollegeIDSchedulesOK) IsCode ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesOK) IsCode(code int) bool
IsCode returns true when this get colleges college Id schedules o k response a status code equal to that given
func (*GetCollegesCollegeIDSchedulesOK) IsRedirect ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesOK) IsRedirect() bool
IsRedirect returns true when this get colleges college Id schedules o k response has a 3xx status code
func (*GetCollegesCollegeIDSchedulesOK) IsServerError ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesOK) IsServerError() bool
IsServerError returns true when this get colleges college Id schedules o k response has a 5xx status code
func (*GetCollegesCollegeIDSchedulesOK) IsSuccess ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesOK) IsSuccess() bool
IsSuccess returns true when this get colleges college Id schedules o k response has a 2xx status code
func (*GetCollegesCollegeIDSchedulesOK) String ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesOK) String() string
type GetCollegesCollegeIDSchedulesParams ¶ added in v0.5.0
type GetCollegesCollegeIDSchedulesParams struct {
// Cabinet.
//
// like cabinet of lessons
Cabinet *string
// CollegeID.
//
// College ID
CollegeID int64
// Date.
//
// Specific date (yyyy-mm-dd)
Date *string
// Day.
//
// Relative day
Day *string
// Teacher.
//
// like teacher of lessons
Teacher *string
// Title.
//
// like title of lessons
Title *string
// Week.
//
// Week of schedules
Week *string
// Weekday.
//
// Weekday of schedules
Weekday *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetCollegesCollegeIDSchedulesParams contains all the parameters to send to the API endpoint
for the get colleges college ID schedules operation. Typically these are written to a http.Request.
func NewGetCollegesCollegeIDSchedulesParams ¶ added in v0.5.0
func NewGetCollegesCollegeIDSchedulesParams() *GetCollegesCollegeIDSchedulesParams
NewGetCollegesCollegeIDSchedulesParams creates a new GetCollegesCollegeIDSchedulesParams 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 NewGetCollegesCollegeIDSchedulesParamsWithContext
deprecated
added in
v0.5.0
func NewGetCollegesCollegeIDSchedulesParamsWithContext(ctx context.Context) *GetCollegesCollegeIDSchedulesParams
NewGetCollegesCollegeIDSchedulesParamsWithContext creates a new GetCollegesCollegeIDSchedulesParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetCollegesCollegeIDSchedulesParams.
func NewGetCollegesCollegeIDSchedulesParamsWithHTTPClient ¶ added in v0.5.0
func NewGetCollegesCollegeIDSchedulesParamsWithHTTPClient(client *http.Client) *GetCollegesCollegeIDSchedulesParams
NewGetCollegesCollegeIDSchedulesParamsWithHTTPClient creates a new GetCollegesCollegeIDSchedulesParams object with the ability to set a custom HTTPClient for a request.
func NewGetCollegesCollegeIDSchedulesParamsWithTimeout ¶ added in v0.5.0
func NewGetCollegesCollegeIDSchedulesParamsWithTimeout(timeout time.Duration) *GetCollegesCollegeIDSchedulesParams
NewGetCollegesCollegeIDSchedulesParamsWithTimeout creates a new GetCollegesCollegeIDSchedulesParams object with the ability to set a timeout on a request.
func (*GetCollegesCollegeIDSchedulesParams) SetCabinet ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesParams) SetCabinet(cabinet *string)
SetCabinet adds the cabinet to the get colleges college ID schedules params.
func (*GetCollegesCollegeIDSchedulesParams) SetCollegeID ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesParams) SetCollegeID(collegeID int64)
SetCollegeID adds the collegeId to the get colleges college ID schedules params.
func (*GetCollegesCollegeIDSchedulesParams) SetContext
deprecated
added in
v0.5.0
func (o *GetCollegesCollegeIDSchedulesParams) SetContext(ctx context.Context)
SetContext adds the context to the get colleges college ID schedules params.
Deprecated: use the operation call with context to pass the context instead of GetCollegesCollegeIDSchedulesParams.
func (*GetCollegesCollegeIDSchedulesParams) SetDate ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesParams) SetDate(date *string)
SetDate adds the date to the get colleges college ID schedules params.
func (*GetCollegesCollegeIDSchedulesParams) SetDay ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesParams) SetDay(day *string)
SetDay adds the day to the get colleges college ID schedules params.
func (*GetCollegesCollegeIDSchedulesParams) SetDefaults ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesParams) SetDefaults()
SetDefaults hydrates default values in the get colleges college ID schedules params (not the query body).
All values with no default are reset to their zero value.
func (*GetCollegesCollegeIDSchedulesParams) SetHTTPClient ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get colleges college ID schedules params.
func (*GetCollegesCollegeIDSchedulesParams) SetTeacher ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesParams) SetTeacher(teacher *string)
SetTeacher adds the teacher to the get colleges college ID schedules params.
func (*GetCollegesCollegeIDSchedulesParams) SetTimeout ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get colleges college ID schedules params.
func (*GetCollegesCollegeIDSchedulesParams) SetTitle ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesParams) SetTitle(title *string)
SetTitle adds the title to the get colleges college ID schedules params.
func (*GetCollegesCollegeIDSchedulesParams) SetWeek ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesParams) SetWeek(week *string)
SetWeek adds the week to the get colleges college ID schedules params.
func (*GetCollegesCollegeIDSchedulesParams) SetWeekday ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesParams) SetWeekday(weekday *string)
SetWeekday adds the weekday to the get colleges college ID schedules params.
func (*GetCollegesCollegeIDSchedulesParams) WithCabinet ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesParams) WithCabinet(cabinet *string) *GetCollegesCollegeIDSchedulesParams
WithCabinet adds the cabinet to the get colleges college ID schedules params.
func (*GetCollegesCollegeIDSchedulesParams) WithCollegeID ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesParams) WithCollegeID(collegeID int64) *GetCollegesCollegeIDSchedulesParams
WithCollegeID adds the collegeID to the get colleges college ID schedules params.
func (*GetCollegesCollegeIDSchedulesParams) WithContext
deprecated
added in
v0.5.0
func (o *GetCollegesCollegeIDSchedulesParams) WithContext(ctx context.Context) *GetCollegesCollegeIDSchedulesParams
WithContext adds the context to the get colleges college ID schedules params.
Deprecated: use the operation call with context to pass the context instead of GetCollegesCollegeIDSchedulesParams.
func (*GetCollegesCollegeIDSchedulesParams) WithDate ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesParams) WithDate(date *string) *GetCollegesCollegeIDSchedulesParams
WithDate adds the date to the get colleges college ID schedules params.
func (*GetCollegesCollegeIDSchedulesParams) WithDay ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesParams) WithDay(day *string) *GetCollegesCollegeIDSchedulesParams
WithDay adds the day to the get colleges college ID schedules params.
func (*GetCollegesCollegeIDSchedulesParams) WithDefaults ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesParams) WithDefaults() *GetCollegesCollegeIDSchedulesParams
WithDefaults hydrates default values in the get colleges college ID schedules params (not the query body).
All values with no default are reset to their zero value.
func (*GetCollegesCollegeIDSchedulesParams) WithHTTPClient ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesParams) WithHTTPClient(client *http.Client) *GetCollegesCollegeIDSchedulesParams
WithHTTPClient adds the HTTPClient to the get colleges college ID schedules params.
func (*GetCollegesCollegeIDSchedulesParams) WithTeacher ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesParams) WithTeacher(teacher *string) *GetCollegesCollegeIDSchedulesParams
WithTeacher adds the teacher to the get colleges college ID schedules params.
func (*GetCollegesCollegeIDSchedulesParams) WithTimeout ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesParams) WithTimeout(timeout time.Duration) *GetCollegesCollegeIDSchedulesParams
WithTimeout adds the timeout to the get colleges college ID schedules params.
func (*GetCollegesCollegeIDSchedulesParams) WithTitle ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesParams) WithTitle(title *string) *GetCollegesCollegeIDSchedulesParams
WithTitle adds the title to the get colleges college ID schedules params.
func (*GetCollegesCollegeIDSchedulesParams) WithWeek ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesParams) WithWeek(week *string) *GetCollegesCollegeIDSchedulesParams
WithWeek adds the week to the get colleges college ID schedules params.
func (*GetCollegesCollegeIDSchedulesParams) WithWeekday ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesParams) WithWeekday(weekday *string) *GetCollegesCollegeIDSchedulesParams
WithWeekday adds the weekday to the get colleges college ID schedules params.
func (*GetCollegesCollegeIDSchedulesParams) WriteToRequest ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetCollegesCollegeIDSchedulesReader ¶ added in v0.5.0
type GetCollegesCollegeIDSchedulesReader struct {
// contains filtered or unexported fields
}
GetCollegesCollegeIDSchedulesReader is a Reader for the GetCollegesCollegeIDSchedules structure.
func (*GetCollegesCollegeIDSchedulesReader) ReadResponse ¶ added in v0.5.0
func (o *GetCollegesCollegeIDSchedulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetGroupsGroupIDSchedulesBadRequest ¶
type GetGroupsGroupIDSchedulesBadRequest struct {
Payload *models.DtoErrorResponse
}
GetGroupsGroupIDSchedulesBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetGroupsGroupIDSchedulesBadRequest ¶
func NewGetGroupsGroupIDSchedulesBadRequest() *GetGroupsGroupIDSchedulesBadRequest
NewGetGroupsGroupIDSchedulesBadRequest creates a GetGroupsGroupIDSchedulesBadRequest with default headers values
func (*GetGroupsGroupIDSchedulesBadRequest) Code ¶
func (o *GetGroupsGroupIDSchedulesBadRequest) Code() int
Code gets the status code for the get groups group Id schedules bad request response
func (*GetGroupsGroupIDSchedulesBadRequest) Error ¶
func (o *GetGroupsGroupIDSchedulesBadRequest) Error() string
func (*GetGroupsGroupIDSchedulesBadRequest) GetPayload ¶
func (o *GetGroupsGroupIDSchedulesBadRequest) GetPayload() *models.DtoErrorResponse
func (*GetGroupsGroupIDSchedulesBadRequest) IsClientError ¶
func (o *GetGroupsGroupIDSchedulesBadRequest) IsClientError() bool
IsClientError returns true when this get groups group Id schedules bad request response has a 4xx status code
func (*GetGroupsGroupIDSchedulesBadRequest) IsCode ¶
func (o *GetGroupsGroupIDSchedulesBadRequest) IsCode(code int) bool
IsCode returns true when this get groups group Id schedules bad request response a status code equal to that given
func (*GetGroupsGroupIDSchedulesBadRequest) IsRedirect ¶
func (o *GetGroupsGroupIDSchedulesBadRequest) IsRedirect() bool
IsRedirect returns true when this get groups group Id schedules bad request response has a 3xx status code
func (*GetGroupsGroupIDSchedulesBadRequest) IsServerError ¶
func (o *GetGroupsGroupIDSchedulesBadRequest) IsServerError() bool
IsServerError returns true when this get groups group Id schedules bad request response has a 5xx status code
func (*GetGroupsGroupIDSchedulesBadRequest) IsSuccess ¶
func (o *GetGroupsGroupIDSchedulesBadRequest) IsSuccess() bool
IsSuccess returns true when this get groups group Id schedules bad request response has a 2xx status code
func (*GetGroupsGroupIDSchedulesBadRequest) String ¶
func (o *GetGroupsGroupIDSchedulesBadRequest) String() string
type GetGroupsGroupIDSchedulesInternalServerError ¶
type GetGroupsGroupIDSchedulesInternalServerError struct {
Payload *models.DtoErrorResponse
}
GetGroupsGroupIDSchedulesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetGroupsGroupIDSchedulesInternalServerError ¶
func NewGetGroupsGroupIDSchedulesInternalServerError() *GetGroupsGroupIDSchedulesInternalServerError
NewGetGroupsGroupIDSchedulesInternalServerError creates a GetGroupsGroupIDSchedulesInternalServerError with default headers values
func (*GetGroupsGroupIDSchedulesInternalServerError) Code ¶
func (o *GetGroupsGroupIDSchedulesInternalServerError) Code() int
Code gets the status code for the get groups group Id schedules internal server error response
func (*GetGroupsGroupIDSchedulesInternalServerError) Error ¶
func (o *GetGroupsGroupIDSchedulesInternalServerError) Error() string
func (*GetGroupsGroupIDSchedulesInternalServerError) GetPayload ¶
func (o *GetGroupsGroupIDSchedulesInternalServerError) GetPayload() *models.DtoErrorResponse
func (*GetGroupsGroupIDSchedulesInternalServerError) IsClientError ¶
func (o *GetGroupsGroupIDSchedulesInternalServerError) IsClientError() bool
IsClientError returns true when this get groups group Id schedules internal server error response has a 4xx status code
func (*GetGroupsGroupIDSchedulesInternalServerError) IsCode ¶
func (o *GetGroupsGroupIDSchedulesInternalServerError) IsCode(code int) bool
IsCode returns true when this get groups group Id schedules internal server error response a status code equal to that given
func (*GetGroupsGroupIDSchedulesInternalServerError) IsRedirect ¶
func (o *GetGroupsGroupIDSchedulesInternalServerError) IsRedirect() bool
IsRedirect returns true when this get groups group Id schedules internal server error response has a 3xx status code
func (*GetGroupsGroupIDSchedulesInternalServerError) IsServerError ¶
func (o *GetGroupsGroupIDSchedulesInternalServerError) IsServerError() bool
IsServerError returns true when this get groups group Id schedules internal server error response has a 5xx status code
func (*GetGroupsGroupIDSchedulesInternalServerError) IsSuccess ¶
func (o *GetGroupsGroupIDSchedulesInternalServerError) IsSuccess() bool
IsSuccess returns true when this get groups group Id schedules internal server error response has a 2xx status code
func (*GetGroupsGroupIDSchedulesInternalServerError) String ¶
func (o *GetGroupsGroupIDSchedulesInternalServerError) String() string
type GetGroupsGroupIDSchedulesNotFound ¶
type GetGroupsGroupIDSchedulesNotFound struct {
Payload *models.DtoErrorResponse
}
GetGroupsGroupIDSchedulesNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetGroupsGroupIDSchedulesNotFound ¶
func NewGetGroupsGroupIDSchedulesNotFound() *GetGroupsGroupIDSchedulesNotFound
NewGetGroupsGroupIDSchedulesNotFound creates a GetGroupsGroupIDSchedulesNotFound with default headers values
func (*GetGroupsGroupIDSchedulesNotFound) Code ¶
func (o *GetGroupsGroupIDSchedulesNotFound) Code() int
Code gets the status code for the get groups group Id schedules not found response
func (*GetGroupsGroupIDSchedulesNotFound) Error ¶
func (o *GetGroupsGroupIDSchedulesNotFound) Error() string
func (*GetGroupsGroupIDSchedulesNotFound) GetPayload ¶
func (o *GetGroupsGroupIDSchedulesNotFound) GetPayload() *models.DtoErrorResponse
func (*GetGroupsGroupIDSchedulesNotFound) IsClientError ¶
func (o *GetGroupsGroupIDSchedulesNotFound) IsClientError() bool
IsClientError returns true when this get groups group Id schedules not found response has a 4xx status code
func (*GetGroupsGroupIDSchedulesNotFound) IsCode ¶
func (o *GetGroupsGroupIDSchedulesNotFound) IsCode(code int) bool
IsCode returns true when this get groups group Id schedules not found response a status code equal to that given
func (*GetGroupsGroupIDSchedulesNotFound) IsRedirect ¶
func (o *GetGroupsGroupIDSchedulesNotFound) IsRedirect() bool
IsRedirect returns true when this get groups group Id schedules not found response has a 3xx status code
func (*GetGroupsGroupIDSchedulesNotFound) IsServerError ¶
func (o *GetGroupsGroupIDSchedulesNotFound) IsServerError() bool
IsServerError returns true when this get groups group Id schedules not found response has a 5xx status code
func (*GetGroupsGroupIDSchedulesNotFound) IsSuccess ¶
func (o *GetGroupsGroupIDSchedulesNotFound) IsSuccess() bool
IsSuccess returns true when this get groups group Id schedules not found response has a 2xx status code
func (*GetGroupsGroupIDSchedulesNotFound) String ¶
func (o *GetGroupsGroupIDSchedulesNotFound) String() string
type GetGroupsGroupIDSchedulesOK ¶
type GetGroupsGroupIDSchedulesOK struct {
Payload []*models.DtoScheduleResponse
}
GetGroupsGroupIDSchedulesOK describes a response with status code 200, with default header values.
OK
func NewGetGroupsGroupIDSchedulesOK ¶
func NewGetGroupsGroupIDSchedulesOK() *GetGroupsGroupIDSchedulesOK
NewGetGroupsGroupIDSchedulesOK creates a GetGroupsGroupIDSchedulesOK with default headers values
func (*GetGroupsGroupIDSchedulesOK) Code ¶
func (o *GetGroupsGroupIDSchedulesOK) Code() int
Code gets the status code for the get groups group Id schedules o k response
func (*GetGroupsGroupIDSchedulesOK) Error ¶
func (o *GetGroupsGroupIDSchedulesOK) Error() string
func (*GetGroupsGroupIDSchedulesOK) GetPayload ¶
func (o *GetGroupsGroupIDSchedulesOK) GetPayload() []*models.DtoScheduleResponse
func (*GetGroupsGroupIDSchedulesOK) IsClientError ¶
func (o *GetGroupsGroupIDSchedulesOK) IsClientError() bool
IsClientError returns true when this get groups group Id schedules o k response has a 4xx status code
func (*GetGroupsGroupIDSchedulesOK) IsCode ¶
func (o *GetGroupsGroupIDSchedulesOK) IsCode(code int) bool
IsCode returns true when this get groups group Id schedules o k response a status code equal to that given
func (*GetGroupsGroupIDSchedulesOK) IsRedirect ¶
func (o *GetGroupsGroupIDSchedulesOK) IsRedirect() bool
IsRedirect returns true when this get groups group Id schedules o k response has a 3xx status code
func (*GetGroupsGroupIDSchedulesOK) IsServerError ¶
func (o *GetGroupsGroupIDSchedulesOK) IsServerError() bool
IsServerError returns true when this get groups group Id schedules o k response has a 5xx status code
func (*GetGroupsGroupIDSchedulesOK) IsSuccess ¶
func (o *GetGroupsGroupIDSchedulesOK) IsSuccess() bool
IsSuccess returns true when this get groups group Id schedules o k response has a 2xx status code
func (*GetGroupsGroupIDSchedulesOK) String ¶
func (o *GetGroupsGroupIDSchedulesOK) String() string
type GetGroupsGroupIDSchedulesParams ¶
type GetGroupsGroupIDSchedulesParams struct {
// Cabinet.
//
// like cabinet of lessons
Cabinet *string
// Date.
//
// Specific date (yyyy-mm-dd)
Date *string
// Day.
//
// Relative day
Day *string
// GroupID.
//
// Group ID
GroupID int64
// Teacher.
//
// like teacher of lessons
Teacher *string
// Title.
//
// like title of lessons
Title *string
// Week.
//
// Week of schedules
Week *string
// Weekday.
//
// Weekday of schedules
Weekday *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetGroupsGroupIDSchedulesParams contains all the parameters to send to the API endpoint
for the get groups group ID schedules operation. Typically these are written to a http.Request.
func NewGetGroupsGroupIDSchedulesParams ¶
func NewGetGroupsGroupIDSchedulesParams() *GetGroupsGroupIDSchedulesParams
NewGetGroupsGroupIDSchedulesParams creates a new GetGroupsGroupIDSchedulesParams 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 NewGetGroupsGroupIDSchedulesParamsWithContext
deprecated
func NewGetGroupsGroupIDSchedulesParamsWithContext(ctx context.Context) *GetGroupsGroupIDSchedulesParams
NewGetGroupsGroupIDSchedulesParamsWithContext creates a new GetGroupsGroupIDSchedulesParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetGroupsGroupIDSchedulesParams.
func NewGetGroupsGroupIDSchedulesParamsWithHTTPClient ¶
func NewGetGroupsGroupIDSchedulesParamsWithHTTPClient(client *http.Client) *GetGroupsGroupIDSchedulesParams
NewGetGroupsGroupIDSchedulesParamsWithHTTPClient creates a new GetGroupsGroupIDSchedulesParams object with the ability to set a custom HTTPClient for a request.
func NewGetGroupsGroupIDSchedulesParamsWithTimeout ¶
func NewGetGroupsGroupIDSchedulesParamsWithTimeout(timeout time.Duration) *GetGroupsGroupIDSchedulesParams
NewGetGroupsGroupIDSchedulesParamsWithTimeout creates a new GetGroupsGroupIDSchedulesParams object with the ability to set a timeout on a request.
func (*GetGroupsGroupIDSchedulesParams) SetCabinet ¶ added in v0.5.0
func (o *GetGroupsGroupIDSchedulesParams) SetCabinet(cabinet *string)
SetCabinet adds the cabinet to the get groups group ID schedules params.
func (*GetGroupsGroupIDSchedulesParams) SetContext
deprecated
func (o *GetGroupsGroupIDSchedulesParams) SetContext(ctx context.Context)
SetContext adds the context to the get groups group ID schedules params.
Deprecated: use the operation call with context to pass the context instead of GetGroupsGroupIDSchedulesParams.
func (*GetGroupsGroupIDSchedulesParams) SetDate ¶
func (o *GetGroupsGroupIDSchedulesParams) SetDate(date *string)
SetDate adds the date to the get groups group ID schedules params.
func (*GetGroupsGroupIDSchedulesParams) SetDay ¶
func (o *GetGroupsGroupIDSchedulesParams) SetDay(day *string)
SetDay adds the day to the get groups group ID schedules params.
func (*GetGroupsGroupIDSchedulesParams) SetDefaults ¶
func (o *GetGroupsGroupIDSchedulesParams) SetDefaults()
SetDefaults hydrates default values in the get groups group ID schedules params (not the query body).
All values with no default are reset to their zero value.
func (*GetGroupsGroupIDSchedulesParams) SetGroupID ¶
func (o *GetGroupsGroupIDSchedulesParams) SetGroupID(groupID int64)
SetGroupID adds the groupId to the get groups group ID schedules params.
func (*GetGroupsGroupIDSchedulesParams) SetHTTPClient ¶
func (o *GetGroupsGroupIDSchedulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get groups group ID schedules params.
func (*GetGroupsGroupIDSchedulesParams) SetTeacher ¶ added in v0.5.0
func (o *GetGroupsGroupIDSchedulesParams) SetTeacher(teacher *string)
SetTeacher adds the teacher to the get groups group ID schedules params.
func (*GetGroupsGroupIDSchedulesParams) SetTimeout ¶
func (o *GetGroupsGroupIDSchedulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get groups group ID schedules params.
func (*GetGroupsGroupIDSchedulesParams) SetTitle ¶ added in v0.5.0
func (o *GetGroupsGroupIDSchedulesParams) SetTitle(title *string)
SetTitle adds the title to the get groups group ID schedules params.
func (*GetGroupsGroupIDSchedulesParams) SetWeek ¶
func (o *GetGroupsGroupIDSchedulesParams) SetWeek(week *string)
SetWeek adds the week to the get groups group ID schedules params.
func (*GetGroupsGroupIDSchedulesParams) SetWeekday ¶
func (o *GetGroupsGroupIDSchedulesParams) SetWeekday(weekday *string)
SetWeekday adds the weekday to the get groups group ID schedules params.
func (*GetGroupsGroupIDSchedulesParams) WithCabinet ¶ added in v0.5.0
func (o *GetGroupsGroupIDSchedulesParams) WithCabinet(cabinet *string) *GetGroupsGroupIDSchedulesParams
WithCabinet adds the cabinet to the get groups group ID schedules params.
func (*GetGroupsGroupIDSchedulesParams) WithContext
deprecated
func (o *GetGroupsGroupIDSchedulesParams) WithContext(ctx context.Context) *GetGroupsGroupIDSchedulesParams
WithContext adds the context to the get groups group ID schedules params.
Deprecated: use the operation call with context to pass the context instead of GetGroupsGroupIDSchedulesParams.
func (*GetGroupsGroupIDSchedulesParams) WithDate ¶
func (o *GetGroupsGroupIDSchedulesParams) WithDate(date *string) *GetGroupsGroupIDSchedulesParams
WithDate adds the date to the get groups group ID schedules params.
func (*GetGroupsGroupIDSchedulesParams) WithDay ¶
func (o *GetGroupsGroupIDSchedulesParams) WithDay(day *string) *GetGroupsGroupIDSchedulesParams
WithDay adds the day to the get groups group ID schedules params.
func (*GetGroupsGroupIDSchedulesParams) WithDefaults ¶
func (o *GetGroupsGroupIDSchedulesParams) WithDefaults() *GetGroupsGroupIDSchedulesParams
WithDefaults hydrates default values in the get groups group ID schedules params (not the query body).
All values with no default are reset to their zero value.
func (*GetGroupsGroupIDSchedulesParams) WithGroupID ¶
func (o *GetGroupsGroupIDSchedulesParams) WithGroupID(groupID int64) *GetGroupsGroupIDSchedulesParams
WithGroupID adds the groupID to the get groups group ID schedules params.
func (*GetGroupsGroupIDSchedulesParams) WithHTTPClient ¶
func (o *GetGroupsGroupIDSchedulesParams) WithHTTPClient(client *http.Client) *GetGroupsGroupIDSchedulesParams
WithHTTPClient adds the HTTPClient to the get groups group ID schedules params.
func (*GetGroupsGroupIDSchedulesParams) WithTeacher ¶ added in v0.5.0
func (o *GetGroupsGroupIDSchedulesParams) WithTeacher(teacher *string) *GetGroupsGroupIDSchedulesParams
WithTeacher adds the teacher to the get groups group ID schedules params.
func (*GetGroupsGroupIDSchedulesParams) WithTimeout ¶
func (o *GetGroupsGroupIDSchedulesParams) WithTimeout(timeout time.Duration) *GetGroupsGroupIDSchedulesParams
WithTimeout adds the timeout to the get groups group ID schedules params.
func (*GetGroupsGroupIDSchedulesParams) WithTitle ¶ added in v0.5.0
func (o *GetGroupsGroupIDSchedulesParams) WithTitle(title *string) *GetGroupsGroupIDSchedulesParams
WithTitle adds the title to the get groups group ID schedules params.
func (*GetGroupsGroupIDSchedulesParams) WithWeek ¶
func (o *GetGroupsGroupIDSchedulesParams) WithWeek(week *string) *GetGroupsGroupIDSchedulesParams
WithWeek adds the week to the get groups group ID schedules params.
func (*GetGroupsGroupIDSchedulesParams) WithWeekday ¶
func (o *GetGroupsGroupIDSchedulesParams) WithWeekday(weekday *string) *GetGroupsGroupIDSchedulesParams
WithWeekday adds the weekday to the get groups group ID schedules params.
func (*GetGroupsGroupIDSchedulesParams) WriteToRequest ¶
func (o *GetGroupsGroupIDSchedulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetGroupsGroupIDSchedulesReader ¶
type GetGroupsGroupIDSchedulesReader struct {
// contains filtered or unexported fields
}
GetGroupsGroupIDSchedulesReader is a Reader for the GetGroupsGroupIDSchedules structure.
func (*GetGroupsGroupIDSchedulesReader) ReadResponse ¶
func (o *GetGroupsGroupIDSchedulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.