schedules

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2026 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

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

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

Code gets the status code for the get campuses campus Id schedules bad request response

func (*GetCampusesCampusIDSchedulesBadRequest) Error added in v0.5.0

func (*GetCampusesCampusIDSchedulesBadRequest) GetPayload added in v0.5.0

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

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

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

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

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

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 (*GetCampusesCampusIDSchedulesInternalServerError) GetPayload added in v0.5.0

func (*GetCampusesCampusIDSchedulesInternalServerError) IsClientError added in v0.5.0

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

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

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

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

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

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

Code gets the status code for the get campuses campus Id schedules not found response

func (*GetCampusesCampusIDSchedulesNotFound) Error added in v0.5.0

func (*GetCampusesCampusIDSchedulesNotFound) GetPayload added in v0.5.0

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

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

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

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

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

Code gets the status code for the get campuses campus Id schedules o k response

func (*GetCampusesCampusIDSchedulesOK) Error added in v0.5.0

func (*GetCampusesCampusIDSchedulesOK) GetPayload added in v0.5.0

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

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

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

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

WithCabinet adds the cabinet to the get campuses campus ID schedules params.

func (*GetCampusesCampusIDSchedulesParams) WithCampusID added in v0.5.0

WithCampusID adds the campusID to the get campuses campus ID schedules params.

func (*GetCampusesCampusIDSchedulesParams) WithContext deprecated added in v0.5.0

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

WithDate adds the date to the get campuses campus ID schedules params.

func (*GetCampusesCampusIDSchedulesParams) WithDay added in v0.5.0

WithDay adds the day to the get campuses campus ID schedules params.

func (*GetCampusesCampusIDSchedulesParams) WithDefaults added in v0.5.0

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

WithHTTPClient adds the HTTPClient to the get campuses campus ID schedules params.

func (*GetCampusesCampusIDSchedulesParams) WithTeacher added in v0.5.0

WithTeacher adds the teacher to the get campuses campus ID schedules params.

func (*GetCampusesCampusIDSchedulesParams) WithTimeout added in v0.5.0

WithTimeout adds the timeout to the get campuses campus ID schedules params.

func (*GetCampusesCampusIDSchedulesParams) WithTitle added in v0.5.0

WithTitle adds the title to the get campuses campus ID schedules params.

func (*GetCampusesCampusIDSchedulesParams) WithWeek added in v0.5.0

WithWeek adds the week to the get campuses campus ID schedules params.

func (*GetCampusesCampusIDSchedulesParams) WithWeekday added in v0.5.0

WithWeekday adds the weekday to the get campuses campus ID schedules params.

func (*GetCampusesCampusIDSchedulesParams) WriteToRequest added in v0.5.0

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

Code gets the status code for the get colleges college Id schedules bad request response

func (*GetCollegesCollegeIDSchedulesBadRequest) Error added in v0.5.0

func (*GetCollegesCollegeIDSchedulesBadRequest) GetPayload added in v0.5.0

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

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

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

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

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

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 (*GetCollegesCollegeIDSchedulesInternalServerError) GetPayload added in v0.5.0

func (*GetCollegesCollegeIDSchedulesInternalServerError) IsClientError added in v0.5.0

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

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

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

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

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

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

Code gets the status code for the get colleges college Id schedules not found response

func (*GetCollegesCollegeIDSchedulesNotFound) Error added in v0.5.0

func (*GetCollegesCollegeIDSchedulesNotFound) GetPayload added in v0.5.0

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

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

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

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

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

Code gets the status code for the get colleges college Id schedules o k response

func (*GetCollegesCollegeIDSchedulesOK) Error added in v0.5.0

func (*GetCollegesCollegeIDSchedulesOK) GetPayload added in v0.5.0

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

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

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

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

WithCabinet adds the cabinet to the get colleges college ID schedules params.

func (*GetCollegesCollegeIDSchedulesParams) WithCollegeID added in v0.5.0

WithCollegeID adds the collegeID to the get colleges college ID schedules params.

func (*GetCollegesCollegeIDSchedulesParams) WithContext deprecated added in v0.5.0

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

WithDate adds the date to the get colleges college ID schedules params.

func (*GetCollegesCollegeIDSchedulesParams) WithDay added in v0.5.0

