Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteAdminParserID(params *DeleteAdminParserIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteAdminParserIDNoContent, error)
- func (a *Client) DeleteAdminParserIDContext(ctx context.Context, params *DeleteAdminParserIDParams, ...) (*DeleteAdminParserIDNoContent, error)
- func (a *Client) PostAdminParser(params *PostAdminParserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostAdminParserCreated, error)
- func (a *Client) PostAdminParserContext(ctx context.Context, params *PostAdminParserParams, ...) (*PostAdminParserCreated, error)
- func (a *Client) SetTransport(transport runtime.ContextualTransport)
- type ClientOption
- type ClientService
- type DeleteAdminParserIDBadRequest
- func (o *DeleteAdminParserIDBadRequest) Code() int
- func (o *DeleteAdminParserIDBadRequest) Error() string
- func (o *DeleteAdminParserIDBadRequest) GetPayload() *models.DtoErrorResponse
- func (o *DeleteAdminParserIDBadRequest) IsClientError() bool
- func (o *DeleteAdminParserIDBadRequest) IsCode(code int) bool
- func (o *DeleteAdminParserIDBadRequest) IsRedirect() bool
- func (o *DeleteAdminParserIDBadRequest) IsServerError() bool
- func (o *DeleteAdminParserIDBadRequest) IsSuccess() bool
- func (o *DeleteAdminParserIDBadRequest) String() string
- type DeleteAdminParserIDInternalServerError
- func (o *DeleteAdminParserIDInternalServerError) Code() int
- func (o *DeleteAdminParserIDInternalServerError) Error() string
- func (o *DeleteAdminParserIDInternalServerError) GetPayload() *models.DtoErrorResponse
- func (o *DeleteAdminParserIDInternalServerError) IsClientError() bool
- func (o *DeleteAdminParserIDInternalServerError) IsCode(code int) bool
- func (o *DeleteAdminParserIDInternalServerError) IsRedirect() bool
- func (o *DeleteAdminParserIDInternalServerError) IsServerError() bool
- func (o *DeleteAdminParserIDInternalServerError) IsSuccess() bool
- func (o *DeleteAdminParserIDInternalServerError) String() string
- type DeleteAdminParserIDNoContent
- func (o *DeleteAdminParserIDNoContent) Code() int
- func (o *DeleteAdminParserIDNoContent) Error() string
- func (o *DeleteAdminParserIDNoContent) IsClientError() bool
- func (o *DeleteAdminParserIDNoContent) IsCode(code int) bool
- func (o *DeleteAdminParserIDNoContent) IsRedirect() bool
- func (o *DeleteAdminParserIDNoContent) IsServerError() bool
- func (o *DeleteAdminParserIDNoContent) IsSuccess() bool
- func (o *DeleteAdminParserIDNoContent) String() string
- type DeleteAdminParserIDNotFound
- func (o *DeleteAdminParserIDNotFound) Code() int
- func (o *DeleteAdminParserIDNotFound) Error() string
- func (o *DeleteAdminParserIDNotFound) GetPayload() *models.DtoErrorResponse
- func (o *DeleteAdminParserIDNotFound) IsClientError() bool
- func (o *DeleteAdminParserIDNotFound) IsCode(code int) bool
- func (o *DeleteAdminParserIDNotFound) IsRedirect() bool
- func (o *DeleteAdminParserIDNotFound) IsServerError() bool
- func (o *DeleteAdminParserIDNotFound) IsSuccess() bool
- func (o *DeleteAdminParserIDNotFound) String() string
- type DeleteAdminParserIDParams
- func NewDeleteAdminParserIDParams() *DeleteAdminParserIDParams
- func NewDeleteAdminParserIDParamsWithContext(ctx context.Context) *DeleteAdminParserIDParamsdeprecated
- func NewDeleteAdminParserIDParamsWithHTTPClient(client *http.Client) *DeleteAdminParserIDParams
- func NewDeleteAdminParserIDParamsWithTimeout(timeout time.Duration) *DeleteAdminParserIDParams
- func (o *DeleteAdminParserIDParams) SetContext(ctx context.Context)deprecated
- func (o *DeleteAdminParserIDParams) SetDefaults()
- func (o *DeleteAdminParserIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAdminParserIDParams) SetID(id int64)
- func (o *DeleteAdminParserIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAdminParserIDParams) WithContext(ctx context.Context) *DeleteAdminParserIDParamsdeprecated
- func (o *DeleteAdminParserIDParams) WithDefaults() *DeleteAdminParserIDParams
- func (o *DeleteAdminParserIDParams) WithHTTPClient(client *http.Client) *DeleteAdminParserIDParams
- func (o *DeleteAdminParserIDParams) WithID(id int64) *DeleteAdminParserIDParams
- func (o *DeleteAdminParserIDParams) WithTimeout(timeout time.Duration) *DeleteAdminParserIDParams
- func (o *DeleteAdminParserIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAdminParserIDReader
- type DeleteAdminParserIDUnauthorized
- func (o *DeleteAdminParserIDUnauthorized) Code() int
- func (o *DeleteAdminParserIDUnauthorized) Error() string
- func (o *DeleteAdminParserIDUnauthorized) GetPayload() *models.DtoErrorResponse
- func (o *DeleteAdminParserIDUnauthorized) IsClientError() bool
- func (o *DeleteAdminParserIDUnauthorized) IsCode(code int) bool
- func (o *DeleteAdminParserIDUnauthorized) IsRedirect() bool
- func (o *DeleteAdminParserIDUnauthorized) IsServerError() bool
- func (o *DeleteAdminParserIDUnauthorized) IsSuccess() bool
- func (o *DeleteAdminParserIDUnauthorized) String() string
- type PostAdminParserBadRequest
- func (o *PostAdminParserBadRequest) Code() int
- func (o *PostAdminParserBadRequest) Error() string
- func (o *PostAdminParserBadRequest) GetPayload() *models.DtoErrorResponse
- func (o *PostAdminParserBadRequest) IsClientError() bool
- func (o *PostAdminParserBadRequest) IsCode(code int) bool
- func (o *PostAdminParserBadRequest) IsRedirect() bool
- func (o *PostAdminParserBadRequest) IsServerError() bool
- func (o *PostAdminParserBadRequest) IsSuccess() bool
- func (o *PostAdminParserBadRequest) String() string
- type PostAdminParserConflict
- func (o *PostAdminParserConflict) Code() int
- func (o *PostAdminParserConflict) Error() string
- func (o *PostAdminParserConflict) GetPayload() *models.DtoErrorResponse
- func (o *PostAdminParserConflict) IsClientError() bool
- func (o *PostAdminParserConflict) IsCode(code int) bool
- func (o *PostAdminParserConflict) IsRedirect() bool
- func (o *PostAdminParserConflict) IsServerError() bool
- func (o *PostAdminParserConflict) IsSuccess() bool
- func (o *PostAdminParserConflict) String() string
- type PostAdminParserCreated
- func (o *PostAdminParserCreated) Code() int
- func (o *PostAdminParserCreated) Error() string
- func (o *PostAdminParserCreated) GetPayload() *models.DtoNewParserResponse
- func (o *PostAdminParserCreated) IsClientError() bool
- func (o *PostAdminParserCreated) IsCode(code int) bool
- func (o *PostAdminParserCreated) IsRedirect() bool
- func (o *PostAdminParserCreated) IsServerError() bool
- func (o *PostAdminParserCreated) IsSuccess() bool
- func (o *PostAdminParserCreated) String() string
- type PostAdminParserInternalServerError
- func (o *PostAdminParserInternalServerError) Code() int
- func (o *PostAdminParserInternalServerError) Error() string
- func (o *PostAdminParserInternalServerError) GetPayload() *models.DtoErrorResponse
- func (o *PostAdminParserInternalServerError) IsClientError() bool
- func (o *PostAdminParserInternalServerError) IsCode(code int) bool
- func (o *PostAdminParserInternalServerError) IsRedirect() bool
- func (o *PostAdminParserInternalServerError) IsServerError() bool
- func (o *PostAdminParserInternalServerError) IsSuccess() bool
- func (o *PostAdminParserInternalServerError) String() string
- type PostAdminParserParams
- func NewPostAdminParserParams() *PostAdminParserParams
- func NewPostAdminParserParamsWithContext(ctx context.Context) *PostAdminParserParamsdeprecated
- func NewPostAdminParserParamsWithHTTPClient(client *http.Client) *PostAdminParserParams
- func NewPostAdminParserParamsWithTimeout(timeout time.Duration) *PostAdminParserParams
- func (o *PostAdminParserParams) SetContext(ctx context.Context)deprecated
- func (o *PostAdminParserParams) SetDefaults()
- func (o *PostAdminParserParams) SetHTTPClient(client *http.Client)
- func (o *PostAdminParserParams) SetNewParserRequest(newParserRequest *models.DtoNewParserRequest)
- func (o *PostAdminParserParams) SetTimeout(timeout time.Duration)
- func (o *PostAdminParserParams) WithContext(ctx context.Context) *PostAdminParserParamsdeprecated
- func (o *PostAdminParserParams) WithDefaults() *PostAdminParserParams
- func (o *PostAdminParserParams) WithHTTPClient(client *http.Client) *PostAdminParserParams
- func (o *PostAdminParserParams) WithNewParserRequest(newParserRequest *models.DtoNewParserRequest) *PostAdminParserParams
- func (o *PostAdminParserParams) WithTimeout(timeout time.Duration) *PostAdminParserParams
- func (o *PostAdminParserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAdminParserReader
- type PostAdminParserUnauthorized
- func (o *PostAdminParserUnauthorized) Code() int
- func (o *PostAdminParserUnauthorized) Error() string
- func (o *PostAdminParserUnauthorized) GetPayload() *models.DtoErrorResponse
- func (o *PostAdminParserUnauthorized) IsClientError() bool
- func (o *PostAdminParserUnauthorized) IsCode(code int) bool
- func (o *PostAdminParserUnauthorized) IsRedirect() bool
- func (o *PostAdminParserUnauthorized) IsServerError() bool
- func (o *PostAdminParserUnauthorized) IsSuccess() bool
- func (o *PostAdminParserUnauthorized) 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 admin API.
func (*Client) DeleteAdminParserID ¶
func (a *Client) DeleteAdminParserID(params *DeleteAdminParserIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAdminParserIDNoContent, error)
DeleteAdminParserID deletes a parser.
delete a parser by ID.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.DeleteAdminParserIDContext instead.
func (*Client) DeleteAdminParserIDContext ¶
func (a *Client) DeleteAdminParserIDContext(ctx context.Context, params *DeleteAdminParserIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAdminParserIDNoContent, error)
DeleteAdminParserIDContext deletes a parser.
delete a parser by ID.
Do not use the deprecated [DeleteAdminParserIDParams.Context] with this method: it would be ignored.
func (*Client) PostAdminParser ¶
func (a *Client) PostAdminParser(params *PostAdminParserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAdminParserCreated, error)
PostAdminParser creates a new parser.
create a new parser.
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.PostAdminParserContext instead.
func (*Client) PostAdminParserContext ¶
func (a *Client) PostAdminParserContext(ctx context.Context, params *PostAdminParserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAdminParserCreated, error)
PostAdminParserContext creates a new parser.
create a new parser.
Do not use the deprecated [PostAdminParserParams.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 {
// DeleteAdminParserID delete a parser.
DeleteAdminParserID(params *DeleteAdminParserIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAdminParserIDNoContent, error)
// DeleteAdminParserIDContext delete a parser.
DeleteAdminParserIDContext(ctx context.Context, params *DeleteAdminParserIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAdminParserIDNoContent, error)
// PostAdminParser create a new parser.
PostAdminParser(params *PostAdminParserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAdminParserCreated, error)
// PostAdminParserContext create a new parser.
PostAdminParserContext(ctx context.Context, params *PostAdminParserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAdminParserCreated, 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 admin API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new admin 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 admin 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 DeleteAdminParserIDBadRequest ¶
type DeleteAdminParserIDBadRequest struct {
Payload *models.DtoErrorResponse
}
DeleteAdminParserIDBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDeleteAdminParserIDBadRequest ¶
func NewDeleteAdminParserIDBadRequest() *DeleteAdminParserIDBadRequest
NewDeleteAdminParserIDBadRequest creates a DeleteAdminParserIDBadRequest with default headers values
func (*DeleteAdminParserIDBadRequest) Code ¶
func (o *DeleteAdminParserIDBadRequest) Code() int
Code gets the status code for the delete admin parser Id bad request response
func (*DeleteAdminParserIDBadRequest) Error ¶
func (o *DeleteAdminParserIDBadRequest) Error() string
func (*DeleteAdminParserIDBadRequest) GetPayload ¶
func (o *DeleteAdminParserIDBadRequest) GetPayload() *models.DtoErrorResponse
func (*DeleteAdminParserIDBadRequest) IsClientError ¶
func (o *DeleteAdminParserIDBadRequest) IsClientError() bool
IsClientError returns true when this delete admin parser Id bad request response has a 4xx status code
func (*DeleteAdminParserIDBadRequest) IsCode ¶
func (o *DeleteAdminParserIDBadRequest) IsCode(code int) bool
IsCode returns true when this delete admin parser Id bad request response a status code equal to that given
func (*DeleteAdminParserIDBadRequest) IsRedirect ¶
func (o *DeleteAdminParserIDBadRequest) IsRedirect() bool
IsRedirect returns true when this delete admin parser Id bad request response has a 3xx status code
func (*DeleteAdminParserIDBadRequest) IsServerError ¶
func (o *DeleteAdminParserIDBadRequest) IsServerError() bool
IsServerError returns true when this delete admin parser Id bad request response has a 5xx status code
func (*DeleteAdminParserIDBadRequest) IsSuccess ¶
func (o *DeleteAdminParserIDBadRequest) IsSuccess() bool
IsSuccess returns true when this delete admin parser Id bad request response has a 2xx status code
func (*DeleteAdminParserIDBadRequest) String ¶
func (o *DeleteAdminParserIDBadRequest) String() string
type DeleteAdminParserIDInternalServerError ¶
type DeleteAdminParserIDInternalServerError struct {
Payload *models.DtoErrorResponse
}
DeleteAdminParserIDInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewDeleteAdminParserIDInternalServerError ¶
func NewDeleteAdminParserIDInternalServerError() *DeleteAdminParserIDInternalServerError
NewDeleteAdminParserIDInternalServerError creates a DeleteAdminParserIDInternalServerError with default headers values
func (*DeleteAdminParserIDInternalServerError) Code ¶
func (o *DeleteAdminParserIDInternalServerError) Code() int
Code gets the status code for the delete admin parser Id internal server error response
func (*DeleteAdminParserIDInternalServerError) Error ¶
func (o *DeleteAdminParserIDInternalServerError) Error() string
func (*DeleteAdminParserIDInternalServerError) GetPayload ¶
func (o *DeleteAdminParserIDInternalServerError) GetPayload() *models.DtoErrorResponse
func (*DeleteAdminParserIDInternalServerError) IsClientError ¶
func (o *DeleteAdminParserIDInternalServerError) IsClientError() bool
IsClientError returns true when this delete admin parser Id internal server error response has a 4xx status code
func (*DeleteAdminParserIDInternalServerError) IsCode ¶
func (o *DeleteAdminParserIDInternalServerError) IsCode(code int) bool
IsCode returns true when this delete admin parser Id internal server error response a status code equal to that given
func (*DeleteAdminParserIDInternalServerError) IsRedirect ¶
func (o *DeleteAdminParserIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete admin parser Id internal server error response has a 3xx status code
func (*DeleteAdminParserIDInternalServerError) IsServerError ¶
func (o *DeleteAdminParserIDInternalServerError) IsServerError() bool
IsServerError returns true when this delete admin parser Id internal server error response has a 5xx status code
func (*DeleteAdminParserIDInternalServerError) IsSuccess ¶
func (o *DeleteAdminParserIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete admin parser Id internal server error response has a 2xx status code
func (*DeleteAdminParserIDInternalServerError) String ¶
func (o *DeleteAdminParserIDInternalServerError) String() string
type DeleteAdminParserIDNoContent ¶
type DeleteAdminParserIDNoContent struct {
}
DeleteAdminParserIDNoContent describes a response with status code 204, with default header values.
No Content
func NewDeleteAdminParserIDNoContent ¶
func NewDeleteAdminParserIDNoContent() *DeleteAdminParserIDNoContent
NewDeleteAdminParserIDNoContent creates a DeleteAdminParserIDNoContent with default headers values
func (*DeleteAdminParserIDNoContent) Code ¶
func (o *DeleteAdminParserIDNoContent) Code() int
Code gets the status code for the delete admin parser Id no content response
func (*DeleteAdminParserIDNoContent) Error ¶
func (o *DeleteAdminParserIDNoContent) Error() string
func (*DeleteAdminParserIDNoContent) IsClientError ¶
func (o *DeleteAdminParserIDNoContent) IsClientError() bool
IsClientError returns true when this delete admin parser Id no content response has a 4xx status code
func (*DeleteAdminParserIDNoContent) IsCode ¶
func (o *DeleteAdminParserIDNoContent) IsCode(code int) bool
IsCode returns true when this delete admin parser Id no content response a status code equal to that given
func (*DeleteAdminParserIDNoContent) IsRedirect ¶
func (o *DeleteAdminParserIDNoContent) IsRedirect() bool
IsRedirect returns true when this delete admin parser Id no content response has a 3xx status code
func (*DeleteAdminParserIDNoContent) IsServerError ¶
func (o *DeleteAdminParserIDNoContent) IsServerError() bool
IsServerError returns true when this delete admin parser Id no content response has a 5xx status code
func (*DeleteAdminParserIDNoContent) IsSuccess ¶
func (o *DeleteAdminParserIDNoContent) IsSuccess() bool
IsSuccess returns true when this delete admin parser Id no content response has a 2xx status code
func (*DeleteAdminParserIDNoContent) String ¶
func (o *DeleteAdminParserIDNoContent) String() string
type DeleteAdminParserIDNotFound ¶
type DeleteAdminParserIDNotFound struct {
Payload *models.DtoErrorResponse
}
DeleteAdminParserIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewDeleteAdminParserIDNotFound ¶
func NewDeleteAdminParserIDNotFound() *DeleteAdminParserIDNotFound
NewDeleteAdminParserIDNotFound creates a DeleteAdminParserIDNotFound with default headers values
func (*DeleteAdminParserIDNotFound) Code ¶
func (o *DeleteAdminParserIDNotFound) Code() int
Code gets the status code for the delete admin parser Id not found response
func (*DeleteAdminParserIDNotFound) Error ¶
func (o *DeleteAdminParserIDNotFound) Error() string
func (*DeleteAdminParserIDNotFound) GetPayload ¶
func (o *DeleteAdminParserIDNotFound) GetPayload() *models.DtoErrorResponse
func (*DeleteAdminParserIDNotFound) IsClientError ¶
func (o *DeleteAdminParserIDNotFound) IsClientError() bool
IsClientError returns true when this delete admin parser Id not found response has a 4xx status code
func (*DeleteAdminParserIDNotFound) IsCode ¶
func (o *DeleteAdminParserIDNotFound) IsCode(code int) bool
IsCode returns true when this delete admin parser Id not found response a status code equal to that given
func (*DeleteAdminParserIDNotFound) IsRedirect ¶
func (o *DeleteAdminParserIDNotFound) IsRedirect() bool
IsRedirect returns true when this delete admin parser Id not found response has a 3xx status code
func (*DeleteAdminParserIDNotFound) IsServerError ¶
func (o *DeleteAdminParserIDNotFound) IsServerError() bool
IsServerError returns true when this delete admin parser Id not found response has a 5xx status code
func (*DeleteAdminParserIDNotFound) IsSuccess ¶
func (o *DeleteAdminParserIDNotFound) IsSuccess() bool
IsSuccess returns true when this delete admin parser Id not found response has a 2xx status code
func (*DeleteAdminParserIDNotFound) String ¶
func (o *DeleteAdminParserIDNotFound) String() string
type DeleteAdminParserIDParams ¶
type DeleteAdminParserIDParams struct {
// ID.
//
// Parser ID
ID int64
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteAdminParserIDParams contains all the parameters to send to the API endpoint
for the delete admin parser ID operation. Typically these are written to a http.Request.
func NewDeleteAdminParserIDParams ¶
func NewDeleteAdminParserIDParams() *DeleteAdminParserIDParams
NewDeleteAdminParserIDParams creates a new DeleteAdminParserIDParams 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 NewDeleteAdminParserIDParamsWithContext
deprecated
func NewDeleteAdminParserIDParamsWithContext(ctx context.Context) *DeleteAdminParserIDParams
NewDeleteAdminParserIDParamsWithContext creates a new DeleteAdminParserIDParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of DeleteAdminParserIDParams.
func NewDeleteAdminParserIDParamsWithHTTPClient ¶
func NewDeleteAdminParserIDParamsWithHTTPClient(client *http.Client) *DeleteAdminParserIDParams
NewDeleteAdminParserIDParamsWithHTTPClient creates a new DeleteAdminParserIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteAdminParserIDParamsWithTimeout ¶
func NewDeleteAdminParserIDParamsWithTimeout(timeout time.Duration) *DeleteAdminParserIDParams
NewDeleteAdminParserIDParamsWithTimeout creates a new DeleteAdminParserIDParams object with the ability to set a timeout on a request.
func (*DeleteAdminParserIDParams) SetContext
deprecated
func (o *DeleteAdminParserIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete admin parser ID params.
Deprecated: use the operation call with context to pass the context instead of DeleteAdminParserIDParams.
func (*DeleteAdminParserIDParams) SetDefaults ¶
func (o *DeleteAdminParserIDParams) SetDefaults()
SetDefaults hydrates default values in the delete admin parser ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAdminParserIDParams) SetHTTPClient ¶
func (o *DeleteAdminParserIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete admin parser ID params.
func (*DeleteAdminParserIDParams) SetID ¶
func (o *DeleteAdminParserIDParams) SetID(id int64)
SetID adds the id to the delete admin parser ID params.
func (*DeleteAdminParserIDParams) SetTimeout ¶
func (o *DeleteAdminParserIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete admin parser ID params.
func (*DeleteAdminParserIDParams) WithContext
deprecated
func (o *DeleteAdminParserIDParams) WithContext(ctx context.Context) *DeleteAdminParserIDParams
WithContext adds the context to the delete admin parser ID params.
Deprecated: use the operation call with context to pass the context instead of DeleteAdminParserIDParams.
func (*DeleteAdminParserIDParams) WithDefaults ¶
func (o *DeleteAdminParserIDParams) WithDefaults() *DeleteAdminParserIDParams
WithDefaults hydrates default values in the delete admin parser ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAdminParserIDParams) WithHTTPClient ¶
func (o *DeleteAdminParserIDParams) WithHTTPClient(client *http.Client) *DeleteAdminParserIDParams
WithHTTPClient adds the HTTPClient to the delete admin parser ID params.
func (*DeleteAdminParserIDParams) WithID ¶
func (o *DeleteAdminParserIDParams) WithID(id int64) *DeleteAdminParserIDParams
WithID adds the id to the delete admin parser ID params.
func (*DeleteAdminParserIDParams) WithTimeout ¶
func (o *DeleteAdminParserIDParams) WithTimeout(timeout time.Duration) *DeleteAdminParserIDParams
WithTimeout adds the timeout to the delete admin parser ID params.
func (*DeleteAdminParserIDParams) WriteToRequest ¶
func (o *DeleteAdminParserIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type DeleteAdminParserIDReader ¶
type DeleteAdminParserIDReader struct {
// contains filtered or unexported fields
}
DeleteAdminParserIDReader is a Reader for the DeleteAdminParserID structure.
func (*DeleteAdminParserIDReader) ReadResponse ¶
func (o *DeleteAdminParserIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type DeleteAdminParserIDUnauthorized ¶
type DeleteAdminParserIDUnauthorized struct {
}
DeleteAdminParserIDUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteAdminParserIDUnauthorized ¶
func NewDeleteAdminParserIDUnauthorized() *DeleteAdminParserIDUnauthorized
NewDeleteAdminParserIDUnauthorized creates a DeleteAdminParserIDUnauthorized with default headers values
func (*DeleteAdminParserIDUnauthorized) Code ¶
func (o *DeleteAdminParserIDUnauthorized) Code() int
Code gets the status code for the delete admin parser Id unauthorized response
func (*DeleteAdminParserIDUnauthorized) Error ¶
func (o *DeleteAdminParserIDUnauthorized) Error() string
func (*DeleteAdminParserIDUnauthorized) GetPayload ¶
func (o *DeleteAdminParserIDUnauthorized) GetPayload() *models.DtoErrorResponse
func (*DeleteAdminParserIDUnauthorized) IsClientError ¶
func (o *DeleteAdminParserIDUnauthorized) IsClientError() bool
IsClientError returns true when this delete admin parser Id unauthorized response has a 4xx status code
func (*DeleteAdminParserIDUnauthorized) IsCode ¶
func (o *DeleteAdminParserIDUnauthorized) IsCode(code int) bool
IsCode returns true when this delete admin parser Id unauthorized response a status code equal to that given
func (*DeleteAdminParserIDUnauthorized) IsRedirect ¶
func (o *DeleteAdminParserIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete admin parser Id unauthorized response has a 3xx status code
func (*DeleteAdminParserIDUnauthorized) IsServerError ¶
func (o *DeleteAdminParserIDUnauthorized) IsServerError() bool
IsServerError returns true when this delete admin parser Id unauthorized response has a 5xx status code
func (*DeleteAdminParserIDUnauthorized) IsSuccess ¶
func (o *DeleteAdminParserIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete admin parser Id unauthorized response has a 2xx status code
func (*DeleteAdminParserIDUnauthorized) String ¶
func (o *DeleteAdminParserIDUnauthorized) String() string
type PostAdminParserBadRequest ¶
type PostAdminParserBadRequest struct {
Payload *models.DtoErrorResponse
}
PostAdminParserBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostAdminParserBadRequest ¶
func NewPostAdminParserBadRequest() *PostAdminParserBadRequest
NewPostAdminParserBadRequest creates a PostAdminParserBadRequest with default headers values
func (*PostAdminParserBadRequest) Code ¶
func (o *PostAdminParserBadRequest) Code() int
Code gets the status code for the post admin parser bad request response
func (*PostAdminParserBadRequest) Error ¶
func (o *PostAdminParserBadRequest) Error() string
func (*PostAdminParserBadRequest) GetPayload ¶
func (o *PostAdminParserBadRequest) GetPayload() *models.DtoErrorResponse
func (*PostAdminParserBadRequest) IsClientError ¶
func (o *PostAdminParserBadRequest) IsClientError() bool
IsClientError returns true when this post admin parser bad request response has a 4xx status code
func (*PostAdminParserBadRequest) IsCode ¶
func (o *PostAdminParserBadRequest) IsCode(code int) bool
IsCode returns true when this post admin parser bad request response a status code equal to that given
func (*PostAdminParserBadRequest) IsRedirect ¶
func (o *PostAdminParserBadRequest) IsRedirect() bool
IsRedirect returns true when this post admin parser bad request response has a 3xx status code
func (*PostAdminParserBadRequest) IsServerError ¶
func (o *PostAdminParserBadRequest) IsServerError() bool
IsServerError returns true when this post admin parser bad request response has a 5xx status code
func (*PostAdminParserBadRequest) IsSuccess ¶
func (o *PostAdminParserBadRequest) IsSuccess() bool
IsSuccess returns true when this post admin parser bad request response has a 2xx status code
func (*PostAdminParserBadRequest) String ¶
func (o *PostAdminParserBadRequest) String() string
type PostAdminParserConflict ¶
type PostAdminParserConflict struct {
Payload *models.DtoErrorResponse
}
PostAdminParserConflict describes a response with status code 409, with default header values.
Conflict
func NewPostAdminParserConflict ¶
func NewPostAdminParserConflict() *PostAdminParserConflict
NewPostAdminParserConflict creates a PostAdminParserConflict with default headers values
func (*PostAdminParserConflict) Code ¶
func (o *PostAdminParserConflict) Code() int
Code gets the status code for the post admin parser conflict response
func (*PostAdminParserConflict) Error ¶
func (o *PostAdminParserConflict) Error() string
func (*PostAdminParserConflict) GetPayload ¶
func (o *PostAdminParserConflict) GetPayload() *models.DtoErrorResponse
func (*PostAdminParserConflict) IsClientError ¶
func (o *PostAdminParserConflict) IsClientError() bool
IsClientError returns true when this post admin parser conflict response has a 4xx status code
func (*PostAdminParserConflict) IsCode ¶
func (o *PostAdminParserConflict) IsCode(code int) bool
IsCode returns true when this post admin parser conflict response a status code equal to that given
func (*PostAdminParserConflict) IsRedirect ¶
func (o *PostAdminParserConflict) IsRedirect() bool
IsRedirect returns true when this post admin parser conflict response has a 3xx status code
func (*PostAdminParserConflict) IsServerError ¶
func (o *PostAdminParserConflict) IsServerError() bool
IsServerError returns true when this post admin parser conflict response has a 5xx status code
func (*PostAdminParserConflict) IsSuccess ¶
func (o *PostAdminParserConflict) IsSuccess() bool
IsSuccess returns true when this post admin parser conflict response has a 2xx status code
func (*PostAdminParserConflict) String ¶
func (o *PostAdminParserConflict) String() string
type PostAdminParserCreated ¶
type PostAdminParserCreated struct {
Payload *models.DtoNewParserResponse
}
PostAdminParserCreated describes a response with status code 201, with default header values.
Created
func NewPostAdminParserCreated ¶
func NewPostAdminParserCreated() *PostAdminParserCreated
NewPostAdminParserCreated creates a PostAdminParserCreated with default headers values
func (*PostAdminParserCreated) Code ¶
func (o *PostAdminParserCreated) Code() int
Code gets the status code for the post admin parser created response
func (*PostAdminParserCreated) Error ¶
func (o *PostAdminParserCreated) Error() string
func (*PostAdminParserCreated) GetPayload ¶
func (o *PostAdminParserCreated) GetPayload() *models.DtoNewParserResponse
func (*PostAdminParserCreated) IsClientError ¶
func (o *PostAdminParserCreated) IsClientError() bool
IsClientError returns true when this post admin parser created response has a 4xx status code
func (*PostAdminParserCreated) IsCode ¶
func (o *PostAdminParserCreated) IsCode(code int) bool
IsCode returns true when this post admin parser created response a status code equal to that given
func (*PostAdminParserCreated) IsRedirect ¶
func (o *PostAdminParserCreated) IsRedirect() bool
IsRedirect returns true when this post admin parser created response has a 3xx status code
func (*PostAdminParserCreated) IsServerError ¶
func (o *PostAdminParserCreated) IsServerError() bool
IsServerError returns true when this post admin parser created response has a 5xx status code
func (*PostAdminParserCreated) IsSuccess ¶
func (o *PostAdminParserCreated) IsSuccess() bool
IsSuccess returns true when this post admin parser created response has a 2xx status code
func (*PostAdminParserCreated) String ¶
func (o *PostAdminParserCreated) String() string
type PostAdminParserInternalServerError ¶
type PostAdminParserInternalServerError struct {
Payload *models.DtoErrorResponse
}
PostAdminParserInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostAdminParserInternalServerError ¶
func NewPostAdminParserInternalServerError() *PostAdminParserInternalServerError
NewPostAdminParserInternalServerError creates a PostAdminParserInternalServerError with default headers values
func (*PostAdminParserInternalServerError) Code ¶
func (o *PostAdminParserInternalServerError) Code() int
Code gets the status code for the post admin parser internal server error response
func (*PostAdminParserInternalServerError) Error ¶
func (o *PostAdminParserInternalServerError) Error() string
func (*PostAdminParserInternalServerError) GetPayload ¶
func (o *PostAdminParserInternalServerError) GetPayload() *models.DtoErrorResponse
func (*PostAdminParserInternalServerError) IsClientError ¶
func (o *PostAdminParserInternalServerError) IsClientError() bool
IsClientError returns true when this post admin parser internal server error response has a 4xx status code
func (*PostAdminParserInternalServerError) IsCode ¶
func (o *PostAdminParserInternalServerError) IsCode(code int) bool
IsCode returns true when this post admin parser internal server error response a status code equal to that given
func (*PostAdminParserInternalServerError) IsRedirect ¶
func (o *PostAdminParserInternalServerError) IsRedirect() bool
IsRedirect returns true when this post admin parser internal server error response has a 3xx status code
func (*PostAdminParserInternalServerError) IsServerError ¶
func (o *PostAdminParserInternalServerError) IsServerError() bool
IsServerError returns true when this post admin parser internal server error response has a 5xx status code
func (*PostAdminParserInternalServerError) IsSuccess ¶
func (o *PostAdminParserInternalServerError) IsSuccess() bool
IsSuccess returns true when this post admin parser internal server error response has a 2xx status code
func (*PostAdminParserInternalServerError) String ¶
func (o *PostAdminParserInternalServerError) String() string
type PostAdminParserParams ¶
type PostAdminParserParams struct {
// NewParserRequest.
//
// new parser request
NewParserRequest *models.DtoNewParserRequest
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostAdminParserParams contains all the parameters to send to the API endpoint
for the post admin parser operation. Typically these are written to a http.Request.
func NewPostAdminParserParams ¶
func NewPostAdminParserParams() *PostAdminParserParams
NewPostAdminParserParams creates a new PostAdminParserParams 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 NewPostAdminParserParamsWithContext
deprecated
func NewPostAdminParserParamsWithContext(ctx context.Context) *PostAdminParserParams
NewPostAdminParserParamsWithContext creates a new PostAdminParserParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of PostAdminParserParams.
func NewPostAdminParserParamsWithHTTPClient ¶
func NewPostAdminParserParamsWithHTTPClient(client *http.Client) *PostAdminParserParams
NewPostAdminParserParamsWithHTTPClient creates a new PostAdminParserParams object with the ability to set a custom HTTPClient for a request.
func NewPostAdminParserParamsWithTimeout ¶
func NewPostAdminParserParamsWithTimeout(timeout time.Duration) *PostAdminParserParams
NewPostAdminParserParamsWithTimeout creates a new PostAdminParserParams object with the ability to set a timeout on a request.
func (*PostAdminParserParams) SetContext
deprecated
func (o *PostAdminParserParams) SetContext(ctx context.Context)
SetContext adds the context to the post admin parser params.
Deprecated: use the operation call with context to pass the context instead of PostAdminParserParams.
func (*PostAdminParserParams) SetDefaults ¶
func (o *PostAdminParserParams) SetDefaults()
SetDefaults hydrates default values in the post admin parser params (not the query body).
All values with no default are reset to their zero value.
func (*PostAdminParserParams) SetHTTPClient ¶
func (o *PostAdminParserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post admin parser params.
func (*PostAdminParserParams) SetNewParserRequest ¶
func (o *PostAdminParserParams) SetNewParserRequest(newParserRequest *models.DtoNewParserRequest)
SetNewParserRequest adds the newParserRequest to the post admin parser params.
func (*PostAdminParserParams) SetTimeout ¶
func (o *PostAdminParserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post admin parser params.
func (*PostAdminParserParams) WithContext
deprecated
func (o *PostAdminParserParams) WithContext(ctx context.Context) *PostAdminParserParams
WithContext adds the context to the post admin parser params.
Deprecated: use the operation call with context to pass the context instead of PostAdminParserParams.
func (*PostAdminParserParams) WithDefaults ¶
func (o *PostAdminParserParams) WithDefaults() *PostAdminParserParams
WithDefaults hydrates default values in the post admin parser params (not the query body).
All values with no default are reset to their zero value.
func (*PostAdminParserParams) WithHTTPClient ¶
func (o *PostAdminParserParams) WithHTTPClient(client *http.Client) *PostAdminParserParams
WithHTTPClient adds the HTTPClient to the post admin parser params.
func (*PostAdminParserParams) WithNewParserRequest ¶
func (o *PostAdminParserParams) WithNewParserRequest(newParserRequest *models.DtoNewParserRequest) *PostAdminParserParams
WithNewParserRequest adds the newParserRequest to the post admin parser params.
func (*PostAdminParserParams) WithTimeout ¶
func (o *PostAdminParserParams) WithTimeout(timeout time.Duration) *PostAdminParserParams
WithTimeout adds the timeout to the post admin parser params.
func (*PostAdminParserParams) WriteToRequest ¶
func (o *PostAdminParserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type PostAdminParserReader ¶
type PostAdminParserReader struct {
// contains filtered or unexported fields
}
PostAdminParserReader is a Reader for the PostAdminParser structure.
func (*PostAdminParserReader) ReadResponse ¶
func (o *PostAdminParserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PostAdminParserUnauthorized ¶
type PostAdminParserUnauthorized struct {
}
PostAdminParserUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPostAdminParserUnauthorized ¶
func NewPostAdminParserUnauthorized() *PostAdminParserUnauthorized
NewPostAdminParserUnauthorized creates a PostAdminParserUnauthorized with default headers values
func (*PostAdminParserUnauthorized) Code ¶
func (o *PostAdminParserUnauthorized) Code() int
Code gets the status code for the post admin parser unauthorized response
func (*PostAdminParserUnauthorized) Error ¶
func (o *PostAdminParserUnauthorized) Error() string
func (*PostAdminParserUnauthorized) GetPayload ¶
func (o *PostAdminParserUnauthorized) GetPayload() *models.DtoErrorResponse
func (*PostAdminParserUnauthorized) IsClientError ¶
func (o *PostAdminParserUnauthorized) IsClientError() bool
IsClientError returns true when this post admin parser unauthorized response has a 4xx status code
func (*PostAdminParserUnauthorized) IsCode ¶
func (o *PostAdminParserUnauthorized) IsCode(code int) bool
IsCode returns true when this post admin parser unauthorized response a status code equal to that given
func (*PostAdminParserUnauthorized) IsRedirect ¶
func (o *PostAdminParserUnauthorized) IsRedirect() bool
IsRedirect returns true when this post admin parser unauthorized response has a 3xx status code
func (*PostAdminParserUnauthorized) IsServerError ¶
func (o *PostAdminParserUnauthorized) IsServerError() bool
IsServerError returns true when this post admin parser unauthorized response has a 5xx status code
func (*PostAdminParserUnauthorized) IsSuccess ¶
func (o *PostAdminParserUnauthorized) IsSuccess() bool
IsSuccess returns true when this post admin parser unauthorized response has a 2xx status code
func (*PostAdminParserUnauthorized) String ¶
func (o *PostAdminParserUnauthorized) String() string