Documentation
¶
Index ¶
- type Client
- func (a *Client) GetCampusesCampusIDGroups(params *GetCampusesCampusIDGroupsParams, opts ...ClientOption) (*GetCampusesCampusIDGroupsOK, error)
- func (a *Client) GetCampusesCampusIDGroupsContext(ctx context.Context, params *GetCampusesCampusIDGroupsParams, ...) (*GetCampusesCampusIDGroupsOK, error)
- func (a *Client) GetCollegesCollegeIDGroups(params *GetCollegesCollegeIDGroupsParams, opts ...ClientOption) (*GetCollegesCollegeIDGroupsOK, error)
- func (a *Client) GetCollegesCollegeIDGroupsContext(ctx context.Context, params *GetCollegesCollegeIDGroupsParams, ...) (*GetCollegesCollegeIDGroupsOK, error)
- func (a *Client) GetGroupsID(params *GetGroupsIDParams, opts ...ClientOption) (*GetGroupsIDOK, error)
- func (a *Client) GetGroupsIDContext(ctx context.Context, params *GetGroupsIDParams, opts ...ClientOption) (*GetGroupsIDOK, error)
- func (a *Client) SetTransport(transport runtime.ContextualTransport)
- type ClientOption
- type ClientService
- type GetCampusesCampusIDGroupsBadRequest
- func (o *GetCampusesCampusIDGroupsBadRequest) Code() int
- func (o *GetCampusesCampusIDGroupsBadRequest) Error() string
- func (o *GetCampusesCampusIDGroupsBadRequest) GetPayload() *models.DtoErrorResponse
- func (o *GetCampusesCampusIDGroupsBadRequest) IsClientError() bool
- func (o *GetCampusesCampusIDGroupsBadRequest) IsCode(code int) bool
- func (o *GetCampusesCampusIDGroupsBadRequest) IsRedirect() bool
- func (o *GetCampusesCampusIDGroupsBadRequest) IsServerError() bool
- func (o *GetCampusesCampusIDGroupsBadRequest) IsSuccess() bool
- func (o *GetCampusesCampusIDGroupsBadRequest) String() string
- type GetCampusesCampusIDGroupsInternalServerError
- func (o *GetCampusesCampusIDGroupsInternalServerError) Code() int
- func (o *GetCampusesCampusIDGroupsInternalServerError) Error() string
- func (o *GetCampusesCampusIDGroupsInternalServerError) GetPayload() *models.DtoErrorResponse
- func (o *GetCampusesCampusIDGroupsInternalServerError) IsClientError() bool
- func (o *GetCampusesCampusIDGroupsInternalServerError) IsCode(code int) bool
- func (o *GetCampusesCampusIDGroupsInternalServerError) IsRedirect() bool
- func (o *GetCampusesCampusIDGroupsInternalServerError) IsServerError() bool
- func (o *GetCampusesCampusIDGroupsInternalServerError) IsSuccess() bool
- func (o *GetCampusesCampusIDGroupsInternalServerError) String() string
- type GetCampusesCampusIDGroupsNotFound
- func (o *GetCampusesCampusIDGroupsNotFound) Code() int
- func (o *GetCampusesCampusIDGroupsNotFound) Error() string
- func (o *GetCampusesCampusIDGroupsNotFound) GetPayload() *models.DtoErrorResponse
- func (o *GetCampusesCampusIDGroupsNotFound) IsClientError() bool
- func (o *GetCampusesCampusIDGroupsNotFound) IsCode(code int) bool
- func (o *GetCampusesCampusIDGroupsNotFound) IsRedirect() bool
- func (o *GetCampusesCampusIDGroupsNotFound) IsServerError() bool
- func (o *GetCampusesCampusIDGroupsNotFound) IsSuccess() bool
- func (o *GetCampusesCampusIDGroupsNotFound) String() string
- type GetCampusesCampusIDGroupsOK
- func (o *GetCampusesCampusIDGroupsOK) Code() int
- func (o *GetCampusesCampusIDGroupsOK) Error() string
- func (o *GetCampusesCampusIDGroupsOK) GetPayload() []*models.DtoStudentGroupResponse
- func (o *GetCampusesCampusIDGroupsOK) IsClientError() bool
- func (o *GetCampusesCampusIDGroupsOK) IsCode(code int) bool
- func (o *GetCampusesCampusIDGroupsOK) IsRedirect() bool
- func (o *GetCampusesCampusIDGroupsOK) IsServerError() bool
- func (o *GetCampusesCampusIDGroupsOK) IsSuccess() bool
- func (o *GetCampusesCampusIDGroupsOK) String() string
- type GetCampusesCampusIDGroupsParams
- func NewGetCampusesCampusIDGroupsParams() *GetCampusesCampusIDGroupsParams
- func NewGetCampusesCampusIDGroupsParamsWithContext(ctx context.Context) *GetCampusesCampusIDGroupsParamsdeprecated
- func NewGetCampusesCampusIDGroupsParamsWithHTTPClient(client *http.Client) *GetCampusesCampusIDGroupsParams
- func NewGetCampusesCampusIDGroupsParamsWithTimeout(timeout time.Duration) *GetCampusesCampusIDGroupsParams
- func (o *GetCampusesCampusIDGroupsParams) SetCampusID(campusID int64)
- func (o *GetCampusesCampusIDGroupsParams) SetContext(ctx context.Context)deprecated
- func (o *GetCampusesCampusIDGroupsParams) SetDefaults()
- func (o *GetCampusesCampusIDGroupsParams) SetHTTPClient(client *http.Client)
- func (o *GetCampusesCampusIDGroupsParams) SetName(name *string)
- func (o *GetCampusesCampusIDGroupsParams) SetTimeout(timeout time.Duration)
- func (o *GetCampusesCampusIDGroupsParams) WithCampusID(campusID int64) *GetCampusesCampusIDGroupsParams
- func (o *GetCampusesCampusIDGroupsParams) WithContext(ctx context.Context) *GetCampusesCampusIDGroupsParamsdeprecated
- func (o *GetCampusesCampusIDGroupsParams) WithDefaults() *GetCampusesCampusIDGroupsParams
- func (o *GetCampusesCampusIDGroupsParams) WithHTTPClient(client *http.Client) *GetCampusesCampusIDGroupsParams
- func (o *GetCampusesCampusIDGroupsParams) WithName(name *string) *GetCampusesCampusIDGroupsParams
- func (o *GetCampusesCampusIDGroupsParams) WithTimeout(timeout time.Duration) *GetCampusesCampusIDGroupsParams
- func (o *GetCampusesCampusIDGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCampusesCampusIDGroupsReader
- type GetCollegesCollegeIDGroupsBadRequest
- func (o *GetCollegesCollegeIDGroupsBadRequest) Code() int
- func (o *GetCollegesCollegeIDGroupsBadRequest) Error() string
- func (o *GetCollegesCollegeIDGroupsBadRequest) GetPayload() *models.DtoErrorResponse
- func (o *GetCollegesCollegeIDGroupsBadRequest) IsClientError() bool
- func (o *GetCollegesCollegeIDGroupsBadRequest) IsCode(code int) bool
- func (o *GetCollegesCollegeIDGroupsBadRequest) IsRedirect() bool
- func (o *GetCollegesCollegeIDGroupsBadRequest) IsServerError() bool
- func (o *GetCollegesCollegeIDGroupsBadRequest) IsSuccess() bool
- func (o *GetCollegesCollegeIDGroupsBadRequest) String() string
- type GetCollegesCollegeIDGroupsInternalServerError
- func (o *GetCollegesCollegeIDGroupsInternalServerError) Code() int
- func (o *GetCollegesCollegeIDGroupsInternalServerError) Error() string
- func (o *GetCollegesCollegeIDGroupsInternalServerError) GetPayload() *models.DtoErrorResponse
- func (o *GetCollegesCollegeIDGroupsInternalServerError) IsClientError() bool
- func (o *GetCollegesCollegeIDGroupsInternalServerError) IsCode(code int) bool
- func (o *GetCollegesCollegeIDGroupsInternalServerError) IsRedirect() bool
- func (o *GetCollegesCollegeIDGroupsInternalServerError) IsServerError() bool
- func (o *GetCollegesCollegeIDGroupsInternalServerError) IsSuccess() bool
- func (o *GetCollegesCollegeIDGroupsInternalServerError) String() string
- type GetCollegesCollegeIDGroupsNotFound
- func (o *GetCollegesCollegeIDGroupsNotFound) Code() int
- func (o *GetCollegesCollegeIDGroupsNotFound) Error() string
- func (o *GetCollegesCollegeIDGroupsNotFound) GetPayload() *models.DtoErrorResponse
- func (o *GetCollegesCollegeIDGroupsNotFound) IsClientError() bool
- func (o *GetCollegesCollegeIDGroupsNotFound) IsCode(code int) bool
- func (o *GetCollegesCollegeIDGroupsNotFound) IsRedirect() bool
- func (o *GetCollegesCollegeIDGroupsNotFound) IsServerError() bool
- func (o *GetCollegesCollegeIDGroupsNotFound) IsSuccess() bool
- func (o *GetCollegesCollegeIDGroupsNotFound) String() string
- type GetCollegesCollegeIDGroupsOK
- func (o *GetCollegesCollegeIDGroupsOK) Code() int
- func (o *GetCollegesCollegeIDGroupsOK) Error() string
- func (o *GetCollegesCollegeIDGroupsOK) GetPayload() []*models.DtoStudentGroupResponse
- func (o *GetCollegesCollegeIDGroupsOK) IsClientError() bool
- func (o *GetCollegesCollegeIDGroupsOK) IsCode(code int) bool
- func (o *GetCollegesCollegeIDGroupsOK) IsRedirect() bool
- func (o *GetCollegesCollegeIDGroupsOK) IsServerError() bool
- func (o *GetCollegesCollegeIDGroupsOK) IsSuccess() bool
- func (o *GetCollegesCollegeIDGroupsOK) String() string
- type GetCollegesCollegeIDGroupsParams
- func NewGetCollegesCollegeIDGroupsParams() *GetCollegesCollegeIDGroupsParams
- func NewGetCollegesCollegeIDGroupsParamsWithContext(ctx context.Context) *GetCollegesCollegeIDGroupsParamsdeprecated
- func NewGetCollegesCollegeIDGroupsParamsWithHTTPClient(client *http.Client) *GetCollegesCollegeIDGroupsParams
- func NewGetCollegesCollegeIDGroupsParamsWithTimeout(timeout time.Duration) *GetCollegesCollegeIDGroupsParams
- func (o *GetCollegesCollegeIDGroupsParams) SetCollegeID(collegeID int64)
- func (o *GetCollegesCollegeIDGroupsParams) SetContext(ctx context.Context)deprecated
- func (o *GetCollegesCollegeIDGroupsParams) SetDefaults()
- func (o *GetCollegesCollegeIDGroupsParams) SetHTTPClient(client *http.Client)
- func (o *GetCollegesCollegeIDGroupsParams) SetName(name *string)
- func (o *GetCollegesCollegeIDGroupsParams) SetTimeout(timeout time.Duration)
- func (o *GetCollegesCollegeIDGroupsParams) WithCollegeID(collegeID int64) *GetCollegesCollegeIDGroupsParams
- func (o *GetCollegesCollegeIDGroupsParams) WithContext(ctx context.Context) *GetCollegesCollegeIDGroupsParamsdeprecated
- func (o *GetCollegesCollegeIDGroupsParams) WithDefaults() *GetCollegesCollegeIDGroupsParams
- func (o *GetCollegesCollegeIDGroupsParams) WithHTTPClient(client *http.Client) *GetCollegesCollegeIDGroupsParams
- func (o *GetCollegesCollegeIDGroupsParams) WithName(name *string) *GetCollegesCollegeIDGroupsParams
- func (o *GetCollegesCollegeIDGroupsParams) WithTimeout(timeout time.Duration) *GetCollegesCollegeIDGroupsParams
- func (o *GetCollegesCollegeIDGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCollegesCollegeIDGroupsReader
- type GetGroupsIDBadRequest
- func (o *GetGroupsIDBadRequest) Code() int
- func (o *GetGroupsIDBadRequest) Error() string
- func (o *GetGroupsIDBadRequest) GetPayload() *models.DtoErrorResponse
- func (o *GetGroupsIDBadRequest) IsClientError() bool
- func (o *GetGroupsIDBadRequest) IsCode(code int) bool
- func (o *GetGroupsIDBadRequest) IsRedirect() bool
- func (o *GetGroupsIDBadRequest) IsServerError() bool
- func (o *GetGroupsIDBadRequest) IsSuccess() bool
- func (o *GetGroupsIDBadRequest) String() string
- type GetGroupsIDInternalServerError
- func (o *GetGroupsIDInternalServerError) Code() int
- func (o *GetGroupsIDInternalServerError) Error() string
- func (o *GetGroupsIDInternalServerError) GetPayload() *models.DtoErrorResponse
- func (o *GetGroupsIDInternalServerError) IsClientError() bool
- func (o *GetGroupsIDInternalServerError) IsCode(code int) bool
- func (o *GetGroupsIDInternalServerError) IsRedirect() bool
- func (o *GetGroupsIDInternalServerError) IsServerError() bool
- func (o *GetGroupsIDInternalServerError) IsSuccess() bool
- func (o *GetGroupsIDInternalServerError) String() string
- type GetGroupsIDNotFound
- func (o *GetGroupsIDNotFound) Code() int
- func (o *GetGroupsIDNotFound) Error() string
- func (o *GetGroupsIDNotFound) GetPayload() *models.DtoErrorResponse
- func (o *GetGroupsIDNotFound) IsClientError() bool
- func (o *GetGroupsIDNotFound) IsCode(code int) bool
- func (o *GetGroupsIDNotFound) IsRedirect() bool
- func (o *GetGroupsIDNotFound) IsServerError() bool
- func (o *GetGroupsIDNotFound) IsSuccess() bool
- func (o *GetGroupsIDNotFound) String() string
- type GetGroupsIDOK
- func (o *GetGroupsIDOK) Code() int
- func (o *GetGroupsIDOK) Error() string
- func (o *GetGroupsIDOK) GetPayload() *models.DtoStudentGroupResponse
- func (o *GetGroupsIDOK) IsClientError() bool
- func (o *GetGroupsIDOK) IsCode(code int) bool
- func (o *GetGroupsIDOK) IsRedirect() bool
- func (o *GetGroupsIDOK) IsServerError() bool
- func (o *GetGroupsIDOK) IsSuccess() bool
- func (o *GetGroupsIDOK) String() string
- type GetGroupsIDParams
- func (o *GetGroupsIDParams) SetContext(ctx context.Context)deprecated
- func (o *GetGroupsIDParams) SetDefaults()
- func (o *GetGroupsIDParams) SetHTTPClient(client *http.Client)
- func (o *GetGroupsIDParams) SetID(id int64)
- func (o *GetGroupsIDParams) SetTimeout(timeout time.Duration)
- func (o *GetGroupsIDParams) WithContext(ctx context.Context) *GetGroupsIDParamsdeprecated
- func (o *GetGroupsIDParams) WithDefaults() *GetGroupsIDParams
- func (o *GetGroupsIDParams) WithHTTPClient(client *http.Client) *GetGroupsIDParams
- func (o *GetGroupsIDParams) WithID(id int64) *GetGroupsIDParams
- func (o *GetGroupsIDParams) WithTimeout(timeout time.Duration) *GetGroupsIDParams
- func (o *GetGroupsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGroupsIDReader
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 groups API.
func (*Client) GetCampusesCampusIDGroups ¶
func (a *Client) GetCampusesCampusIDGroups(params *GetCampusesCampusIDGroupsParams, opts ...ClientOption) (*GetCampusesCampusIDGroupsOK, error)
GetCampusesCampusIDGroups gets groups by campus ID.
get all groups by campus ID or a group by campus 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.GetCampusesCampusIDGroupsContext instead.
func (*Client) GetCampusesCampusIDGroupsContext ¶
func (a *Client) GetCampusesCampusIDGroupsContext(ctx context.Context, params *GetCampusesCampusIDGroupsParams, opts ...ClientOption) (*GetCampusesCampusIDGroupsOK, error)
GetCampusesCampusIDGroupsContext gets groups by campus ID.
get all groups by campus ID or a group by campus ID with specified name.
Do not use the deprecated [GetCampusesCampusIDGroupsParams.Context] with this method: it would be ignored.
func (*Client) GetCollegesCollegeIDGroups ¶
func (a *Client) GetCollegesCollegeIDGroups(params *GetCollegesCollegeIDGroupsParams, opts ...ClientOption) (*GetCollegesCollegeIDGroupsOK, error)
GetCollegesCollegeIDGroups gets groups by college ID.
get all groups by college ID or a group 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.GetCollegesCollegeIDGroupsContext instead.
func (*Client) GetCollegesCollegeIDGroupsContext ¶
func (a *Client) GetCollegesCollegeIDGroupsContext(ctx context.Context, params *GetCollegesCollegeIDGroupsParams, opts ...ClientOption) (*GetCollegesCollegeIDGroupsOK, error)
GetCollegesCollegeIDGroupsContext gets groups by college ID.
get all groups by college ID or a group by college ID with specified name.
Do not use the deprecated [GetCollegesCollegeIDGroupsParams.Context] with this method: it would be ignored.
func (*Client) GetGroupsID ¶
func (a *Client) GetGroupsID(params *GetGroupsIDParams, opts ...ClientOption) (*GetGroupsIDOK, error)
GetGroupsID gets a group by ID.
get a single group 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.GetGroupsIDContext instead.
func (*Client) GetGroupsIDContext ¶
func (a *Client) GetGroupsIDContext(ctx context.Context, params *GetGroupsIDParams, opts ...ClientOption) (*GetGroupsIDOK, error)
GetGroupsIDContext gets a group by ID.
get a single group by its ID.
Do not use the deprecated [GetGroupsIDParams.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 {
// GetCampusesCampusIDGroups get groups by campus ID.
GetCampusesCampusIDGroups(params *GetCampusesCampusIDGroupsParams, opts ...ClientOption) (*GetCampusesCampusIDGroupsOK, error)
// GetCampusesCampusIDGroupsContext get groups by campus ID.
GetCampusesCampusIDGroupsContext(ctx context.Context, params *GetCampusesCampusIDGroupsParams, opts ...ClientOption) (*GetCampusesCampusIDGroupsOK, error)
// GetCollegesCollegeIDGroups get groups by college ID.
GetCollegesCollegeIDGroups(params *GetCollegesCollegeIDGroupsParams, opts ...ClientOption) (*GetCollegesCollegeIDGroupsOK, error)
// GetCollegesCollegeIDGroupsContext get groups by college ID.
GetCollegesCollegeIDGroupsContext(ctx context.Context, params *GetCollegesCollegeIDGroupsParams, opts ...ClientOption) (*GetCollegesCollegeIDGroupsOK, error)
// GetGroupsID get a group by ID.
GetGroupsID(params *GetGroupsIDParams, opts ...ClientOption) (*GetGroupsIDOK, error)
// GetGroupsIDContext get a group by ID.
GetGroupsIDContext(ctx context.Context, params *GetGroupsIDParams, opts ...ClientOption) (*GetGroupsIDOK, 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 groups API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new groups 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 groups 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 GetCampusesCampusIDGroupsBadRequest ¶
type GetCampusesCampusIDGroupsBadRequest struct {
Payload *models.DtoErrorResponse
}
GetCampusesCampusIDGroupsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetCampusesCampusIDGroupsBadRequest ¶
func NewGetCampusesCampusIDGroupsBadRequest() *GetCampusesCampusIDGroupsBadRequest
NewGetCampusesCampusIDGroupsBadRequest creates a GetCampusesCampusIDGroupsBadRequest with default headers values
func (*GetCampusesCampusIDGroupsBadRequest) Code ¶
func (o *GetCampusesCampusIDGroupsBadRequest) Code() int
Code gets the status code for the get campuses campus Id groups bad request response
func (*GetCampusesCampusIDGroupsBadRequest) Error ¶
func (o *GetCampusesCampusIDGroupsBadRequest) Error() string
func (*GetCampusesCampusIDGroupsBadRequest) GetPayload ¶
func (o *GetCampusesCampusIDGroupsBadRequest) GetPayload() *models.DtoErrorResponse
func (*GetCampusesCampusIDGroupsBadRequest) IsClientError ¶
func (o *GetCampusesCampusIDGroupsBadRequest) IsClientError() bool
IsClientError returns true when this get campuses campus Id groups bad request response has a 4xx status code
func (*GetCampusesCampusIDGroupsBadRequest) IsCode ¶
func (o *GetCampusesCampusIDGroupsBadRequest) IsCode(code int) bool
IsCode returns true when this get campuses campus Id groups bad request response a status code equal to that given
func (*GetCampusesCampusIDGroupsBadRequest) IsRedirect ¶
func (o *GetCampusesCampusIDGroupsBadRequest) IsRedirect() bool
IsRedirect returns true when this get campuses campus Id groups bad request response has a 3xx status code
func (*GetCampusesCampusIDGroupsBadRequest) IsServerError ¶
func (o *GetCampusesCampusIDGroupsBadRequest) IsServerError() bool
IsServerError returns true when this get campuses campus Id groups bad request response has a 5xx status code
func (*GetCampusesCampusIDGroupsBadRequest) IsSuccess ¶
func (o *GetCampusesCampusIDGroupsBadRequest) IsSuccess() bool
IsSuccess returns true when this get campuses campus Id groups bad request response has a 2xx status code
func (*GetCampusesCampusIDGroupsBadRequest) String ¶
func (o *GetCampusesCampusIDGroupsBadRequest) String() string
type GetCampusesCampusIDGroupsInternalServerError ¶
type GetCampusesCampusIDGroupsInternalServerError struct {
Payload *models.DtoErrorResponse
}
GetCampusesCampusIDGroupsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetCampusesCampusIDGroupsInternalServerError ¶
func NewGetCampusesCampusIDGroupsInternalServerError() *GetCampusesCampusIDGroupsInternalServerError
NewGetCampusesCampusIDGroupsInternalServerError creates a GetCampusesCampusIDGroupsInternalServerError with default headers values
func (*GetCampusesCampusIDGroupsInternalServerError) Code ¶
func (o *GetCampusesCampusIDGroupsInternalServerError) Code() int
Code gets the status code for the get campuses campus Id groups internal server error response
func (*GetCampusesCampusIDGroupsInternalServerError) Error ¶
func (o *GetCampusesCampusIDGroupsInternalServerError) Error() string
func (*GetCampusesCampusIDGroupsInternalServerError) GetPayload ¶
func (o *GetCampusesCampusIDGroupsInternalServerError) GetPayload() *models.DtoErrorResponse
func (*GetCampusesCampusIDGroupsInternalServerError) IsClientError ¶
func (o *GetCampusesCampusIDGroupsInternalServerError) IsClientError() bool
IsClientError returns true when this get campuses campus Id groups internal server error response has a 4xx status code
func (*GetCampusesCampusIDGroupsInternalServerError) IsCode ¶
func (o *GetCampusesCampusIDGroupsInternalServerError) IsCode(code int) bool
IsCode returns true when this get campuses campus Id groups internal server error response a status code equal to that given
func (*GetCampusesCampusIDGroupsInternalServerError) IsRedirect ¶
func (o *GetCampusesCampusIDGroupsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get campuses campus Id groups internal server error response has a 3xx status code
func (*GetCampusesCampusIDGroupsInternalServerError) IsServerError ¶
func (o *GetCampusesCampusIDGroupsInternalServerError) IsServerError() bool
IsServerError returns true when this get campuses campus Id groups internal server error response has a 5xx status code
func (*GetCampusesCampusIDGroupsInternalServerError) IsSuccess ¶
func (o *GetCampusesCampusIDGroupsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get campuses campus Id groups internal server error response has a 2xx status code
func (*GetCampusesCampusIDGroupsInternalServerError) String ¶
func (o *GetCampusesCampusIDGroupsInternalServerError) String() string
type GetCampusesCampusIDGroupsNotFound ¶
type GetCampusesCampusIDGroupsNotFound struct {
Payload *models.DtoErrorResponse
}
GetCampusesCampusIDGroupsNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetCampusesCampusIDGroupsNotFound ¶
func NewGetCampusesCampusIDGroupsNotFound() *GetCampusesCampusIDGroupsNotFound
NewGetCampusesCampusIDGroupsNotFound creates a GetCampusesCampusIDGroupsNotFound with default headers values
func (*GetCampusesCampusIDGroupsNotFound) Code ¶
func (o *GetCampusesCampusIDGroupsNotFound) Code() int
Code gets the status code for the get campuses campus Id groups not found response
func (*GetCampusesCampusIDGroupsNotFound) Error ¶
func (o *GetCampusesCampusIDGroupsNotFound) Error() string
func (*GetCampusesCampusIDGroupsNotFound) GetPayload ¶
func (o *GetCampusesCampusIDGroupsNotFound) GetPayload() *models.DtoErrorResponse
func (*GetCampusesCampusIDGroupsNotFound) IsClientError ¶
func (o *GetCampusesCampusIDGroupsNotFound) IsClientError() bool
IsClientError returns true when this get campuses campus Id groups not found response has a 4xx status code
func (*GetCampusesCampusIDGroupsNotFound) IsCode ¶
func (o *GetCampusesCampusIDGroupsNotFound) IsCode(code int) bool
IsCode returns true when this get campuses campus Id groups not found response a status code equal to that given
func (*GetCampusesCampusIDGroupsNotFound) IsRedirect ¶
func (o *GetCampusesCampusIDGroupsNotFound) IsRedirect() bool
IsRedirect returns true when this get campuses campus Id groups not found response has a 3xx status code
func (*GetCampusesCampusIDGroupsNotFound) IsServerError ¶
func (o *GetCampusesCampusIDGroupsNotFound) IsServerError() bool
IsServerError returns true when this get campuses campus Id groups not found response has a 5xx status code
func (*GetCampusesCampusIDGroupsNotFound) IsSuccess ¶
func (o *GetCampusesCampusIDGroupsNotFound) IsSuccess() bool
IsSuccess returns true when this get campuses campus Id groups not found response has a 2xx status code
func (*GetCampusesCampusIDGroupsNotFound) String ¶
func (o *GetCampusesCampusIDGroupsNotFound) String() string
type GetCampusesCampusIDGroupsOK ¶
type GetCampusesCampusIDGroupsOK struct {
Payload []*models.DtoStudentGroupResponse
}
GetCampusesCampusIDGroupsOK describes a response with status code 200, with default header values.
OK
func NewGetCampusesCampusIDGroupsOK ¶
func NewGetCampusesCampusIDGroupsOK() *GetCampusesCampusIDGroupsOK
NewGetCampusesCampusIDGroupsOK creates a GetCampusesCampusIDGroupsOK with default headers values
func (*GetCampusesCampusIDGroupsOK) Code ¶
func (o *GetCampusesCampusIDGroupsOK) Code() int
Code gets the status code for the get campuses campus Id groups o k response
func (*GetCampusesCampusIDGroupsOK) Error ¶
func (o *GetCampusesCampusIDGroupsOK) Error() string
func (*GetCampusesCampusIDGroupsOK) GetPayload ¶
func (o *GetCampusesCampusIDGroupsOK) GetPayload() []*models.DtoStudentGroupResponse
func (*GetCampusesCampusIDGroupsOK) IsClientError ¶
func (o *GetCampusesCampusIDGroupsOK) IsClientError() bool
IsClientError returns true when this get campuses campus Id groups o k response has a 4xx status code
func (*GetCampusesCampusIDGroupsOK) IsCode ¶
func (o *GetCampusesCampusIDGroupsOK) IsCode(code int) bool
IsCode returns true when this get campuses campus Id groups o k response a status code equal to that given
func (*GetCampusesCampusIDGroupsOK) IsRedirect ¶
func (o *GetCampusesCampusIDGroupsOK) IsRedirect() bool
IsRedirect returns true when this get campuses campus Id groups o k response has a 3xx status code
func (*GetCampusesCampusIDGroupsOK) IsServerError ¶
func (o *GetCampusesCampusIDGroupsOK) IsServerError() bool
IsServerError returns true when this get campuses campus Id groups o k response has a 5xx status code
func (*GetCampusesCampusIDGroupsOK) IsSuccess ¶
func (o *GetCampusesCampusIDGroupsOK) IsSuccess() bool
IsSuccess returns true when this get campuses campus Id groups o k response has a 2xx status code
func (*GetCampusesCampusIDGroupsOK) String ¶
func (o *GetCampusesCampusIDGroupsOK) String() string
type GetCampusesCampusIDGroupsParams ¶
type GetCampusesCampusIDGroupsParams struct {
// CampusID.
//
// Campus ID
CampusID int64
// Name.
//
// Group name
Name *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetCampusesCampusIDGroupsParams contains all the parameters to send to the API endpoint
for the get campuses campus ID groups operation. Typically these are written to a http.Request.
func NewGetCampusesCampusIDGroupsParams ¶
func NewGetCampusesCampusIDGroupsParams() *GetCampusesCampusIDGroupsParams
NewGetCampusesCampusIDGroupsParams creates a new GetCampusesCampusIDGroupsParams 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 NewGetCampusesCampusIDGroupsParamsWithContext
deprecated
func NewGetCampusesCampusIDGroupsParamsWithContext(ctx context.Context) *GetCampusesCampusIDGroupsParams
NewGetCampusesCampusIDGroupsParamsWithContext creates a new GetCampusesCampusIDGroupsParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetCampusesCampusIDGroupsParams.
func NewGetCampusesCampusIDGroupsParamsWithHTTPClient ¶
func NewGetCampusesCampusIDGroupsParamsWithHTTPClient(client *http.Client) *GetCampusesCampusIDGroupsParams
NewGetCampusesCampusIDGroupsParamsWithHTTPClient creates a new GetCampusesCampusIDGroupsParams object with the ability to set a custom HTTPClient for a request.
func NewGetCampusesCampusIDGroupsParamsWithTimeout ¶
func NewGetCampusesCampusIDGroupsParamsWithTimeout(timeout time.Duration) *GetCampusesCampusIDGroupsParams
NewGetCampusesCampusIDGroupsParamsWithTimeout creates a new GetCampusesCampusIDGroupsParams object with the ability to set a timeout on a request.
func (*GetCampusesCampusIDGroupsParams) SetCampusID ¶
func (o *GetCampusesCampusIDGroupsParams) SetCampusID(campusID int64)
SetCampusID adds the campusId to the get campuses campus ID groups params.
func (*GetCampusesCampusIDGroupsParams) SetContext
deprecated
func (o *GetCampusesCampusIDGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the get campuses campus ID groups params.
Deprecated: use the operation call with context to pass the context instead of GetCampusesCampusIDGroupsParams.
func (*GetCampusesCampusIDGroupsParams) SetDefaults ¶
func (o *GetCampusesCampusIDGroupsParams) SetDefaults()
SetDefaults hydrates default values in the get campuses campus ID groups params (not the query body).
All values with no default are reset to their zero value.
func (*GetCampusesCampusIDGroupsParams) SetHTTPClient ¶
func (o *GetCampusesCampusIDGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get campuses campus ID groups params.
func (*GetCampusesCampusIDGroupsParams) SetName ¶
func (o *GetCampusesCampusIDGroupsParams) SetName(name *string)
SetName adds the name to the get campuses campus ID groups params.
func (*GetCampusesCampusIDGroupsParams) SetTimeout ¶
func (o *GetCampusesCampusIDGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get campuses campus ID groups params.
func (*GetCampusesCampusIDGroupsParams) WithCampusID ¶
func (o *GetCampusesCampusIDGroupsParams) WithCampusID(campusID int64) *GetCampusesCampusIDGroupsParams
WithCampusID adds the campusID to the get campuses campus ID groups params.
func (*GetCampusesCampusIDGroupsParams) WithContext
deprecated
func (o *GetCampusesCampusIDGroupsParams) WithContext(ctx context.Context) *GetCampusesCampusIDGroupsParams
WithContext adds the context to the get campuses campus ID groups params.
Deprecated: use the operation call with context to pass the context instead of GetCampusesCampusIDGroupsParams.
func (*GetCampusesCampusIDGroupsParams) WithDefaults ¶
func (o *GetCampusesCampusIDGroupsParams) WithDefaults() *GetCampusesCampusIDGroupsParams
WithDefaults hydrates default values in the get campuses campus ID groups params (not the query body).
All values with no default are reset to their zero value.
func (*GetCampusesCampusIDGroupsParams) WithHTTPClient ¶
func (o *GetCampusesCampusIDGroupsParams) WithHTTPClient(client *http.Client) *GetCampusesCampusIDGroupsParams
WithHTTPClient adds the HTTPClient to the get campuses campus ID groups params.
func (*GetCampusesCampusIDGroupsParams) WithName ¶
func (o *GetCampusesCampusIDGroupsParams) WithName(name *string) *GetCampusesCampusIDGroupsParams
WithName adds the name to the get campuses campus ID groups params.
func (*GetCampusesCampusIDGroupsParams) WithTimeout ¶
func (o *GetCampusesCampusIDGroupsParams) WithTimeout(timeout time.Duration) *GetCampusesCampusIDGroupsParams
WithTimeout adds the timeout to the get campuses campus ID groups params.
func (*GetCampusesCampusIDGroupsParams) WriteToRequest ¶
func (o *GetCampusesCampusIDGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetCampusesCampusIDGroupsReader ¶
type GetCampusesCampusIDGroupsReader struct {
// contains filtered or unexported fields
}
GetCampusesCampusIDGroupsReader is a Reader for the GetCampusesCampusIDGroups structure.
func (*GetCampusesCampusIDGroupsReader) ReadResponse ¶
func (o *GetCampusesCampusIDGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetCollegesCollegeIDGroupsBadRequest ¶
type GetCollegesCollegeIDGroupsBadRequest struct {
Payload *models.DtoErrorResponse
}
GetCollegesCollegeIDGroupsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetCollegesCollegeIDGroupsBadRequest ¶
func NewGetCollegesCollegeIDGroupsBadRequest() *GetCollegesCollegeIDGroupsBadRequest
NewGetCollegesCollegeIDGroupsBadRequest creates a GetCollegesCollegeIDGroupsBadRequest with default headers values
func (*GetCollegesCollegeIDGroupsBadRequest) Code ¶
func (o *GetCollegesCollegeIDGroupsBadRequest) Code() int
Code gets the status code for the get colleges college Id groups bad request response
func (*GetCollegesCollegeIDGroupsBadRequest) Error ¶
func (o *GetCollegesCollegeIDGroupsBadRequest) Error() string
func (*GetCollegesCollegeIDGroupsBadRequest) GetPayload ¶
func (o *GetCollegesCollegeIDGroupsBadRequest) GetPayload() *models.DtoErrorResponse
func (*GetCollegesCollegeIDGroupsBadRequest) IsClientError ¶
func (o *GetCollegesCollegeIDGroupsBadRequest) IsClientError() bool
IsClientError returns true when this get colleges college Id groups bad request response has a 4xx status code
func (*GetCollegesCollegeIDGroupsBadRequest) IsCode ¶
func (o *GetCollegesCollegeIDGroupsBadRequest) IsCode(code int) bool
IsCode returns true when this get colleges college Id groups bad request response a status code equal to that given
func (*GetCollegesCollegeIDGroupsBadRequest) IsRedirect ¶
func (o *GetCollegesCollegeIDGroupsBadRequest) IsRedirect() bool
IsRedirect returns true when this get colleges college Id groups bad request response has a 3xx status code
func (*GetCollegesCollegeIDGroupsBadRequest) IsServerError ¶
func (o *GetCollegesCollegeIDGroupsBadRequest) IsServerError() bool
IsServerError returns true when this get colleges college Id groups bad request response has a 5xx status code
func (*GetCollegesCollegeIDGroupsBadRequest) IsSuccess ¶
func (o *GetCollegesCollegeIDGroupsBadRequest) IsSuccess() bool
IsSuccess returns true when this get colleges college Id groups bad request response has a 2xx status code
func (*GetCollegesCollegeIDGroupsBadRequest) String ¶
func (o *GetCollegesCollegeIDGroupsBadRequest) String() string
type GetCollegesCollegeIDGroupsInternalServerError ¶
type GetCollegesCollegeIDGroupsInternalServerError struct {
Payload *models.DtoErrorResponse
}
GetCollegesCollegeIDGroupsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetCollegesCollegeIDGroupsInternalServerError ¶
func NewGetCollegesCollegeIDGroupsInternalServerError() *GetCollegesCollegeIDGroupsInternalServerError
NewGetCollegesCollegeIDGroupsInternalServerError creates a GetCollegesCollegeIDGroupsInternalServerError with default headers values
func (*GetCollegesCollegeIDGroupsInternalServerError) Code ¶
func (o *GetCollegesCollegeIDGroupsInternalServerError) Code() int
Code gets the status code for the get colleges college Id groups internal server error response
func (*GetCollegesCollegeIDGroupsInternalServerError) Error ¶
func (o *GetCollegesCollegeIDGroupsInternalServerError) Error() string
func (*GetCollegesCollegeIDGroupsInternalServerError) GetPayload ¶
func (o *GetCollegesCollegeIDGroupsInternalServerError) GetPayload() *models.DtoErrorResponse
func (*GetCollegesCollegeIDGroupsInternalServerError) IsClientError ¶
func (o *GetCollegesCollegeIDGroupsInternalServerError) IsClientError() bool
IsClientError returns true when this get colleges college Id groups internal server error response has a 4xx status code
func (*GetCollegesCollegeIDGroupsInternalServerError) IsCode ¶
func (o *GetCollegesCollegeIDGroupsInternalServerError) IsCode(code int) bool
IsCode returns true when this get colleges college Id groups internal server error response a status code equal to that given
func (*GetCollegesCollegeIDGroupsInternalServerError) IsRedirect ¶
func (o *GetCollegesCollegeIDGroupsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get colleges college Id groups internal server error response has a 3xx status code
func (*GetCollegesCollegeIDGroupsInternalServerError) IsServerError ¶
func (o *GetCollegesCollegeIDGroupsInternalServerError) IsServerError() bool
IsServerError returns true when this get colleges college Id groups internal server error response has a 5xx status code
func (*GetCollegesCollegeIDGroupsInternalServerError) IsSuccess ¶
func (o *GetCollegesCollegeIDGroupsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get colleges college Id groups internal server error response has a 2xx status code
func (*GetCollegesCollegeIDGroupsInternalServerError) String ¶
func (o *GetCollegesCollegeIDGroupsInternalServerError) String() string
type GetCollegesCollegeIDGroupsNotFound ¶
type GetCollegesCollegeIDGroupsNotFound struct {
Payload *models.DtoErrorResponse
}
GetCollegesCollegeIDGroupsNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetCollegesCollegeIDGroupsNotFound ¶
func NewGetCollegesCollegeIDGroupsNotFound() *GetCollegesCollegeIDGroupsNotFound
NewGetCollegesCollegeIDGroupsNotFound creates a GetCollegesCollegeIDGroupsNotFound with default headers values
func (*GetCollegesCollegeIDGroupsNotFound) Code ¶
func (o *GetCollegesCollegeIDGroupsNotFound) Code() int
Code gets the status code for the get colleges college Id groups not found response
func (*GetCollegesCollegeIDGroupsNotFound) Error ¶
func (o *GetCollegesCollegeIDGroupsNotFound) Error() string
func (*GetCollegesCollegeIDGroupsNotFound) GetPayload ¶
func (o *GetCollegesCollegeIDGroupsNotFound) GetPayload() *models.DtoErrorResponse
func (*GetCollegesCollegeIDGroupsNotFound) IsClientError ¶
func (o *GetCollegesCollegeIDGroupsNotFound) IsClientError() bool
IsClientError returns true when this get colleges college Id groups not found response has a 4xx status code
func (*GetCollegesCollegeIDGroupsNotFound) IsCode ¶
func (o *GetCollegesCollegeIDGroupsNotFound) IsCode(code int) bool
IsCode returns true when this get colleges college Id groups not found response a status code equal to that given
func (*GetCollegesCollegeIDGroupsNotFound) IsRedirect ¶
func (o *GetCollegesCollegeIDGroupsNotFound) IsRedirect() bool
IsRedirect returns true when this get colleges college Id groups not found response has a 3xx status code
func (*GetCollegesCollegeIDGroupsNotFound) IsServerError ¶
func (o *GetCollegesCollegeIDGroupsNotFound) IsServerError() bool
IsServerError returns true when this get colleges college Id groups not found response has a 5xx status code
func (*GetCollegesCollegeIDGroupsNotFound) IsSuccess ¶
func (o *GetCollegesCollegeIDGroupsNotFound) IsSuccess() bool
IsSuccess returns true when this get colleges college Id groups not found response has a 2xx status code
func (*GetCollegesCollegeIDGroupsNotFound) String ¶
func (o *GetCollegesCollegeIDGroupsNotFound) String() string
type GetCollegesCollegeIDGroupsOK ¶
type GetCollegesCollegeIDGroupsOK struct {
Payload []*models.DtoStudentGroupResponse
}
GetCollegesCollegeIDGroupsOK describes a response with status code 200, with default header values.
OK
func NewGetCollegesCollegeIDGroupsOK ¶
func NewGetCollegesCollegeIDGroupsOK() *GetCollegesCollegeIDGroupsOK
NewGetCollegesCollegeIDGroupsOK creates a GetCollegesCollegeIDGroupsOK with default headers values
func (*GetCollegesCollegeIDGroupsOK) Code ¶
func (o *GetCollegesCollegeIDGroupsOK) Code() int
Code gets the status code for the get colleges college Id groups o k response
func (*GetCollegesCollegeIDGroupsOK) Error ¶
func (o *GetCollegesCollegeIDGroupsOK) Error() string
func (*GetCollegesCollegeIDGroupsOK) GetPayload ¶
func (o *GetCollegesCollegeIDGroupsOK) GetPayload() []*models.DtoStudentGroupResponse
func (*GetCollegesCollegeIDGroupsOK) IsClientError ¶
func (o *GetCollegesCollegeIDGroupsOK) IsClientError() bool
IsClientError returns true when this get colleges college Id groups o k response has a 4xx status code
func (*GetCollegesCollegeIDGroupsOK) IsCode ¶
func (o *GetCollegesCollegeIDGroupsOK) IsCode(code int) bool
IsCode returns true when this get colleges college Id groups o k response a status code equal to that given
func (*GetCollegesCollegeIDGroupsOK) IsRedirect ¶
func (o *GetCollegesCollegeIDGroupsOK) IsRedirect() bool
IsRedirect returns true when this get colleges college Id groups o k response has a 3xx status code
func (*GetCollegesCollegeIDGroupsOK) IsServerError ¶
func (o *GetCollegesCollegeIDGroupsOK) IsServerError() bool
IsServerError returns true when this get colleges college Id groups o k response has a 5xx status code
func (*GetCollegesCollegeIDGroupsOK) IsSuccess ¶
func (o *GetCollegesCollegeIDGroupsOK) IsSuccess() bool
IsSuccess returns true when this get colleges college Id groups o k response has a 2xx status code
func (*GetCollegesCollegeIDGroupsOK) String ¶
func (o *GetCollegesCollegeIDGroupsOK) String() string
type GetCollegesCollegeIDGroupsParams ¶
type GetCollegesCollegeIDGroupsParams struct {
// CollegeID.
//
// College ID
CollegeID int64
// Name.
//
// Group name
Name *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetCollegesCollegeIDGroupsParams contains all the parameters to send to the API endpoint
for the get colleges college ID groups operation. Typically these are written to a http.Request.
func NewGetCollegesCollegeIDGroupsParams ¶
func NewGetCollegesCollegeIDGroupsParams() *GetCollegesCollegeIDGroupsParams
NewGetCollegesCollegeIDGroupsParams creates a new GetCollegesCollegeIDGroupsParams 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 NewGetCollegesCollegeIDGroupsParamsWithContext
deprecated
func NewGetCollegesCollegeIDGroupsParamsWithContext(ctx context.Context) *GetCollegesCollegeIDGroupsParams
NewGetCollegesCollegeIDGroupsParamsWithContext creates a new GetCollegesCollegeIDGroupsParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetCollegesCollegeIDGroupsParams.
func NewGetCollegesCollegeIDGroupsParamsWithHTTPClient ¶
func NewGetCollegesCollegeIDGroupsParamsWithHTTPClient(client *http.Client) *GetCollegesCollegeIDGroupsParams
NewGetCollegesCollegeIDGroupsParamsWithHTTPClient creates a new GetCollegesCollegeIDGroupsParams object with the ability to set a custom HTTPClient for a request.
func NewGetCollegesCollegeIDGroupsParamsWithTimeout ¶
func NewGetCollegesCollegeIDGroupsParamsWithTimeout(timeout time.Duration) *GetCollegesCollegeIDGroupsParams
NewGetCollegesCollegeIDGroupsParamsWithTimeout creates a new GetCollegesCollegeIDGroupsParams object with the ability to set a timeout on a request.
func (*GetCollegesCollegeIDGroupsParams) SetCollegeID ¶
func (o *GetCollegesCollegeIDGroupsParams) SetCollegeID(collegeID int64)
SetCollegeID adds the collegeId to the get colleges college ID groups params.
func (*GetCollegesCollegeIDGroupsParams) SetContext
deprecated
func (o *GetCollegesCollegeIDGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the get colleges college ID groups params.
Deprecated: use the operation call with context to pass the context instead of GetCollegesCollegeIDGroupsParams.
func (*GetCollegesCollegeIDGroupsParams) SetDefaults ¶
func (o *GetCollegesCollegeIDGroupsParams) SetDefaults()
SetDefaults hydrates default values in the get colleges college ID groups params (not the query body).
All values with no default are reset to their zero value.
func (*GetCollegesCollegeIDGroupsParams) SetHTTPClient ¶
func (o *GetCollegesCollegeIDGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get colleges college ID groups params.
func (*GetCollegesCollegeIDGroupsParams) SetName ¶
func (o *GetCollegesCollegeIDGroupsParams) SetName(name *string)
SetName adds the name to the get colleges college ID groups params.
func (*GetCollegesCollegeIDGroupsParams) SetTimeout ¶
func (o *GetCollegesCollegeIDGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get colleges college ID groups params.
func (*GetCollegesCollegeIDGroupsParams) WithCollegeID ¶
func (o *GetCollegesCollegeIDGroupsParams) WithCollegeID(collegeID int64) *GetCollegesCollegeIDGroupsParams
WithCollegeID adds the collegeID to the get colleges college ID groups params.
func (*GetCollegesCollegeIDGroupsParams) WithContext
deprecated
func (o *GetCollegesCollegeIDGroupsParams) WithContext(ctx context.Context) *GetCollegesCollegeIDGroupsParams
WithContext adds the context to the get colleges college ID groups params.
Deprecated: use the operation call with context to pass the context instead of GetCollegesCollegeIDGroupsParams.
func (*GetCollegesCollegeIDGroupsParams) WithDefaults ¶
func (o *GetCollegesCollegeIDGroupsParams) WithDefaults() *GetCollegesCollegeIDGroupsParams
WithDefaults hydrates default values in the get colleges college ID groups params (not the query body).
All values with no default are reset to their zero value.
func (*GetCollegesCollegeIDGroupsParams) WithHTTPClient ¶
func (o *GetCollegesCollegeIDGroupsParams) WithHTTPClient(client *http.Client) *GetCollegesCollegeIDGroupsParams
WithHTTPClient adds the HTTPClient to the get colleges college ID groups params.
func (*GetCollegesCollegeIDGroupsParams) WithName ¶
func (o *GetCollegesCollegeIDGroupsParams) WithName(name *string) *GetCollegesCollegeIDGroupsParams
WithName adds the name to the get colleges college ID groups params.
func (*GetCollegesCollegeIDGroupsParams) WithTimeout ¶
func (o *GetCollegesCollegeIDGroupsParams) WithTimeout(timeout time.Duration) *GetCollegesCollegeIDGroupsParams
WithTimeout adds the timeout to the get colleges college ID groups params.
func (*GetCollegesCollegeIDGroupsParams) WriteToRequest ¶
func (o *GetCollegesCollegeIDGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetCollegesCollegeIDGroupsReader ¶
type GetCollegesCollegeIDGroupsReader struct {
// contains filtered or unexported fields
}
GetCollegesCollegeIDGroupsReader is a Reader for the GetCollegesCollegeIDGroups structure.
func (*GetCollegesCollegeIDGroupsReader) ReadResponse ¶
func (o *GetCollegesCollegeIDGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetGroupsIDBadRequest ¶
type GetGroupsIDBadRequest struct {
Payload *models.DtoErrorResponse
}
GetGroupsIDBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetGroupsIDBadRequest ¶
func NewGetGroupsIDBadRequest() *GetGroupsIDBadRequest
NewGetGroupsIDBadRequest creates a GetGroupsIDBadRequest with default headers values
func (*GetGroupsIDBadRequest) Code ¶
func (o *GetGroupsIDBadRequest) Code() int
Code gets the status code for the get groups Id bad request response
func (*GetGroupsIDBadRequest) Error ¶
func (o *GetGroupsIDBadRequest) Error() string
func (*GetGroupsIDBadRequest) GetPayload ¶
func (o *GetGroupsIDBadRequest) GetPayload() *models.DtoErrorResponse
func (*GetGroupsIDBadRequest) IsClientError ¶
func (o *GetGroupsIDBadRequest) IsClientError() bool
IsClientError returns true when this get groups Id bad request response has a 4xx status code
func (*GetGroupsIDBadRequest) IsCode ¶
func (o *GetGroupsIDBadRequest) IsCode(code int) bool
IsCode returns true when this get groups Id bad request response a status code equal to that given
func (*GetGroupsIDBadRequest) IsRedirect ¶
func (o *GetGroupsIDBadRequest) IsRedirect() bool
IsRedirect returns true when this get groups Id bad request response has a 3xx status code
func (*GetGroupsIDBadRequest) IsServerError ¶
func (o *GetGroupsIDBadRequest) IsServerError() bool
IsServerError returns true when this get groups Id bad request response has a 5xx status code
func (*GetGroupsIDBadRequest) IsSuccess ¶
func (o *GetGroupsIDBadRequest) IsSuccess() bool
IsSuccess returns true when this get groups Id bad request response has a 2xx status code
func (*GetGroupsIDBadRequest) String ¶
func (o *GetGroupsIDBadRequest) String() string
type GetGroupsIDInternalServerError ¶
type GetGroupsIDInternalServerError struct {
Payload *models.DtoErrorResponse
}
GetGroupsIDInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetGroupsIDInternalServerError ¶
func NewGetGroupsIDInternalServerError() *GetGroupsIDInternalServerError
NewGetGroupsIDInternalServerError creates a GetGroupsIDInternalServerError with default headers values
func (*GetGroupsIDInternalServerError) Code ¶
func (o *GetGroupsIDInternalServerError) Code() int
Code gets the status code for the get groups Id internal server error response
func (*GetGroupsIDInternalServerError) Error ¶
func (o *GetGroupsIDInternalServerError) Error() string
func (*GetGroupsIDInternalServerError) GetPayload ¶
func (o *GetGroupsIDInternalServerError) GetPayload() *models.DtoErrorResponse
func (*GetGroupsIDInternalServerError) IsClientError ¶
func (o *GetGroupsIDInternalServerError) IsClientError() bool
IsClientError returns true when this get groups Id internal server error response has a 4xx status code
func (*GetGroupsIDInternalServerError) IsCode ¶
func (o *GetGroupsIDInternalServerError) IsCode(code int) bool
IsCode returns true when this get groups Id internal server error response a status code equal to that given
func (*GetGroupsIDInternalServerError) IsRedirect ¶
func (o *GetGroupsIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this get groups Id internal server error response has a 3xx status code
func (*GetGroupsIDInternalServerError) IsServerError ¶
func (o *GetGroupsIDInternalServerError) IsServerError() bool
IsServerError returns true when this get groups Id internal server error response has a 5xx status code
func (*GetGroupsIDInternalServerError) IsSuccess ¶
func (o *GetGroupsIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this get groups Id internal server error response has a 2xx status code
func (*GetGroupsIDInternalServerError) String ¶
func (o *GetGroupsIDInternalServerError) String() string
type GetGroupsIDNotFound ¶
type GetGroupsIDNotFound struct {
Payload *models.DtoErrorResponse
}
GetGroupsIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetGroupsIDNotFound ¶
func NewGetGroupsIDNotFound() *GetGroupsIDNotFound
NewGetGroupsIDNotFound creates a GetGroupsIDNotFound with default headers values
func (*GetGroupsIDNotFound) Code ¶
func (o *GetGroupsIDNotFound) Code() int
Code gets the status code for the get groups Id not found response
func (*GetGroupsIDNotFound) Error ¶
func (o *GetGroupsIDNotFound) Error() string
func (*GetGroupsIDNotFound) GetPayload ¶
func (o *GetGroupsIDNotFound) GetPayload() *models.DtoErrorResponse
func (*GetGroupsIDNotFound) IsClientError ¶
func (o *GetGroupsIDNotFound) IsClientError() bool
IsClientError returns true when this get groups Id not found response has a 4xx status code
func (*GetGroupsIDNotFound) IsCode ¶
func (o *GetGroupsIDNotFound) IsCode(code int) bool
IsCode returns true when this get groups Id not found response a status code equal to that given
func (*GetGroupsIDNotFound) IsRedirect ¶
func (o *GetGroupsIDNotFound) IsRedirect() bool
IsRedirect returns true when this get groups Id not found response has a 3xx status code
func (*GetGroupsIDNotFound) IsServerError ¶
func (o *GetGroupsIDNotFound) IsServerError() bool
IsServerError returns true when this get groups Id not found response has a 5xx status code
func (*GetGroupsIDNotFound) IsSuccess ¶
func (o *GetGroupsIDNotFound) IsSuccess() bool
IsSuccess returns true when this get groups Id not found response has a 2xx status code
func (*GetGroupsIDNotFound) String ¶
func (o *GetGroupsIDNotFound) String() string
type GetGroupsIDOK ¶
type GetGroupsIDOK struct {
Payload *models.DtoStudentGroupResponse
}
GetGroupsIDOK describes a response with status code 200, with default header values.
OK
func NewGetGroupsIDOK ¶
func NewGetGroupsIDOK() *GetGroupsIDOK
NewGetGroupsIDOK creates a GetGroupsIDOK with default headers values
func (*GetGroupsIDOK) Code ¶
func (o *GetGroupsIDOK) Code() int
Code gets the status code for the get groups Id o k response
func (*GetGroupsIDOK) Error ¶
func (o *GetGroupsIDOK) Error() string
func (*GetGroupsIDOK) GetPayload ¶
func (o *GetGroupsIDOK) GetPayload() *models.DtoStudentGroupResponse
func (*GetGroupsIDOK) IsClientError ¶
func (o *GetGroupsIDOK) IsClientError() bool
IsClientError returns true when this get groups Id o k response has a 4xx status code
func (*GetGroupsIDOK) IsCode ¶
func (o *GetGroupsIDOK) IsCode(code int) bool
IsCode returns true when this get groups Id o k response a status code equal to that given
func (*GetGroupsIDOK) IsRedirect ¶
func (o *GetGroupsIDOK) IsRedirect() bool
IsRedirect returns true when this get groups Id o k response has a 3xx status code
func (*GetGroupsIDOK) IsServerError ¶
func (o *GetGroupsIDOK) IsServerError() bool
IsServerError returns true when this get groups Id o k response has a 5xx status code
func (*GetGroupsIDOK) IsSuccess ¶
func (o *GetGroupsIDOK) IsSuccess() bool
IsSuccess returns true when this get groups Id o k response has a 2xx status code
func (*GetGroupsIDOK) String ¶
func (o *GetGroupsIDOK) String() string
type GetGroupsIDParams ¶
type GetGroupsIDParams struct {
// ID.
//
// Group ID
ID int64
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetGroupsIDParams contains all the parameters to send to the API endpoint
for the get groups ID operation. Typically these are written to a http.Request.
func NewGetGroupsIDParams ¶
func NewGetGroupsIDParams() *GetGroupsIDParams
NewGetGroupsIDParams creates a new GetGroupsIDParams 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 NewGetGroupsIDParamsWithContext
deprecated
func NewGetGroupsIDParamsWithContext(ctx context.Context) *GetGroupsIDParams
NewGetGroupsIDParamsWithContext creates a new GetGroupsIDParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetGroupsIDParams.
func NewGetGroupsIDParamsWithHTTPClient ¶
func NewGetGroupsIDParamsWithHTTPClient(client *http.Client) *GetGroupsIDParams
NewGetGroupsIDParamsWithHTTPClient creates a new GetGroupsIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetGroupsIDParamsWithTimeout ¶
func NewGetGroupsIDParamsWithTimeout(timeout time.Duration) *GetGroupsIDParams
NewGetGroupsIDParamsWithTimeout creates a new GetGroupsIDParams object with the ability to set a timeout on a request.
func (*GetGroupsIDParams) SetContext
deprecated
func (o *GetGroupsIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get groups ID params.
Deprecated: use the operation call with context to pass the context instead of GetGroupsIDParams.
func (*GetGroupsIDParams) SetDefaults ¶
func (o *GetGroupsIDParams) SetDefaults()
SetDefaults hydrates default values in the get groups ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetGroupsIDParams) SetHTTPClient ¶
func (o *GetGroupsIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get groups ID params.
func (*GetGroupsIDParams) SetID ¶
func (o *GetGroupsIDParams) SetID(id int64)
SetID adds the id to the get groups ID params.
func (*GetGroupsIDParams) SetTimeout ¶
func (o *GetGroupsIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get groups ID params.
func (*GetGroupsIDParams) WithContext
deprecated
func (o *GetGroupsIDParams) WithContext(ctx context.Context) *GetGroupsIDParams
WithContext adds the context to the get groups ID params.
Deprecated: use the operation call with context to pass the context instead of GetGroupsIDParams.
func (*GetGroupsIDParams) WithDefaults ¶
func (o *GetGroupsIDParams) WithDefaults() *GetGroupsIDParams
WithDefaults hydrates default values in the get groups ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetGroupsIDParams) WithHTTPClient ¶
func (o *GetGroupsIDParams) WithHTTPClient(client *http.Client) *GetGroupsIDParams
WithHTTPClient adds the HTTPClient to the get groups ID params.
func (*GetGroupsIDParams) WithID ¶
func (o *GetGroupsIDParams) WithID(id int64) *GetGroupsIDParams
WithID adds the id to the get groups ID params.
func (*GetGroupsIDParams) WithTimeout ¶
func (o *GetGroupsIDParams) WithTimeout(timeout time.Duration) *GetGroupsIDParams
WithTimeout adds the timeout to the get groups ID params.
func (*GetGroupsIDParams) WriteToRequest ¶
func (o *GetGroupsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetGroupsIDReader ¶
type GetGroupsIDReader struct {
// contains filtered or unexported fields
}
GetGroupsIDReader is a Reader for the GetGroupsID structure.
func (*GetGroupsIDReader) ReadResponse ¶
func (o *GetGroupsIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.