Documentation
¶
Index ¶
- type Client
- func (a *Client) GetParser(params *GetParserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetParserOK, error)
- func (a *Client) GetParserContext(ctx context.Context, params *GetParserParams, ...) (*GetParserOK, error)
- func (a *Client) PostParserCalls(params *PostParserCallsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostParserCallsNoContent, error)
- func (a *Client) PostParserCallsContext(ctx context.Context, params *PostParserCallsParams, ...) (*PostParserCallsNoContent, error)
- func (a *Client) PostParserGroups(params *PostParserGroupsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostParserGroupsNoContent, error)
- func (a *Client) PostParserGroupsContext(ctx context.Context, params *PostParserGroupsParams, ...) (*PostParserGroupsNoContent, error)
- func (a *Client) PostParserLessons(params *PostParserLessonsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostParserLessonsNoContent, error)
- func (a *Client) PostParserLessonsContext(ctx context.Context, params *PostParserLessonsParams, ...) (*PostParserLessonsNoContent, error)
- func (a *Client) SetTransport(transport runtime.ContextualTransport)
- type ClientOption
- type ClientService
- type GetParserInternalServerError
- func (o *GetParserInternalServerError) Code() int
- func (o *GetParserInternalServerError) Error() string
- func (o *GetParserInternalServerError) GetPayload() *models.DtoErrorResponse
- func (o *GetParserInternalServerError) IsClientError() bool
- func (o *GetParserInternalServerError) IsCode(code int) bool
- func (o *GetParserInternalServerError) IsRedirect() bool
- func (o *GetParserInternalServerError) IsServerError() bool
- func (o *GetParserInternalServerError) IsSuccess() bool
- func (o *GetParserInternalServerError) String() string
- type GetParserOK
- func (o *GetParserOK) Code() int
- func (o *GetParserOK) Error() string
- func (o *GetParserOK) GetPayload() *models.DtoGetParserResponse
- func (o *GetParserOK) IsClientError() bool
- func (o *GetParserOK) IsCode(code int) bool
- func (o *GetParserOK) IsRedirect() bool
- func (o *GetParserOK) IsServerError() bool
- func (o *GetParserOK) IsSuccess() bool
- func (o *GetParserOK) String() string
- type GetParserParams
- func (o *GetParserParams) SetContext(ctx context.Context)deprecated
- func (o *GetParserParams) SetDefaults()
- func (o *GetParserParams) SetHTTPClient(client *http.Client)
- func (o *GetParserParams) SetTimeout(timeout time.Duration)
- func (o *GetParserParams) WithContext(ctx context.Context) *GetParserParamsdeprecated
- func (o *GetParserParams) WithDefaults() *GetParserParams
- func (o *GetParserParams) WithHTTPClient(client *http.Client) *GetParserParams
- func (o *GetParserParams) WithTimeout(timeout time.Duration) *GetParserParams
- func (o *GetParserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetParserReader
- type GetParserUnauthorized
- func (o *GetParserUnauthorized) Code() int
- func (o *GetParserUnauthorized) Error() string
- func (o *GetParserUnauthorized) GetPayload() *models.DtoErrorResponse
- func (o *GetParserUnauthorized) IsClientError() bool
- func (o *GetParserUnauthorized) IsCode(code int) bool
- func (o *GetParserUnauthorized) IsRedirect() bool
- func (o *GetParserUnauthorized) IsServerError() bool
- func (o *GetParserUnauthorized) IsSuccess() bool
- func (o *GetParserUnauthorized) String() string
- type PostParserCallsBadRequest
- func (o *PostParserCallsBadRequest) Code() int
- func (o *PostParserCallsBadRequest) Error() string
- func (o *PostParserCallsBadRequest) GetPayload() *models.DtoErrorResponse
- func (o *PostParserCallsBadRequest) IsClientError() bool
- func (o *PostParserCallsBadRequest) IsCode(code int) bool
- func (o *PostParserCallsBadRequest) IsRedirect() bool
- func (o *PostParserCallsBadRequest) IsServerError() bool
- func (o *PostParserCallsBadRequest) IsSuccess() bool
- func (o *PostParserCallsBadRequest) String() string
- type PostParserCallsInternalServerError
- func (o *PostParserCallsInternalServerError) Code() int
- func (o *PostParserCallsInternalServerError) Error() string
- func (o *PostParserCallsInternalServerError) GetPayload() *models.DtoErrorResponse
- func (o *PostParserCallsInternalServerError) IsClientError() bool
- func (o *PostParserCallsInternalServerError) IsCode(code int) bool
- func (o *PostParserCallsInternalServerError) IsRedirect() bool
- func (o *PostParserCallsInternalServerError) IsServerError() bool
- func (o *PostParserCallsInternalServerError) IsSuccess() bool
- func (o *PostParserCallsInternalServerError) String() string
- type PostParserCallsNoContent
- func (o *PostParserCallsNoContent) Code() int
- func (o *PostParserCallsNoContent) Error() string
- func (o *PostParserCallsNoContent) IsClientError() bool
- func (o *PostParserCallsNoContent) IsCode(code int) bool
- func (o *PostParserCallsNoContent) IsRedirect() bool
- func (o *PostParserCallsNoContent) IsServerError() bool
- func (o *PostParserCallsNoContent) IsSuccess() bool
- func (o *PostParserCallsNoContent) String() string
- type PostParserCallsParams
- func NewPostParserCallsParams() *PostParserCallsParams
- func NewPostParserCallsParamsWithContext(ctx context.Context) *PostParserCallsParamsdeprecated
- func NewPostParserCallsParamsWithHTTPClient(client *http.Client) *PostParserCallsParams
- func NewPostParserCallsParamsWithTimeout(timeout time.Duration) *PostParserCallsParams
- func (o *PostParserCallsParams) SetCalls(calls []models.DtoCall)
- func (o *PostParserCallsParams) SetContext(ctx context.Context)deprecated
- func (o *PostParserCallsParams) SetDefaults()
- func (o *PostParserCallsParams) SetHTTPClient(client *http.Client)
- func (o *PostParserCallsParams) SetTimeout(timeout time.Duration)
- func (o *PostParserCallsParams) WithCalls(calls []models.DtoCall) *PostParserCallsParams
- func (o *PostParserCallsParams) WithContext(ctx context.Context) *PostParserCallsParamsdeprecated
- func (o *PostParserCallsParams) WithDefaults() *PostParserCallsParams
- func (o *PostParserCallsParams) WithHTTPClient(client *http.Client) *PostParserCallsParams
- func (o *PostParserCallsParams) WithTimeout(timeout time.Duration) *PostParserCallsParams
- func (o *PostParserCallsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostParserCallsReader
- type PostParserCallsUnauthorized
- func (o *PostParserCallsUnauthorized) Code() int
- func (o *PostParserCallsUnauthorized) Error() string
- func (o *PostParserCallsUnauthorized) GetPayload() *models.DtoErrorResponse
- func (o *PostParserCallsUnauthorized) IsClientError() bool
- func (o *PostParserCallsUnauthorized) IsCode(code int) bool
- func (o *PostParserCallsUnauthorized) IsRedirect() bool
- func (o *PostParserCallsUnauthorized) IsServerError() bool
- func (o *PostParserCallsUnauthorized) IsSuccess() bool
- func (o *PostParserCallsUnauthorized) String() string
- type PostParserGroupsBadRequest
- func (o *PostParserGroupsBadRequest) Code() int
- func (o *PostParserGroupsBadRequest) Error() string
- func (o *PostParserGroupsBadRequest) GetPayload() *models.DtoErrorResponse
- func (o *PostParserGroupsBadRequest) IsClientError() bool
- func (o *PostParserGroupsBadRequest) IsCode(code int) bool
- func (o *PostParserGroupsBadRequest) IsRedirect() bool
- func (o *PostParserGroupsBadRequest) IsServerError() bool
- func (o *PostParserGroupsBadRequest) IsSuccess() bool
- func (o *PostParserGroupsBadRequest) String() string
- type PostParserGroupsInternalServerError
- func (o *PostParserGroupsInternalServerError) Code() int
- func (o *PostParserGroupsInternalServerError) Error() string
- func (o *PostParserGroupsInternalServerError) GetPayload() *models.DtoErrorResponse
- func (o *PostParserGroupsInternalServerError) IsClientError() bool
- func (o *PostParserGroupsInternalServerError) IsCode(code int) bool
- func (o *PostParserGroupsInternalServerError) IsRedirect() bool
- func (o *PostParserGroupsInternalServerError) IsServerError() bool
- func (o *PostParserGroupsInternalServerError) IsSuccess() bool
- func (o *PostParserGroupsInternalServerError) String() string
- type PostParserGroupsNoContent
- func (o *PostParserGroupsNoContent) Code() int
- func (o *PostParserGroupsNoContent) Error() string
- func (o *PostParserGroupsNoContent) IsClientError() bool
- func (o *PostParserGroupsNoContent) IsCode(code int) bool
- func (o *PostParserGroupsNoContent) IsRedirect() bool
- func (o *PostParserGroupsNoContent) IsServerError() bool
- func (o *PostParserGroupsNoContent) IsSuccess() bool
- func (o *PostParserGroupsNoContent) String() string
- type PostParserGroupsParams
- func NewPostParserGroupsParams() *PostParserGroupsParams
- func NewPostParserGroupsParamsWithContext(ctx context.Context) *PostParserGroupsParamsdeprecated
- func NewPostParserGroupsParamsWithHTTPClient(client *http.Client) *PostParserGroupsParams
- func NewPostParserGroupsParamsWithTimeout(timeout time.Duration) *PostParserGroupsParams
- func (o *PostParserGroupsParams) SetContext(ctx context.Context)deprecated
- func (o *PostParserGroupsParams) SetDefaults()
- func (o *PostParserGroupsParams) SetHTTPClient(client *http.Client)
- func (o *PostParserGroupsParams) SetTimeout(timeout time.Duration)
- func (o *PostParserGroupsParams) SetUpdateGroupsRequest(updateGroupsRequest *models.DtoUpdateGroupsRequest)
- func (o *PostParserGroupsParams) WithContext(ctx context.Context) *PostParserGroupsParamsdeprecated
- func (o *PostParserGroupsParams) WithDefaults() *PostParserGroupsParams
- func (o *PostParserGroupsParams) WithHTTPClient(client *http.Client) *PostParserGroupsParams
- func (o *PostParserGroupsParams) WithTimeout(timeout time.Duration) *PostParserGroupsParams
- func (o *PostParserGroupsParams) WithUpdateGroupsRequest(updateGroupsRequest *models.DtoUpdateGroupsRequest) *PostParserGroupsParams
- func (o *PostParserGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostParserGroupsReader
- type PostParserGroupsUnauthorized
- func (o *PostParserGroupsUnauthorized) Code() int
- func (o *PostParserGroupsUnauthorized) Error() string
- func (o *PostParserGroupsUnauthorized) GetPayload() *models.DtoErrorResponse
- func (o *PostParserGroupsUnauthorized) IsClientError() bool
- func (o *PostParserGroupsUnauthorized) IsCode(code int) bool
- func (o *PostParserGroupsUnauthorized) IsRedirect() bool
- func (o *PostParserGroupsUnauthorized) IsServerError() bool
- func (o *PostParserGroupsUnauthorized) IsSuccess() bool
- func (o *PostParserGroupsUnauthorized) String() string
- type PostParserLessonsBadRequest
- func (o *PostParserLessonsBadRequest) Code() int
- func (o *PostParserLessonsBadRequest) Error() string
- func (o *PostParserLessonsBadRequest) GetPayload() *models.DtoErrorResponse
- func (o *PostParserLessonsBadRequest) IsClientError() bool
- func (o *PostParserLessonsBadRequest) IsCode(code int) bool
- func (o *PostParserLessonsBadRequest) IsRedirect() bool
- func (o *PostParserLessonsBadRequest) IsServerError() bool
- func (o *PostParserLessonsBadRequest) IsSuccess() bool
- func (o *PostParserLessonsBadRequest) String() string
- type PostParserLessonsInternalServerError
- func (o *PostParserLessonsInternalServerError) Code() int
- func (o *PostParserLessonsInternalServerError) Error() string
- func (o *PostParserLessonsInternalServerError) GetPayload() *models.DtoErrorResponse
- func (o *PostParserLessonsInternalServerError) IsClientError() bool
- func (o *PostParserLessonsInternalServerError) IsCode(code int) bool
- func (o *PostParserLessonsInternalServerError) IsRedirect() bool
- func (o *PostParserLessonsInternalServerError) IsServerError() bool
- func (o *PostParserLessonsInternalServerError) IsSuccess() bool
- func (o *PostParserLessonsInternalServerError) String() string
- type PostParserLessonsNoContent
- func (o *PostParserLessonsNoContent) Code() int
- func (o *PostParserLessonsNoContent) Error() string
- func (o *PostParserLessonsNoContent) IsClientError() bool
- func (o *PostParserLessonsNoContent) IsCode(code int) bool
- func (o *PostParserLessonsNoContent) IsRedirect() bool
- func (o *PostParserLessonsNoContent) IsServerError() bool
- func (o *PostParserLessonsNoContent) IsSuccess() bool
- func (o *PostParserLessonsNoContent) String() string
- type PostParserLessonsParams
- func NewPostParserLessonsParams() *PostParserLessonsParams
- func NewPostParserLessonsParamsWithContext(ctx context.Context) *PostParserLessonsParamsdeprecated
- func NewPostParserLessonsParamsWithHTTPClient(client *http.Client) *PostParserLessonsParams
- func NewPostParserLessonsParamsWithTimeout(timeout time.Duration) *PostParserLessonsParams
- func (o *PostParserLessonsParams) SetContext(ctx context.Context)deprecated
- func (o *PostParserLessonsParams) SetDefaults()
- func (o *PostParserLessonsParams) SetHTTPClient(client *http.Client)
- func (o *PostParserLessonsParams) SetLessons(lessons []*models.DtoLesson)
- func (o *PostParserLessonsParams) SetTimeout(timeout time.Duration)
- func (o *PostParserLessonsParams) WithContext(ctx context.Context) *PostParserLessonsParamsdeprecated
- func (o *PostParserLessonsParams) WithDefaults() *PostParserLessonsParams
- func (o *PostParserLessonsParams) WithHTTPClient(client *http.Client) *PostParserLessonsParams
- func (o *PostParserLessonsParams) WithLessons(lessons []*models.DtoLesson) *PostParserLessonsParams
- func (o *PostParserLessonsParams) WithTimeout(timeout time.Duration) *PostParserLessonsParams
- func (o *PostParserLessonsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostParserLessonsReader
- type PostParserLessonsUnauthorized
- func (o *PostParserLessonsUnauthorized) Code() int
- func (o *PostParserLessonsUnauthorized) Error() string
- func (o *PostParserLessonsUnauthorized) GetPayload() *models.DtoErrorResponse
- func (o *PostParserLessonsUnauthorized) IsClientError() bool
- func (o *PostParserLessonsUnauthorized) IsCode(code int) bool
- func (o *PostParserLessonsUnauthorized) IsRedirect() bool
- func (o *PostParserLessonsUnauthorized) IsServerError() bool
- func (o *PostParserLessonsUnauthorized) IsSuccess() bool
- func (o *PostParserLessonsUnauthorized) String() string
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 parser API.
func (*Client) GetParser ¶
func (a *Client) GetParser(params *GetParserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetParserOK, error)
GetParser gets parser information.
get information about the college associated with the parser token.
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.GetParserContext instead.
func (*Client) GetParserContext ¶
func (a *Client) GetParserContext(ctx context.Context, params *GetParserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetParserOK, error)
GetParserContext gets parser information.
get information about the college associated with the parser token.
Do not use the deprecated [GetParserParams.Context] with this method: it would be ignored.
func (*Client) PostParserCalls ¶
func (a *Client) PostParserCalls(params *PostParserCallsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostParserCallsNoContent, error)
PostParserCalls updates calls of parser college.
update calls of parser college.
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.PostParserCallsContext instead.
func (*Client) PostParserCallsContext ¶
func (a *Client) PostParserCallsContext(ctx context.Context, params *PostParserCallsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostParserCallsNoContent, error)
PostParserCallsContext updates calls of parser college.
update calls of parser college.
Do not use the deprecated [PostParserCallsParams.Context] with this method: it would be ignored.
func (*Client) PostParserGroups ¶
func (a *Client) PostParserGroups(params *PostParserGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostParserGroupsNoContent, error)
PostParserGroups updates groups of parser college.
update groups of parser college.
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.PostParserGroupsContext instead.
func (*Client) PostParserGroupsContext ¶
func (a *Client) PostParserGroupsContext(ctx context.Context, params *PostParserGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostParserGroupsNoContent, error)
PostParserGroupsContext updates groups of parser college.
update groups of parser college.
Do not use the deprecated [PostParserGroupsParams.Context] with this method: it would be ignored.
func (*Client) PostParserLessons ¶
func (a *Client) PostParserLessons(params *PostParserLessonsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostParserLessonsNoContent, error)
PostParserLessons adds lessons to parser college.
add lessons to parser college.
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.PostParserLessonsContext instead.
func (*Client) PostParserLessonsContext ¶
func (a *Client) PostParserLessonsContext(ctx context.Context, params *PostParserLessonsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostParserLessonsNoContent, error)
PostParserLessonsContext adds lessons to parser college.
add lessons to parser college.
Do not use the deprecated [PostParserLessonsParams.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 {
// GetParser get parser information.
GetParser(params *GetParserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetParserOK, error)
// GetParserContext get parser information.
GetParserContext(ctx context.Context, params *GetParserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetParserOK, error)
// PostParserCalls update calls of parser college.
PostParserCalls(params *PostParserCallsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostParserCallsNoContent, error)
// PostParserCallsContext update calls of parser college.
PostParserCallsContext(ctx context.Context, params *PostParserCallsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostParserCallsNoContent, error)
// PostParserGroups update groups of parser college.
PostParserGroups(params *PostParserGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostParserGroupsNoContent, error)
// PostParserGroupsContext update groups of parser college.
PostParserGroupsContext(ctx context.Context, params *PostParserGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostParserGroupsNoContent, error)
// PostParserLessons add lessons to parser college.
PostParserLessons(params *PostParserLessonsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostParserLessonsNoContent, error)
// PostParserLessonsContext add lessons to parser college.
PostParserLessonsContext(ctx context.Context, params *PostParserLessonsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostParserLessonsNoContent, 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 parser API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new parser 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 parser 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 GetParserInternalServerError ¶
type GetParserInternalServerError struct {
Payload *models.DtoErrorResponse
}
GetParserInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetParserInternalServerError ¶
func NewGetParserInternalServerError() *GetParserInternalServerError
NewGetParserInternalServerError creates a GetParserInternalServerError with default headers values
func (*GetParserInternalServerError) Code ¶
func (o *GetParserInternalServerError) Code() int
Code gets the status code for the get parser internal server error response
func (*GetParserInternalServerError) Error ¶
func (o *GetParserInternalServerError) Error() string
func (*GetParserInternalServerError) GetPayload ¶
func (o *GetParserInternalServerError) GetPayload() *models.DtoErrorResponse
func (*GetParserInternalServerError) IsClientError ¶
func (o *GetParserInternalServerError) IsClientError() bool
IsClientError returns true when this get parser internal server error response has a 4xx status code
func (*GetParserInternalServerError) IsCode ¶
func (o *GetParserInternalServerError) IsCode(code int) bool
IsCode returns true when this get parser internal server error response a status code equal to that given
func (*GetParserInternalServerError) IsRedirect ¶
func (o *GetParserInternalServerError) IsRedirect() bool
IsRedirect returns true when this get parser internal server error response has a 3xx status code
func (*GetParserInternalServerError) IsServerError ¶
func (o *GetParserInternalServerError) IsServerError() bool
IsServerError returns true when this get parser internal server error response has a 5xx status code
func (*GetParserInternalServerError) IsSuccess ¶
func (o *GetParserInternalServerError) IsSuccess() bool
IsSuccess returns true when this get parser internal server error response has a 2xx status code
func (*GetParserInternalServerError) String ¶
func (o *GetParserInternalServerError) String() string
type GetParserOK ¶
type GetParserOK struct {
Payload *models.DtoGetParserResponse
}
GetParserOK describes a response with status code 200, with default header values.
OK
func NewGetParserOK ¶
func NewGetParserOK() *GetParserOK
NewGetParserOK creates a GetParserOK with default headers values
func (*GetParserOK) Code ¶
func (o *GetParserOK) Code() int
Code gets the status code for the get parser o k response
func (*GetParserOK) Error ¶
func (o *GetParserOK) Error() string
func (*GetParserOK) GetPayload ¶
func (o *GetParserOK) GetPayload() *models.DtoGetParserResponse
func (*GetParserOK) IsClientError ¶
func (o *GetParserOK) IsClientError() bool
IsClientError returns true when this get parser o k response has a 4xx status code
func (*GetParserOK) IsCode ¶
func (o *GetParserOK) IsCode(code int) bool
IsCode returns true when this get parser o k response a status code equal to that given
func (*GetParserOK) IsRedirect ¶
func (o *GetParserOK) IsRedirect() bool
IsRedirect returns true when this get parser o k response has a 3xx status code
func (*GetParserOK) IsServerError ¶
func (o *GetParserOK) IsServerError() bool
IsServerError returns true when this get parser o k response has a 5xx status code
func (*GetParserOK) IsSuccess ¶
func (o *GetParserOK) IsSuccess() bool
IsSuccess returns true when this get parser o k response has a 2xx status code
func (*GetParserOK) String ¶
func (o *GetParserOK) String() string
type GetParserParams ¶
GetParserParams contains all the parameters to send to the API endpoint
for the get parser operation. Typically these are written to a http.Request.
func NewGetParserParams ¶
func NewGetParserParams() *GetParserParams
NewGetParserParams creates a new GetParserParams 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 NewGetParserParamsWithContext
deprecated
func NewGetParserParamsWithContext(ctx context.Context) *GetParserParams
NewGetParserParamsWithContext creates a new GetParserParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetParserParams.
func NewGetParserParamsWithHTTPClient ¶
func NewGetParserParamsWithHTTPClient(client *http.Client) *GetParserParams
NewGetParserParamsWithHTTPClient creates a new GetParserParams object with the ability to set a custom HTTPClient for a request.
func NewGetParserParamsWithTimeout ¶
func NewGetParserParamsWithTimeout(timeout time.Duration) *GetParserParams
NewGetParserParamsWithTimeout creates a new GetParserParams object with the ability to set a timeout on a request.
func (*GetParserParams) SetContext
deprecated
func (o *GetParserParams) SetContext(ctx context.Context)
SetContext adds the context to the get parser params.
Deprecated: use the operation call with context to pass the context instead of GetParserParams.
func (*GetParserParams) SetDefaults ¶
func (o *GetParserParams) SetDefaults()
SetDefaults hydrates default values in the get parser params (not the query body).
All values with no default are reset to their zero value.
func (*GetParserParams) SetHTTPClient ¶
func (o *GetParserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get parser params.
func (*GetParserParams) SetTimeout ¶
func (o *GetParserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get parser params.
func (*GetParserParams) WithContext
deprecated
func (o *GetParserParams) WithContext(ctx context.Context) *GetParserParams
WithContext adds the context to the get parser params.
Deprecated: use the operation call with context to pass the context instead of GetParserParams.
func (*GetParserParams) WithDefaults ¶
func (o *GetParserParams) WithDefaults() *GetParserParams
WithDefaults hydrates default values in the get parser params (not the query body).
All values with no default are reset to their zero value.
func (*GetParserParams) WithHTTPClient ¶
func (o *GetParserParams) WithHTTPClient(client *http.Client) *GetParserParams
WithHTTPClient adds the HTTPClient to the get parser params.
func (*GetParserParams) WithTimeout ¶
func (o *GetParserParams) WithTimeout(timeout time.Duration) *GetParserParams
WithTimeout adds the timeout to the get parser params.
func (*GetParserParams) WriteToRequest ¶
func (o *GetParserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetParserReader ¶
type GetParserReader struct {
// contains filtered or unexported fields
}
GetParserReader is a Reader for the GetParser structure.
func (*GetParserReader) ReadResponse ¶
func (o *GetParserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetParserUnauthorized ¶
type GetParserUnauthorized struct {
}
GetParserUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetParserUnauthorized ¶
func NewGetParserUnauthorized() *GetParserUnauthorized
NewGetParserUnauthorized creates a GetParserUnauthorized with default headers values
func (*GetParserUnauthorized) Code ¶
func (o *GetParserUnauthorized) Code() int
Code gets the status code for the get parser unauthorized response
func (*GetParserUnauthorized) Error ¶
func (o *GetParserUnauthorized) Error() string
func (*GetParserUnauthorized) GetPayload ¶
func (o *GetParserUnauthorized) GetPayload() *models.DtoErrorResponse
func (*GetParserUnauthorized) IsClientError ¶
func (o *GetParserUnauthorized) IsClientError() bool
IsClientError returns true when this get parser unauthorized response has a 4xx status code
func (*GetParserUnauthorized) IsCode ¶
func (o *GetParserUnauthorized) IsCode(code int) bool
IsCode returns true when this get parser unauthorized response a status code equal to that given
func (*GetParserUnauthorized) IsRedirect ¶
func (o *GetParserUnauthorized) IsRedirect() bool
IsRedirect returns true when this get parser unauthorized response has a 3xx status code
func (*GetParserUnauthorized) IsServerError ¶
func (o *GetParserUnauthorized) IsServerError() bool
IsServerError returns true when this get parser unauthorized response has a 5xx status code
func (*GetParserUnauthorized) IsSuccess ¶
func (o *GetParserUnauthorized) IsSuccess() bool
IsSuccess returns true when this get parser unauthorized response has a 2xx status code
func (*GetParserUnauthorized) String ¶
func (o *GetParserUnauthorized) String() string
type PostParserCallsBadRequest ¶
type PostParserCallsBadRequest struct {
Payload *models.DtoErrorResponse
}
PostParserCallsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostParserCallsBadRequest ¶
func NewPostParserCallsBadRequest() *PostParserCallsBadRequest
NewPostParserCallsBadRequest creates a PostParserCallsBadRequest with default headers values
func (*PostParserCallsBadRequest) Code ¶
func (o *PostParserCallsBadRequest) Code() int
Code gets the status code for the post parser calls bad request response
func (*PostParserCallsBadRequest) Error ¶
func (o *PostParserCallsBadRequest) Error() string
func (*PostParserCallsBadRequest) GetPayload ¶
func (o *PostParserCallsBadRequest) GetPayload() *models.DtoErrorResponse
func (*PostParserCallsBadRequest) IsClientError ¶
func (o *PostParserCallsBadRequest) IsClientError() bool
IsClientError returns true when this post parser calls bad request response has a 4xx status code
func (*PostParserCallsBadRequest) IsCode ¶
func (o *PostParserCallsBadRequest) IsCode(code int) bool
IsCode returns true when this post parser calls bad request response a status code equal to that given
func (*PostParserCallsBadRequest) IsRedirect ¶
func (o *PostParserCallsBadRequest) IsRedirect() bool
IsRedirect returns true when this post parser calls bad request response has a 3xx status code
func (*PostParserCallsBadRequest) IsServerError ¶
func (o *PostParserCallsBadRequest) IsServerError() bool
IsServerError returns true when this post parser calls bad request response has a 5xx status code
func (*PostParserCallsBadRequest) IsSuccess ¶
func (o *PostParserCallsBadRequest) IsSuccess() bool
IsSuccess returns true when this post parser calls bad request response has a 2xx status code
func (*PostParserCallsBadRequest) String ¶
func (o *PostParserCallsBadRequest) String() string
type PostParserCallsInternalServerError ¶
type PostParserCallsInternalServerError struct {
Payload *models.DtoErrorResponse
}
PostParserCallsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostParserCallsInternalServerError ¶
func NewPostParserCallsInternalServerError() *PostParserCallsInternalServerError
NewPostParserCallsInternalServerError creates a PostParserCallsInternalServerError with default headers values
func (*PostParserCallsInternalServerError) Code ¶
func (o *PostParserCallsInternalServerError) Code() int
Code gets the status code for the post parser calls internal server error response
func (*PostParserCallsInternalServerError) Error ¶
func (o *PostParserCallsInternalServerError) Error() string
func (*PostParserCallsInternalServerError) GetPayload ¶
func (o *PostParserCallsInternalServerError) GetPayload() *models.DtoErrorResponse
func (*PostParserCallsInternalServerError) IsClientError ¶
func (o *PostParserCallsInternalServerError) IsClientError() bool
IsClientError returns true when this post parser calls internal server error response has a 4xx status code
func (*PostParserCallsInternalServerError) IsCode ¶
func (o *PostParserCallsInternalServerError) IsCode(code int) bool
IsCode returns true when this post parser calls internal server error response a status code equal to that given
func (*PostParserCallsInternalServerError) IsRedirect ¶
func (o *PostParserCallsInternalServerError) IsRedirect() bool
IsRedirect returns true when this post parser calls internal server error response has a 3xx status code
func (*PostParserCallsInternalServerError) IsServerError ¶
func (o *PostParserCallsInternalServerError) IsServerError() bool
IsServerError returns true when this post parser calls internal server error response has a 5xx status code
func (*PostParserCallsInternalServerError) IsSuccess ¶
func (o *PostParserCallsInternalServerError) IsSuccess() bool
IsSuccess returns true when this post parser calls internal server error response has a 2xx status code
func (*PostParserCallsInternalServerError) String ¶
func (o *PostParserCallsInternalServerError) String() string
type PostParserCallsNoContent ¶
type PostParserCallsNoContent struct {
}
PostParserCallsNoContent describes a response with status code 204, with default header values.
No Content
func NewPostParserCallsNoContent ¶
func NewPostParserCallsNoContent() *PostParserCallsNoContent
NewPostParserCallsNoContent creates a PostParserCallsNoContent with default headers values
func (*PostParserCallsNoContent) Code ¶
func (o *PostParserCallsNoContent) Code() int
Code gets the status code for the post parser calls no content response
func (*PostParserCallsNoContent) Error ¶
func (o *PostParserCallsNoContent) Error() string
func (*PostParserCallsNoContent) IsClientError ¶
func (o *PostParserCallsNoContent) IsClientError() bool
IsClientError returns true when this post parser calls no content response has a 4xx status code
func (*PostParserCallsNoContent) IsCode ¶
func (o *PostParserCallsNoContent) IsCode(code int) bool
IsCode returns true when this post parser calls no content response a status code equal to that given
func (*PostParserCallsNoContent) IsRedirect ¶
func (o *PostParserCallsNoContent) IsRedirect() bool
IsRedirect returns true when this post parser calls no content response has a 3xx status code
func (*PostParserCallsNoContent) IsServerError ¶
func (o *PostParserCallsNoContent) IsServerError() bool
IsServerError returns true when this post parser calls no content response has a 5xx status code
func (*PostParserCallsNoContent) IsSuccess ¶
func (o *PostParserCallsNoContent) IsSuccess() bool
IsSuccess returns true when this post parser calls no content response has a 2xx status code
func (*PostParserCallsNoContent) String ¶
func (o *PostParserCallsNoContent) String() string
type PostParserCallsParams ¶
type PostParserCallsParams struct {
// Calls.
//
// Calls
Calls []models.DtoCall
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostParserCallsParams contains all the parameters to send to the API endpoint
for the post parser calls operation. Typically these are written to a http.Request.
func NewPostParserCallsParams ¶
func NewPostParserCallsParams() *PostParserCallsParams
NewPostParserCallsParams creates a new PostParserCallsParams 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 NewPostParserCallsParamsWithContext
deprecated
func NewPostParserCallsParamsWithContext(ctx context.Context) *PostParserCallsParams
NewPostParserCallsParamsWithContext creates a new PostParserCallsParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of PostParserCallsParams.
func NewPostParserCallsParamsWithHTTPClient ¶
func NewPostParserCallsParamsWithHTTPClient(client *http.Client) *PostParserCallsParams
NewPostParserCallsParamsWithHTTPClient creates a new PostParserCallsParams object with the ability to set a custom HTTPClient for a request.
func NewPostParserCallsParamsWithTimeout ¶
func NewPostParserCallsParamsWithTimeout(timeout time.Duration) *PostParserCallsParams
NewPostParserCallsParamsWithTimeout creates a new PostParserCallsParams object with the ability to set a timeout on a request.
func (*PostParserCallsParams) SetCalls ¶
func (o *PostParserCallsParams) SetCalls(calls []models.DtoCall)
SetCalls adds the calls to the post parser calls params.
func (*PostParserCallsParams) SetContext
deprecated
func (o *PostParserCallsParams) SetContext(ctx context.Context)
SetContext adds the context to the post parser calls params.
Deprecated: use the operation call with context to pass the context instead of PostParserCallsParams.
func (*PostParserCallsParams) SetDefaults ¶
func (o *PostParserCallsParams) SetDefaults()
SetDefaults hydrates default values in the post parser calls params (not the query body).
All values with no default are reset to their zero value.
func (*PostParserCallsParams) SetHTTPClient ¶
func (o *PostParserCallsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post parser calls params.
func (*PostParserCallsParams) SetTimeout ¶
func (o *PostParserCallsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post parser calls params.
func (*PostParserCallsParams) WithCalls ¶
func (o *PostParserCallsParams) WithCalls(calls []models.DtoCall) *PostParserCallsParams
WithCalls adds the calls to the post parser calls params.
func (*PostParserCallsParams) WithContext
deprecated
func (o *PostParserCallsParams) WithContext(ctx context.Context) *PostParserCallsParams
WithContext adds the context to the post parser calls params.
Deprecated: use the operation call with context to pass the context instead of PostParserCallsParams.
func (*PostParserCallsParams) WithDefaults ¶
func (o *PostParserCallsParams) WithDefaults() *PostParserCallsParams
WithDefaults hydrates default values in the post parser calls params (not the query body).
All values with no default are reset to their zero value.
func (*PostParserCallsParams) WithHTTPClient ¶
func (o *PostParserCallsParams) WithHTTPClient(client *http.Client) *PostParserCallsParams
WithHTTPClient adds the HTTPClient to the post parser calls params.
func (*PostParserCallsParams) WithTimeout ¶
func (o *PostParserCallsParams) WithTimeout(timeout time.Duration) *PostParserCallsParams
WithTimeout adds the timeout to the post parser calls params.
func (*PostParserCallsParams) WriteToRequest ¶
func (o *PostParserCallsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type PostParserCallsReader ¶
type PostParserCallsReader struct {
// contains filtered or unexported fields
}
PostParserCallsReader is a Reader for the PostParserCalls structure.
func (*PostParserCallsReader) ReadResponse ¶
func (o *PostParserCallsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PostParserCallsUnauthorized ¶
type PostParserCallsUnauthorized struct {
}
PostParserCallsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPostParserCallsUnauthorized ¶
func NewPostParserCallsUnauthorized() *PostParserCallsUnauthorized
NewPostParserCallsUnauthorized creates a PostParserCallsUnauthorized with default headers values
func (*PostParserCallsUnauthorized) Code ¶
func (o *PostParserCallsUnauthorized) Code() int
Code gets the status code for the post parser calls unauthorized response
func (*PostParserCallsUnauthorized) Error ¶
func (o *PostParserCallsUnauthorized) Error() string
func (*PostParserCallsUnauthorized) GetPayload ¶
func (o *PostParserCallsUnauthorized) GetPayload() *models.DtoErrorResponse
func (*PostParserCallsUnauthorized) IsClientError ¶
func (o *PostParserCallsUnauthorized) IsClientError() bool
IsClientError returns true when this post parser calls unauthorized response has a 4xx status code
func (*PostParserCallsUnauthorized) IsCode ¶
func (o *PostParserCallsUnauthorized) IsCode(code int) bool
IsCode returns true when this post parser calls unauthorized response a status code equal to that given
func (*PostParserCallsUnauthorized) IsRedirect ¶
func (o *PostParserCallsUnauthorized) IsRedirect() bool
IsRedirect returns true when this post parser calls unauthorized response has a 3xx status code
func (*PostParserCallsUnauthorized) IsServerError ¶
func (o *PostParserCallsUnauthorized) IsServerError() bool
IsServerError returns true when this post parser calls unauthorized response has a 5xx status code
func (*PostParserCallsUnauthorized) IsSuccess ¶
func (o *PostParserCallsUnauthorized) IsSuccess() bool
IsSuccess returns true when this post parser calls unauthorized response has a 2xx status code
func (*PostParserCallsUnauthorized) String ¶
func (o *PostParserCallsUnauthorized) String() string
type PostParserGroupsBadRequest ¶
type PostParserGroupsBadRequest struct {
Payload *models.DtoErrorResponse
}
PostParserGroupsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostParserGroupsBadRequest ¶
func NewPostParserGroupsBadRequest() *PostParserGroupsBadRequest
NewPostParserGroupsBadRequest creates a PostParserGroupsBadRequest with default headers values
func (*PostParserGroupsBadRequest) Code ¶
func (o *PostParserGroupsBadRequest) Code() int
Code gets the status code for the post parser groups bad request response
func (*PostParserGroupsBadRequest) Error ¶
func (o *PostParserGroupsBadRequest) Error() string
func (*PostParserGroupsBadRequest) GetPayload ¶
func (o *PostParserGroupsBadRequest) GetPayload() *models.DtoErrorResponse
func (*PostParserGroupsBadRequest) IsClientError ¶
func (o *PostParserGroupsBadRequest) IsClientError() bool
IsClientError returns true when this post parser groups bad request response has a 4xx status code
func (*PostParserGroupsBadRequest) IsCode ¶
func (o *PostParserGroupsBadRequest) IsCode(code int) bool
IsCode returns true when this post parser groups bad request response a status code equal to that given
func (*PostParserGroupsBadRequest) IsRedirect ¶
func (o *PostParserGroupsBadRequest) IsRedirect() bool
IsRedirect returns true when this post parser groups bad request response has a 3xx status code
func (*PostParserGroupsBadRequest) IsServerError ¶
func (o *PostParserGroupsBadRequest) IsServerError() bool
IsServerError returns true when this post parser groups bad request response has a 5xx status code
func (*PostParserGroupsBadRequest) IsSuccess ¶
func (o *PostParserGroupsBadRequest) IsSuccess() bool
IsSuccess returns true when this post parser groups bad request response has a 2xx status code
func (*PostParserGroupsBadRequest) String ¶
func (o *PostParserGroupsBadRequest) String() string
type PostParserGroupsInternalServerError ¶
type PostParserGroupsInternalServerError struct {
Payload *models.DtoErrorResponse
}
PostParserGroupsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostParserGroupsInternalServerError ¶
func NewPostParserGroupsInternalServerError() *PostParserGroupsInternalServerError
NewPostParserGroupsInternalServerError creates a PostParserGroupsInternalServerError with default headers values
func (*PostParserGroupsInternalServerError) Code ¶
func (o *PostParserGroupsInternalServerError) Code() int
Code gets the status code for the post parser groups internal server error response
func (*PostParserGroupsInternalServerError) Error ¶
func (o *PostParserGroupsInternalServerError) Error() string
func (*PostParserGroupsInternalServerError) GetPayload ¶
func (o *PostParserGroupsInternalServerError) GetPayload() *models.DtoErrorResponse
func (*PostParserGroupsInternalServerError) IsClientError ¶
func (o *PostParserGroupsInternalServerError) IsClientError() bool
IsClientError returns true when this post parser groups internal server error response has a 4xx status code
func (*PostParserGroupsInternalServerError) IsCode ¶
func (o *PostParserGroupsInternalServerError) IsCode(code int) bool
IsCode returns true when this post parser groups internal server error response a status code equal to that given
func (*PostParserGroupsInternalServerError) IsRedirect ¶
func (o *PostParserGroupsInternalServerError) IsRedirect() bool
IsRedirect returns true when this post parser groups internal server error response has a 3xx status code
func (*PostParserGroupsInternalServerError) IsServerError ¶
func (o *PostParserGroupsInternalServerError) IsServerError() bool
IsServerError returns true when this post parser groups internal server error response has a 5xx status code
func (*PostParserGroupsInternalServerError) IsSuccess ¶
func (o *PostParserGroupsInternalServerError) IsSuccess() bool
IsSuccess returns true when this post parser groups internal server error response has a 2xx status code
func (*PostParserGroupsInternalServerError) String ¶
func (o *PostParserGroupsInternalServerError) String() string
type PostParserGroupsNoContent ¶
type PostParserGroupsNoContent struct {
}
PostParserGroupsNoContent describes a response with status code 204, with default header values.
No Content
func NewPostParserGroupsNoContent ¶
func NewPostParserGroupsNoContent() *PostParserGroupsNoContent
NewPostParserGroupsNoContent creates a PostParserGroupsNoContent with default headers values
func (*PostParserGroupsNoContent) Code ¶
func (o *PostParserGroupsNoContent) Code() int
Code gets the status code for the post parser groups no content response
func (*PostParserGroupsNoContent) Error ¶
func (o *PostParserGroupsNoContent) Error() string
func (*PostParserGroupsNoContent) IsClientError ¶
func (o *PostParserGroupsNoContent) IsClientError() bool
IsClientError returns true when this post parser groups no content response has a 4xx status code
func (*PostParserGroupsNoContent) IsCode ¶
func (o *PostParserGroupsNoContent) IsCode(code int) bool
IsCode returns true when this post parser groups no content response a status code equal to that given
func (*PostParserGroupsNoContent) IsRedirect ¶
func (o *PostParserGroupsNoContent) IsRedirect() bool
IsRedirect returns true when this post parser groups no content response has a 3xx status code
func (*PostParserGroupsNoContent) IsServerError ¶
func (o *PostParserGroupsNoContent) IsServerError() bool
IsServerError returns true when this post parser groups no content response has a 5xx status code
func (*PostParserGroupsNoContent) IsSuccess ¶
func (o *PostParserGroupsNoContent) IsSuccess() bool
IsSuccess returns true when this post parser groups no content response has a 2xx status code
func (*PostParserGroupsNoContent) String ¶
func (o *PostParserGroupsNoContent) String() string
type PostParserGroupsParams ¶
type PostParserGroupsParams struct {
// UpdateGroupsRequest.
//
// Update groups request
UpdateGroupsRequest *models.DtoUpdateGroupsRequest
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostParserGroupsParams contains all the parameters to send to the API endpoint
for the post parser groups operation. Typically these are written to a http.Request.
func NewPostParserGroupsParams ¶
func NewPostParserGroupsParams() *PostParserGroupsParams
NewPostParserGroupsParams creates a new PostParserGroupsParams 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 NewPostParserGroupsParamsWithContext
deprecated
func NewPostParserGroupsParamsWithContext(ctx context.Context) *PostParserGroupsParams
NewPostParserGroupsParamsWithContext creates a new PostParserGroupsParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of PostParserGroupsParams.
func NewPostParserGroupsParamsWithHTTPClient ¶
func NewPostParserGroupsParamsWithHTTPClient(client *http.Client) *PostParserGroupsParams
NewPostParserGroupsParamsWithHTTPClient creates a new PostParserGroupsParams object with the ability to set a custom HTTPClient for a request.
func NewPostParserGroupsParamsWithTimeout ¶
func NewPostParserGroupsParamsWithTimeout(timeout time.Duration) *PostParserGroupsParams
NewPostParserGroupsParamsWithTimeout creates a new PostParserGroupsParams object with the ability to set a timeout on a request.
func (*PostParserGroupsParams) SetContext
deprecated
func (o *PostParserGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the post parser groups params.
Deprecated: use the operation call with context to pass the context instead of PostParserGroupsParams.
func (*PostParserGroupsParams) SetDefaults ¶
func (o *PostParserGroupsParams) SetDefaults()
SetDefaults hydrates default values in the post parser groups params (not the query body).
All values with no default are reset to their zero value.
func (*PostParserGroupsParams) SetHTTPClient ¶
func (o *PostParserGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post parser groups params.
func (*PostParserGroupsParams) SetTimeout ¶
func (o *PostParserGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post parser groups params.
func (*PostParserGroupsParams) SetUpdateGroupsRequest ¶
func (o *PostParserGroupsParams) SetUpdateGroupsRequest(updateGroupsRequest *models.DtoUpdateGroupsRequest)
SetUpdateGroupsRequest adds the updateGroupsRequest to the post parser groups params.
func (*PostParserGroupsParams) WithContext
deprecated
func (o *PostParserGroupsParams) WithContext(ctx context.Context) *PostParserGroupsParams
WithContext adds the context to the post parser groups params.
Deprecated: use the operation call with context to pass the context instead of PostParserGroupsParams.
func (*PostParserGroupsParams) WithDefaults ¶
func (o *PostParserGroupsParams) WithDefaults() *PostParserGroupsParams
WithDefaults hydrates default values in the post parser groups params (not the query body).
All values with no default are reset to their zero value.
func (*PostParserGroupsParams) WithHTTPClient ¶
func (o *PostParserGroupsParams) WithHTTPClient(client *http.Client) *PostParserGroupsParams
WithHTTPClient adds the HTTPClient to the post parser groups params.
func (*PostParserGroupsParams) WithTimeout ¶
func (o *PostParserGroupsParams) WithTimeout(timeout time.Duration) *PostParserGroupsParams
WithTimeout adds the timeout to the post parser groups params.
func (*PostParserGroupsParams) WithUpdateGroupsRequest ¶
func (o *PostParserGroupsParams) WithUpdateGroupsRequest(updateGroupsRequest *models.DtoUpdateGroupsRequest) *PostParserGroupsParams
WithUpdateGroupsRequest adds the updateGroupsRequest to the post parser groups params.
func (*PostParserGroupsParams) WriteToRequest ¶
func (o *PostParserGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type PostParserGroupsReader ¶
type PostParserGroupsReader struct {
// contains filtered or unexported fields
}
PostParserGroupsReader is a Reader for the PostParserGroups structure.
func (*PostParserGroupsReader) ReadResponse ¶
func (o *PostParserGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PostParserGroupsUnauthorized ¶
type PostParserGroupsUnauthorized struct {
}
PostParserGroupsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPostParserGroupsUnauthorized ¶
func NewPostParserGroupsUnauthorized() *PostParserGroupsUnauthorized
NewPostParserGroupsUnauthorized creates a PostParserGroupsUnauthorized with default headers values
func (*PostParserGroupsUnauthorized) Code ¶
func (o *PostParserGroupsUnauthorized) Code() int
Code gets the status code for the post parser groups unauthorized response
func (*PostParserGroupsUnauthorized) Error ¶
func (o *PostParserGroupsUnauthorized) Error() string
func (*PostParserGroupsUnauthorized) GetPayload ¶
func (o *PostParserGroupsUnauthorized) GetPayload() *models.DtoErrorResponse
func (*PostParserGroupsUnauthorized) IsClientError ¶
func (o *PostParserGroupsUnauthorized) IsClientError() bool
IsClientError returns true when this post parser groups unauthorized response has a 4xx status code
func (*PostParserGroupsUnauthorized) IsCode ¶
func (o *PostParserGroupsUnauthorized) IsCode(code int) bool
IsCode returns true when this post parser groups unauthorized response a status code equal to that given
func (*PostParserGroupsUnauthorized) IsRedirect ¶
func (o *PostParserGroupsUnauthorized) IsRedirect() bool
IsRedirect returns true when this post parser groups unauthorized response has a 3xx status code
func (*PostParserGroupsUnauthorized) IsServerError ¶
func (o *PostParserGroupsUnauthorized) IsServerError() bool
IsServerError returns true when this post parser groups unauthorized response has a 5xx status code
func (*PostParserGroupsUnauthorized) IsSuccess ¶
func (o *PostParserGroupsUnauthorized) IsSuccess() bool
IsSuccess returns true when this post parser groups unauthorized response has a 2xx status code
func (*PostParserGroupsUnauthorized) String ¶
func (o *PostParserGroupsUnauthorized) String() string
type PostParserLessonsBadRequest ¶
type PostParserLessonsBadRequest struct {
Payload *models.DtoErrorResponse
}
PostParserLessonsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostParserLessonsBadRequest ¶
func NewPostParserLessonsBadRequest() *PostParserLessonsBadRequest
NewPostParserLessonsBadRequest creates a PostParserLessonsBadRequest with default headers values
func (*PostParserLessonsBadRequest) Code ¶
func (o *PostParserLessonsBadRequest) Code() int
Code gets the status code for the post parser lessons bad request response
func (*PostParserLessonsBadRequest) Error ¶
func (o *PostParserLessonsBadRequest) Error() string
func (*PostParserLessonsBadRequest) GetPayload ¶
func (o *PostParserLessonsBadRequest) GetPayload() *models.DtoErrorResponse
func (*PostParserLessonsBadRequest) IsClientError ¶
func (o *PostParserLessonsBadRequest) IsClientError() bool
IsClientError returns true when this post parser lessons bad request response has a 4xx status code
func (*PostParserLessonsBadRequest) IsCode ¶
func (o *PostParserLessonsBadRequest) IsCode(code int) bool
IsCode returns true when this post parser lessons bad request response a status code equal to that given
func (*PostParserLessonsBadRequest) IsRedirect ¶
func (o *PostParserLessonsBadRequest) IsRedirect() bool
IsRedirect returns true when this post parser lessons bad request response has a 3xx status code
func (*PostParserLessonsBadRequest) IsServerError ¶
func (o *PostParserLessonsBadRequest) IsServerError() bool
IsServerError returns true when this post parser lessons bad request response has a 5xx status code
func (*PostParserLessonsBadRequest) IsSuccess ¶
func (o *PostParserLessonsBadRequest) IsSuccess() bool
IsSuccess returns true when this post parser lessons bad request response has a 2xx status code
func (*PostParserLessonsBadRequest) String ¶
func (o *PostParserLessonsBadRequest) String() string
type PostParserLessonsInternalServerError ¶
type PostParserLessonsInternalServerError struct {
Payload *models.DtoErrorResponse
}
PostParserLessonsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostParserLessonsInternalServerError ¶
func NewPostParserLessonsInternalServerError() *PostParserLessonsInternalServerError
NewPostParserLessonsInternalServerError creates a PostParserLessonsInternalServerError with default headers values
func (*PostParserLessonsInternalServerError) Code ¶
func (o *PostParserLessonsInternalServerError) Code() int
Code gets the status code for the post parser lessons internal server error response
func (*PostParserLessonsInternalServerError) Error ¶
func (o *PostParserLessonsInternalServerError) Error() string
func (*PostParserLessonsInternalServerError) GetPayload ¶
func (o *PostParserLessonsInternalServerError) GetPayload() *models.DtoErrorResponse
func (*PostParserLessonsInternalServerError) IsClientError ¶
func (o *PostParserLessonsInternalServerError) IsClientError() bool
IsClientError returns true when this post parser lessons internal server error response has a 4xx status code
func (*PostParserLessonsInternalServerError) IsCode ¶
func (o *PostParserLessonsInternalServerError) IsCode(code int) bool
IsCode returns true when this post parser lessons internal server error response a status code equal to that given
func (*PostParserLessonsInternalServerError) IsRedirect ¶
func (o *PostParserLessonsInternalServerError) IsRedirect() bool
IsRedirect returns true when this post parser lessons internal server error response has a 3xx status code
func (*PostParserLessonsInternalServerError) IsServerError ¶
func (o *PostParserLessonsInternalServerError) IsServerError() bool
IsServerError returns true when this post parser lessons internal server error response has a 5xx status code
func (*PostParserLessonsInternalServerError) IsSuccess ¶
func (o *PostParserLessonsInternalServerError) IsSuccess() bool
IsSuccess returns true when this post parser lessons internal server error response has a 2xx status code
func (*PostParserLessonsInternalServerError) String ¶
func (o *PostParserLessonsInternalServerError) String() string
type PostParserLessonsNoContent ¶
type PostParserLessonsNoContent struct {
}
PostParserLessonsNoContent describes a response with status code 204, with default header values.
No Content
func NewPostParserLessonsNoContent ¶
func NewPostParserLessonsNoContent() *PostParserLessonsNoContent
NewPostParserLessonsNoContent creates a PostParserLessonsNoContent with default headers values
func (*PostParserLessonsNoContent) Code ¶
func (o *PostParserLessonsNoContent) Code() int
Code gets the status code for the post parser lessons no content response
func (*PostParserLessonsNoContent) Error ¶
func (o *PostParserLessonsNoContent) Error() string
func (*PostParserLessonsNoContent) IsClientError ¶
func (o *PostParserLessonsNoContent) IsClientError() bool
IsClientError returns true when this post parser lessons no content response has a 4xx status code
func (*PostParserLessonsNoContent) IsCode ¶
func (o *PostParserLessonsNoContent) IsCode(code int) bool
IsCode returns true when this post parser lessons no content response a status code equal to that given
func (*PostParserLessonsNoContent) IsRedirect ¶
func (o *PostParserLessonsNoContent) IsRedirect() bool
IsRedirect returns true when this post parser lessons no content response has a 3xx status code
func (*PostParserLessonsNoContent) IsServerError ¶
func (o *PostParserLessonsNoContent) IsServerError() bool
IsServerError returns true when this post parser lessons no content response has a 5xx status code
func (*PostParserLessonsNoContent) IsSuccess ¶
func (o *PostParserLessonsNoContent) IsSuccess() bool
IsSuccess returns true when this post parser lessons no content response has a 2xx status code
func (*PostParserLessonsNoContent) String ¶
func (o *PostParserLessonsNoContent) String() string
type PostParserLessonsParams ¶
type PostParserLessonsParams struct {
// Lessons.
//
// Lessons
Lessons []*models.DtoLesson
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostParserLessonsParams contains all the parameters to send to the API endpoint
for the post parser lessons operation. Typically these are written to a http.Request.
func NewPostParserLessonsParams ¶
func NewPostParserLessonsParams() *PostParserLessonsParams
NewPostParserLessonsParams creates a new PostParserLessonsParams 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 NewPostParserLessonsParamsWithContext
deprecated
func NewPostParserLessonsParamsWithContext(ctx context.Context) *PostParserLessonsParams
NewPostParserLessonsParamsWithContext creates a new PostParserLessonsParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of PostParserLessonsParams.
func NewPostParserLessonsParamsWithHTTPClient ¶
func NewPostParserLessonsParamsWithHTTPClient(client *http.Client) *PostParserLessonsParams
NewPostParserLessonsParamsWithHTTPClient creates a new PostParserLessonsParams object with the ability to set a custom HTTPClient for a request.
func NewPostParserLessonsParamsWithTimeout ¶
func NewPostParserLessonsParamsWithTimeout(timeout time.Duration) *PostParserLessonsParams
NewPostParserLessonsParamsWithTimeout creates a new PostParserLessonsParams object with the ability to set a timeout on a request.
func (*PostParserLessonsParams) SetContext
deprecated
func (o *PostParserLessonsParams) SetContext(ctx context.Context)
SetContext adds the context to the post parser lessons params.
Deprecated: use the operation call with context to pass the context instead of PostParserLessonsParams.
func (*PostParserLessonsParams) SetDefaults ¶
func (o *PostParserLessonsParams) SetDefaults()
SetDefaults hydrates default values in the post parser lessons params (not the query body).
All values with no default are reset to their zero value.
func (*PostParserLessonsParams) SetHTTPClient ¶
func (o *PostParserLessonsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post parser lessons params.
func (*PostParserLessonsParams) SetLessons ¶
func (o *PostParserLessonsParams) SetLessons(lessons []*models.DtoLesson)
SetLessons adds the lessons to the post parser lessons params.
func (*PostParserLessonsParams) SetTimeout ¶
func (o *PostParserLessonsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post parser lessons params.
func (*PostParserLessonsParams) WithContext
deprecated
func (o *PostParserLessonsParams) WithContext(ctx context.Context) *PostParserLessonsParams
WithContext adds the context to the post parser lessons params.
Deprecated: use the operation call with context to pass the context instead of PostParserLessonsParams.
func (*PostParserLessonsParams) WithDefaults ¶
func (o *PostParserLessonsParams) WithDefaults() *PostParserLessonsParams
WithDefaults hydrates default values in the post parser lessons params (not the query body).
All values with no default are reset to their zero value.
func (*PostParserLessonsParams) WithHTTPClient ¶
func (o *PostParserLessonsParams) WithHTTPClient(client *http.Client) *PostParserLessonsParams
WithHTTPClient adds the HTTPClient to the post parser lessons params.
func (*PostParserLessonsParams) WithLessons ¶
func (o *PostParserLessonsParams) WithLessons(lessons []*models.DtoLesson) *PostParserLessonsParams
WithLessons adds the lessons to the post parser lessons params.
func (*PostParserLessonsParams) WithTimeout ¶
func (o *PostParserLessonsParams) WithTimeout(timeout time.Duration) *PostParserLessonsParams
WithTimeout adds the timeout to the post parser lessons params.
func (*PostParserLessonsParams) WriteToRequest ¶
func (o *PostParserLessonsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type PostParserLessonsReader ¶
type PostParserLessonsReader struct {
// contains filtered or unexported fields
}
PostParserLessonsReader is a Reader for the PostParserLessons structure.
func (*PostParserLessonsReader) ReadResponse ¶
func (o *PostParserLessonsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PostParserLessonsUnauthorized ¶
type PostParserLessonsUnauthorized struct {
}
PostParserLessonsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPostParserLessonsUnauthorized ¶
func NewPostParserLessonsUnauthorized() *PostParserLessonsUnauthorized
NewPostParserLessonsUnauthorized creates a PostParserLessonsUnauthorized with default headers values
func (*PostParserLessonsUnauthorized) Code ¶
func (o *PostParserLessonsUnauthorized) Code() int
Code gets the status code for the post parser lessons unauthorized response
func (*PostParserLessonsUnauthorized) Error ¶
func (o *PostParserLessonsUnauthorized) Error() string
func (*PostParserLessonsUnauthorized) GetPayload ¶
func (o *PostParserLessonsUnauthorized) GetPayload() *models.DtoErrorResponse
func (*PostParserLessonsUnauthorized) IsClientError ¶
func (o *PostParserLessonsUnauthorized) IsClientError() bool
IsClientError returns true when this post parser lessons unauthorized response has a 4xx status code
func (*PostParserLessonsUnauthorized) IsCode ¶
func (o *PostParserLessonsUnauthorized) IsCode(code int) bool
IsCode returns true when this post parser lessons unauthorized response a status code equal to that given
func (*PostParserLessonsUnauthorized) IsRedirect ¶
func (o *PostParserLessonsUnauthorized) IsRedirect() bool
IsRedirect returns true when this post parser lessons unauthorized response has a 3xx status code
func (*PostParserLessonsUnauthorized) IsServerError ¶
func (o *PostParserLessonsUnauthorized) IsServerError() bool
IsServerError returns true when this post parser lessons unauthorized response has a 5xx status code
func (*PostParserLessonsUnauthorized) IsSuccess ¶
func (o *PostParserLessonsUnauthorized) IsSuccess() bool
IsSuccess returns true when this post parser lessons unauthorized response has a 2xx status code
func (*PostParserLessonsUnauthorized) String ¶
func (o *PostParserLessonsUnauthorized) String() string