Documentation
¶
Index ¶
- type Client
- func (a *Client) GetCampusesID(params *GetCampusesIDParams, opts ...ClientOption) (*GetCampusesIDOK, error)
- func (a *Client) GetCampusesIDContext(ctx context.Context, params *GetCampusesIDParams, opts ...ClientOption) (*GetCampusesIDOK, error)
- func (a *Client) GetCampusesIDSchedulesLast(params *GetCampusesIDSchedulesLastParams, opts ...ClientOption) (*GetCampusesIDSchedulesLastOK, error)
- func (a *Client) GetCampusesIDSchedulesLastContext(ctx context.Context, params *GetCampusesIDSchedulesLastParams, ...) (*GetCampusesIDSchedulesLastOK, error)
- func (a *Client) GetCollegesCollegeIDCampuses(params *GetCollegesCollegeIDCampusesParams, opts ...ClientOption) (*GetCollegesCollegeIDCampusesOK, error)
- func (a *Client) GetCollegesCollegeIDCampusesContext(ctx context.Context, params *GetCollegesCollegeIDCampusesParams, ...) (*GetCollegesCollegeIDCampusesOK, error)
- func (a *Client) SetTransport(transport runtime.ContextualTransport)
- type ClientOption
- type ClientService
- type GetCampusesIDBadRequest
- func (o *GetCampusesIDBadRequest) Code() int
- func (o *GetCampusesIDBadRequest) Error() string
- func (o *GetCampusesIDBadRequest) GetPayload() *models.DtoErrorResponse
- func (o *GetCampusesIDBadRequest) IsClientError() bool
- func (o *GetCampusesIDBadRequest) IsCode(code int) bool
- func (o *GetCampusesIDBadRequest) IsRedirect() bool
- func (o *GetCampusesIDBadRequest) IsServerError() bool
- func (o *GetCampusesIDBadRequest) IsSuccess() bool
- func (o *GetCampusesIDBadRequest) String() string
- type GetCampusesIDInternalServerError
- func (o *GetCampusesIDInternalServerError) Code() int
- func (o *GetCampusesIDInternalServerError) Error() string
- func (o *GetCampusesIDInternalServerError) GetPayload() *models.DtoErrorResponse
- func (o *GetCampusesIDInternalServerError) IsClientError() bool
- func (o *GetCampusesIDInternalServerError) IsCode(code int) bool
- func (o *GetCampusesIDInternalServerError) IsRedirect() bool
- func (o *GetCampusesIDInternalServerError) IsServerError() bool
- func (o *GetCampusesIDInternalServerError) IsSuccess() bool
- func (o *GetCampusesIDInternalServerError) String() string
- type GetCampusesIDNotFound
- func (o *GetCampusesIDNotFound) Code() int
- func (o *GetCampusesIDNotFound) Error() string
- func (o *GetCampusesIDNotFound) GetPayload() *models.DtoErrorResponse
- func (o *GetCampusesIDNotFound) IsClientError() bool
- func (o *GetCampusesIDNotFound) IsCode(code int) bool
- func (o *GetCampusesIDNotFound) IsRedirect() bool
- func (o *GetCampusesIDNotFound) IsServerError() bool
- func (o *GetCampusesIDNotFound) IsSuccess() bool
- func (o *GetCampusesIDNotFound) String() string
- type GetCampusesIDOK
- func (o *GetCampusesIDOK) Code() int
- func (o *GetCampusesIDOK) Error() string
- func (o *GetCampusesIDOK) GetPayload() *models.DtoCampusResponse
- func (o *GetCampusesIDOK) IsClientError() bool
- func (o *GetCampusesIDOK) IsCode(code int) bool
- func (o *GetCampusesIDOK) IsRedirect() bool
- func (o *GetCampusesIDOK) IsServerError() bool
- func (o *GetCampusesIDOK) IsSuccess() bool
- func (o *GetCampusesIDOK) String() string
- type GetCampusesIDParams
- func NewGetCampusesIDParams() *GetCampusesIDParams
- func NewGetCampusesIDParamsWithContext(ctx context.Context) *GetCampusesIDParamsdeprecated
- func NewGetCampusesIDParamsWithHTTPClient(client *http.Client) *GetCampusesIDParams
- func NewGetCampusesIDParamsWithTimeout(timeout time.Duration) *GetCampusesIDParams
- func (o *GetCampusesIDParams) SetContext(ctx context.Context)deprecated
- func (o *GetCampusesIDParams) SetDefaults()
- func (o *GetCampusesIDParams) SetHTTPClient(client *http.Client)
- func (o *GetCampusesIDParams) SetID(id int64)
- func (o *GetCampusesIDParams) SetTimeout(timeout time.Duration)
- func (o *GetCampusesIDParams) WithContext(ctx context.Context) *GetCampusesIDParamsdeprecated
- func (o *GetCampusesIDParams) WithDefaults() *GetCampusesIDParams
- func (o *GetCampusesIDParams) WithHTTPClient(client *http.Client) *GetCampusesIDParams
- func (o *GetCampusesIDParams) WithID(id int64) *GetCampusesIDParams
- func (o *GetCampusesIDParams) WithTimeout(timeout time.Duration) *GetCampusesIDParams
- func (o *GetCampusesIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCampusesIDReader
- type GetCampusesIDSchedulesLastBadRequest
- func (o *GetCampusesIDSchedulesLastBadRequest) Code() int
- func (o *GetCampusesIDSchedulesLastBadRequest) Error() string
- func (o *GetCampusesIDSchedulesLastBadRequest) GetPayload() *models.DtoErrorResponse
- func (o *GetCampusesIDSchedulesLastBadRequest) IsClientError() bool
- func (o *GetCampusesIDSchedulesLastBadRequest) IsCode(code int) bool
- func (o *GetCampusesIDSchedulesLastBadRequest) IsRedirect() bool
- func (o *GetCampusesIDSchedulesLastBadRequest) IsServerError() bool
- func (o *GetCampusesIDSchedulesLastBadRequest) IsSuccess() bool
- func (o *GetCampusesIDSchedulesLastBadRequest) String() string
- type GetCampusesIDSchedulesLastInternalServerError
- func (o *GetCampusesIDSchedulesLastInternalServerError) Code() int
- func (o *GetCampusesIDSchedulesLastInternalServerError) Error() string
- func (o *GetCampusesIDSchedulesLastInternalServerError) GetPayload() *models.DtoErrorResponse
- func (o *GetCampusesIDSchedulesLastInternalServerError) IsClientError() bool
- func (o *GetCampusesIDSchedulesLastInternalServerError) IsCode(code int) bool
- func (o *GetCampusesIDSchedulesLastInternalServerError) IsRedirect() bool
- func (o *GetCampusesIDSchedulesLastInternalServerError) IsServerError() bool
- func (o *GetCampusesIDSchedulesLastInternalServerError) IsSuccess() bool
- func (o *GetCampusesIDSchedulesLastInternalServerError) String() string
- type GetCampusesIDSchedulesLastNotFound
- func (o *GetCampusesIDSchedulesLastNotFound) Code() int
- func (o *GetCampusesIDSchedulesLastNotFound) Error() string
- func (o *GetCampusesIDSchedulesLastNotFound) GetPayload() *models.DtoErrorResponse
- func (o *GetCampusesIDSchedulesLastNotFound) IsClientError() bool
- func (o *GetCampusesIDSchedulesLastNotFound) IsCode(code int) bool
- func (o *GetCampusesIDSchedulesLastNotFound) IsRedirect() bool
- func (o *GetCampusesIDSchedulesLastNotFound) IsServerError() bool
- func (o *GetCampusesIDSchedulesLastNotFound) IsSuccess() bool
- func (o *GetCampusesIDSchedulesLastNotFound) String() string
- type GetCampusesIDSchedulesLastOK
- func (o *GetCampusesIDSchedulesLastOK) Code() int
- func (o *GetCampusesIDSchedulesLastOK) Error() string
- func (o *GetCampusesIDSchedulesLastOK) GetPayload() *models.DtoDateResponse
- func (o *GetCampusesIDSchedulesLastOK) IsClientError() bool
- func (o *GetCampusesIDSchedulesLastOK) IsCode(code int) bool
- func (o *GetCampusesIDSchedulesLastOK) IsRedirect() bool
- func (o *GetCampusesIDSchedulesLastOK) IsServerError() bool
- func (o *GetCampusesIDSchedulesLastOK) IsSuccess() bool
- func (o *GetCampusesIDSchedulesLastOK) String() string
- type GetCampusesIDSchedulesLastParams
- func NewGetCampusesIDSchedulesLastParams() *GetCampusesIDSchedulesLastParams
- func NewGetCampusesIDSchedulesLastParamsWithContext(ctx context.Context) *GetCampusesIDSchedulesLastParamsdeprecated
- func NewGetCampusesIDSchedulesLastParamsWithHTTPClient(client *http.Client) *GetCampusesIDSchedulesLastParams
- func NewGetCampusesIDSchedulesLastParamsWithTimeout(timeout time.Duration) *GetCampusesIDSchedulesLastParams
- func (o *GetCampusesIDSchedulesLastParams) SetContext(ctx context.Context)deprecated
- func (o *GetCampusesIDSchedulesLastParams) SetDefaults()
- func (o *GetCampusesIDSchedulesLastParams) SetHTTPClient(client *http.Client)
- func (o *GetCampusesIDSchedulesLastParams) SetID(id int64)
- func (o *GetCampusesIDSchedulesLastParams) SetTimeout(timeout time.Duration)
- func (o *GetCampusesIDSchedulesLastParams) WithContext(ctx context.Context) *GetCampusesIDSchedulesLastParamsdeprecated
- func (o *GetCampusesIDSchedulesLastParams) WithDefaults() *GetCampusesIDSchedulesLastParams
- func (o *GetCampusesIDSchedulesLastParams) WithHTTPClient(client *http.Client) *GetCampusesIDSchedulesLastParams
- func (o *GetCampusesIDSchedulesLastParams) WithID(id int64) *GetCampusesIDSchedulesLastParams
- func (o *GetCampusesIDSchedulesLastParams) WithTimeout(timeout time.Duration) *GetCampusesIDSchedulesLastParams
- func (o *GetCampusesIDSchedulesLastParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCampusesIDSchedulesLastReader
- type GetCollegesCollegeIDCampusesBadRequest
- func (o *GetCollegesCollegeIDCampusesBadRequest) Code() int
- func (o *GetCollegesCollegeIDCampusesBadRequest) Error() string
- func (o *GetCollegesCollegeIDCampusesBadRequest) GetPayload() *models.DtoErrorResponse
- func (o *GetCollegesCollegeIDCampusesBadRequest) IsClientError() bool
- func (o *GetCollegesCollegeIDCampusesBadRequest) IsCode(code int) bool
- func (o *GetCollegesCollegeIDCampusesBadRequest) IsRedirect() bool
- func (o *GetCollegesCollegeIDCampusesBadRequest) IsServerError() bool
- func (o *GetCollegesCollegeIDCampusesBadRequest) IsSuccess() bool
- func (o *GetCollegesCollegeIDCampusesBadRequest) String() string
- type GetCollegesCollegeIDCampusesInternalServerError
- func (o *GetCollegesCollegeIDCampusesInternalServerError) Code() int
- func (o *GetCollegesCollegeIDCampusesInternalServerError) Error() string
- func (o *GetCollegesCollegeIDCampusesInternalServerError) GetPayload() *models.DtoErrorResponse
- func (o *GetCollegesCollegeIDCampusesInternalServerError) IsClientError() bool
- func (o *GetCollegesCollegeIDCampusesInternalServerError) IsCode(code int) bool
- func (o *GetCollegesCollegeIDCampusesInternalServerError) IsRedirect() bool
- func (o *GetCollegesCollegeIDCampusesInternalServerError) IsServerError() bool
- func (o *GetCollegesCollegeIDCampusesInternalServerError) IsSuccess() bool
- func (o *GetCollegesCollegeIDCampusesInternalServerError) String() string
- type GetCollegesCollegeIDCampusesNotFound
- func (o *GetCollegesCollegeIDCampusesNotFound) Code() int
- func (o *GetCollegesCollegeIDCampusesNotFound) Error() string
- func (o *GetCollegesCollegeIDCampusesNotFound) GetPayload() *models.DtoErrorResponse
- func (o *GetCollegesCollegeIDCampusesNotFound) IsClientError() bool
- func (o *GetCollegesCollegeIDCampusesNotFound) IsCode(code int) bool
- func (o *GetCollegesCollegeIDCampusesNotFound) IsRedirect() bool
- func (o *GetCollegesCollegeIDCampusesNotFound) IsServerError() bool
- func (o *GetCollegesCollegeIDCampusesNotFound) IsSuccess() bool
- func (o *GetCollegesCollegeIDCampusesNotFound) String() string
- type GetCollegesCollegeIDCampusesOK
- func (o *GetCollegesCollegeIDCampusesOK) Code() int
- func (o *GetCollegesCollegeIDCampusesOK) Error() string
- func (o *GetCollegesCollegeIDCampusesOK) GetPayload() []*models.DtoCampusResponse
- func (o *GetCollegesCollegeIDCampusesOK) IsClientError() bool
- func (o *GetCollegesCollegeIDCampusesOK) IsCode(code int) bool
- func (o *GetCollegesCollegeIDCampusesOK) IsRedirect() bool
- func (o *GetCollegesCollegeIDCampusesOK) IsServerError() bool
- func (o *GetCollegesCollegeIDCampusesOK) IsSuccess() bool
- func (o *GetCollegesCollegeIDCampusesOK) String() string
- type GetCollegesCollegeIDCampusesParams
- func NewGetCollegesCollegeIDCampusesParams() *GetCollegesCollegeIDCampusesParams
- func NewGetCollegesCollegeIDCampusesParamsWithContext(ctx context.Context) *GetCollegesCollegeIDCampusesParamsdeprecated
- func NewGetCollegesCollegeIDCampusesParamsWithHTTPClient(client *http.Client) *GetCollegesCollegeIDCampusesParams
- func NewGetCollegesCollegeIDCampusesParamsWithTimeout(timeout time.Duration) *GetCollegesCollegeIDCampusesParams
- func (o *GetCollegesCollegeIDCampusesParams) SetCollegeID(collegeID int64)
- func (o *GetCollegesCollegeIDCampusesParams) SetContext(ctx context.Context)deprecated
- func (o *GetCollegesCollegeIDCampusesParams) SetDefaults()
- func (o *GetCollegesCollegeIDCampusesParams) SetHTTPClient(client *http.Client)
- func (o *GetCollegesCollegeIDCampusesParams) SetName(name *string)
- func (o *GetCollegesCollegeIDCampusesParams) SetTimeout(timeout time.Duration)
- func (o *GetCollegesCollegeIDCampusesParams) WithCollegeID(collegeID int64) *GetCollegesCollegeIDCampusesParams
- func (o *GetCollegesCollegeIDCampusesParams) WithContext(ctx context.Context) *GetCollegesCollegeIDCampusesParamsdeprecated
- func (o *GetCollegesCollegeIDCampusesParams) WithDefaults() *GetCollegesCollegeIDCampusesParams
- func (o *GetCollegesCollegeIDCampusesParams) WithHTTPClient(client *http.Client) *GetCollegesCollegeIDCampusesParams
- func (o *GetCollegesCollegeIDCampusesParams) WithName(name *string) *GetCollegesCollegeIDCampusesParams
- func (o *GetCollegesCollegeIDCampusesParams) WithTimeout(timeout time.Duration) *GetCollegesCollegeIDCampusesParams
- func (o *GetCollegesCollegeIDCampusesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCollegesCollegeIDCampusesReader
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 campuses API.
func (*Client) GetCampusesID ¶
func (a *Client) GetCampusesID(params *GetCampusesIDParams, opts ...ClientOption) (*GetCampusesIDOK, error)
GetCampusesID gets a campus by ID.
get a single campus by its 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.GetCampusesIDContext instead.
func (*Client) GetCampusesIDContext ¶
func (a *Client) GetCampusesIDContext(ctx context.Context, params *GetCampusesIDParams, opts ...ClientOption) (*GetCampusesIDOK, error)
GetCampusesIDContext gets a campus by ID.
get a single campus by its ID.
Do not use the deprecated [GetCampusesIDParams.Context] with this method: it would be ignored.
func (*Client) GetCampusesIDSchedulesLast ¶ added in v0.4.0
func (a *Client) GetCampusesIDSchedulesLast(params *GetCampusesIDSchedulesLastParams, opts ...ClientOption) (*GetCampusesIDSchedulesLastOK, error)
GetCampusesIDSchedulesLast gets last lesson date.
get the last lesson date 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.GetCampusesIDSchedulesLastContext instead.
func (*Client) GetCampusesIDSchedulesLastContext ¶ added in v0.4.0
func (a *Client) GetCampusesIDSchedulesLastContext(ctx context.Context, params *GetCampusesIDSchedulesLastParams, opts ...ClientOption) (*GetCampusesIDSchedulesLastOK, error)
GetCampusesIDSchedulesLastContext gets last lesson date.
get the last lesson date by campus ID.
Do not use the deprecated [GetCampusesIDSchedulesLastParams.Context] with this method: it would be ignored.
func (*Client) GetCollegesCollegeIDCampuses ¶
func (a *Client) GetCollegesCollegeIDCampuses(params *GetCollegesCollegeIDCampusesParams, opts ...ClientOption) (*GetCollegesCollegeIDCampusesOK, error)
GetCollegesCollegeIDCampuses gets campuses by college ID.
get all campuses by college ID or a campus by college ID with specified name.
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.GetCollegesCollegeIDCampusesContext instead.
func (*Client) GetCollegesCollegeIDCampusesContext ¶
func (a *Client) GetCollegesCollegeIDCampusesContext(ctx context.Context, params *GetCollegesCollegeIDCampusesParams, opts ...ClientOption) (*GetCollegesCollegeIDCampusesOK, error)
GetCollegesCollegeIDCampusesContext gets campuses by college ID.
get all campuses by college ID or a campus by college ID with specified name.
Do not use the deprecated [GetCollegesCollegeIDCampusesParams.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 {
// GetCampusesID get a campus by ID.
GetCampusesID(params *GetCampusesIDParams, opts ...ClientOption) (*GetCampusesIDOK, error)
// GetCampusesIDContext get a campus by ID.
GetCampusesIDContext(ctx context.Context, params *GetCampusesIDParams, opts ...ClientOption) (*GetCampusesIDOK, error)
// GetCampusesIDSchedulesLast get last lesson date.
GetCampusesIDSchedulesLast(params *GetCampusesIDSchedulesLastParams, opts ...ClientOption) (*GetCampusesIDSchedulesLastOK, error)
// GetCampusesIDSchedulesLastContext get last lesson date.
GetCampusesIDSchedulesLastContext(ctx context.Context, params *GetCampusesIDSchedulesLastParams, opts ...ClientOption) (*GetCampusesIDSchedulesLastOK, error)
// GetCollegesCollegeIDCampuses get campuses by college ID.
GetCollegesCollegeIDCampuses(params *GetCollegesCollegeIDCampusesParams, opts ...ClientOption) (*GetCollegesCollegeIDCampusesOK, error)
// GetCollegesCollegeIDCampusesContext get campuses by college ID.
GetCollegesCollegeIDCampusesContext(ctx context.Context, params *GetCollegesCollegeIDCampusesParams, opts ...ClientOption) (*GetCollegesCollegeIDCampusesOK, 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 campuses API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new campuses 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 campuses 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 GetCampusesIDBadRequest ¶
type GetCampusesIDBadRequest struct {
Payload *models.DtoErrorResponse
}
GetCampusesIDBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetCampusesIDBadRequest ¶
func NewGetCampusesIDBadRequest() *GetCampusesIDBadRequest
NewGetCampusesIDBadRequest creates a GetCampusesIDBadRequest with default headers values
func (*GetCampusesIDBadRequest) Code ¶
func (o *GetCampusesIDBadRequest) Code() int
Code gets the status code for the get campuses Id bad request response
func (*GetCampusesIDBadRequest) Error ¶
func (o *GetCampusesIDBadRequest) Error() string
func (*GetCampusesIDBadRequest) GetPayload ¶
func (o *GetCampusesIDBadRequest) GetPayload() *models.DtoErrorResponse
func (*GetCampusesIDBadRequest) IsClientError ¶
func (o *GetCampusesIDBadRequest) IsClientError() bool
IsClientError returns true when this get campuses Id bad request response has a 4xx status code
func (*GetCampusesIDBadRequest) IsCode ¶
func (o *GetCampusesIDBadRequest) IsCode(code int) bool
IsCode returns true when this get campuses Id bad request response a status code equal to that given
func (*GetCampusesIDBadRequest) IsRedirect ¶
func (o *GetCampusesIDBadRequest) IsRedirect() bool
IsRedirect returns true when this get campuses Id bad request response has a 3xx status code
func (*GetCampusesIDBadRequest) IsServerError ¶
func (o *GetCampusesIDBadRequest) IsServerError() bool
IsServerError returns true when this get campuses Id bad request response has a 5xx status code
func (*GetCampusesIDBadRequest) IsSuccess ¶
func (o *GetCampusesIDBadRequest) IsSuccess() bool
IsSuccess returns true when this get campuses Id bad request response has a 2xx status code
func (*GetCampusesIDBadRequest) String ¶
func (o *GetCampusesIDBadRequest) String() string
type GetCampusesIDInternalServerError ¶
type GetCampusesIDInternalServerError struct {
Payload *models.DtoErrorResponse
}
GetCampusesIDInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetCampusesIDInternalServerError ¶
func NewGetCampusesIDInternalServerError() *GetCampusesIDInternalServerError
NewGetCampusesIDInternalServerError creates a GetCampusesIDInternalServerError with default headers values
func (*GetCampusesIDInternalServerError) Code ¶
func (o *GetCampusesIDInternalServerError) Code() int
Code gets the status code for the get campuses Id internal server error response
func (*GetCampusesIDInternalServerError) Error ¶
func (o *GetCampusesIDInternalServerError) Error() string
func (*GetCampusesIDInternalServerError) GetPayload ¶
func (o *GetCampusesIDInternalServerError) GetPayload() *models.DtoErrorResponse
func (*GetCampusesIDInternalServerError) IsClientError ¶
func (o *GetCampusesIDInternalServerError) IsClientError() bool
IsClientError returns true when this get campuses Id internal server error response has a 4xx status code
func (*GetCampusesIDInternalServerError) IsCode ¶
func (o *GetCampusesIDInternalServerError) IsCode(code int) bool
IsCode returns true when this get campuses Id internal server error response a status code equal to that given
func (*GetCampusesIDInternalServerError) IsRedirect ¶
func (o *GetCampusesIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this get campuses Id internal server error response has a 3xx status code
func (*GetCampusesIDInternalServerError) IsServerError ¶
func (o *GetCampusesIDInternalServerError) IsServerError() bool
IsServerError returns true when this get campuses Id internal server error response has a 5xx status code
func (*GetCampusesIDInternalServerError) IsSuccess ¶
func (o *GetCampusesIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this get campuses Id internal server error response has a 2xx status code
func (*GetCampusesIDInternalServerError) String ¶
func (o *GetCampusesIDInternalServerError) String() string
type GetCampusesIDNotFound ¶
type GetCampusesIDNotFound struct {
Payload *models.DtoErrorResponse
}
GetCampusesIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetCampusesIDNotFound ¶
func NewGetCampusesIDNotFound() *GetCampusesIDNotFound
NewGetCampusesIDNotFound creates a GetCampusesIDNotFound with default headers values
func (*GetCampusesIDNotFound) Code ¶
func (o *GetCampusesIDNotFound) Code() int
Code gets the status code for the get campuses Id not found response
func (*GetCampusesIDNotFound) Error ¶
func (o *GetCampusesIDNotFound) Error() string
func (*GetCampusesIDNotFound) GetPayload ¶
func (o *GetCampusesIDNotFound) GetPayload() *models.DtoErrorResponse
func (*GetCampusesIDNotFound) IsClientError ¶
func (o *GetCampusesIDNotFound) IsClientError() bool
IsClientError returns true when this get campuses Id not found response has a 4xx status code
func (*GetCampusesIDNotFound) IsCode ¶
func (o *GetCampusesIDNotFound) IsCode(code int) bool
IsCode returns true when this get campuses Id not found response a status code equal to that given
func (*GetCampusesIDNotFound) IsRedirect ¶
func (o *GetCampusesIDNotFound) IsRedirect() bool
IsRedirect returns true when this get campuses Id not found response has a 3xx status code
func (*GetCampusesIDNotFound) IsServerError ¶
func (o *GetCampusesIDNotFound) IsServerError() bool
IsServerError returns true when this get campuses Id not found response has a 5xx status code
func (*GetCampusesIDNotFound) IsSuccess ¶
func (o *GetCampusesIDNotFound) IsSuccess() bool
IsSuccess returns true when this get campuses Id not found response has a 2xx status code
func (*GetCampusesIDNotFound) String ¶
func (o *GetCampusesIDNotFound) String() string
type GetCampusesIDOK ¶
type GetCampusesIDOK struct {
Payload *models.DtoCampusResponse
}
GetCampusesIDOK describes a response with status code 200, with default header values.
OK
func NewGetCampusesIDOK ¶
func NewGetCampusesIDOK() *GetCampusesIDOK
NewGetCampusesIDOK creates a GetCampusesIDOK with default headers values
func (*GetCampusesIDOK) Code ¶
func (o *GetCampusesIDOK) Code() int
Code gets the status code for the get campuses Id o k response
func (*GetCampusesIDOK) Error ¶
func (o *GetCampusesIDOK) Error() string
func (*GetCampusesIDOK) GetPayload ¶
func (o *GetCampusesIDOK) GetPayload() *models.DtoCampusResponse
func (*GetCampusesIDOK) IsClientError ¶
func (o *GetCampusesIDOK) IsClientError() bool
IsClientError returns true when this get campuses Id o k response has a 4xx status code
func (*GetCampusesIDOK) IsCode ¶
func (o *GetCampusesIDOK) IsCode(code int) bool
IsCode returns true when this get campuses Id o k response a status code equal to that given
func (*GetCampusesIDOK) IsRedirect ¶
func (o *GetCampusesIDOK) IsRedirect() bool
IsRedirect returns true when this get campuses Id o k response has a 3xx status code
func (*GetCampusesIDOK) IsServerError ¶
func (o *GetCampusesIDOK) IsServerError() bool
IsServerError returns true when this get campuses Id o k response has a 5xx status code
func (*GetCampusesIDOK) IsSuccess ¶
func (o *GetCampusesIDOK) IsSuccess() bool
IsSuccess returns true when this get campuses Id o k response has a 2xx status code
func (*GetCampusesIDOK) String ¶
func (o *GetCampusesIDOK) String() string
type GetCampusesIDParams ¶
type GetCampusesIDParams struct {
// ID.
//
// Campus ID
ID int64
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetCampusesIDParams contains all the parameters to send to the API endpoint
for the get campuses ID operation. Typically these are written to a http.Request.
func NewGetCampusesIDParams ¶
func NewGetCampusesIDParams() *GetCampusesIDParams
NewGetCampusesIDParams creates a new GetCampusesIDParams 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 NewGetCampusesIDParamsWithContext
deprecated
func NewGetCampusesIDParamsWithContext(ctx context.Context) *GetCampusesIDParams
NewGetCampusesIDParamsWithContext creates a new GetCampusesIDParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetCampusesIDParams.
func NewGetCampusesIDParamsWithHTTPClient ¶
func NewGetCampusesIDParamsWithHTTPClient(client *http.Client) *GetCampusesIDParams
NewGetCampusesIDParamsWithHTTPClient creates a new GetCampusesIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetCampusesIDParamsWithTimeout ¶
func NewGetCampusesIDParamsWithTimeout(timeout time.Duration) *GetCampusesIDParams
NewGetCampusesIDParamsWithTimeout creates a new GetCampusesIDParams object with the ability to set a timeout on a request.
func (*GetCampusesIDParams) SetContext
deprecated
func (o *GetCampusesIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get campuses ID params.
Deprecated: use the operation call with context to pass the context instead of GetCampusesIDParams.
func (*GetCampusesIDParams) SetDefaults ¶
func (o *GetCampusesIDParams) SetDefaults()
SetDefaults hydrates default values in the get campuses ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetCampusesIDParams) SetHTTPClient ¶
func (o *GetCampusesIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get campuses ID params.
func (*GetCampusesIDParams) SetID ¶
func (o *GetCampusesIDParams) SetID(id int64)
SetID adds the id to the get campuses ID params.
func (*GetCampusesIDParams) SetTimeout ¶
func (o *GetCampusesIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get campuses ID params.
func (*GetCampusesIDParams) WithContext
deprecated
func (o *GetCampusesIDParams) WithContext(ctx context.Context) *GetCampusesIDParams
WithContext adds the context to the get campuses ID params.
Deprecated: use the operation call with context to pass the context instead of GetCampusesIDParams.
func (*GetCampusesIDParams) WithDefaults ¶
func (o *GetCampusesIDParams) WithDefaults() *GetCampusesIDParams
WithDefaults hydrates default values in the get campuses ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetCampusesIDParams) WithHTTPClient ¶
func (o *GetCampusesIDParams) WithHTTPClient(client *http.Client) *GetCampusesIDParams
WithHTTPClient adds the HTTPClient to the get campuses ID params.
func (*GetCampusesIDParams) WithID ¶
func (o *GetCampusesIDParams) WithID(id int64) *GetCampusesIDParams
WithID adds the id to the get campuses ID params.
func (*GetCampusesIDParams) WithTimeout ¶
func (o *GetCampusesIDParams) WithTimeout(timeout time.Duration) *GetCampusesIDParams
WithTimeout adds the timeout to the get campuses ID params.
func (*GetCampusesIDParams) WriteToRequest ¶
func (o *GetCampusesIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetCampusesIDReader ¶
type GetCampusesIDReader struct {
// contains filtered or unexported fields
}
GetCampusesIDReader is a Reader for the GetCampusesID structure.
func (*GetCampusesIDReader) ReadResponse ¶
func (o *GetCampusesIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetCampusesIDSchedulesLastBadRequest ¶ added in v0.4.0
type GetCampusesIDSchedulesLastBadRequest struct {
Payload *models.DtoErrorResponse
}
GetCampusesIDSchedulesLastBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetCampusesIDSchedulesLastBadRequest ¶ added in v0.4.0
func NewGetCampusesIDSchedulesLastBadRequest() *GetCampusesIDSchedulesLastBadRequest
NewGetCampusesIDSchedulesLastBadRequest creates a GetCampusesIDSchedulesLastBadRequest with default headers values
func (*GetCampusesIDSchedulesLastBadRequest) Code ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastBadRequest) Code() int
Code gets the status code for the get campuses Id schedules last bad request response
func (*GetCampusesIDSchedulesLastBadRequest) Error ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastBadRequest) Error() string
func (*GetCampusesIDSchedulesLastBadRequest) GetPayload ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastBadRequest) GetPayload() *models.DtoErrorResponse
func (*GetCampusesIDSchedulesLastBadRequest) IsClientError ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastBadRequest) IsClientError() bool
IsClientError returns true when this get campuses Id schedules last bad request response has a 4xx status code
func (*GetCampusesIDSchedulesLastBadRequest) IsCode ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastBadRequest) IsCode(code int) bool
IsCode returns true when this get campuses Id schedules last bad request response a status code equal to that given
func (*GetCampusesIDSchedulesLastBadRequest) IsRedirect ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastBadRequest) IsRedirect() bool
IsRedirect returns true when this get campuses Id schedules last bad request response has a 3xx status code
func (*GetCampusesIDSchedulesLastBadRequest) IsServerError ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastBadRequest) IsServerError() bool
IsServerError returns true when this get campuses Id schedules last bad request response has a 5xx status code
func (*GetCampusesIDSchedulesLastBadRequest) IsSuccess ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastBadRequest) IsSuccess() bool
IsSuccess returns true when this get campuses Id schedules last bad request response has a 2xx status code
func (*GetCampusesIDSchedulesLastBadRequest) String ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastBadRequest) String() string
type GetCampusesIDSchedulesLastInternalServerError ¶ added in v0.4.0
type GetCampusesIDSchedulesLastInternalServerError struct {
Payload *models.DtoErrorResponse
}
GetCampusesIDSchedulesLastInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetCampusesIDSchedulesLastInternalServerError ¶ added in v0.4.0
func NewGetCampusesIDSchedulesLastInternalServerError() *GetCampusesIDSchedulesLastInternalServerError
NewGetCampusesIDSchedulesLastInternalServerError creates a GetCampusesIDSchedulesLastInternalServerError with default headers values
func (*GetCampusesIDSchedulesLastInternalServerError) Code ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastInternalServerError) Code() int
Code gets the status code for the get campuses Id schedules last internal server error response
func (*GetCampusesIDSchedulesLastInternalServerError) Error ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastInternalServerError) Error() string
func (*GetCampusesIDSchedulesLastInternalServerError) GetPayload ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastInternalServerError) GetPayload() *models.DtoErrorResponse
func (*GetCampusesIDSchedulesLastInternalServerError) IsClientError ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastInternalServerError) IsClientError() bool
IsClientError returns true when this get campuses Id schedules last internal server error response has a 4xx status code
func (*GetCampusesIDSchedulesLastInternalServerError) IsCode ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastInternalServerError) IsCode(code int) bool
IsCode returns true when this get campuses Id schedules last internal server error response a status code equal to that given
func (*GetCampusesIDSchedulesLastInternalServerError) IsRedirect ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastInternalServerError) IsRedirect() bool
IsRedirect returns true when this get campuses Id schedules last internal server error response has a 3xx status code
func (*GetCampusesIDSchedulesLastInternalServerError) IsServerError ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastInternalServerError) IsServerError() bool
IsServerError returns true when this get campuses Id schedules last internal server error response has a 5xx status code
func (*GetCampusesIDSchedulesLastInternalServerError) IsSuccess ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastInternalServerError) IsSuccess() bool
IsSuccess returns true when this get campuses Id schedules last internal server error response has a 2xx status code
func (*GetCampusesIDSchedulesLastInternalServerError) String ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastInternalServerError) String() string
type GetCampusesIDSchedulesLastNotFound ¶ added in v0.4.0
type GetCampusesIDSchedulesLastNotFound struct {
Payload *models.DtoErrorResponse
}
GetCampusesIDSchedulesLastNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetCampusesIDSchedulesLastNotFound ¶ added in v0.4.0
func NewGetCampusesIDSchedulesLastNotFound() *GetCampusesIDSchedulesLastNotFound
NewGetCampusesIDSchedulesLastNotFound creates a GetCampusesIDSchedulesLastNotFound with default headers values
func (*GetCampusesIDSchedulesLastNotFound) Code ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastNotFound) Code() int
Code gets the status code for the get campuses Id schedules last not found response
func (*GetCampusesIDSchedulesLastNotFound) Error ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastNotFound) Error() string
func (*GetCampusesIDSchedulesLastNotFound) GetPayload ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastNotFound) GetPayload() *models.DtoErrorResponse
func (*GetCampusesIDSchedulesLastNotFound) IsClientError ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastNotFound) IsClientError() bool
IsClientError returns true when this get campuses Id schedules last not found response has a 4xx status code
func (*GetCampusesIDSchedulesLastNotFound) IsCode ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastNotFound) IsCode(code int) bool
IsCode returns true when this get campuses Id schedules last not found response a status code equal to that given
func (*GetCampusesIDSchedulesLastNotFound) IsRedirect ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastNotFound) IsRedirect() bool
IsRedirect returns true when this get campuses Id schedules last not found response has a 3xx status code
func (*GetCampusesIDSchedulesLastNotFound) IsServerError ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastNotFound) IsServerError() bool
IsServerError returns true when this get campuses Id schedules last not found response has a 5xx status code
func (*GetCampusesIDSchedulesLastNotFound) IsSuccess ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastNotFound) IsSuccess() bool
IsSuccess returns true when this get campuses Id schedules last not found response has a 2xx status code
func (*GetCampusesIDSchedulesLastNotFound) String ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastNotFound) String() string
type GetCampusesIDSchedulesLastOK ¶ added in v0.4.0
type GetCampusesIDSchedulesLastOK struct {
Payload *models.DtoDateResponse
}
GetCampusesIDSchedulesLastOK describes a response with status code 200, with default header values.
OK
func NewGetCampusesIDSchedulesLastOK ¶ added in v0.4.0
func NewGetCampusesIDSchedulesLastOK() *GetCampusesIDSchedulesLastOK
NewGetCampusesIDSchedulesLastOK creates a GetCampusesIDSchedulesLastOK with default headers values
func (*GetCampusesIDSchedulesLastOK) Code ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastOK) Code() int
Code gets the status code for the get campuses Id schedules last o k response
func (*GetCampusesIDSchedulesLastOK) Error ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastOK) Error() string
func (*GetCampusesIDSchedulesLastOK) GetPayload ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastOK) GetPayload() *models.DtoDateResponse
func (*GetCampusesIDSchedulesLastOK) IsClientError ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastOK) IsClientError() bool
IsClientError returns true when this get campuses Id schedules last o k response has a 4xx status code
func (*GetCampusesIDSchedulesLastOK) IsCode ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastOK) IsCode(code int) bool
IsCode returns true when this get campuses Id schedules last o k response a status code equal to that given
func (*GetCampusesIDSchedulesLastOK) IsRedirect ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastOK) IsRedirect() bool
IsRedirect returns true when this get campuses Id schedules last o k response has a 3xx status code
func (*GetCampusesIDSchedulesLastOK) IsServerError ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastOK) IsServerError() bool
IsServerError returns true when this get campuses Id schedules last o k response has a 5xx status code
func (*GetCampusesIDSchedulesLastOK) IsSuccess ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastOK) IsSuccess() bool
IsSuccess returns true when this get campuses Id schedules last o k response has a 2xx status code
func (*GetCampusesIDSchedulesLastOK) String ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastOK) String() string
type GetCampusesIDSchedulesLastParams ¶ added in v0.4.0
type GetCampusesIDSchedulesLastParams struct {
// ID.
//
// Campus ID
ID int64
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetCampusesIDSchedulesLastParams contains all the parameters to send to the API endpoint
for the get campuses ID schedules last operation. Typically these are written to a http.Request.
func NewGetCampusesIDSchedulesLastParams ¶ added in v0.4.0
func NewGetCampusesIDSchedulesLastParams() *GetCampusesIDSchedulesLastParams
NewGetCampusesIDSchedulesLastParams creates a new GetCampusesIDSchedulesLastParams 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 NewGetCampusesIDSchedulesLastParamsWithContext
deprecated
added in
v0.4.0
func NewGetCampusesIDSchedulesLastParamsWithContext(ctx context.Context) *GetCampusesIDSchedulesLastParams
NewGetCampusesIDSchedulesLastParamsWithContext creates a new GetCampusesIDSchedulesLastParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetCampusesIDSchedulesLastParams.
func NewGetCampusesIDSchedulesLastParamsWithHTTPClient ¶ added in v0.4.0
func NewGetCampusesIDSchedulesLastParamsWithHTTPClient(client *http.Client) *GetCampusesIDSchedulesLastParams
NewGetCampusesIDSchedulesLastParamsWithHTTPClient creates a new GetCampusesIDSchedulesLastParams object with the ability to set a custom HTTPClient for a request.
func NewGetCampusesIDSchedulesLastParamsWithTimeout ¶ added in v0.4.0
func NewGetCampusesIDSchedulesLastParamsWithTimeout(timeout time.Duration) *GetCampusesIDSchedulesLastParams
NewGetCampusesIDSchedulesLastParamsWithTimeout creates a new GetCampusesIDSchedulesLastParams object with the ability to set a timeout on a request.
func (*GetCampusesIDSchedulesLastParams) SetContext
deprecated
added in
v0.4.0
func (o *GetCampusesIDSchedulesLastParams) SetContext(ctx context.Context)
SetContext adds the context to the get campuses ID schedules last params.
Deprecated: use the operation call with context to pass the context instead of GetCampusesIDSchedulesLastParams.
func (*GetCampusesIDSchedulesLastParams) SetDefaults ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastParams) SetDefaults()
SetDefaults hydrates default values in the get campuses ID schedules last params (not the query body).
All values with no default are reset to their zero value.
func (*GetCampusesIDSchedulesLastParams) SetHTTPClient ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get campuses ID schedules last params.
func (*GetCampusesIDSchedulesLastParams) SetID ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastParams) SetID(id int64)
SetID adds the id to the get campuses ID schedules last params.
func (*GetCampusesIDSchedulesLastParams) SetTimeout ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get campuses ID schedules last params.
func (*GetCampusesIDSchedulesLastParams) WithContext
deprecated
added in
v0.4.0
func (o *GetCampusesIDSchedulesLastParams) WithContext(ctx context.Context) *GetCampusesIDSchedulesLastParams
WithContext adds the context to the get campuses ID schedules last params.
Deprecated: use the operation call with context to pass the context instead of GetCampusesIDSchedulesLastParams.
func (*GetCampusesIDSchedulesLastParams) WithDefaults ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastParams) WithDefaults() *GetCampusesIDSchedulesLastParams
WithDefaults hydrates default values in the get campuses ID schedules last params (not the query body).
All values with no default are reset to their zero value.
func (*GetCampusesIDSchedulesLastParams) WithHTTPClient ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastParams) WithHTTPClient(client *http.Client) *GetCampusesIDSchedulesLastParams
WithHTTPClient adds the HTTPClient to the get campuses ID schedules last params.
func (*GetCampusesIDSchedulesLastParams) WithID ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastParams) WithID(id int64) *GetCampusesIDSchedulesLastParams
WithID adds the id to the get campuses ID schedules last params.
func (*GetCampusesIDSchedulesLastParams) WithTimeout ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastParams) WithTimeout(timeout time.Duration) *GetCampusesIDSchedulesLastParams
WithTimeout adds the timeout to the get campuses ID schedules last params.
func (*GetCampusesIDSchedulesLastParams) WriteToRequest ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetCampusesIDSchedulesLastReader ¶ added in v0.4.0
type GetCampusesIDSchedulesLastReader struct {
// contains filtered or unexported fields
}
GetCampusesIDSchedulesLastReader is a Reader for the GetCampusesIDSchedulesLast structure.
func (*GetCampusesIDSchedulesLastReader) ReadResponse ¶ added in v0.4.0
func (o *GetCampusesIDSchedulesLastReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetCollegesCollegeIDCampusesBadRequest ¶
type GetCollegesCollegeIDCampusesBadRequest struct {
Payload *models.DtoErrorResponse
}
GetCollegesCollegeIDCampusesBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetCollegesCollegeIDCampusesBadRequest ¶
func NewGetCollegesCollegeIDCampusesBadRequest() *GetCollegesCollegeIDCampusesBadRequest
NewGetCollegesCollegeIDCampusesBadRequest creates a GetCollegesCollegeIDCampusesBadRequest with default headers values
func (*GetCollegesCollegeIDCampusesBadRequest) Code ¶
func (o *GetCollegesCollegeIDCampusesBadRequest) Code() int
Code gets the status code for the get colleges college Id campuses bad request response
func (*GetCollegesCollegeIDCampusesBadRequest) Error ¶
func (o *GetCollegesCollegeIDCampusesBadRequest) Error() string
func (*GetCollegesCollegeIDCampusesBadRequest) GetPayload ¶
func (o *GetCollegesCollegeIDCampusesBadRequest) GetPayload() *models.DtoErrorResponse
func (*GetCollegesCollegeIDCampusesBadRequest) IsClientError ¶
func (o *GetCollegesCollegeIDCampusesBadRequest) IsClientError() bool
IsClientError returns true when this get colleges college Id campuses bad request response has a 4xx status code
func (*GetCollegesCollegeIDCampusesBadRequest) IsCode ¶
func (o *GetCollegesCollegeIDCampusesBadRequest) IsCode(code int) bool
IsCode returns true when this get colleges college Id campuses bad request response a status code equal to that given
func (*GetCollegesCollegeIDCampusesBadRequest) IsRedirect ¶
func (o *GetCollegesCollegeIDCampusesBadRequest) IsRedirect() bool
IsRedirect returns true when this get colleges college Id campuses bad request response has a 3xx status code
func (*GetCollegesCollegeIDCampusesBadRequest) IsServerError ¶
func (o *GetCollegesCollegeIDCampusesBadRequest) IsServerError() bool
IsServerError returns true when this get colleges college Id campuses bad request response has a 5xx status code
func (*GetCollegesCollegeIDCampusesBadRequest) IsSuccess ¶
func (o *GetCollegesCollegeIDCampusesBadRequest) IsSuccess() bool
IsSuccess returns true when this get colleges college Id campuses bad request response has a 2xx status code
func (*GetCollegesCollegeIDCampusesBadRequest) String ¶
func (o *GetCollegesCollegeIDCampusesBadRequest) String() string
type GetCollegesCollegeIDCampusesInternalServerError ¶
type GetCollegesCollegeIDCampusesInternalServerError struct {
Payload *models.DtoErrorResponse
}
GetCollegesCollegeIDCampusesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetCollegesCollegeIDCampusesInternalServerError ¶
func NewGetCollegesCollegeIDCampusesInternalServerError() *GetCollegesCollegeIDCampusesInternalServerError
NewGetCollegesCollegeIDCampusesInternalServerError creates a GetCollegesCollegeIDCampusesInternalServerError with default headers values
func (*GetCollegesCollegeIDCampusesInternalServerError) Code ¶
func (o *GetCollegesCollegeIDCampusesInternalServerError) Code() int
Code gets the status code for the get colleges college Id campuses internal server error response
func (*GetCollegesCollegeIDCampusesInternalServerError) Error ¶
func (o *GetCollegesCollegeIDCampusesInternalServerError) Error() string
func (*GetCollegesCollegeIDCampusesInternalServerError) GetPayload ¶
func (o *GetCollegesCollegeIDCampusesInternalServerError) GetPayload() *models.DtoErrorResponse
func (*GetCollegesCollegeIDCampusesInternalServerError) IsClientError ¶
func (o *GetCollegesCollegeIDCampusesInternalServerError) IsClientError() bool
IsClientError returns true when this get colleges college Id campuses internal server error response has a 4xx status code
func (*GetCollegesCollegeIDCampusesInternalServerError) IsCode ¶
func (o *GetCollegesCollegeIDCampusesInternalServerError) IsCode(code int) bool
IsCode returns true when this get colleges college Id campuses internal server error response a status code equal to that given
func (*GetCollegesCollegeIDCampusesInternalServerError) IsRedirect ¶
func (o *GetCollegesCollegeIDCampusesInternalServerError) IsRedirect() bool
IsRedirect returns true when this get colleges college Id campuses internal server error response has a 3xx status code
func (*GetCollegesCollegeIDCampusesInternalServerError) IsServerError ¶
func (o *GetCollegesCollegeIDCampusesInternalServerError) IsServerError() bool
IsServerError returns true when this get colleges college Id campuses internal server error response has a 5xx status code
func (*GetCollegesCollegeIDCampusesInternalServerError) IsSuccess ¶
func (o *GetCollegesCollegeIDCampusesInternalServerError) IsSuccess() bool
IsSuccess returns true when this get colleges college Id campuses internal server error response has a 2xx status code
func (*GetCollegesCollegeIDCampusesInternalServerError) String ¶
func (o *GetCollegesCollegeIDCampusesInternalServerError) String() string
type GetCollegesCollegeIDCampusesNotFound ¶
type GetCollegesCollegeIDCampusesNotFound struct {
Payload *models.DtoErrorResponse
}
GetCollegesCollegeIDCampusesNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetCollegesCollegeIDCampusesNotFound ¶
func NewGetCollegesCollegeIDCampusesNotFound() *GetCollegesCollegeIDCampusesNotFound
NewGetCollegesCollegeIDCampusesNotFound creates a GetCollegesCollegeIDCampusesNotFound with default headers values
func (*GetCollegesCollegeIDCampusesNotFound) Code ¶
func (o *GetCollegesCollegeIDCampusesNotFound) Code() int
Code gets the status code for the get colleges college Id campuses not found response
func (*GetCollegesCollegeIDCampusesNotFound) Error ¶
func (o *GetCollegesCollegeIDCampusesNotFound) Error() string
func (*GetCollegesCollegeIDCampusesNotFound) GetPayload ¶
func (o *GetCollegesCollegeIDCampusesNotFound) GetPayload() *models.DtoErrorResponse
func (*GetCollegesCollegeIDCampusesNotFound) IsClientError ¶
func (o *GetCollegesCollegeIDCampusesNotFound) IsClientError() bool
IsClientError returns true when this get colleges college Id campuses not found response has a 4xx status code
func (*GetCollegesCollegeIDCampusesNotFound) IsCode ¶
func (o *GetCollegesCollegeIDCampusesNotFound) IsCode(code int) bool
IsCode returns true when this get colleges college Id campuses not found response a status code equal to that given
func (*GetCollegesCollegeIDCampusesNotFound) IsRedirect ¶
func (o *GetCollegesCollegeIDCampusesNotFound) IsRedirect() bool
IsRedirect returns true when this get colleges college Id campuses not found response has a 3xx status code
func (*GetCollegesCollegeIDCampusesNotFound) IsServerError ¶
func (o *GetCollegesCollegeIDCampusesNotFound) IsServerError() bool
IsServerError returns true when this get colleges college Id campuses not found response has a 5xx status code
func (*GetCollegesCollegeIDCampusesNotFound) IsSuccess ¶
func (o *GetCollegesCollegeIDCampusesNotFound) IsSuccess() bool
IsSuccess returns true when this get colleges college Id campuses not found response has a 2xx status code
func (*GetCollegesCollegeIDCampusesNotFound) String ¶
func (o *GetCollegesCollegeIDCampusesNotFound) String() string
type GetCollegesCollegeIDCampusesOK ¶
type GetCollegesCollegeIDCampusesOK struct {
Payload []*models.DtoCampusResponse
}
GetCollegesCollegeIDCampusesOK describes a response with status code 200, with default header values.
OK
func NewGetCollegesCollegeIDCampusesOK ¶
func NewGetCollegesCollegeIDCampusesOK() *GetCollegesCollegeIDCampusesOK
NewGetCollegesCollegeIDCampusesOK creates a GetCollegesCollegeIDCampusesOK with default headers values
func (*GetCollegesCollegeIDCampusesOK) Code ¶
func (o *GetCollegesCollegeIDCampusesOK) Code() int
Code gets the status code for the get colleges college Id campuses o k response
func (*GetCollegesCollegeIDCampusesOK) Error ¶
func (o *GetCollegesCollegeIDCampusesOK) Error() string
func (*GetCollegesCollegeIDCampusesOK) GetPayload ¶
func (o *GetCollegesCollegeIDCampusesOK) GetPayload() []*models.DtoCampusResponse
func (*GetCollegesCollegeIDCampusesOK) IsClientError ¶
func (o *GetCollegesCollegeIDCampusesOK) IsClientError() bool
IsClientError returns true when this get colleges college Id campuses o k response has a 4xx status code
func (*GetCollegesCollegeIDCampusesOK) IsCode ¶
func (o *GetCollegesCollegeIDCampusesOK) IsCode(code int) bool
IsCode returns true when this get colleges college Id campuses o k response a status code equal to that given
func (*GetCollegesCollegeIDCampusesOK) IsRedirect ¶
func (o *GetCollegesCollegeIDCampusesOK) IsRedirect() bool
IsRedirect returns true when this get colleges college Id campuses o k response has a 3xx status code
func (*GetCollegesCollegeIDCampusesOK) IsServerError ¶
func (o *GetCollegesCollegeIDCampusesOK) IsServerError() bool
IsServerError returns true when this get colleges college Id campuses o k response has a 5xx status code
func (*GetCollegesCollegeIDCampusesOK) IsSuccess ¶
func (o *GetCollegesCollegeIDCampusesOK) IsSuccess() bool
IsSuccess returns true when this get colleges college Id campuses o k response has a 2xx status code
func (*GetCollegesCollegeIDCampusesOK) String ¶
func (o *GetCollegesCollegeIDCampusesOK) String() string
type GetCollegesCollegeIDCampusesParams ¶
type GetCollegesCollegeIDCampusesParams struct {
// CollegeID.
//
// College ID
CollegeID int64
// Name.
//
// Campus name
Name *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetCollegesCollegeIDCampusesParams contains all the parameters to send to the API endpoint
for the get colleges college ID campuses operation. Typically these are written to a http.Request.
func NewGetCollegesCollegeIDCampusesParams ¶
func NewGetCollegesCollegeIDCampusesParams() *GetCollegesCollegeIDCampusesParams
NewGetCollegesCollegeIDCampusesParams creates a new GetCollegesCollegeIDCampusesParams 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 NewGetCollegesCollegeIDCampusesParamsWithContext
deprecated
func NewGetCollegesCollegeIDCampusesParamsWithContext(ctx context.Context) *GetCollegesCollegeIDCampusesParams
NewGetCollegesCollegeIDCampusesParamsWithContext creates a new GetCollegesCollegeIDCampusesParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetCollegesCollegeIDCampusesParams.
func NewGetCollegesCollegeIDCampusesParamsWithHTTPClient ¶
func NewGetCollegesCollegeIDCampusesParamsWithHTTPClient(client *http.Client) *GetCollegesCollegeIDCampusesParams
NewGetCollegesCollegeIDCampusesParamsWithHTTPClient creates a new GetCollegesCollegeIDCampusesParams object with the ability to set a custom HTTPClient for a request.
func NewGetCollegesCollegeIDCampusesParamsWithTimeout ¶
func NewGetCollegesCollegeIDCampusesParamsWithTimeout(timeout time.Duration) *GetCollegesCollegeIDCampusesParams
NewGetCollegesCollegeIDCampusesParamsWithTimeout creates a new GetCollegesCollegeIDCampusesParams object with the ability to set a timeout on a request.
func (*GetCollegesCollegeIDCampusesParams) SetCollegeID ¶
func (o *GetCollegesCollegeIDCampusesParams) SetCollegeID(collegeID int64)
SetCollegeID adds the collegeId to the get colleges college ID campuses params.
func (*GetCollegesCollegeIDCampusesParams) SetContext
deprecated
func (o *GetCollegesCollegeIDCampusesParams) SetContext(ctx context.Context)
SetContext adds the context to the get colleges college ID campuses params.
Deprecated: use the operation call with context to pass the context instead of GetCollegesCollegeIDCampusesParams.
func (*GetCollegesCollegeIDCampusesParams) SetDefaults ¶
func (o *GetCollegesCollegeIDCampusesParams) SetDefaults()
SetDefaults hydrates default values in the get colleges college ID campuses params (not the query body).
All values with no default are reset to their zero value.
func (*GetCollegesCollegeIDCampusesParams) SetHTTPClient ¶
func (o *GetCollegesCollegeIDCampusesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get colleges college ID campuses params.
func (*GetCollegesCollegeIDCampusesParams) SetName ¶
func (o *GetCollegesCollegeIDCampusesParams) SetName(name *string)
SetName adds the name to the get colleges college ID campuses params.
func (*GetCollegesCollegeIDCampusesParams) SetTimeout ¶
func (o *GetCollegesCollegeIDCampusesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get colleges college ID campuses params.
func (*GetCollegesCollegeIDCampusesParams) WithCollegeID ¶
func (o *GetCollegesCollegeIDCampusesParams) WithCollegeID(collegeID int64) *GetCollegesCollegeIDCampusesParams
WithCollegeID adds the collegeID to the get colleges college ID campuses params.
func (*GetCollegesCollegeIDCampusesParams) WithContext
deprecated
func (o *GetCollegesCollegeIDCampusesParams) WithContext(ctx context.Context) *GetCollegesCollegeIDCampusesParams
WithContext adds the context to the get colleges college ID campuses params.
Deprecated: use the operation call with context to pass the context instead of GetCollegesCollegeIDCampusesParams.
func (*GetCollegesCollegeIDCampusesParams) WithDefaults ¶
func (o *GetCollegesCollegeIDCampusesParams) WithDefaults() *GetCollegesCollegeIDCampusesParams
WithDefaults hydrates default values in the get colleges college ID campuses params (not the query body).
All values with no default are reset to their zero value.
func (*GetCollegesCollegeIDCampusesParams) WithHTTPClient ¶
func (o *GetCollegesCollegeIDCampusesParams) WithHTTPClient(client *http.Client) *GetCollegesCollegeIDCampusesParams
WithHTTPClient adds the HTTPClient to the get colleges college ID campuses params.
func (*GetCollegesCollegeIDCampusesParams) WithName ¶
func (o *GetCollegesCollegeIDCampusesParams) WithName(name *string) *GetCollegesCollegeIDCampusesParams
WithName adds the name to the get colleges college ID campuses params.
func (*GetCollegesCollegeIDCampusesParams) WithTimeout ¶
func (o *GetCollegesCollegeIDCampusesParams) WithTimeout(timeout time.Duration) *GetCollegesCollegeIDCampusesParams
WithTimeout adds the timeout to the get colleges college ID campuses params.
func (*GetCollegesCollegeIDCampusesParams) WriteToRequest ¶
func (o *GetCollegesCollegeIDCampusesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetCollegesCollegeIDCampusesReader ¶
type GetCollegesCollegeIDCampusesReader struct {
// contains filtered or unexported fields
}
GetCollegesCollegeIDCampusesReader is a Reader for the GetCollegesCollegeIDCampuses structure.
func (*GetCollegesCollegeIDCampusesReader) ReadResponse ¶
func (o *GetCollegesCollegeIDCampusesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.