api_key

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

WithContentTypeApplicationJSON sets the Content-Type header to "application/json".

func WithContentTypeApplicationxWwwFormUrlencoded

func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)

WithContentTypeApplicationxWwwFormUrlencoded sets the Content-Type header to "application/x-www-form-urlencoded".

Types

type Client

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

Client for api key API

func (*Client) DeleteAPIKeyTaskIDCancel

func (a *Client) DeleteAPIKeyTaskIDCancel(params *DeleteAPIKeyTaskIDCancelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeyTaskIDCancelOK, error)

DeleteAPIKeyTaskIDCancel cancels task by Api key

func (*Client) GetAPIKeyBalance

func (a *Client) GetAPIKeyBalance(params *GetAPIKeyBalanceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyBalanceOK, error)

GetAPIKeyBalance gets Api key balance

func (*Client) GetAPIKeyPermission

func (a *Client) GetAPIKeyPermission(params *GetAPIKeyPermissionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyPermissionOK, error)

GetAPIKeyPermission gets Api key permission

func (*Client) GetAPIKeyTaskHistories

func (a *Client) GetAPIKeyTaskHistories(params *GetAPIKeyTaskHistoriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyTaskHistoriesOK, error)

GetAPIKeyTaskHistories gets tasks histories

func (*Client) GetAPIKeyTaskIDDetail

func (a *Client) GetAPIKeyTaskIDDetail(params *GetAPIKeyTaskIDDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyTaskIDDetailOK, error)

GetAPIKeyTaskIDDetail gets Api key log by task Id

func (*Client) PostAPIKeyModelIDTask

func (a *Client) PostAPIKeyModelIDTask(params *PostAPIKeyModelIDTaskParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyModelIDTaskOK, error)

PostAPIKeyModelIDTask distributes task v2 Api key

func (*Client) PostAPIKeyStatistics

func (a *Client) PostAPIKeyStatistics(params *PostAPIKeyStatisticsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyStatisticsOK, error)

PostAPIKeyStatistics gets Api key statistics

func (*Client) PostAPIKeyTask

func (a *Client) PostAPIKeyTask(params *PostAPIKeyTaskParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyTaskOK, error)

PostAPIKeyTask distributes task Api key

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

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.

func WithContentType

func WithContentType(mime string) ClientOption

WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService

