parser

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2026 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for 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

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

Code gets the status code for the get parser internal server error response

func (*GetParserInternalServerError) Error

func (*GetParserInternalServerError) GetPayload

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

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

type GetParserParams struct {
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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 {
	Payload *models.DtoErrorResponse
}

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 (*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 (*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

Code gets the status code for the post parser calls internal server error response

func (*PostParserCallsInternalServerError) Error

func (*PostParserCallsInternalServerError) GetPayload

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

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

IsSuccess returns true when this post parser calls internal server error response has a 2xx status code

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

WithCalls adds the calls to the post parser calls params.

func (*PostParserCallsParams) WithContext deprecated

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 {
	Payload *models.DtoErrorResponse
}

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

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

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

Code gets the status code for the post parser groups internal server error response

func (*PostParserGroupsInternalServerError) Error

func (*PostParserGroupsInternalServerError) GetPayload

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

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

IsSuccess returns true when this post parser groups internal server error response has a 2xx status code

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

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

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

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

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 {
	Payload *models.DtoErrorResponse
}

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

Code gets the status code for the post parser groups unauthorized response

func (*PostParserGroupsUnauthorized) Error

func (*PostParserGroupsUnauthorized) GetPayload

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

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

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

Code gets the status code for the post parser lessons internal server error response

func (*PostParserLessonsInternalServerError) Error

func (*PostParserLessonsInternalServerError) GetPayload

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

IsCode returns true when this post parser lessons internal server error response a status code equal to that given

func (*PostParserLessonsInternalServerError) IsRedirect

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

IsSuccess returns true when this post parser lessons internal server error response has a 2xx status code

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

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

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

WithLessons adds the lessons to the post parser lessons params.

func (*PostParserLessonsParams) WithTimeout

WithTimeout adds the timeout to the post parser lessons params.

func (*PostParserLessonsParams) WriteToRequest

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 {
	Payload *models.DtoErrorResponse
}

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

Code gets the status code for the post parser lessons unauthorized response

func (*PostParserLessonsUnauthorized) Error

func (*PostParserLessonsUnauthorized) GetPayload

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

Jump to

Keyboard shortcuts

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