WithDay adds the day to the get colleges college ID schedules params.

func (*GetCollegesCollegeIDSchedulesParams) WithDefaults added in v0.5.0

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

WithHTTPClient adds the HTTPClient to the get colleges college ID schedules params.

func (*GetCollegesCollegeIDSchedulesParams) WithTeacher added in v0.5.0

WithTeacher adds the teacher to the get colleges college ID schedules params.

func (*GetCollegesCollegeIDSchedulesParams) WithTimeout added in v0.5.0

WithTimeout adds the timeout to the get colleges college ID schedules params.

func (*GetCollegesCollegeIDSchedulesParams) WithTitle added in v0.5.0

WithTitle adds the title to the get colleges college ID schedules params.

func (*GetCollegesCollegeIDSchedulesParams) WithWeek added in v0.5.0

WithWeek adds the week to the get colleges college ID schedules params.

func (*GetCollegesCollegeIDSchedulesParams) WithWeekday added in v0.5.0

WithWeekday adds the weekday to the get colleges college ID schedules params.

func (*GetCollegesCollegeIDSchedulesParams) WriteToRequest added in v0.5.0

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

Code gets the status code for the get groups group Id schedules bad request response

func (*GetGroupsGroupIDSchedulesBadRequest) Error

func (*GetGroupsGroupIDSchedulesBadRequest) GetPayload

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

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

IsSuccess returns true when this get groups group Id schedules bad request response has a 2xx status code

func (*GetGroupsGroupIDSchedulesBadRequest) 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

Code gets the status code for the get groups group Id schedules internal server error response

func (*GetGroupsGroupIDSchedulesInternalServerError) Error

func (*GetGroupsGroupIDSchedulesInternalServerError) GetPayload

func (*GetGroupsGroupIDSchedulesInternalServerError) IsClientError

IsClientError returns true when this get groups group Id schedules internal server error response has a 4xx status code

func (*GetGroupsGroupIDSchedulesInternalServerError) IsCode

IsCode returns true when this get groups group Id schedules internal server error response a status code equal to that given

func (*GetGroupsGroupIDSchedulesInternalServerError) IsRedirect

IsRedirect returns true when this get groups group Id schedules internal server error response has a 3xx status code

func (*GetGroupsGroupIDSchedulesInternalServerError) IsServerError

IsServerError returns true when this get groups group Id schedules internal server error response has a 5xx status code

func (*GetGroupsGroupIDSchedulesInternalServerError) IsSuccess

IsSuccess returns true when this get groups group Id schedules internal server error response has a 2xx status code

func (*GetGroupsGroupIDSchedulesInternalServerError) 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

Code gets the status code for the get groups group Id schedules not found response

func (*GetGroupsGroupIDSchedulesNotFound) Error

func (*GetGroupsGroupIDSchedulesNotFound) GetPayload

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

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 (*GetGroupsGroupIDSchedulesOK) GetPayload

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

WithCabinet adds the cabinet to the get groups group ID schedules params.

func (*GetGroupsGroupIDSchedulesParams) WithContext deprecated

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

WithDate adds the date to the get groups group ID schedules params.

func (*GetGroupsGroupIDSchedulesParams) WithDay

WithDay adds the day to the get groups group ID schedules params.

func (*GetGroupsGroupIDSchedulesParams) WithDefaults

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

WithGroupID adds the groupID to the get groups group ID schedules params.

func (*GetGroupsGroupIDSchedulesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get groups group ID schedules params.

func (*GetGroupsGroupIDSchedulesParams) WithTeacher added in v0.5.0

WithTeacher adds the teacher to the get groups group ID schedules params.

func (*GetGroupsGroupIDSchedulesParams) WithTimeout

WithTimeout adds the timeout to the get groups group ID schedules params.

func (*GetGroupsGroupIDSchedulesParams) WithTitle added in v0.5.0

WithTitle adds the title to the get groups group ID schedules params.

func (*GetGroupsGroupIDSchedulesParams) WithWeek

WithWeek adds the week to the get groups group ID schedules params.

func (*GetGroupsGroupIDSchedulesParams) WithWeekday

WithWeekday adds the weekday to the get groups group ID schedules params.

func (*GetGroupsGroupIDSchedulesParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址