type ClientService interface {
	DeleteAPIKeyTaskIDCancel(params *DeleteAPIKeyTaskIDCancelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeyTaskIDCancelOK, error)

	GetAPIKeyBalance(params *GetAPIKeyBalanceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyBalanceOK, error)

	GetAPIKeyPermission(params *GetAPIKeyPermissionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyPermissionOK, error)

	GetAPIKeyTaskHistories(params *GetAPIKeyTaskHistoriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyTaskHistoriesOK, error)

	GetAPIKeyTaskIDDetail(params *GetAPIKeyTaskIDDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyTaskIDDetailOK, error)

	PostAPIKeyModelIDTask(params *PostAPIKeyModelIDTaskParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyModelIDTaskOK, error)

	PostAPIKeyStatistics(params *PostAPIKeyStatisticsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyStatisticsOK, error)

	PostAPIKeyTask(params *PostAPIKeyTaskParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyTaskOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new api key API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new api key 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 api key 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 DeleteAPIKeyTaskIDCancelBadRequest

type DeleteAPIKeyTaskIDCancelBadRequest struct {
	Payload *models.ResponseFailResponse
}

DeleteAPIKeyTaskIDCancelBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeleteAPIKeyTaskIDCancelBadRequest

func NewDeleteAPIKeyTaskIDCancelBadRequest() *DeleteAPIKeyTaskIDCancelBadRequest

NewDeleteAPIKeyTaskIDCancelBadRequest creates a DeleteAPIKeyTaskIDCancelBadRequest with default headers values

func (*DeleteAPIKeyTaskIDCancelBadRequest) Code

Code gets the status code for the delete Api key task Id cancel bad request response

func (*DeleteAPIKeyTaskIDCancelBadRequest) Error

func (*DeleteAPIKeyTaskIDCancelBadRequest) GetPayload

func (*DeleteAPIKeyTaskIDCancelBadRequest) IsClientError

func (o *DeleteAPIKeyTaskIDCancelBadRequest) IsClientError() bool

IsClientError returns true when this delete Api key task Id cancel bad request response has a 4xx status code

func (*DeleteAPIKeyTaskIDCancelBadRequest) IsCode

IsCode returns true when this delete Api key task Id cancel bad request response a status code equal to that given

func (*DeleteAPIKeyTaskIDCancelBadRequest) IsRedirect

func (o *DeleteAPIKeyTaskIDCancelBadRequest) IsRedirect() bool

IsRedirect returns true when this delete Api key task Id cancel bad request response has a 3xx status code

func (*DeleteAPIKeyTaskIDCancelBadRequest) IsServerError

func (o *DeleteAPIKeyTaskIDCancelBadRequest) IsServerError() bool

IsServerError returns true when this delete Api key task Id cancel bad request response has a 5xx status code

func (*DeleteAPIKeyTaskIDCancelBadRequest) IsSuccess

IsSuccess returns true when this delete Api key task Id cancel bad request response has a 2xx status code

func (*DeleteAPIKeyTaskIDCancelBadRequest) String

type DeleteAPIKeyTaskIDCancelInternalServerError

type DeleteAPIKeyTaskIDCancelInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

DeleteAPIKeyTaskIDCancelInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeleteAPIKeyTaskIDCancelInternalServerError

func NewDeleteAPIKeyTaskIDCancelInternalServerError() *DeleteAPIKeyTaskIDCancelInternalServerError

NewDeleteAPIKeyTaskIDCancelInternalServerError creates a DeleteAPIKeyTaskIDCancelInternalServerError with default headers values

func (*DeleteAPIKeyTaskIDCancelInternalServerError) Code

Code gets the status code for the delete Api key task Id cancel internal server error response

func (*DeleteAPIKeyTaskIDCancelInternalServerError) Error

func (*DeleteAPIKeyTaskIDCancelInternalServerError) GetPayload

func (*DeleteAPIKeyTaskIDCancelInternalServerError) IsClientError

IsClientError returns true when this delete Api key task Id cancel internal server error response has a 4xx status code

func (*DeleteAPIKeyTaskIDCancelInternalServerError) IsCode

IsCode returns true when this delete Api key task Id cancel internal server error response a status code equal to that given

func (*DeleteAPIKeyTaskIDCancelInternalServerError) IsRedirect

IsRedirect returns true when this delete Api key task Id cancel internal server error response has a 3xx status code

func (*DeleteAPIKeyTaskIDCancelInternalServerError) IsServerError

IsServerError returns true when this delete Api key task Id cancel internal server error response has a 5xx status code

func (*DeleteAPIKeyTaskIDCancelInternalServerError) IsSuccess

IsSuccess returns true when this delete Api key task Id cancel internal server error response has a 2xx status code

func (*DeleteAPIKeyTaskIDCancelInternalServerError) String

type DeleteAPIKeyTaskIDCancelOK

type DeleteAPIKeyTaskIDCancelOK struct {
	Payload *models.ResponseSuccessResponse
}

DeleteAPIKeyTaskIDCancelOK describes a response with status code 200, with default header values.

OK

func NewDeleteAPIKeyTaskIDCancelOK

func NewDeleteAPIKeyTaskIDCancelOK() *DeleteAPIKeyTaskIDCancelOK

NewDeleteAPIKeyTaskIDCancelOK creates a DeleteAPIKeyTaskIDCancelOK with default headers values

func (*DeleteAPIKeyTaskIDCancelOK) Code

func (o *DeleteAPIKeyTaskIDCancelOK) Code() int

Code gets the status code for the delete Api key task Id cancel o k response

func (*DeleteAPIKeyTaskIDCancelOK) Error

func (*DeleteAPIKeyTaskIDCancelOK) GetPayload

func (*DeleteAPIKeyTaskIDCancelOK) IsClientError

func (o *DeleteAPIKeyTaskIDCancelOK) IsClientError() bool

IsClientError returns true when this delete Api key task Id cancel o k response has a 4xx status code

func (*DeleteAPIKeyTaskIDCancelOK) IsCode

func (o *DeleteAPIKeyTaskIDCancelOK) IsCode(code int) bool

IsCode returns true when this delete Api key task Id cancel o k response a status code equal to that given

func (*DeleteAPIKeyTaskIDCancelOK) IsRedirect

func (o *DeleteAPIKeyTaskIDCancelOK) IsRedirect() bool

IsRedirect returns true when this delete Api key task Id cancel o k response has a 3xx status code

func (*DeleteAPIKeyTaskIDCancelOK) IsServerError

func (o *DeleteAPIKeyTaskIDCancelOK) IsServerError() bool

IsServerError returns true when this delete Api key task Id cancel o k response has a 5xx status code

func (*DeleteAPIKeyTaskIDCancelOK) IsSuccess

func (o *DeleteAPIKeyTaskIDCancelOK) IsSuccess() bool

IsSuccess returns true when this delete Api key task Id cancel o k response has a 2xx status code

func (*DeleteAPIKeyTaskIDCancelOK) String

func (o *DeleteAPIKeyTaskIDCancelOK) String() string

type DeleteAPIKeyTaskIDCancelParams

type DeleteAPIKeyTaskIDCancelParams struct {

	/* ID.

	   Task's id
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteAPIKeyTaskIDCancelParams contains all the parameters to send to the API endpoint

for the delete API key task ID cancel operation.

Typically these are written to a http.Request.

func NewDeleteAPIKeyTaskIDCancelParams

func NewDeleteAPIKeyTaskIDCancelParams() *DeleteAPIKeyTaskIDCancelParams

NewDeleteAPIKeyTaskIDCancelParams creates a new DeleteAPIKeyTaskIDCancelParams 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 NewDeleteAPIKeyTaskIDCancelParamsWithContext

func NewDeleteAPIKeyTaskIDCancelParamsWithContext(ctx context.Context) *DeleteAPIKeyTaskIDCancelParams

NewDeleteAPIKeyTaskIDCancelParamsWithContext creates a new DeleteAPIKeyTaskIDCancelParams object with the ability to set a context for a request.

func NewDeleteAPIKeyTaskIDCancelParamsWithHTTPClient

func NewDeleteAPIKeyTaskIDCancelParamsWithHTTPClient(client *http.Client) *DeleteAPIKeyTaskIDCancelParams

NewDeleteAPIKeyTaskIDCancelParamsWithHTTPClient creates a new DeleteAPIKeyTaskIDCancelParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAPIKeyTaskIDCancelParamsWithTimeout

func NewDeleteAPIKeyTaskIDCancelParamsWithTimeout(timeout time.Duration) *DeleteAPIKeyTaskIDCancelParams

NewDeleteAPIKeyTaskIDCancelParamsWithTimeout creates a new DeleteAPIKeyTaskIDCancelParams object with the ability to set a timeout on a request.

func (*DeleteAPIKeyTaskIDCancelParams) SetContext

func (o *DeleteAPIKeyTaskIDCancelParams) SetContext(ctx context.Context)

SetContext adds the context to the delete API key task ID cancel params

func (*DeleteAPIKeyTaskIDCancelParams) SetDefaults

func (o *DeleteAPIKeyTaskIDCancelParams) SetDefaults()

SetDefaults hydrates default values in the delete API key task ID cancel params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteAPIKeyTaskIDCancelParams) SetHTTPClient

func (o *DeleteAPIKeyTaskIDCancelParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete API key task ID cancel params

func (*DeleteAPIKeyTaskIDCancelParams) SetID

SetID adds the id to the delete API key task ID cancel params

func (*DeleteAPIKeyTaskIDCancelParams) SetTimeout

func (o *DeleteAPIKeyTaskIDCancelParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete API key task ID cancel params

func (*DeleteAPIKeyTaskIDCancelParams) WithContext

WithContext adds the context to the delete API key task ID cancel params

func (*DeleteAPIKeyTaskIDCancelParams) WithDefaults

WithDefaults hydrates default values in the delete API key task ID cancel params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteAPIKeyTaskIDCancelParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete API key task ID cancel params

func (*DeleteAPIKeyTaskIDCancelParams) WithID

WithID adds the id to the delete API key task ID cancel params

func (*DeleteAPIKeyTaskIDCancelParams) WithTimeout

WithTimeout adds the timeout to the delete API key task ID cancel params

func (*DeleteAPIKeyTaskIDCancelParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAPIKeyTaskIDCancelReader

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

DeleteAPIKeyTaskIDCancelReader is a Reader for the DeleteAPIKeyTaskIDCancel structure.

func (*DeleteAPIKeyTaskIDCancelReader) ReadResponse

func (o *DeleteAPIKeyTaskIDCancelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetAPIKeyBalanceBadRequest

type GetAPIKeyBalanceBadRequest struct {
	Payload *models.ResponseFailResponse
}

GetAPIKeyBalanceBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetAPIKeyBalanceBadRequest

func NewGetAPIKeyBalanceBadRequest() *GetAPIKeyBalanceBadRequest

NewGetAPIKeyBalanceBadRequest creates a GetAPIKeyBalanceBadRequest with default headers values

func (*GetAPIKeyBalanceBadRequest) Code

func (o *GetAPIKeyBalanceBadRequest) Code() int

Code gets the status code for the get Api key balance bad request response

func (*GetAPIKeyBalanceBadRequest) Error

func (*GetAPIKeyBalanceBadRequest) GetPayload

func (*GetAPIKeyBalanceBadRequest) IsClientError

func (o *GetAPIKeyBalanceBadRequest) IsClientError() bool

IsClientError returns true when this get Api key balance bad request response has a 4xx status code

func (*GetAPIKeyBalanceBadRequest) IsCode

func (o *GetAPIKeyBalanceBadRequest) IsCode(code int) bool

IsCode returns true when this get Api key balance bad request response a status code equal to that given

func (*GetAPIKeyBalanceBadRequest) IsRedirect

func (o *GetAPIKeyBalanceBadRequest) IsRedirect() bool

IsRedirect returns true when this get Api key balance bad request response has a 3xx status code

func (*GetAPIKeyBalanceBadRequest) IsServerError

func (o *GetAPIKeyBalanceBadRequest) IsServerError() bool

IsServerError returns true when this get Api key balance bad request response has a 5xx status code

func (*GetAPIKeyBalanceBadRequest) IsSuccess

func (o *GetAPIKeyBalanceBadRequest) IsSuccess() bool

IsSuccess returns true when this get Api key balance bad request response has a 2xx status code

func (*GetAPIKeyBalanceBadRequest) String

func (o *GetAPIKeyBalanceBadRequest) String() string

type GetAPIKeyBalanceInternalServerError

type GetAPIKeyBalanceInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

GetAPIKeyBalanceInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetAPIKeyBalanceInternalServerError

func NewGetAPIKeyBalanceInternalServerError() *GetAPIKeyBalanceInternalServerError

NewGetAPIKeyBalanceInternalServerError creates a GetAPIKeyBalanceInternalServerError with default headers values

func (*GetAPIKeyBalanceInternalServerError) Code

Code gets the status code for the get Api key balance internal server error response

func (*GetAPIKeyBalanceInternalServerError) Error

func (*GetAPIKeyBalanceInternalServerError) GetPayload

func (*GetAPIKeyBalanceInternalServerError) IsClientError

func (o *GetAPIKeyBalanceInternalServerError) IsClientError() bool

IsClientError returns true when this get Api key balance internal server error response has a 4xx status code

func (*GetAPIKeyBalanceInternalServerError) IsCode

IsCode returns true when this get Api key balance internal server error response a status code equal to that given

func (*GetAPIKeyBalanceInternalServerError) IsRedirect

func (o *GetAPIKeyBalanceInternalServerError) IsRedirect() bool

IsRedirect returns true when this get Api key balance internal server error response has a 3xx status code

func (*GetAPIKeyBalanceInternalServerError) IsServerError

func (o *GetAPIKeyBalanceInternalServerError) IsServerError() bool

IsServerError returns true when this get Api key balance internal server error response has a 5xx status code

func (*GetAPIKeyBalanceInternalServerError) IsSuccess

IsSuccess returns true when this get Api key balance internal server error response has a 2xx status code

func (*GetAPIKeyBalanceInternalServerError) String

type GetAPIKeyBalanceOK

type GetAPIKeyBalanceOK struct {
	Payload *models.ResponseWalletWithAddressResponse
}

GetAPIKeyBalanceOK describes a response with status code 200, with default header values.

OK

func NewGetAPIKeyBalanceOK

func NewGetAPIKeyBalanceOK() *GetAPIKeyBalanceOK

NewGetAPIKeyBalanceOK creates a GetAPIKeyBalanceOK with default headers values

func (*GetAPIKeyBalanceOK) Code

func (o *GetAPIKeyBalanceOK) Code() int

Code gets the status code for the get Api key balance o k response

func (*GetAPIKeyBalanceOK) Error

func (o *GetAPIKeyBalanceOK) Error() string

func (*GetAPIKeyBalanceOK) GetPayload

func (*GetAPIKeyBalanceOK) IsClientError

func (o *GetAPIKeyBalanceOK) IsClientError() bool

IsClientError returns true when this get Api key balance o k response has a 4xx status code

func (*GetAPIKeyBalanceOK) IsCode

func (o *GetAPIKeyBalanceOK) IsCode(code int) bool

IsCode returns true when this get Api key balance o k response a status code equal to that given

func (*GetAPIKeyBalanceOK) IsRedirect

func (o *GetAPIKeyBalanceOK) IsRedirect() bool

IsRedirect returns true when this get Api key balance o k response has a 3xx status code

func (*GetAPIKeyBalanceOK) IsServerError

func (o *GetAPIKeyBalanceOK) IsServerError() bool

IsServerError returns true when this get Api key balance o k response has a 5xx status code

func (*GetAPIKeyBalanceOK) IsSuccess

func (o *GetAPIKeyBalanceOK) IsSuccess() bool

IsSuccess returns true when this get Api key balance o k response has a 2xx status code

func (*GetAPIKeyBalanceOK) String

func (o *GetAPIKeyBalanceOK) String() string

type GetAPIKeyBalanceParams

type GetAPIKeyBalanceParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAPIKeyBalanceParams contains all the parameters to send to the API endpoint

for the get API key balance operation.

Typically these are written to a http.Request.

func NewGetAPIKeyBalanceParams

func NewGetAPIKeyBalanceParams() *GetAPIKeyBalanceParams

NewGetAPIKeyBalanceParams creates a new GetAPIKeyBalanceParams 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 NewGetAPIKeyBalanceParamsWithContext

func NewGetAPIKeyBalanceParamsWithContext(ctx context.Context) *GetAPIKeyBalanceParams

NewGetAPIKeyBalanceParamsWithContext creates a new GetAPIKeyBalanceParams object with the ability to set a context for a request.

func NewGetAPIKeyBalanceParamsWithHTTPClient

func NewGetAPIKeyBalanceParamsWithHTTPClient(client *http.Client) *GetAPIKeyBalanceParams

NewGetAPIKeyBalanceParamsWithHTTPClient creates a new GetAPIKeyBalanceParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIKeyBalanceParamsWithTimeout

func NewGetAPIKeyBalanceParamsWithTimeout(timeout time.Duration) *GetAPIKeyBalanceParams

NewGetAPIKeyBalanceParamsWithTimeout creates a new GetAPIKeyBalanceParams object with the ability to set a timeout on a request.

func (*GetAPIKeyBalanceParams) SetContext

func (o *GetAPIKeyBalanceParams) SetContext(ctx context.Context)

SetContext adds the context to the get API key balance params

func (*GetAPIKeyBalanceParams) SetDefaults

func (o *GetAPIKeyBalanceParams) SetDefaults()

SetDefaults hydrates default values in the get API key balance params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPIKeyBalanceParams) SetHTTPClient

func (o *GetAPIKeyBalanceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get API key balance params

func (*GetAPIKeyBalanceParams) SetTimeout

func (o *GetAPIKeyBalanceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get API key balance params

func (*GetAPIKeyBalanceParams) WithContext

WithContext adds the context to the get API key balance params

func (*GetAPIKeyBalanceParams) WithDefaults

WithDefaults hydrates default values in the get API key balance params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPIKeyBalanceParams) WithHTTPClient

func (o *GetAPIKeyBalanceParams) WithHTTPClient(client *http.Client) *GetAPIKeyBalanceParams

WithHTTPClient adds the HTTPClient to the get API key balance params

func (*GetAPIKeyBalanceParams) WithTimeout

WithTimeout adds the timeout to the get API key balance params

func (*GetAPIKeyBalanceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPIKeyBalanceReader

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

GetAPIKeyBalanceReader is a Reader for the GetAPIKeyBalance structure.

func (*GetAPIKeyBalanceReader) ReadResponse

func (o *GetAPIKeyBalanceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetAPIKeyPermissionBadRequest

type GetAPIKeyPermissionBadRequest struct {
	Payload *models.ResponseFailResponse
}

GetAPIKeyPermissionBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetAPIKeyPermissionBadRequest

func NewGetAPIKeyPermissionBadRequest() *GetAPIKeyPermissionBadRequest

NewGetAPIKeyPermissionBadRequest creates a GetAPIKeyPermissionBadRequest with default headers values

func (*GetAPIKeyPermissionBadRequest) Code

Code gets the status code for the get Api key permission bad request response

func (*GetAPIKeyPermissionBadRequest) Error

func (*GetAPIKeyPermissionBadRequest) GetPayload

func (*GetAPIKeyPermissionBadRequest) IsClientError

func (o *GetAPIKeyPermissionBadRequest) IsClientError() bool

IsClientError returns true when this get Api key permission bad request response has a 4xx status code

func (*GetAPIKeyPermissionBadRequest) IsCode

func (o *GetAPIKeyPermissionBadRequest) IsCode(code int) bool

IsCode returns true when this get Api key permission bad request response a status code equal to that given

func (*GetAPIKeyPermissionBadRequest) IsRedirect

func (o *GetAPIKeyPermissionBadRequest) IsRedirect() bool

IsRedirect returns true when this get Api key permission bad request response has a 3xx status code

func (*GetAPIKeyPermissionBadRequest) IsServerError

func (o *GetAPIKeyPermissionBadRequest) IsServerError() bool

IsServerError returns true when this get Api key permission bad request response has a 5xx status code

func (*GetAPIKeyPermissionBadRequest) IsSuccess

func (o *GetAPIKeyPermissionBadRequest) IsSuccess() bool

IsSuccess returns true when this get Api key permission bad request response has a 2xx status code

func (*GetAPIKeyPermissionBadRequest) String

type GetAPIKeyPermissionInternalServerError

type GetAPIKeyPermissionInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

GetAPIKeyPermissionInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetAPIKeyPermissionInternalServerError

func NewGetAPIKeyPermissionInternalServerError() *GetAPIKeyPermissionInternalServerError

NewGetAPIKeyPermissionInternalServerError creates a GetAPIKeyPermissionInternalServerError with default headers values

func (*GetAPIKeyPermissionInternalServerError) Code

Code gets the status code for the get Api key permission internal server error response

func (*GetAPIKeyPermissionInternalServerError) Error

func (*GetAPIKeyPermissionInternalServerError) GetPayload

func (*GetAPIKeyPermissionInternalServerError) IsClientError

func (o *GetAPIKeyPermissionInternalServerError) IsClientError() bool

IsClientError returns true when this get Api key permission internal server error response has a 4xx status code

func (*GetAPIKeyPermissionInternalServerError) IsCode

IsCode returns true when this get Api key permission internal server error response a status code equal to that given

func (*GetAPIKeyPermissionInternalServerError) IsRedirect

IsRedirect returns true when this get Api key permission internal server error response has a 3xx status code

func (*GetAPIKeyPermissionInternalServerError) IsServerError

func (o *GetAPIKeyPermissionInternalServerError) IsServerError() bool

IsServerError returns true when this get Api key permission internal server error response has a 5xx status code

func (*GetAPIKeyPermissionInternalServerError) IsSuccess

IsSuccess returns true when this get Api key permission internal server error response has a 2xx status code

func (*GetAPIKeyPermissionInternalServerError) String

type GetAPIKeyPermissionOK

type GetAPIKeyPermissionOK struct {
	Payload *models.ResponseGetAPIKeyPermissionResponse
}

GetAPIKeyPermissionOK describes a response with status code 200, with default header values.

OK

func NewGetAPIKeyPermissionOK

func NewGetAPIKeyPermissionOK() *GetAPIKeyPermissionOK

NewGetAPIKeyPermissionOK creates a GetAPIKeyPermissionOK with default headers values

func (*GetAPIKeyPermissionOK) Code

func (o *GetAPIKeyPermissionOK) Code() int

Code gets the status code for the get Api key permission o k response

func (*GetAPIKeyPermissionOK) Error

func (o *GetAPIKeyPermissionOK) Error() string

func (*GetAPIKeyPermissionOK) GetPayload

func (*GetAPIKeyPermissionOK) IsClientError

func (o *GetAPIKeyPermissionOK) IsClientError() bool

IsClientError returns true when this get Api key permission o k response has a 4xx status code

func (*GetAPIKeyPermissionOK) IsCode

func (o *GetAPIKeyPermissionOK) IsCode(code int) bool

IsCode returns true when this get Api key permission o k response a status code equal to that given

func (*GetAPIKeyPermissionOK) IsRedirect

func (o *GetAPIKeyPermissionOK) IsRedirect() bool

IsRedirect returns true when this get Api key permission o k response has a 3xx status code

func (*GetAPIKeyPermissionOK) IsServerError

func (o *GetAPIKeyPermissionOK) IsServerError() bool

IsServerError returns true when this get Api key permission o k response has a 5xx status code

func (*GetAPIKeyPermissionOK) IsSuccess

func (o *GetAPIKeyPermissionOK) IsSuccess() bool

IsSuccess returns true when this get Api key permission o k response has a 2xx status code

func (*GetAPIKeyPermissionOK) String

func (o *GetAPIKeyPermissionOK) String() string

type GetAPIKeyPermissionParams

type GetAPIKeyPermissionParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAPIKeyPermissionParams contains all the parameters to send to the API endpoint

for the get API key permission operation.

Typically these are written to a http.Request.

func NewGetAPIKeyPermissionParams

func NewGetAPIKeyPermissionParams() *GetAPIKeyPermissionParams

NewGetAPIKeyPermissionParams creates a new GetAPIKeyPermissionParams 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 NewGetAPIKeyPermissionParamsWithContext

func NewGetAPIKeyPermissionParamsWithContext(ctx context.Context) *GetAPIKeyPermissionParams

NewGetAPIKeyPermissionParamsWithContext creates a new GetAPIKeyPermissionParams object with the ability to set a context for a request.

func NewGetAPIKeyPermissionParamsWithHTTPClient

func NewGetAPIKeyPermissionParamsWithHTTPClient(client *http.Client) *GetAPIKeyPermissionParams

NewGetAPIKeyPermissionParamsWithHTTPClient creates a new GetAPIKeyPermissionParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIKeyPermissionParamsWithTimeout

func NewGetAPIKeyPermissionParamsWithTimeout(timeout time.Duration) *GetAPIKeyPermissionParams

NewGetAPIKeyPermissionParamsWithTimeout creates a new GetAPIKeyPermissionParams object with the ability to set a timeout on a request.

func (*GetAPIKeyPermissionParams) SetContext

func (o *GetAPIKeyPermissionParams) SetContext(ctx context.Context)

SetContext adds the context to the get API key permission params

func (*GetAPIKeyPermissionParams) SetDefaults

func (o *GetAPIKeyPermissionParams) SetDefaults()

SetDefaults hydrates default values in the get API key permission params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPIKeyPermissionParams) SetHTTPClient

func (o *GetAPIKeyPermissionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get API key permission params

func (*GetAPIKeyPermissionParams) SetTimeout

func (o *GetAPIKeyPermissionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get API key permission params

func (*GetAPIKeyPermissionParams) WithContext

WithContext adds the context to the get API key permission params

func (*GetAPIKeyPermissionParams) WithDefaults

WithDefaults hydrates default values in the get API key permission params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPIKeyPermissionParams) WithHTTPClient

func (o *GetAPIKeyPermissionParams) WithHTTPClient(client *http.Client) *GetAPIKeyPermissionParams

WithHTTPClient adds the HTTPClient to the get API key permission params

func (*GetAPIKeyPermissionParams) WithTimeout

WithTimeout adds the timeout to the get API key permission params

func (*GetAPIKeyPermissionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPIKeyPermissionReader

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

GetAPIKeyPermissionReader is a Reader for the GetAPIKeyPermission structure.

func (*GetAPIKeyPermissionReader) ReadResponse

func (o *GetAPIKeyPermissionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetAPIKeyTaskHistoriesBadRequest

type GetAPIKeyTaskHistoriesBadRequest struct {
	Payload *models.ResponseFailResponse
}

GetAPIKeyTaskHistoriesBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetAPIKeyTaskHistoriesBadRequest

func NewGetAPIKeyTaskHistoriesBadRequest() *GetAPIKeyTaskHistoriesBadRequest

NewGetAPIKeyTaskHistoriesBadRequest creates a GetAPIKeyTaskHistoriesBadRequest with default headers values

func (*GetAPIKeyTaskHistoriesBadRequest) Code

Code gets the status code for the get Api key task histories bad request response

func (*GetAPIKeyTaskHistoriesBadRequest) Error

func (*GetAPIKeyTaskHistoriesBadRequest) GetPayload

func (*GetAPIKeyTaskHistoriesBadRequest) IsClientError

func (o *GetAPIKeyTaskHistoriesBadRequest) IsClientError() bool

IsClientError returns true when this get Api key task histories bad request response has a 4xx status code

func (*GetAPIKeyTaskHistoriesBadRequest) IsCode

func (o *GetAPIKeyTaskHistoriesBadRequest) IsCode(code int) bool

IsCode returns true when this get Api key task histories bad request response a status code equal to that given

func (*GetAPIKeyTaskHistoriesBadRequest) IsRedirect

func (o *GetAPIKeyTaskHistoriesBadRequest) IsRedirect() bool

IsRedirect returns true when this get Api key task histories bad request response has a 3xx status code

func (*GetAPIKeyTaskHistoriesBadRequest) IsServerError

func (o *GetAPIKeyTaskHistoriesBadRequest) IsServerError() bool

IsServerError returns true when this get Api key task histories bad request response has a 5xx status code

func (*GetAPIKeyTaskHistoriesBadRequest) IsSuccess

func (o *GetAPIKeyTaskHistoriesBadRequest) IsSuccess() bool

IsSuccess returns true when this get Api key task histories bad request response has a 2xx status code

func (*GetAPIKeyTaskHistoriesBadRequest) String

type GetAPIKeyTaskHistoriesInternalServerError

type GetAPIKeyTaskHistoriesInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

GetAPIKeyTaskHistoriesInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetAPIKeyTaskHistoriesInternalServerError

func NewGetAPIKeyTaskHistoriesInternalServerError() *GetAPIKeyTaskHistoriesInternalServerError

NewGetAPIKeyTaskHistoriesInternalServerError creates a GetAPIKeyTaskHistoriesInternalServerError with default headers values

func (*GetAPIKeyTaskHistoriesInternalServerError) Code

Code gets the status code for the get Api key task histories internal server error response

func (*GetAPIKeyTaskHistoriesInternalServerError) Error

func (*GetAPIKeyTaskHistoriesInternalServerError) GetPayload

func (*GetAPIKeyTaskHistoriesInternalServerError) IsClientError

IsClientError returns true when this get Api key task histories internal server error response has a 4xx status code

func (*GetAPIKeyTaskHistoriesInternalServerError) IsCode

IsCode returns true when this get Api key task histories internal server error response a status code equal to that given

func (*GetAPIKeyTaskHistoriesInternalServerError) IsRedirect

IsRedirect returns true when this get Api key task histories internal server error response has a 3xx status code

func (*GetAPIKeyTaskHistoriesInternalServerError) IsServerError

IsServerError returns true when this get Api key task histories internal server error response has a 5xx status code

func (*GetAPIKeyTaskHistoriesInternalServerError) IsSuccess

IsSuccess returns true when this get Api key task histories internal server error response has a 2xx status code

func (*GetAPIKeyTaskHistoriesInternalServerError) String

type GetAPIKeyTaskHistoriesOK

type GetAPIKeyTaskHistoriesOK struct {
	Payload *models.ResponseAPIKeyHistoryListResponse
}

GetAPIKeyTaskHistoriesOK describes a response with status code 200, with default header values.

OK

func NewGetAPIKeyTaskHistoriesOK

func NewGetAPIKeyTaskHistoriesOK() *GetAPIKeyTaskHistoriesOK

NewGetAPIKeyTaskHistoriesOK creates a GetAPIKeyTaskHistoriesOK with default headers values

func (*GetAPIKeyTaskHistoriesOK) Code

func (o *GetAPIKeyTaskHistoriesOK) Code() int

Code gets the status code for the get Api key task histories o k response

func (*GetAPIKeyTaskHistoriesOK) Error

func (o *GetAPIKeyTaskHistoriesOK) Error() string

func (*GetAPIKeyTaskHistoriesOK) GetPayload

func (*GetAPIKeyTaskHistoriesOK) IsClientError

func (o *GetAPIKeyTaskHistoriesOK) IsClientError() bool

IsClientError returns true when this get Api key task histories o k response has a 4xx status code

func (*GetAPIKeyTaskHistoriesOK) IsCode

func (o *GetAPIKeyTaskHistoriesOK) IsCode(code int) bool

IsCode returns true when this get Api key task histories o k response a status code equal to that given

func (*GetAPIKeyTaskHistoriesOK) IsRedirect

func (o *GetAPIKeyTaskHistoriesOK) IsRedirect() bool

IsRedirect returns true when this get Api key task histories o k response has a 3xx status code

func (*GetAPIKeyTaskHistoriesOK) IsServerError

func (o *GetAPIKeyTaskHistoriesOK) IsServerError() bool

IsServerError returns true when this get Api key task histories o k response has a 5xx status code

func (*GetAPIKeyTaskHistoriesOK) IsSuccess

func (o *GetAPIKeyTaskHistoriesOK) IsSuccess() bool

IsSuccess returns true when this get Api key task histories o k response has a 2xx status code

func (*GetAPIKeyTaskHistoriesOK) String

func (o *GetAPIKeyTaskHistoriesOK) String() string

type GetAPIKeyTaskHistoriesParams

type GetAPIKeyTaskHistoriesParams struct {

	// Limit.
	//
	// Default: 10
	Limit *int64

	// Offset.
	Offset *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAPIKeyTaskHistoriesParams contains all the parameters to send to the API endpoint

for the get API key task histories operation.

Typically these are written to a http.Request.

func NewGetAPIKeyTaskHistoriesParams

func NewGetAPIKeyTaskHistoriesParams() *GetAPIKeyTaskHistoriesParams

NewGetAPIKeyTaskHistoriesParams creates a new GetAPIKeyTaskHistoriesParams 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 NewGetAPIKeyTaskHistoriesParamsWithContext

func NewGetAPIKeyTaskHistoriesParamsWithContext(ctx context.Context) *GetAPIKeyTaskHistoriesParams

NewGetAPIKeyTaskHistoriesParamsWithContext creates a new GetAPIKeyTaskHistoriesParams object with the ability to set a context for a request.

func NewGetAPIKeyTaskHistoriesParamsWithHTTPClient

func NewGetAPIKeyTaskHistoriesParamsWithHTTPClient(client *http.Client) *GetAPIKeyTaskHistoriesParams

NewGetAPIKeyTaskHistoriesParamsWithHTTPClient creates a new GetAPIKeyTaskHistoriesParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIKeyTaskHistoriesParamsWithTimeout

func NewGetAPIKeyTaskHistoriesParamsWithTimeout(timeout time.Duration) *GetAPIKeyTaskHistoriesParams

NewGetAPIKeyTaskHistoriesParamsWithTimeout creates a new GetAPIKeyTaskHistoriesParams object with the ability to set a timeout on a request.

func (*GetAPIKeyTaskHistoriesParams) SetContext

func (o *GetAPIKeyTaskHistoriesParams) SetContext(ctx context.Context)

SetContext adds the context to the get API key task histories params

func (*GetAPIKeyTaskHistoriesParams) SetDefaults

func (o *GetAPIKeyTaskHistoriesParams) SetDefaults()

SetDefaults hydrates default values in the get API key task histories params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPIKeyTaskHistoriesParams) SetHTTPClient

func (o *GetAPIKeyTaskHistoriesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get API key task histories params

func (*GetAPIKeyTaskHistoriesParams) SetLimit

func (o *GetAPIKeyTaskHistoriesParams) SetLimit(limit *int64)

SetLimit adds the limit to the get API key task histories params

func (*GetAPIKeyTaskHistoriesParams) SetOffset

func (o *GetAPIKeyTaskHistoriesParams) SetOffset(offset *int64)

SetOffset adds the offset to the get API key task histories params

func (*GetAPIKeyTaskHistoriesParams) SetTimeout

func (o *GetAPIKeyTaskHistoriesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get API key task histories params

func (*GetAPIKeyTaskHistoriesParams) WithContext

WithContext adds the context to the get API key task histories params

func (*GetAPIKeyTaskHistoriesParams) WithDefaults

WithDefaults hydrates default values in the get API key task histories params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPIKeyTaskHistoriesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API key task histories params

func (*GetAPIKeyTaskHistoriesParams) WithLimit

WithLimit adds the limit to the get API key task histories params

func (*GetAPIKeyTaskHistoriesParams) WithOffset

WithOffset adds the offset to the get API key task histories params

func (*GetAPIKeyTaskHistoriesParams) WithTimeout

WithTimeout adds the timeout to the get API key task histories params

func (*GetAPIKeyTaskHistoriesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPIKeyTaskHistoriesReader

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

GetAPIKeyTaskHistoriesReader is a Reader for the GetAPIKeyTaskHistories structure.

func (*GetAPIKeyTaskHistoriesReader) ReadResponse

func (o *GetAPIKeyTaskHistoriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetAPIKeyTaskIDDetailBadRequest

type GetAPIKeyTaskIDDetailBadRequest struct {
	Payload *models.ResponseFailResponse
}

GetAPIKeyTaskIDDetailBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetAPIKeyTaskIDDetailBadRequest

func NewGetAPIKeyTaskIDDetailBadRequest() *GetAPIKeyTaskIDDetailBadRequest

NewGetAPIKeyTaskIDDetailBadRequest creates a GetAPIKeyTaskIDDetailBadRequest with default headers values

func (*GetAPIKeyTaskIDDetailBadRequest) Code

Code gets the status code for the get Api key task Id detail bad request response

func (*GetAPIKeyTaskIDDetailBadRequest) Error

func (*GetAPIKeyTaskIDDetailBadRequest) GetPayload

func (*GetAPIKeyTaskIDDetailBadRequest) IsClientError

func (o *GetAPIKeyTaskIDDetailBadRequest) IsClientError() bool

IsClientError returns true when this get Api key task Id detail bad request response has a 4xx status code

func (*GetAPIKeyTaskIDDetailBadRequest) IsCode

func (o *GetAPIKeyTaskIDDetailBadRequest) IsCode(code int) bool

IsCode returns true when this get Api key task Id detail bad request response a status code equal to that given

func (*GetAPIKeyTaskIDDetailBadRequest) IsRedirect

func (o *GetAPIKeyTaskIDDetailBadRequest) IsRedirect() bool

IsRedirect returns true when this get Api key task Id detail bad request response has a 3xx status code

func (*GetAPIKeyTaskIDDetailBadRequest) IsServerError

func (o *GetAPIKeyTaskIDDetailBadRequest) IsServerError() bool

IsServerError returns true when this get Api key task Id detail bad request response has a 5xx status code

func (*GetAPIKeyTaskIDDetailBadRequest) IsSuccess

func (o *GetAPIKeyTaskIDDetailBadRequest) IsSuccess() bool

IsSuccess returns true when this get Api key task Id detail bad request response has a 2xx status code

func (*GetAPIKeyTaskIDDetailBadRequest) String

type GetAPIKeyTaskIDDetailInternalServerError

type GetAPIKeyTaskIDDetailInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

GetAPIKeyTaskIDDetailInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetAPIKeyTaskIDDetailInternalServerError

func NewGetAPIKeyTaskIDDetailInternalServerError() *GetAPIKeyTaskIDDetailInternalServerError

NewGetAPIKeyTaskIDDetailInternalServerError creates a GetAPIKeyTaskIDDetailInternalServerError with default headers values

func (*GetAPIKeyTaskIDDetailInternalServerError) Code

Code gets the status code for the get Api key task Id detail internal server error response

func (*GetAPIKeyTaskIDDetailInternalServerError) Error

func (*GetAPIKeyTaskIDDetailInternalServerError) GetPayload

func (*GetAPIKeyTaskIDDetailInternalServerError) IsClientError

IsClientError returns true when this get Api key task Id detail internal server error response has a 4xx status code

func (*GetAPIKeyTaskIDDetailInternalServerError) IsCode

IsCode returns true when this get Api key task Id detail internal server error response a status code equal to that given

func (*GetAPIKeyTaskIDDetailInternalServerError) IsRedirect

IsRedirect returns true when this get Api key task Id detail internal server error response has a 3xx status code

func (*GetAPIKeyTaskIDDetailInternalServerError) IsServerError

IsServerError returns true when this get Api key task Id detail internal server error response has a 5xx status code

func (*GetAPIKeyTaskIDDetailInternalServerError) IsSuccess

IsSuccess returns true when this get Api key task Id detail internal server error response has a 2xx status code

func (*GetAPIKeyTaskIDDetailInternalServerError) String

type GetAPIKeyTaskIDDetailOK

type GetAPIKeyTaskIDDetailOK struct {
	Payload *models.ResponseAPIKeyHistoryResponse
}

GetAPIKeyTaskIDDetailOK describes a response with status code 200, with default header values.

OK

func NewGetAPIKeyTaskIDDetailOK

func NewGetAPIKeyTaskIDDetailOK() *GetAPIKeyTaskIDDetailOK

NewGetAPIKeyTaskIDDetailOK creates a GetAPIKeyTaskIDDetailOK with default headers values

func (*GetAPIKeyTaskIDDetailOK) Code

func (o *GetAPIKeyTaskIDDetailOK) Code() int

Code gets the status code for the get Api key task Id detail o k response

func (*GetAPIKeyTaskIDDetailOK) Error

func (o *GetAPIKeyTaskIDDetailOK) Error() string

func (*GetAPIKeyTaskIDDetailOK) GetPayload

func (*GetAPIKeyTaskIDDetailOK) IsClientError

func (o *GetAPIKeyTaskIDDetailOK) IsClientError() bool

IsClientError returns true when this get Api key task Id detail o k response has a 4xx status code

func (*GetAPIKeyTaskIDDetailOK) IsCode

func (o *GetAPIKeyTaskIDDetailOK) IsCode(code int) bool

IsCode returns true when this get Api key task Id detail o k response a status code equal to that given

func (*GetAPIKeyTaskIDDetailOK) IsRedirect

func (o *GetAPIKeyTaskIDDetailOK) IsRedirect() bool

IsRedirect returns true when this get Api key task Id detail o k response has a 3xx status code

func (*GetAPIKeyTaskIDDetailOK) IsServerError

func (o *GetAPIKeyTaskIDDetailOK) IsServerError() bool

IsServerError returns true when this get Api key task Id detail o k response has a 5xx status code

func (*GetAPIKeyTaskIDDetailOK) IsSuccess

func (o *GetAPIKeyTaskIDDetailOK) IsSuccess() bool

IsSuccess returns true when this get Api key task Id detail o k response has a 2xx status code

func (*GetAPIKeyTaskIDDetailOK) String

func (o *GetAPIKeyTaskIDDetailOK) String() string

type GetAPIKeyTaskIDDetailParams

type GetAPIKeyTaskIDDetailParams struct {

	/* ID.

	   Task's id
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAPIKeyTaskIDDetailParams contains all the parameters to send to the API endpoint

for the get API key task ID detail operation.

Typically these are written to a http.Request.

func NewGetAPIKeyTaskIDDetailParams

func NewGetAPIKeyTaskIDDetailParams() *GetAPIKeyTaskIDDetailParams

NewGetAPIKeyTaskIDDetailParams creates a new GetAPIKeyTaskIDDetailParams 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 NewGetAPIKeyTaskIDDetailParamsWithContext

func NewGetAPIKeyTaskIDDetailParamsWithContext(ctx context.Context) *GetAPIKeyTaskIDDetailParams

NewGetAPIKeyTaskIDDetailParamsWithContext creates a new GetAPIKeyTaskIDDetailParams object with the ability to set a context for a request.

func NewGetAPIKeyTaskIDDetailParamsWithHTTPClient

func NewGetAPIKeyTaskIDDetailParamsWithHTTPClient(client *http.Client) *GetAPIKeyTaskIDDetailParams

NewGetAPIKeyTaskIDDetailParamsWithHTTPClient creates a new GetAPIKeyTaskIDDetailParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIKeyTaskIDDetailParamsWithTimeout

func NewGetAPIKeyTaskIDDetailParamsWithTimeout(timeout time.Duration) *GetAPIKeyTaskIDDetailParams

NewGetAPIKeyTaskIDDetailParamsWithTimeout creates a new GetAPIKeyTaskIDDetailParams object with the ability to set a timeout on a request.

func (*GetAPIKeyTaskIDDetailParams) SetContext

func (o *GetAPIKeyTaskIDDetailParams) SetContext(ctx context.Context)

SetContext adds the context to the get API key task ID detail params

func (*GetAPIKeyTaskIDDetailParams) SetDefaults

func (o *GetAPIKeyTaskIDDetailParams) SetDefaults()

SetDefaults hydrates default values in the get API key task ID detail params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPIKeyTaskIDDetailParams) SetHTTPClient

func (o *GetAPIKeyTaskIDDetailParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get API key task ID detail params

func (*GetAPIKeyTaskIDDetailParams) SetID

func (o *GetAPIKeyTaskIDDetailParams) SetID(id string)

SetID adds the id to the get API key task ID detail params

func (*GetAPIKeyTaskIDDetailParams) SetTimeout

func (o *GetAPIKeyTaskIDDetailParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get API key task ID detail params

func (*GetAPIKeyTaskIDDetailParams) WithContext

WithContext adds the context to the get API key task ID detail params

func (*GetAPIKeyTaskIDDetailParams) WithDefaults

WithDefaults hydrates default values in the get API key task ID detail params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPIKeyTaskIDDetailParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API key task ID detail params

func (*GetAPIKeyTaskIDDetailParams) WithID

WithID adds the id to the get API key task ID detail params

func (*GetAPIKeyTaskIDDetailParams) WithTimeout

WithTimeout adds the timeout to the get API key task ID detail params

func (*GetAPIKeyTaskIDDetailParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPIKeyTaskIDDetailReader

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

GetAPIKeyTaskIDDetailReader is a Reader for the GetAPIKeyTaskIDDetail structure.

func (*GetAPIKeyTaskIDDetailReader) ReadResponse

func (o *GetAPIKeyTaskIDDetailReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PostAPIKeyModelIDTaskBadRequest

type PostAPIKeyModelIDTaskBadRequest struct {
	Payload *models.ResponseFailResponse
}

PostAPIKeyModelIDTaskBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostAPIKeyModelIDTaskBadRequest

func NewPostAPIKeyModelIDTaskBadRequest() *PostAPIKeyModelIDTaskBadRequest

NewPostAPIKeyModelIDTaskBadRequest creates a PostAPIKeyModelIDTaskBadRequest with default headers values

func (*PostAPIKeyModelIDTaskBadRequest) Code

Code gets the status code for the post Api key model Id task bad request response

func (*PostAPIKeyModelIDTaskBadRequest) Error

func (*PostAPIKeyModelIDTaskBadRequest) GetPayload

func (*PostAPIKeyModelIDTaskBadRequest) IsClientError

func (o *PostAPIKeyModelIDTaskBadRequest) IsClientError() bool

IsClientError returns true when this post Api key model Id task bad request response has a 4xx status code

func (*PostAPIKeyModelIDTaskBadRequest) IsCode

func (o *PostAPIKeyModelIDTaskBadRequest) IsCode(code int) bool

IsCode returns true when this post Api key model Id task bad request response a status code equal to that given

func (*PostAPIKeyModelIDTaskBadRequest) IsRedirect

func (o *PostAPIKeyModelIDTaskBadRequest) IsRedirect() bool

IsRedirect returns true when this post Api key model Id task bad request response has a 3xx status code

func (*PostAPIKeyModelIDTaskBadRequest) IsServerError

func (o *PostAPIKeyModelIDTaskBadRequest) IsServerError() bool

IsServerError returns true when this post Api key model Id task bad request response has a 5xx status code

func (*PostAPIKeyModelIDTaskBadRequest) IsSuccess

func (o *PostAPIKeyModelIDTaskBadRequest) IsSuccess() bool

IsSuccess returns true when this post Api key model Id task bad request response has a 2xx status code

func (*PostAPIKeyModelIDTaskBadRequest) String

type PostAPIKeyModelIDTaskInternalServerError

type PostAPIKeyModelIDTaskInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

PostAPIKeyModelIDTaskInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostAPIKeyModelIDTaskInternalServerError

func NewPostAPIKeyModelIDTaskInternalServerError() *PostAPIKeyModelIDTaskInternalServerError

NewPostAPIKeyModelIDTaskInternalServerError creates a PostAPIKeyModelIDTaskInternalServerError with default headers values

func (*PostAPIKeyModelIDTaskInternalServerError) Code

Code gets the status code for the post Api key model Id task internal server error response

func (*PostAPIKeyModelIDTaskInternalServerError) Error

func (*PostAPIKeyModelIDTaskInternalServerError) GetPayload

func (*PostAPIKeyModelIDTaskInternalServerError) IsClientError

IsClientError returns true when this post Api key model Id task internal server error response has a 4xx status code

func (*PostAPIKeyModelIDTaskInternalServerError) IsCode

IsCode returns true when this post Api key model Id task internal server error response a status code equal to that given

func (*PostAPIKeyModelIDTaskInternalServerError) IsRedirect

IsRedirect returns true when this post Api key model Id task internal server error response has a 3xx status code

func (*PostAPIKeyModelIDTaskInternalServerError) IsServerError

IsServerError returns true when this post Api key model Id task internal server error response has a 5xx status code

func (*PostAPIKeyModelIDTaskInternalServerError) IsSuccess

IsSuccess returns true when this post Api key model Id task internal server error response has a 2xx status code

func (*PostAPIKeyModelIDTaskInternalServerError) String

type PostAPIKeyModelIDTaskOK

type PostAPIKeyModelIDTaskOK struct {
	Payload *models.ResponseDistributeTaskResponse
}

PostAPIKeyModelIDTaskOK describes a response with status code 200, with default header values.

OK

func NewPostAPIKeyModelIDTaskOK

func NewPostAPIKeyModelIDTaskOK() *PostAPIKeyModelIDTaskOK

NewPostAPIKeyModelIDTaskOK creates a PostAPIKeyModelIDTaskOK with default headers values

func (*PostAPIKeyModelIDTaskOK) Code

func (o *PostAPIKeyModelIDTaskOK) Code() int

Code gets the status code for the post Api key model Id task o k response

func (*PostAPIKeyModelIDTaskOK) Error

func (o *PostAPIKeyModelIDTaskOK) Error() string

func (*PostAPIKeyModelIDTaskOK) GetPayload

func (*PostAPIKeyModelIDTaskOK) IsClientError

func (o *PostAPIKeyModelIDTaskOK) IsClientError() bool

IsClientError returns true when this post Api key model Id task o k response has a 4xx status code

func (*PostAPIKeyModelIDTaskOK) IsCode

func (o *PostAPIKeyModelIDTaskOK) IsCode(code int) bool

IsCode returns true when this post Api key model Id task o k response a status code equal to that given

func (*PostAPIKeyModelIDTaskOK) IsRedirect

func (o *PostAPIKeyModelIDTaskOK) IsRedirect() bool

IsRedirect returns true when this post Api key model Id task o k response has a 3xx status code

func (*PostAPIKeyModelIDTaskOK) IsServerError

func (o *PostAPIKeyModelIDTaskOK) IsServerError() bool

IsServerError returns true when this post Api key model Id task o k response has a 5xx status code

func (*PostAPIKeyModelIDTaskOK) IsSuccess

func (o *PostAPIKeyModelIDTaskOK) IsSuccess() bool

IsSuccess returns true when this post Api key model Id task o k response has a 2xx status code

func (*PostAPIKeyModelIDTaskOK) String

func (o *PostAPIKeyModelIDTaskOK) String() string

type PostAPIKeyModelIDTaskParams

type PostAPIKeyModelIDTaskParams struct {

	/* ID.

	   Model's id
	*/
	ID string

	/* Input.

	   Distribute Task Request
	*/
	Input models.RequestDistributeTaskWithAPIKeyRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostAPIKeyModelIDTaskParams contains all the parameters to send to the API endpoint

for the post API key model ID task operation.

Typically these are written to a http.Request.

func NewPostAPIKeyModelIDTaskParams

func NewPostAPIKeyModelIDTaskParams() *PostAPIKeyModelIDTaskParams

NewPostAPIKeyModelIDTaskParams creates a new PostAPIKeyModelIDTaskParams 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 NewPostAPIKeyModelIDTaskParamsWithContext

func NewPostAPIKeyModelIDTaskParamsWithContext(ctx context.Context) *PostAPIKeyModelIDTaskParams

NewPostAPIKeyModelIDTaskParamsWithContext creates a new PostAPIKeyModelIDTaskParams object with the ability to set a context for a request.

func NewPostAPIKeyModelIDTaskParamsWithHTTPClient

func NewPostAPIKeyModelIDTaskParamsWithHTTPClient(client *http.Client) *PostAPIKeyModelIDTaskParams

NewPostAPIKeyModelIDTaskParamsWithHTTPClient creates a new PostAPIKeyModelIDTaskParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPIKeyModelIDTaskParamsWithTimeout

func NewPostAPIKeyModelIDTaskParamsWithTimeout(timeout time.Duration) *PostAPIKeyModelIDTaskParams

NewPostAPIKeyModelIDTaskParamsWithTimeout creates a new PostAPIKeyModelIDTaskParams object with the ability to set a timeout on a request.

func (*PostAPIKeyModelIDTaskParams) SetContext

func (o *PostAPIKeyModelIDTaskParams) SetContext(ctx context.Context)

SetContext adds the context to the post API key model ID task params

func (*PostAPIKeyModelIDTaskParams) SetDefaults

func (o *PostAPIKeyModelIDTaskParams) SetDefaults()

SetDefaults hydrates default values in the post API key model ID task params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPIKeyModelIDTaskParams) SetHTTPClient

func (o *PostAPIKeyModelIDTaskParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post API key model ID task params

func (*PostAPIKeyModelIDTaskParams) SetID

func (o *PostAPIKeyModelIDTaskParams) SetID(id string)

SetID adds the id to the post API key model ID task params

func (*PostAPIKeyModelIDTaskParams) SetInput

SetInput adds the input to the post API key model ID task params

func (*PostAPIKeyModelIDTaskParams) SetTimeout

func (o *PostAPIKeyModelIDTaskParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post API key model ID task params

func (*PostAPIKeyModelIDTaskParams) WithContext

WithContext adds the context to the post API key model ID task params

func (*PostAPIKeyModelIDTaskParams) WithDefaults

WithDefaults hydrates default values in the post API key model ID task params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPIKeyModelIDTaskParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API key model ID task params

func (*PostAPIKeyModelIDTaskParams) WithID

WithID adds the id to the post API key model ID task params

func (*PostAPIKeyModelIDTaskParams) WithInput

WithInput adds the input to the post API key model ID task params

func (*PostAPIKeyModelIDTaskParams) WithTimeout

WithTimeout adds the timeout to the post API key model ID task params

func (*PostAPIKeyModelIDTaskParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPIKeyModelIDTaskReader

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

PostAPIKeyModelIDTaskReader is a Reader for the PostAPIKeyModelIDTask structure.

func (*PostAPIKeyModelIDTaskReader) ReadResponse

func (o *PostAPIKeyModelIDTaskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PostAPIKeyStatisticsBadRequest

type PostAPIKeyStatisticsBadRequest struct {
	Payload *models.ResponseFailResponse
}

PostAPIKeyStatisticsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostAPIKeyStatisticsBadRequest

func NewPostAPIKeyStatisticsBadRequest() *PostAPIKeyStatisticsBadRequest

NewPostAPIKeyStatisticsBadRequest creates a PostAPIKeyStatisticsBadRequest with default headers values

func (*PostAPIKeyStatisticsBadRequest) Code

Code gets the status code for the post Api key statistics bad request response

func (*PostAPIKeyStatisticsBadRequest) Error

func (*PostAPIKeyStatisticsBadRequest) GetPayload

func (*PostAPIKeyStatisticsBadRequest) IsClientError

func (o *PostAPIKeyStatisticsBadRequest) IsClientError() bool

IsClientError returns true when this post Api key statistics bad request response has a 4xx status code

func (*PostAPIKeyStatisticsBadRequest) IsCode

func (o *PostAPIKeyStatisticsBadRequest) IsCode(code int) bool

IsCode returns true when this post Api key statistics bad request response a status code equal to that given

func (*PostAPIKeyStatisticsBadRequest) IsRedirect

func (o *PostAPIKeyStatisticsBadRequest) IsRedirect() bool

IsRedirect returns true when this post Api key statistics bad request response has a 3xx status code

func (*PostAPIKeyStatisticsBadRequest) IsServerError

func (o *PostAPIKeyStatisticsBadRequest) IsServerError() bool

IsServerError returns true when this post Api key statistics bad request response has a 5xx status code

func (*PostAPIKeyStatisticsBadRequest) IsSuccess

func (o *PostAPIKeyStatisticsBadRequest) IsSuccess() bool

IsSuccess returns true when this post Api key statistics bad request response has a 2xx status code

func (*PostAPIKeyStatisticsBadRequest) String

type PostAPIKeyStatisticsInternalServerError

type PostAPIKeyStatisticsInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

PostAPIKeyStatisticsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostAPIKeyStatisticsInternalServerError

func NewPostAPIKeyStatisticsInternalServerError() *PostAPIKeyStatisticsInternalServerError

NewPostAPIKeyStatisticsInternalServerError creates a PostAPIKeyStatisticsInternalServerError with default headers values

func (*PostAPIKeyStatisticsInternalServerError) Code

Code gets the status code for the post Api key statistics internal server error response

func (*PostAPIKeyStatisticsInternalServerError) Error

func (*PostAPIKeyStatisticsInternalServerError) GetPayload

func (*PostAPIKeyStatisticsInternalServerError) IsClientError

func (o *PostAPIKeyStatisticsInternalServerError) IsClientError() bool

IsClientError returns true when this post Api key statistics internal server error response has a 4xx status code

func (*PostAPIKeyStatisticsInternalServerError) IsCode

IsCode returns true when this post Api key statistics internal server error response a status code equal to that given

func (*PostAPIKeyStatisticsInternalServerError) IsRedirect

IsRedirect returns true when this post Api key statistics internal server error response has a 3xx status code

func (*PostAPIKeyStatisticsInternalServerError) IsServerError

func (o *PostAPIKeyStatisticsInternalServerError) IsServerError() bool

IsServerError returns true when this post Api key statistics internal server error response has a 5xx status code

func (*PostAPIKeyStatisticsInternalServerError) IsSuccess

IsSuccess returns true when this post Api key statistics internal server error response has a 2xx status code

func (*PostAPIKeyStatisticsInternalServerError) String

type PostAPIKeyStatisticsOK

type PostAPIKeyStatisticsOK struct {
	Payload *models.ResponseGetTaskStatisticsResponse
}

PostAPIKeyStatisticsOK describes a response with status code 200, with default header values.

OK

func NewPostAPIKeyStatisticsOK

func NewPostAPIKeyStatisticsOK() *PostAPIKeyStatisticsOK

NewPostAPIKeyStatisticsOK creates a PostAPIKeyStatisticsOK with default headers values

func (*PostAPIKeyStatisticsOK) Code

func (o *PostAPIKeyStatisticsOK) Code() int

Code gets the status code for the post Api key statistics o k response

func (*PostAPIKeyStatisticsOK) Error

func (o *PostAPIKeyStatisticsOK) Error() string

func (*PostAPIKeyStatisticsOK) GetPayload

func (*PostAPIKeyStatisticsOK) IsClientError

func (o *PostAPIKeyStatisticsOK) IsClientError() bool

IsClientError returns true when this post Api key statistics o k response has a 4xx status code

func (*PostAPIKeyStatisticsOK) IsCode

func (o *PostAPIKeyStatisticsOK) IsCode(code int) bool

IsCode returns true when this post Api key statistics o k response a status code equal to that given

func (*PostAPIKeyStatisticsOK) IsRedirect

func (o *PostAPIKeyStatisticsOK) IsRedirect() bool

IsRedirect returns true when this post Api key statistics o k response has a 3xx status code

func (*PostAPIKeyStatisticsOK) IsServerError

func (o *PostAPIKeyStatisticsOK) IsServerError() bool

IsServerError returns true when this post Api key statistics o k response has a 5xx status code

func (*PostAPIKeyStatisticsOK) IsSuccess

func (o *PostAPIKeyStatisticsOK) IsSuccess() bool

IsSuccess returns true when this post Api key statistics o k response has a 2xx status code

func (*PostAPIKeyStatisticsOK) String

func (o *PostAPIKeyStatisticsOK) String() string

type PostAPIKeyStatisticsParams

type PostAPIKeyStatisticsParams struct {

	/* Input.

	   Get Api Key Statistics Request
	*/
	Input *models.RequestGetAPIKeyStatisticsByModelIDRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostAPIKeyStatisticsParams contains all the parameters to send to the API endpoint

for the post API key statistics operation.

Typically these are written to a http.Request.

func NewPostAPIKeyStatisticsParams

func NewPostAPIKeyStatisticsParams() *PostAPIKeyStatisticsParams

NewPostAPIKeyStatisticsParams creates a new PostAPIKeyStatisticsParams 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 NewPostAPIKeyStatisticsParamsWithContext

func NewPostAPIKeyStatisticsParamsWithContext(ctx context.Context) *PostAPIKeyStatisticsParams

NewPostAPIKeyStatisticsParamsWithContext creates a new PostAPIKeyStatisticsParams object with the ability to set a context for a request.

func NewPostAPIKeyStatisticsParamsWithHTTPClient

func NewPostAPIKeyStatisticsParamsWithHTTPClient(client *http.Client) *PostAPIKeyStatisticsParams

NewPostAPIKeyStatisticsParamsWithHTTPClient creates a new PostAPIKeyStatisticsParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPIKeyStatisticsParamsWithTimeout

func NewPostAPIKeyStatisticsParamsWithTimeout(timeout time.Duration) *PostAPIKeyStatisticsParams

NewPostAPIKeyStatisticsParamsWithTimeout creates a new PostAPIKeyStatisticsParams object with the ability to set a timeout on a request.

func (*PostAPIKeyStatisticsParams) SetContext

func (o *PostAPIKeyStatisticsParams) SetContext(ctx context.Context)

SetContext adds the context to the post API key statistics params

func (*PostAPIKeyStatisticsParams) SetDefaults

func (o *PostAPIKeyStatisticsParams) SetDefaults()

SetDefaults hydrates default values in the post API key statistics params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPIKeyStatisticsParams) SetHTTPClient

func (o *PostAPIKeyStatisticsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post API key statistics params

func (*PostAPIKeyStatisticsParams) SetInput

SetInput adds the input to the post API key statistics params

func (*PostAPIKeyStatisticsParams) SetTimeout

func (o *PostAPIKeyStatisticsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post API key statistics params

func (*PostAPIKeyStatisticsParams) WithContext

WithContext adds the context to the post API key statistics params

func (*PostAPIKeyStatisticsParams) WithDefaults

WithDefaults hydrates default values in the post API key statistics params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPIKeyStatisticsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API key statistics params

func (*PostAPIKeyStatisticsParams) WithInput

WithInput adds the input to the post API key statistics params

func (*PostAPIKeyStatisticsParams) WithTimeout

WithTimeout adds the timeout to the post API key statistics params

func (*PostAPIKeyStatisticsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPIKeyStatisticsReader

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

PostAPIKeyStatisticsReader is a Reader for the PostAPIKeyStatistics structure.

func (*PostAPIKeyStatisticsReader) ReadResponse

func (o *PostAPIKeyStatisticsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PostAPIKeyTaskBadRequest

type PostAPIKeyTaskBadRequest struct {
	Payload *models.ResponseFailResponse
}

PostAPIKeyTaskBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostAPIKeyTaskBadRequest

func NewPostAPIKeyTaskBadRequest() *PostAPIKeyTaskBadRequest

NewPostAPIKeyTaskBadRequest creates a PostAPIKeyTaskBadRequest with default headers values

func (*PostAPIKeyTaskBadRequest) Code

func (o *PostAPIKeyTaskBadRequest) Code() int

Code gets the status code for the post Api key task bad request response

func (*PostAPIKeyTaskBadRequest) Error

func (o *PostAPIKeyTaskBadRequest) Error() string

func (*PostAPIKeyTaskBadRequest) GetPayload

func (*PostAPIKeyTaskBadRequest) IsClientError

func (o *PostAPIKeyTaskBadRequest) IsClientError() bool

IsClientError returns true when this post Api key task bad request response has a 4xx status code

func (*PostAPIKeyTaskBadRequest) IsCode

func (o *PostAPIKeyTaskBadRequest) IsCode(code int) bool

IsCode returns true when this post Api key task bad request response a status code equal to that given

func (*PostAPIKeyTaskBadRequest) IsRedirect

func (o *PostAPIKeyTaskBadRequest) IsRedirect() bool

IsRedirect returns true when this post Api key task bad request response has a 3xx status code

func (*PostAPIKeyTaskBadRequest) IsServerError

func (o *PostAPIKeyTaskBadRequest) IsServerError() bool

IsServerError returns true when this post Api key task bad request response has a 5xx status code

func (*PostAPIKeyTaskBadRequest) IsSuccess

func (o *PostAPIKeyTaskBadRequest) IsSuccess() bool

IsSuccess returns true when this post Api key task bad request response has a 2xx status code

func (*PostAPIKeyTaskBadRequest) String

func (o *PostAPIKeyTaskBadRequest) String() string

type PostAPIKeyTaskInternalServerError

type PostAPIKeyTaskInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

PostAPIKeyTaskInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostAPIKeyTaskInternalServerError

func NewPostAPIKeyTaskInternalServerError() *PostAPIKeyTaskInternalServerError

NewPostAPIKeyTaskInternalServerError creates a PostAPIKeyTaskInternalServerError with default headers values

func (*PostAPIKeyTaskInternalServerError) Code

Code gets the status code for the post Api key task internal server error response

func (*PostAPIKeyTaskInternalServerError) Error

func (*PostAPIKeyTaskInternalServerError) GetPayload

func (*PostAPIKeyTaskInternalServerError) IsClientError

func (o *PostAPIKeyTaskInternalServerError) IsClientError() bool

IsClientError returns true when this post Api key task internal server error response has a 4xx status code

func (*PostAPIKeyTaskInternalServerError) IsCode

func (o *PostAPIKeyTaskInternalServerError) IsCode(code int) bool

IsCode returns true when this post Api key task internal server error response a status code equal to that given

func (*PostAPIKeyTaskInternalServerError) IsRedirect

func (o *PostAPIKeyTaskInternalServerError) IsRedirect() bool

IsRedirect returns true when this post Api key task internal server error response has a 3xx status code

func (*PostAPIKeyTaskInternalServerError) IsServerError

func (o *PostAPIKeyTaskInternalServerError) IsServerError() bool

IsServerError returns true when this post Api key task internal server error response has a 5xx status code

func (*PostAPIKeyTaskInternalServerError) IsSuccess

func (o *PostAPIKeyTaskInternalServerError) IsSuccess() bool

IsSuccess returns true when this post Api key task internal server error response has a 2xx status code

func (*PostAPIKeyTaskInternalServerError) String

type PostAPIKeyTaskOK

type PostAPIKeyTaskOK struct {
	Payload *models.ResponseDistributeTaskResponse
}

PostAPIKeyTaskOK describes a response with status code 200, with default header values.

OK

func NewPostAPIKeyTaskOK

func NewPostAPIKeyTaskOK() *PostAPIKeyTaskOK

NewPostAPIKeyTaskOK creates a PostAPIKeyTaskOK with default headers values

func (*PostAPIKeyTaskOK) Code

func (o *PostAPIKeyTaskOK) Code() int

Code gets the status code for the post Api key task o k response

func (*PostAPIKeyTaskOK) Error

func (o *PostAPIKeyTaskOK) Error() string

func (*PostAPIKeyTaskOK) GetPayload

func (*PostAPIKeyTaskOK) IsClientError

func (o *PostAPIKeyTaskOK) IsClientError() bool

IsClientError returns true when this post Api key task o k response has a 4xx status code

func (*PostAPIKeyTaskOK) IsCode

func (o *PostAPIKeyTaskOK) IsCode(code int) bool

IsCode returns true when this post Api key task o k response a status code equal to that given

func (*PostAPIKeyTaskOK) IsRedirect

func (o *PostAPIKeyTaskOK) IsRedirect() bool

IsRedirect returns true when this post Api key task o k response has a 3xx status code

func (*PostAPIKeyTaskOK) IsServerError

func (o *PostAPIKeyTaskOK) IsServerError() bool

IsServerError returns true when this post Api key task o k response has a 5xx status code

func (*PostAPIKeyTaskOK) IsSuccess

func (o *PostAPIKeyTaskOK) IsSuccess() bool

IsSuccess returns true when this post Api key task o k response has a 2xx status code

func (*PostAPIKeyTaskOK) String

func (o *PostAPIKeyTaskOK) String() string

type PostAPIKeyTaskParams

type PostAPIKeyTaskParams struct {

	/* Input.

	   Distribute Task Request
	*/
	Input *models.RequestDistributeTaskRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostAPIKeyTaskParams contains all the parameters to send to the API endpoint

for the post API key task operation.

Typically these are written to a http.Request.

func NewPostAPIKeyTaskParams

func NewPostAPIKeyTaskParams() *PostAPIKeyTaskParams

NewPostAPIKeyTaskParams creates a new PostAPIKeyTaskParams 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 NewPostAPIKeyTaskParamsWithContext

func NewPostAPIKeyTaskParamsWithContext(ctx context.Context) *PostAPIKeyTaskParams

NewPostAPIKeyTaskParamsWithContext creates a new PostAPIKeyTaskParams object with the ability to set a context for a request.

func NewPostAPIKeyTaskParamsWithHTTPClient

func NewPostAPIKeyTaskParamsWithHTTPClient(client *http.Client) *PostAPIKeyTaskParams

NewPostAPIKeyTaskParamsWithHTTPClient creates a new PostAPIKeyTaskParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPIKeyTaskParamsWithTimeout

func NewPostAPIKeyTaskParamsWithTimeout(timeout time.Duration) *PostAPIKeyTaskParams

NewPostAPIKeyTaskParamsWithTimeout creates a new PostAPIKeyTaskParams object with the ability to set a timeout on a request.

func (*PostAPIKeyTaskParams) SetContext

func (o *PostAPIKeyTaskParams) SetContext(ctx context.Context)

SetContext adds the context to the post API key task params

func (*PostAPIKeyTaskParams) SetDefaults

func (o *PostAPIKeyTaskParams) SetDefaults()

SetDefaults hydrates default values in the post API key task params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPIKeyTaskParams) SetHTTPClient

func (o *PostAPIKeyTaskParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post API key task params

func (*PostAPIKeyTaskParams) SetInput

SetInput adds the input to the post API key task params

func (*PostAPIKeyTaskParams) SetTimeout

func (o *PostAPIKeyTaskParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post API key task params

func (*PostAPIKeyTaskParams) WithContext

WithContext adds the context to the post API key task params

func (*PostAPIKeyTaskParams) WithDefaults

func (o *PostAPIKeyTaskParams) WithDefaults() *PostAPIKeyTaskParams

WithDefaults hydrates default values in the post API key task params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPIKeyTaskParams) WithHTTPClient

func (o *PostAPIKeyTaskParams) WithHTTPClient(client *http.Client) *PostAPIKeyTaskParams

WithHTTPClient adds the HTTPClient to the post API key task params

func (*PostAPIKeyTaskParams) WithInput

WithInput adds the input to the post API key task params

func (*PostAPIKeyTaskParams) WithTimeout

func (o *PostAPIKeyTaskParams) WithTimeout(timeout time.Duration) *PostAPIKeyTaskParams

WithTimeout adds the timeout to the post API key task params

func (*PostAPIKeyTaskParams) WriteToRequest

func (o *PostAPIKeyTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostAPIKeyTaskReader

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

PostAPIKeyTaskReader is a Reader for the PostAPIKeyTask structure.

func (*PostAPIKeyTaskReader) ReadResponse

func (o *PostAPIKeyTaskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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