Documentation
¶
Index ¶
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
- type Client
- func (a *Client) DeleteAPIKeyTaskIDCancel(params *DeleteAPIKeyTaskIDCancelParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteAPIKeyTaskIDCancelOK, error)
- func (a *Client) GetAPIKeyBalance(params *GetAPIKeyBalanceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAPIKeyBalanceOK, error)
- func (a *Client) GetAPIKeyPermission(params *GetAPIKeyPermissionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAPIKeyPermissionOK, error)
- func (a *Client) GetAPIKeyTaskHistories(params *GetAPIKeyTaskHistoriesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAPIKeyTaskHistoriesOK, error)
- func (a *Client) GetAPIKeyTaskIDDetail(params *GetAPIKeyTaskIDDetailParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAPIKeyTaskIDDetailOK, error)
- func (a *Client) PostAPIKeyModelIDTask(params *PostAPIKeyModelIDTaskParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostAPIKeyModelIDTaskOK, error)
- func (a *Client) PostAPIKeyStatistics(params *PostAPIKeyStatisticsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostAPIKeyStatisticsOK, error)
- func (a *Client) PostAPIKeyTask(params *PostAPIKeyTaskParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostAPIKeyTaskOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteAPIKeyTaskIDCancelBadRequest
- func (o *DeleteAPIKeyTaskIDCancelBadRequest) Code() int
- func (o *DeleteAPIKeyTaskIDCancelBadRequest) Error() string
- func (o *DeleteAPIKeyTaskIDCancelBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *DeleteAPIKeyTaskIDCancelBadRequest) IsClientError() bool
- func (o *DeleteAPIKeyTaskIDCancelBadRequest) IsCode(code int) bool
- func (o *DeleteAPIKeyTaskIDCancelBadRequest) IsRedirect() bool
- func (o *DeleteAPIKeyTaskIDCancelBadRequest) IsServerError() bool
- func (o *DeleteAPIKeyTaskIDCancelBadRequest) IsSuccess() bool
- func (o *DeleteAPIKeyTaskIDCancelBadRequest) String() string
- type DeleteAPIKeyTaskIDCancelInternalServerError
- func (o *DeleteAPIKeyTaskIDCancelInternalServerError) Code() int
- func (o *DeleteAPIKeyTaskIDCancelInternalServerError) Error() string
- func (o *DeleteAPIKeyTaskIDCancelInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *DeleteAPIKeyTaskIDCancelInternalServerError) IsClientError() bool
- func (o *DeleteAPIKeyTaskIDCancelInternalServerError) IsCode(code int) bool
- func (o *DeleteAPIKeyTaskIDCancelInternalServerError) IsRedirect() bool
- func (o *DeleteAPIKeyTaskIDCancelInternalServerError) IsServerError() bool
- func (o *DeleteAPIKeyTaskIDCancelInternalServerError) IsSuccess() bool
- func (o *DeleteAPIKeyTaskIDCancelInternalServerError) String() string
- type DeleteAPIKeyTaskIDCancelOK
- func (o *DeleteAPIKeyTaskIDCancelOK) Code() int
- func (o *DeleteAPIKeyTaskIDCancelOK) Error() string
- func (o *DeleteAPIKeyTaskIDCancelOK) GetPayload() *models.ResponseSuccessResponse
- func (o *DeleteAPIKeyTaskIDCancelOK) IsClientError() bool
- func (o *DeleteAPIKeyTaskIDCancelOK) IsCode(code int) bool
- func (o *DeleteAPIKeyTaskIDCancelOK) IsRedirect() bool
- func (o *DeleteAPIKeyTaskIDCancelOK) IsServerError() bool
- func (o *DeleteAPIKeyTaskIDCancelOK) IsSuccess() bool
- func (o *DeleteAPIKeyTaskIDCancelOK) String() string
- type DeleteAPIKeyTaskIDCancelParams
- func NewDeleteAPIKeyTaskIDCancelParams() *DeleteAPIKeyTaskIDCancelParams
- func NewDeleteAPIKeyTaskIDCancelParamsWithContext(ctx context.Context) *DeleteAPIKeyTaskIDCancelParams
- func NewDeleteAPIKeyTaskIDCancelParamsWithHTTPClient(client *http.Client) *DeleteAPIKeyTaskIDCancelParams
- func NewDeleteAPIKeyTaskIDCancelParamsWithTimeout(timeout time.Duration) *DeleteAPIKeyTaskIDCancelParams
- func (o *DeleteAPIKeyTaskIDCancelParams) SetContext(ctx context.Context)
- func (o *DeleteAPIKeyTaskIDCancelParams) SetDefaults()
- func (o *DeleteAPIKeyTaskIDCancelParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAPIKeyTaskIDCancelParams) SetID(id string)
- func (o *DeleteAPIKeyTaskIDCancelParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAPIKeyTaskIDCancelParams) WithContext(ctx context.Context) *DeleteAPIKeyTaskIDCancelParams
- func (o *DeleteAPIKeyTaskIDCancelParams) WithDefaults() *DeleteAPIKeyTaskIDCancelParams
- func (o *DeleteAPIKeyTaskIDCancelParams) WithHTTPClient(client *http.Client) *DeleteAPIKeyTaskIDCancelParams
- func (o *DeleteAPIKeyTaskIDCancelParams) WithID(id string) *DeleteAPIKeyTaskIDCancelParams
- func (o *DeleteAPIKeyTaskIDCancelParams) WithTimeout(timeout time.Duration) *DeleteAPIKeyTaskIDCancelParams
- func (o *DeleteAPIKeyTaskIDCancelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAPIKeyTaskIDCancelReader
- type GetAPIKeyBalanceBadRequest
- func (o *GetAPIKeyBalanceBadRequest) Code() int
- func (o *GetAPIKeyBalanceBadRequest) Error() string
- func (o *GetAPIKeyBalanceBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *GetAPIKeyBalanceBadRequest) IsClientError() bool
- func (o *GetAPIKeyBalanceBadRequest) IsCode(code int) bool
- func (o *GetAPIKeyBalanceBadRequest) IsRedirect() bool
- func (o *GetAPIKeyBalanceBadRequest) IsServerError() bool
- func (o *GetAPIKeyBalanceBadRequest) IsSuccess() bool
- func (o *GetAPIKeyBalanceBadRequest) String() string
- type GetAPIKeyBalanceInternalServerError
- func (o *GetAPIKeyBalanceInternalServerError) Code() int
- func (o *GetAPIKeyBalanceInternalServerError) Error() string
- func (o *GetAPIKeyBalanceInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *GetAPIKeyBalanceInternalServerError) IsClientError() bool
- func (o *GetAPIKeyBalanceInternalServerError) IsCode(code int) bool
- func (o *GetAPIKeyBalanceInternalServerError) IsRedirect() bool
- func (o *GetAPIKeyBalanceInternalServerError) IsServerError() bool
- func (o *GetAPIKeyBalanceInternalServerError) IsSuccess() bool
- func (o *GetAPIKeyBalanceInternalServerError) String() string
- type GetAPIKeyBalanceOK
- func (o *GetAPIKeyBalanceOK) Code() int
- func (o *GetAPIKeyBalanceOK) Error() string
- func (o *GetAPIKeyBalanceOK) GetPayload() *models.ResponseWalletWithAddressResponse
- func (o *GetAPIKeyBalanceOK) IsClientError() bool
- func (o *GetAPIKeyBalanceOK) IsCode(code int) bool
- func (o *GetAPIKeyBalanceOK) IsRedirect() bool
- func (o *GetAPIKeyBalanceOK) IsServerError() bool
- func (o *GetAPIKeyBalanceOK) IsSuccess() bool
- func (o *GetAPIKeyBalanceOK) String() string
- type GetAPIKeyBalanceParams
- func NewGetAPIKeyBalanceParams() *GetAPIKeyBalanceParams
- func NewGetAPIKeyBalanceParamsWithContext(ctx context.Context) *GetAPIKeyBalanceParams
- func NewGetAPIKeyBalanceParamsWithHTTPClient(client *http.Client) *GetAPIKeyBalanceParams
- func NewGetAPIKeyBalanceParamsWithTimeout(timeout time.Duration) *GetAPIKeyBalanceParams
- func (o *GetAPIKeyBalanceParams) SetContext(ctx context.Context)
- func (o *GetAPIKeyBalanceParams) SetDefaults()
- func (o *GetAPIKeyBalanceParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIKeyBalanceParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIKeyBalanceParams) WithContext(ctx context.Context) *GetAPIKeyBalanceParams
- func (o *GetAPIKeyBalanceParams) WithDefaults() *GetAPIKeyBalanceParams
- func (o *GetAPIKeyBalanceParams) WithHTTPClient(client *http.Client) *GetAPIKeyBalanceParams
- func (o *GetAPIKeyBalanceParams) WithTimeout(timeout time.Duration) *GetAPIKeyBalanceParams
- func (o *GetAPIKeyBalanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIKeyBalanceReader
- type GetAPIKeyPermissionBadRequest
- func (o *GetAPIKeyPermissionBadRequest) Code() int
- func (o *GetAPIKeyPermissionBadRequest) Error() string
- func (o *GetAPIKeyPermissionBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *GetAPIKeyPermissionBadRequest) IsClientError() bool
- func (o *GetAPIKeyPermissionBadRequest) IsCode(code int) bool
- func (o *GetAPIKeyPermissionBadRequest) IsRedirect() bool
- func (o *GetAPIKeyPermissionBadRequest) IsServerError() bool
- func (o *GetAPIKeyPermissionBadRequest) IsSuccess() bool
- func (o *GetAPIKeyPermissionBadRequest) String() string
- type GetAPIKeyPermissionInternalServerError
- func (o *GetAPIKeyPermissionInternalServerError) Code() int
- func (o *GetAPIKeyPermissionInternalServerError) Error() string
- func (o *GetAPIKeyPermissionInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *GetAPIKeyPermissionInternalServerError) IsClientError() bool
- func (o *GetAPIKeyPermissionInternalServerError) IsCode(code int) bool
- func (o *GetAPIKeyPermissionInternalServerError) IsRedirect() bool
- func (o *GetAPIKeyPermissionInternalServerError) IsServerError() bool
- func (o *GetAPIKeyPermissionInternalServerError) IsSuccess() bool
- func (o *GetAPIKeyPermissionInternalServerError) String() string
- type GetAPIKeyPermissionOK
- func (o *GetAPIKeyPermissionOK) Code() int
- func (o *GetAPIKeyPermissionOK) Error() string
- func (o *GetAPIKeyPermissionOK) GetPayload() *models.ResponseGetAPIKeyPermissionResponse
- func (o *GetAPIKeyPermissionOK) IsClientError() bool
- func (o *GetAPIKeyPermissionOK) IsCode(code int) bool
- func (o *GetAPIKeyPermissionOK) IsRedirect() bool
- func (o *GetAPIKeyPermissionOK) IsServerError() bool
- func (o *GetAPIKeyPermissionOK) IsSuccess() bool
- func (o *GetAPIKeyPermissionOK) String() string
- type GetAPIKeyPermissionParams
- func NewGetAPIKeyPermissionParams() *GetAPIKeyPermissionParams
- func NewGetAPIKeyPermissionParamsWithContext(ctx context.Context) *GetAPIKeyPermissionParams
- func NewGetAPIKeyPermissionParamsWithHTTPClient(client *http.Client) *GetAPIKeyPermissionParams
- func NewGetAPIKeyPermissionParamsWithTimeout(timeout time.Duration) *GetAPIKeyPermissionParams
- func (o *GetAPIKeyPermissionParams) SetContext(ctx context.Context)
- func (o *GetAPIKeyPermissionParams) SetDefaults()
- func (o *GetAPIKeyPermissionParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIKeyPermissionParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIKeyPermissionParams) WithContext(ctx context.Context) *GetAPIKeyPermissionParams
- func (o *GetAPIKeyPermissionParams) WithDefaults() *GetAPIKeyPermissionParams
- func (o *GetAPIKeyPermissionParams) WithHTTPClient(client *http.Client) *GetAPIKeyPermissionParams
- func (o *GetAPIKeyPermissionParams) WithTimeout(timeout time.Duration) *GetAPIKeyPermissionParams
- func (o *GetAPIKeyPermissionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIKeyPermissionReader
- type GetAPIKeyTaskHistoriesBadRequest
- func (o *GetAPIKeyTaskHistoriesBadRequest) Code() int
- func (o *GetAPIKeyTaskHistoriesBadRequest) Error() string
- func (o *GetAPIKeyTaskHistoriesBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *GetAPIKeyTaskHistoriesBadRequest) IsClientError() bool
- func (o *GetAPIKeyTaskHistoriesBadRequest) IsCode(code int) bool
- func (o *GetAPIKeyTaskHistoriesBadRequest) IsRedirect() bool
- func (o *GetAPIKeyTaskHistoriesBadRequest) IsServerError() bool
- func (o *GetAPIKeyTaskHistoriesBadRequest) IsSuccess() bool
- func (o *GetAPIKeyTaskHistoriesBadRequest) String() string
- type GetAPIKeyTaskHistoriesInternalServerError
- func (o *GetAPIKeyTaskHistoriesInternalServerError) Code() int
- func (o *GetAPIKeyTaskHistoriesInternalServerError) Error() string
- func (o *GetAPIKeyTaskHistoriesInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *GetAPIKeyTaskHistoriesInternalServerError) IsClientError() bool
- func (o *GetAPIKeyTaskHistoriesInternalServerError) IsCode(code int) bool
- func (o *GetAPIKeyTaskHistoriesInternalServerError) IsRedirect() bool
- func (o *GetAPIKeyTaskHistoriesInternalServerError) IsServerError() bool
- func (o *GetAPIKeyTaskHistoriesInternalServerError) IsSuccess() bool
- func (o *GetAPIKeyTaskHistoriesInternalServerError) String() string
- type GetAPIKeyTaskHistoriesOK
- func (o *GetAPIKeyTaskHistoriesOK) Code() int
- func (o *GetAPIKeyTaskHistoriesOK) Error() string
- func (o *GetAPIKeyTaskHistoriesOK) GetPayload() *models.ResponseAPIKeyHistoryListResponse
- func (o *GetAPIKeyTaskHistoriesOK) IsClientError() bool
- func (o *GetAPIKeyTaskHistoriesOK) IsCode(code int) bool
- func (o *GetAPIKeyTaskHistoriesOK) IsRedirect() bool
- func (o *GetAPIKeyTaskHistoriesOK) IsServerError() bool
- func (o *GetAPIKeyTaskHistoriesOK) IsSuccess() bool
- func (o *GetAPIKeyTaskHistoriesOK) String() string
- type GetAPIKeyTaskHistoriesParams
- func NewGetAPIKeyTaskHistoriesParams() *GetAPIKeyTaskHistoriesParams
- func NewGetAPIKeyTaskHistoriesParamsWithContext(ctx context.Context) *GetAPIKeyTaskHistoriesParams
- func NewGetAPIKeyTaskHistoriesParamsWithHTTPClient(client *http.Client) *GetAPIKeyTaskHistoriesParams
- func NewGetAPIKeyTaskHistoriesParamsWithTimeout(timeout time.Duration) *GetAPIKeyTaskHistoriesParams
- func (o *GetAPIKeyTaskHistoriesParams) SetContext(ctx context.Context)
- func (o *GetAPIKeyTaskHistoriesParams) SetDefaults()
- func (o *GetAPIKeyTaskHistoriesParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIKeyTaskHistoriesParams) SetLimit(limit *int64)
- func (o *GetAPIKeyTaskHistoriesParams) SetOffset(offset *int64)
- func (o *GetAPIKeyTaskHistoriesParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIKeyTaskHistoriesParams) WithContext(ctx context.Context) *GetAPIKeyTaskHistoriesParams
- func (o *GetAPIKeyTaskHistoriesParams) WithDefaults() *GetAPIKeyTaskHistoriesParams
- func (o *GetAPIKeyTaskHistoriesParams) WithHTTPClient(client *http.Client) *GetAPIKeyTaskHistoriesParams
- func (o *GetAPIKeyTaskHistoriesParams) WithLimit(limit *int64) *GetAPIKeyTaskHistoriesParams
- func (o *GetAPIKeyTaskHistoriesParams) WithOffset(offset *int64) *GetAPIKeyTaskHistoriesParams
- func (o *GetAPIKeyTaskHistoriesParams) WithTimeout(timeout time.Duration) *GetAPIKeyTaskHistoriesParams
- func (o *GetAPIKeyTaskHistoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIKeyTaskHistoriesReader
- type GetAPIKeyTaskIDDetailBadRequest
- func (o *GetAPIKeyTaskIDDetailBadRequest) Code() int
- func (o *GetAPIKeyTaskIDDetailBadRequest) Error() string
- func (o *GetAPIKeyTaskIDDetailBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *GetAPIKeyTaskIDDetailBadRequest) IsClientError() bool
- func (o *GetAPIKeyTaskIDDetailBadRequest) IsCode(code int) bool
- func (o *GetAPIKeyTaskIDDetailBadRequest) IsRedirect() bool
- func (o *GetAPIKeyTaskIDDetailBadRequest) IsServerError() bool
- func (o *GetAPIKeyTaskIDDetailBadRequest) IsSuccess() bool
- func (o *GetAPIKeyTaskIDDetailBadRequest) String() string
- type GetAPIKeyTaskIDDetailInternalServerError
- func (o *GetAPIKeyTaskIDDetailInternalServerError) Code() int
- func (o *GetAPIKeyTaskIDDetailInternalServerError) Error() string
- func (o *GetAPIKeyTaskIDDetailInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *GetAPIKeyTaskIDDetailInternalServerError) IsClientError() bool
- func (o *GetAPIKeyTaskIDDetailInternalServerError) IsCode(code int) bool
- func (o *GetAPIKeyTaskIDDetailInternalServerError) IsRedirect() bool
- func (o *GetAPIKeyTaskIDDetailInternalServerError) IsServerError() bool
- func (o *GetAPIKeyTaskIDDetailInternalServerError) IsSuccess() bool
- func (o *GetAPIKeyTaskIDDetailInternalServerError) String() string
- type GetAPIKeyTaskIDDetailOK
- func (o *GetAPIKeyTaskIDDetailOK) Code() int
- func (o *GetAPIKeyTaskIDDetailOK) Error() string
- func (o *GetAPIKeyTaskIDDetailOK) GetPayload() *models.ResponseAPIKeyHistoryResponse
- func (o *GetAPIKeyTaskIDDetailOK) IsClientError() bool
- func (o *GetAPIKeyTaskIDDetailOK) IsCode(code int) bool
- func (o *GetAPIKeyTaskIDDetailOK) IsRedirect() bool
- func (o *GetAPIKeyTaskIDDetailOK) IsServerError() bool
- func (o *GetAPIKeyTaskIDDetailOK) IsSuccess() bool
- func (o *GetAPIKeyTaskIDDetailOK) String() string
- type GetAPIKeyTaskIDDetailParams
- func NewGetAPIKeyTaskIDDetailParams() *GetAPIKeyTaskIDDetailParams
- func NewGetAPIKeyTaskIDDetailParamsWithContext(ctx context.Context) *GetAPIKeyTaskIDDetailParams
- func NewGetAPIKeyTaskIDDetailParamsWithHTTPClient(client *http.Client) *GetAPIKeyTaskIDDetailParams
- func NewGetAPIKeyTaskIDDetailParamsWithTimeout(timeout time.Duration) *GetAPIKeyTaskIDDetailParams
- func (o *GetAPIKeyTaskIDDetailParams) SetContext(ctx context.Context)
- func (o *GetAPIKeyTaskIDDetailParams) SetDefaults()
- func (o *GetAPIKeyTaskIDDetailParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIKeyTaskIDDetailParams) SetID(id string)
- func (o *GetAPIKeyTaskIDDetailParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIKeyTaskIDDetailParams) WithContext(ctx context.Context) *GetAPIKeyTaskIDDetailParams
- func (o *GetAPIKeyTaskIDDetailParams) WithDefaults() *GetAPIKeyTaskIDDetailParams
- func (o *GetAPIKeyTaskIDDetailParams) WithHTTPClient(client *http.Client) *GetAPIKeyTaskIDDetailParams
- func (o *GetAPIKeyTaskIDDetailParams) WithID(id string) *GetAPIKeyTaskIDDetailParams
- func (o *GetAPIKeyTaskIDDetailParams) WithTimeout(timeout time.Duration) *GetAPIKeyTaskIDDetailParams
- func (o *GetAPIKeyTaskIDDetailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIKeyTaskIDDetailReader
- type PostAPIKeyModelIDTaskBadRequest
- func (o *PostAPIKeyModelIDTaskBadRequest) Code() int
- func (o *PostAPIKeyModelIDTaskBadRequest) Error() string
- func (o *PostAPIKeyModelIDTaskBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PostAPIKeyModelIDTaskBadRequest) IsClientError() bool
- func (o *PostAPIKeyModelIDTaskBadRequest) IsCode(code int) bool
- func (o *PostAPIKeyModelIDTaskBadRequest) IsRedirect() bool
- func (o *PostAPIKeyModelIDTaskBadRequest) IsServerError() bool
- func (o *PostAPIKeyModelIDTaskBadRequest) IsSuccess() bool
- func (o *PostAPIKeyModelIDTaskBadRequest) String() string
- type PostAPIKeyModelIDTaskInternalServerError
- func (o *PostAPIKeyModelIDTaskInternalServerError) Code() int
- func (o *PostAPIKeyModelIDTaskInternalServerError) Error() string
- func (o *PostAPIKeyModelIDTaskInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PostAPIKeyModelIDTaskInternalServerError) IsClientError() bool
- func (o *PostAPIKeyModelIDTaskInternalServerError) IsCode(code int) bool
- func (o *PostAPIKeyModelIDTaskInternalServerError) IsRedirect() bool
- func (o *PostAPIKeyModelIDTaskInternalServerError) IsServerError() bool
- func (o *PostAPIKeyModelIDTaskInternalServerError) IsSuccess() bool
- func (o *PostAPIKeyModelIDTaskInternalServerError) String() string
- type PostAPIKeyModelIDTaskOK
- func (o *PostAPIKeyModelIDTaskOK) Code() int
- func (o *PostAPIKeyModelIDTaskOK) Error() string
- func (o *PostAPIKeyModelIDTaskOK) GetPayload() *models.ResponseDistributeTaskResponse
- func (o *PostAPIKeyModelIDTaskOK) IsClientError() bool
- func (o *PostAPIKeyModelIDTaskOK) IsCode(code int) bool
- func (o *PostAPIKeyModelIDTaskOK) IsRedirect() bool
- func (o *PostAPIKeyModelIDTaskOK) IsServerError() bool
- func (o *PostAPIKeyModelIDTaskOK) IsSuccess() bool
- func (o *PostAPIKeyModelIDTaskOK) String() string
- type PostAPIKeyModelIDTaskParams
- func NewPostAPIKeyModelIDTaskParams() *PostAPIKeyModelIDTaskParams
- func NewPostAPIKeyModelIDTaskParamsWithContext(ctx context.Context) *PostAPIKeyModelIDTaskParams
- func NewPostAPIKeyModelIDTaskParamsWithHTTPClient(client *http.Client) *PostAPIKeyModelIDTaskParams
- func NewPostAPIKeyModelIDTaskParamsWithTimeout(timeout time.Duration) *PostAPIKeyModelIDTaskParams
- func (o *PostAPIKeyModelIDTaskParams) SetContext(ctx context.Context)
- func (o *PostAPIKeyModelIDTaskParams) SetDefaults()
- func (o *PostAPIKeyModelIDTaskParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIKeyModelIDTaskParams) SetID(id string)
- func (o *PostAPIKeyModelIDTaskParams) SetInput(input models.RequestDistributeTaskWithAPIKeyRequest)
- func (o *PostAPIKeyModelIDTaskParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIKeyModelIDTaskParams) WithContext(ctx context.Context) *PostAPIKeyModelIDTaskParams
- func (o *PostAPIKeyModelIDTaskParams) WithDefaults() *PostAPIKeyModelIDTaskParams
- func (o *PostAPIKeyModelIDTaskParams) WithHTTPClient(client *http.Client) *PostAPIKeyModelIDTaskParams
- func (o *PostAPIKeyModelIDTaskParams) WithID(id string) *PostAPIKeyModelIDTaskParams
- func (o *PostAPIKeyModelIDTaskParams) WithInput(input models.RequestDistributeTaskWithAPIKeyRequest) *PostAPIKeyModelIDTaskParams
- func (o *PostAPIKeyModelIDTaskParams) WithTimeout(timeout time.Duration) *PostAPIKeyModelIDTaskParams
- func (o *PostAPIKeyModelIDTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIKeyModelIDTaskReader
- type PostAPIKeyStatisticsBadRequest
- func (o *PostAPIKeyStatisticsBadRequest) Code() int
- func (o *PostAPIKeyStatisticsBadRequest) Error() string
- func (o *PostAPIKeyStatisticsBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PostAPIKeyStatisticsBadRequest) IsClientError() bool
- func (o *PostAPIKeyStatisticsBadRequest) IsCode(code int) bool
- func (o *PostAPIKeyStatisticsBadRequest) IsRedirect() bool
- func (o *PostAPIKeyStatisticsBadRequest) IsServerError() bool
- func (o *PostAPIKeyStatisticsBadRequest) IsSuccess() bool
- func (o *PostAPIKeyStatisticsBadRequest) String() string
- type PostAPIKeyStatisticsInternalServerError
- func (o *PostAPIKeyStatisticsInternalServerError) Code() int
- func (o *PostAPIKeyStatisticsInternalServerError) Error() string
- func (o *PostAPIKeyStatisticsInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PostAPIKeyStatisticsInternalServerError) IsClientError() bool
- func (o *PostAPIKeyStatisticsInternalServerError) IsCode(code int) bool
- func (o *PostAPIKeyStatisticsInternalServerError) IsRedirect() bool
- func (o *PostAPIKeyStatisticsInternalServerError) IsServerError() bool
- func (o *PostAPIKeyStatisticsInternalServerError) IsSuccess() bool
- func (o *PostAPIKeyStatisticsInternalServerError) String() string
- type PostAPIKeyStatisticsOK
- func (o *PostAPIKeyStatisticsOK) Code() int
- func (o *PostAPIKeyStatisticsOK) Error() string
- func (o *PostAPIKeyStatisticsOK) GetPayload() *models.ResponseGetTaskStatisticsResponse
- func (o *PostAPIKeyStatisticsOK) IsClientError() bool
- func (o *PostAPIKeyStatisticsOK) IsCode(code int) bool
- func (o *PostAPIKeyStatisticsOK) IsRedirect() bool
- func (o *PostAPIKeyStatisticsOK) IsServerError() bool
- func (o *PostAPIKeyStatisticsOK) IsSuccess() bool
- func (o *PostAPIKeyStatisticsOK) String() string
- type PostAPIKeyStatisticsParams
- func NewPostAPIKeyStatisticsParams() *PostAPIKeyStatisticsParams
- func NewPostAPIKeyStatisticsParamsWithContext(ctx context.Context) *PostAPIKeyStatisticsParams
- func NewPostAPIKeyStatisticsParamsWithHTTPClient(client *http.Client) *PostAPIKeyStatisticsParams
- func NewPostAPIKeyStatisticsParamsWithTimeout(timeout time.Duration) *PostAPIKeyStatisticsParams
- func (o *PostAPIKeyStatisticsParams) SetContext(ctx context.Context)
- func (o *PostAPIKeyStatisticsParams) SetDefaults()
- func (o *PostAPIKeyStatisticsParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIKeyStatisticsParams) SetInput(input *models.RequestGetAPIKeyStatisticsByModelIDRequest)
- func (o *PostAPIKeyStatisticsParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIKeyStatisticsParams) WithContext(ctx context.Context) *PostAPIKeyStatisticsParams
- func (o *PostAPIKeyStatisticsParams) WithDefaults() *PostAPIKeyStatisticsParams
- func (o *PostAPIKeyStatisticsParams) WithHTTPClient(client *http.Client) *PostAPIKeyStatisticsParams
- func (o *PostAPIKeyStatisticsParams) WithInput(input *models.RequestGetAPIKeyStatisticsByModelIDRequest) *PostAPIKeyStatisticsParams
- func (o *PostAPIKeyStatisticsParams) WithTimeout(timeout time.Duration) *PostAPIKeyStatisticsParams
- func (o *PostAPIKeyStatisticsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIKeyStatisticsReader
- type PostAPIKeyTaskBadRequest
- func (o *PostAPIKeyTaskBadRequest) Code() int
- func (o *PostAPIKeyTaskBadRequest) Error() string
- func (o *PostAPIKeyTaskBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PostAPIKeyTaskBadRequest) IsClientError() bool
- func (o *PostAPIKeyTaskBadRequest) IsCode(code int) bool
- func (o *PostAPIKeyTaskBadRequest) IsRedirect() bool
- func (o *PostAPIKeyTaskBadRequest) IsServerError() bool
- func (o *PostAPIKeyTaskBadRequest) IsSuccess() bool
- func (o *PostAPIKeyTaskBadRequest) String() string
- type PostAPIKeyTaskInternalServerError
- func (o *PostAPIKeyTaskInternalServerError) Code() int
- func (o *PostAPIKeyTaskInternalServerError) Error() string
- func (o *PostAPIKeyTaskInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PostAPIKeyTaskInternalServerError) IsClientError() bool
- func (o *PostAPIKeyTaskInternalServerError) IsCode(code int) bool
- func (o *PostAPIKeyTaskInternalServerError) IsRedirect() bool
- func (o *PostAPIKeyTaskInternalServerError) IsServerError() bool
- func (o *PostAPIKeyTaskInternalServerError) IsSuccess() bool
- func (o *PostAPIKeyTaskInternalServerError) String() string
- type PostAPIKeyTaskOK
- func (o *PostAPIKeyTaskOK) Code() int
- func (o *PostAPIKeyTaskOK) Error() string
- func (o *PostAPIKeyTaskOK) GetPayload() *models.ResponseDistributeTaskResponse
- func (o *PostAPIKeyTaskOK) IsClientError() bool
- func (o *PostAPIKeyTaskOK) IsCode(code int) bool
- func (o *PostAPIKeyTaskOK) IsRedirect() bool
- func (o *PostAPIKeyTaskOK) IsServerError() bool
- func (o *PostAPIKeyTaskOK) IsSuccess() bool
- func (o *PostAPIKeyTaskOK) String() string
- type PostAPIKeyTaskParams
- func NewPostAPIKeyTaskParams() *PostAPIKeyTaskParams
- func NewPostAPIKeyTaskParamsWithContext(ctx context.Context) *PostAPIKeyTaskParams
- func NewPostAPIKeyTaskParamsWithHTTPClient(client *http.Client) *PostAPIKeyTaskParams
- func NewPostAPIKeyTaskParamsWithTimeout(timeout time.Duration) *PostAPIKeyTaskParams
- func (o *PostAPIKeyTaskParams) SetContext(ctx context.Context)
- func (o *PostAPIKeyTaskParams) SetDefaults()
- func (o *PostAPIKeyTaskParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIKeyTaskParams) SetInput(input *models.RequestDistributeTaskRequest)
- func (o *PostAPIKeyTaskParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIKeyTaskParams) WithContext(ctx context.Context) *PostAPIKeyTaskParams
- func (o *PostAPIKeyTaskParams) WithDefaults() *PostAPIKeyTaskParams
- func (o *PostAPIKeyTaskParams) WithHTTPClient(client *http.Client) *PostAPIKeyTaskParams
- func (o *PostAPIKeyTaskParams) WithInput(input *models.RequestDistributeTaskRequest) *PostAPIKeyTaskParams
- func (o *PostAPIKeyTaskParams) WithTimeout(timeout time.Duration) *PostAPIKeyTaskParams
- func (o *PostAPIKeyTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIKeyTaskReader
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 ¶
func (o *DeleteAPIKeyTaskIDCancelBadRequest) Code() int
Code gets the status code for the delete Api key task Id cancel bad request response
func (*DeleteAPIKeyTaskIDCancelBadRequest) Error ¶
func (o *DeleteAPIKeyTaskIDCancelBadRequest) Error() string
func (*DeleteAPIKeyTaskIDCancelBadRequest) GetPayload ¶
func (o *DeleteAPIKeyTaskIDCancelBadRequest) GetPayload() *models.ResponseFailResponse
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 ¶
func (o *DeleteAPIKeyTaskIDCancelBadRequest) IsCode(code int) bool
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 ¶
func (o *DeleteAPIKeyTaskIDCancelBadRequest) IsSuccess() bool
IsSuccess returns true when this delete Api key task Id cancel bad request response has a 2xx status code
func (*DeleteAPIKeyTaskIDCancelBadRequest) String ¶
func (o *DeleteAPIKeyTaskIDCancelBadRequest) String() 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 ¶
func (o *DeleteAPIKeyTaskIDCancelInternalServerError) Code() int
Code gets the status code for the delete Api key task Id cancel internal server error response
func (*DeleteAPIKeyTaskIDCancelInternalServerError) Error ¶
func (o *DeleteAPIKeyTaskIDCancelInternalServerError) Error() string
func (*DeleteAPIKeyTaskIDCancelInternalServerError) GetPayload ¶
func (o *DeleteAPIKeyTaskIDCancelInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*DeleteAPIKeyTaskIDCancelInternalServerError) IsClientError ¶
func (o *DeleteAPIKeyTaskIDCancelInternalServerError) IsClientError() bool
IsClientError returns true when this delete Api key task Id cancel internal server error response has a 4xx status code
func (*DeleteAPIKeyTaskIDCancelInternalServerError) IsCode ¶
func (o *DeleteAPIKeyTaskIDCancelInternalServerError) IsCode(code int) bool
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 ¶
func (o *DeleteAPIKeyTaskIDCancelInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete Api key task Id cancel internal server error response has a 3xx status code
func (*DeleteAPIKeyTaskIDCancelInternalServerError) IsServerError ¶
func (o *DeleteAPIKeyTaskIDCancelInternalServerError) IsServerError() bool
IsServerError returns true when this delete Api key task Id cancel internal server error response has a 5xx status code
func (*DeleteAPIKeyTaskIDCancelInternalServerError) IsSuccess ¶
func (o *DeleteAPIKeyTaskIDCancelInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete Api key task Id cancel internal server error response has a 2xx status code
func (*DeleteAPIKeyTaskIDCancelInternalServerError) String ¶
func (o *DeleteAPIKeyTaskIDCancelInternalServerError) String() 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 (o *DeleteAPIKeyTaskIDCancelOK) Error() string
func (*DeleteAPIKeyTaskIDCancelOK) GetPayload ¶
func (o *DeleteAPIKeyTaskIDCancelOK) GetPayload() *models.ResponseSuccessResponse
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 ¶
func (o *DeleteAPIKeyTaskIDCancelParams) SetID(id string)
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 ¶
func (o *DeleteAPIKeyTaskIDCancelParams) WithContext(ctx context.Context) *DeleteAPIKeyTaskIDCancelParams
WithContext adds the context to the delete API key task ID cancel params
func (*DeleteAPIKeyTaskIDCancelParams) WithDefaults ¶
func (o *DeleteAPIKeyTaskIDCancelParams) WithDefaults() *DeleteAPIKeyTaskIDCancelParams
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 ¶
func (o *DeleteAPIKeyTaskIDCancelParams) WithHTTPClient(client *http.Client) *DeleteAPIKeyTaskIDCancelParams
WithHTTPClient adds the HTTPClient to the delete API key task ID cancel params
func (*DeleteAPIKeyTaskIDCancelParams) WithID ¶
func (o *DeleteAPIKeyTaskIDCancelParams) WithID(id string) *DeleteAPIKeyTaskIDCancelParams
WithID adds the id to the delete API key task ID cancel params
func (*DeleteAPIKeyTaskIDCancelParams) WithTimeout ¶
func (o *DeleteAPIKeyTaskIDCancelParams) WithTimeout(timeout time.Duration) *DeleteAPIKeyTaskIDCancelParams
WithTimeout adds the timeout to the delete API key task ID cancel params
func (*DeleteAPIKeyTaskIDCancelParams) WriteToRequest ¶
func (o *DeleteAPIKeyTaskIDCancelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetAPIKeyBalanceBadRequest) Error() string
func (*GetAPIKeyBalanceBadRequest) GetPayload ¶
func (o *GetAPIKeyBalanceBadRequest) GetPayload() *models.ResponseFailResponse
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 ¶
func (o *GetAPIKeyBalanceInternalServerError) Code() int
Code gets the status code for the get Api key balance internal server error response
func (*GetAPIKeyBalanceInternalServerError) Error ¶
func (o *GetAPIKeyBalanceInternalServerError) Error() string
func (*GetAPIKeyBalanceInternalServerError) GetPayload ¶
func (o *GetAPIKeyBalanceInternalServerError) GetPayload() *models.ResponseErrorResponse
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 ¶
func (o *GetAPIKeyBalanceInternalServerError) IsCode(code int) bool
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 ¶
func (o *GetAPIKeyBalanceInternalServerError) IsSuccess() bool
IsSuccess returns true when this get Api key balance internal server error response has a 2xx status code
func (*GetAPIKeyBalanceInternalServerError) String ¶
func (o *GetAPIKeyBalanceInternalServerError) String() 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 (o *GetAPIKeyBalanceOK) GetPayload() *models.ResponseWalletWithAddressResponse
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 ¶
func (o *GetAPIKeyBalanceParams) WithContext(ctx context.Context) *GetAPIKeyBalanceParams
WithContext adds the context to the get API key balance params
func (*GetAPIKeyBalanceParams) WithDefaults ¶
func (o *GetAPIKeyBalanceParams) WithDefaults() *GetAPIKeyBalanceParams
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 ¶
func (o *GetAPIKeyBalanceParams) WithTimeout(timeout time.Duration) *GetAPIKeyBalanceParams
WithTimeout adds the timeout to the get API key balance params
func (*GetAPIKeyBalanceParams) WriteToRequest ¶
func (o *GetAPIKeyBalanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetAPIKeyPermissionBadRequest) Code() int
Code gets the status code for the get Api key permission bad request response
func (*GetAPIKeyPermissionBadRequest) Error ¶
func (o *GetAPIKeyPermissionBadRequest) Error() string
func (*GetAPIKeyPermissionBadRequest) GetPayload ¶
func (o *GetAPIKeyPermissionBadRequest) GetPayload() *models.ResponseFailResponse
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 ¶
func (o *GetAPIKeyPermissionBadRequest) String() 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 ¶
func (o *GetAPIKeyPermissionInternalServerError) Code() int
Code gets the status code for the get Api key permission internal server error response
func (*GetAPIKeyPermissionInternalServerError) Error ¶
func (o *GetAPIKeyPermissionInternalServerError) Error() string
func (*GetAPIKeyPermissionInternalServerError) GetPayload ¶
func (o *GetAPIKeyPermissionInternalServerError) GetPayload() *models.ResponseErrorResponse
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 ¶
func (o *GetAPIKeyPermissionInternalServerError) IsCode(code int) bool
IsCode returns true when this get Api key permission internal server error response a status code equal to that given
func (*GetAPIKeyPermissionInternalServerError) IsRedirect ¶
func (o *GetAPIKeyPermissionInternalServerError) IsRedirect() bool
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 ¶
func (o *GetAPIKeyPermissionInternalServerError) IsSuccess() bool
IsSuccess returns true when this get Api key permission internal server error response has a 2xx status code
func (*GetAPIKeyPermissionInternalServerError) String ¶
func (o *GetAPIKeyPermissionInternalServerError) String() 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 (o *GetAPIKeyPermissionOK) GetPayload() *models.ResponseGetAPIKeyPermissionResponse
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 ¶
func (o *GetAPIKeyPermissionParams) WithContext(ctx context.Context) *GetAPIKeyPermissionParams
WithContext adds the context to the get API key permission params
func (*GetAPIKeyPermissionParams) WithDefaults ¶
func (o *GetAPIKeyPermissionParams) WithDefaults() *GetAPIKeyPermissionParams
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 ¶
func (o *GetAPIKeyPermissionParams) WithTimeout(timeout time.Duration) *GetAPIKeyPermissionParams
WithTimeout adds the timeout to the get API key permission params
func (*GetAPIKeyPermissionParams) WriteToRequest ¶
func (o *GetAPIKeyPermissionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetAPIKeyTaskHistoriesBadRequest) Code() int
Code gets the status code for the get Api key task histories bad request response
func (*GetAPIKeyTaskHistoriesBadRequest) Error ¶
func (o *GetAPIKeyTaskHistoriesBadRequest) Error() string
func (*GetAPIKeyTaskHistoriesBadRequest) GetPayload ¶
func (o *GetAPIKeyTaskHistoriesBadRequest) GetPayload() *models.ResponseFailResponse
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 ¶
func (o *GetAPIKeyTaskHistoriesBadRequest) String() 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 ¶
func (o *GetAPIKeyTaskHistoriesInternalServerError) Code() int
Code gets the status code for the get Api key task histories internal server error response
func (*GetAPIKeyTaskHistoriesInternalServerError) Error ¶
func (o *GetAPIKeyTaskHistoriesInternalServerError) Error() string
func (*GetAPIKeyTaskHistoriesInternalServerError) GetPayload ¶
func (o *GetAPIKeyTaskHistoriesInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*GetAPIKeyTaskHistoriesInternalServerError) IsClientError ¶
func (o *GetAPIKeyTaskHistoriesInternalServerError) IsClientError() bool
IsClientError returns true when this get Api key task histories internal server error response has a 4xx status code
func (*GetAPIKeyTaskHistoriesInternalServerError) IsCode ¶
func (o *GetAPIKeyTaskHistoriesInternalServerError) IsCode(code int) bool
IsCode returns true when this get Api key task histories internal server error response a status code equal to that given
func (*GetAPIKeyTaskHistoriesInternalServerError) IsRedirect ¶
func (o *GetAPIKeyTaskHistoriesInternalServerError) IsRedirect() bool
IsRedirect returns true when this get Api key task histories internal server error response has a 3xx status code
func (*GetAPIKeyTaskHistoriesInternalServerError) IsServerError ¶
func (o *GetAPIKeyTaskHistoriesInternalServerError) IsServerError() bool
IsServerError returns true when this get Api key task histories internal server error response has a 5xx status code
func (*GetAPIKeyTaskHistoriesInternalServerError) IsSuccess ¶
func (o *GetAPIKeyTaskHistoriesInternalServerError) IsSuccess() bool
IsSuccess returns true when this get Api key task histories internal server error response has a 2xx status code
func (*GetAPIKeyTaskHistoriesInternalServerError) String ¶
func (o *GetAPIKeyTaskHistoriesInternalServerError) String() 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 (o *GetAPIKeyTaskHistoriesOK) GetPayload() *models.ResponseAPIKeyHistoryListResponse
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 ¶
func (o *GetAPIKeyTaskHistoriesParams) WithContext(ctx context.Context) *GetAPIKeyTaskHistoriesParams
WithContext adds the context to the get API key task histories params
func (*GetAPIKeyTaskHistoriesParams) WithDefaults ¶
func (o *GetAPIKeyTaskHistoriesParams) WithDefaults() *GetAPIKeyTaskHistoriesParams
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 ¶
func (o *GetAPIKeyTaskHistoriesParams) WithHTTPClient(client *http.Client) *GetAPIKeyTaskHistoriesParams
WithHTTPClient adds the HTTPClient to the get API key task histories params
func (*GetAPIKeyTaskHistoriesParams) WithLimit ¶
func (o *GetAPIKeyTaskHistoriesParams) WithLimit(limit *int64) *GetAPIKeyTaskHistoriesParams
WithLimit adds the limit to the get API key task histories params
func (*GetAPIKeyTaskHistoriesParams) WithOffset ¶
func (o *GetAPIKeyTaskHistoriesParams) WithOffset(offset *int64) *GetAPIKeyTaskHistoriesParams
WithOffset adds the offset to the get API key task histories params
func (*GetAPIKeyTaskHistoriesParams) WithTimeout ¶
func (o *GetAPIKeyTaskHistoriesParams) WithTimeout(timeout time.Duration) *GetAPIKeyTaskHistoriesParams
WithTimeout adds the timeout to the get API key task histories params
func (*GetAPIKeyTaskHistoriesParams) WriteToRequest ¶
func (o *GetAPIKeyTaskHistoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetAPIKeyTaskIDDetailBadRequest) Code() int
Code gets the status code for the get Api key task Id detail bad request response
func (*GetAPIKeyTaskIDDetailBadRequest) Error ¶
func (o *GetAPIKeyTaskIDDetailBadRequest) Error() string
func (*GetAPIKeyTaskIDDetailBadRequest) GetPayload ¶
func (o *GetAPIKeyTaskIDDetailBadRequest) GetPayload() *models.ResponseFailResponse
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 ¶
func (o *GetAPIKeyTaskIDDetailBadRequest) String() 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 ¶
func (o *GetAPIKeyTaskIDDetailInternalServerError) Code() int
Code gets the status code for the get Api key task Id detail internal server error response
func (*GetAPIKeyTaskIDDetailInternalServerError) Error ¶
func (o *GetAPIKeyTaskIDDetailInternalServerError) Error() string
func (*GetAPIKeyTaskIDDetailInternalServerError) GetPayload ¶
func (o *GetAPIKeyTaskIDDetailInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*GetAPIKeyTaskIDDetailInternalServerError) IsClientError ¶
func (o *GetAPIKeyTaskIDDetailInternalServerError) IsClientError() bool
IsClientError returns true when this get Api key task Id detail internal server error response has a 4xx status code
func (*GetAPIKeyTaskIDDetailInternalServerError) IsCode ¶
func (o *GetAPIKeyTaskIDDetailInternalServerError) IsCode(code int) bool
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 ¶
func (o *GetAPIKeyTaskIDDetailInternalServerError) IsRedirect() bool
IsRedirect returns true when this get Api key task Id detail internal server error response has a 3xx status code
func (*GetAPIKeyTaskIDDetailInternalServerError) IsServerError ¶
func (o *GetAPIKeyTaskIDDetailInternalServerError) IsServerError() bool
IsServerError returns true when this get Api key task Id detail internal server error response has a 5xx status code
func (*GetAPIKeyTaskIDDetailInternalServerError) IsSuccess ¶
func (o *GetAPIKeyTaskIDDetailInternalServerError) IsSuccess() bool
IsSuccess returns true when this get Api key task Id detail internal server error response has a 2xx status code
func (*GetAPIKeyTaskIDDetailInternalServerError) String ¶
func (o *GetAPIKeyTaskIDDetailInternalServerError) String() 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 (o *GetAPIKeyTaskIDDetailOK) GetPayload() *models.ResponseAPIKeyHistoryResponse
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 ¶
func (o *GetAPIKeyTaskIDDetailParams) WithContext(ctx context.Context) *GetAPIKeyTaskIDDetailParams
WithContext adds the context to the get API key task ID detail params
func (*GetAPIKeyTaskIDDetailParams) WithDefaults ¶
func (o *GetAPIKeyTaskIDDetailParams) WithDefaults() *GetAPIKeyTaskIDDetailParams
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 ¶
func (o *GetAPIKeyTaskIDDetailParams) WithHTTPClient(client *http.Client) *GetAPIKeyTaskIDDetailParams
WithHTTPClient adds the HTTPClient to the get API key task ID detail params
func (*GetAPIKeyTaskIDDetailParams) WithID ¶
func (o *GetAPIKeyTaskIDDetailParams) WithID(id string) *GetAPIKeyTaskIDDetailParams
WithID adds the id to the get API key task ID detail params
func (*GetAPIKeyTaskIDDetailParams) WithTimeout ¶
func (o *GetAPIKeyTaskIDDetailParams) WithTimeout(timeout time.Duration) *GetAPIKeyTaskIDDetailParams
WithTimeout adds the timeout to the get API key task ID detail params
func (*GetAPIKeyTaskIDDetailParams) WriteToRequest ¶
func (o *GetAPIKeyTaskIDDetailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PostAPIKeyModelIDTaskBadRequest) Code() int
Code gets the status code for the post Api key model Id task bad request response
func (*PostAPIKeyModelIDTaskBadRequest) Error ¶
func (o *PostAPIKeyModelIDTaskBadRequest) Error() string
func (*PostAPIKeyModelIDTaskBadRequest) GetPayload ¶
func (o *PostAPIKeyModelIDTaskBadRequest) GetPayload() *models.ResponseFailResponse
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 ¶
func (o *PostAPIKeyModelIDTaskBadRequest) String() 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 ¶
func (o *PostAPIKeyModelIDTaskInternalServerError) Code() int
Code gets the status code for the post Api key model Id task internal server error response
func (*PostAPIKeyModelIDTaskInternalServerError) Error ¶
func (o *PostAPIKeyModelIDTaskInternalServerError) Error() string
func (*PostAPIKeyModelIDTaskInternalServerError) GetPayload ¶
func (o *PostAPIKeyModelIDTaskInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PostAPIKeyModelIDTaskInternalServerError) IsClientError ¶
func (o *PostAPIKeyModelIDTaskInternalServerError) IsClientError() bool
IsClientError returns true when this post Api key model Id task internal server error response has a 4xx status code
func (*PostAPIKeyModelIDTaskInternalServerError) IsCode ¶
func (o *PostAPIKeyModelIDTaskInternalServerError) IsCode(code int) bool
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 ¶
func (o *PostAPIKeyModelIDTaskInternalServerError) IsRedirect() bool
IsRedirect returns true when this post Api key model Id task internal server error response has a 3xx status code
func (*PostAPIKeyModelIDTaskInternalServerError) IsServerError ¶
func (o *PostAPIKeyModelIDTaskInternalServerError) IsServerError() bool
IsServerError returns true when this post Api key model Id task internal server error response has a 5xx status code
func (*PostAPIKeyModelIDTaskInternalServerError) IsSuccess ¶
func (o *PostAPIKeyModelIDTaskInternalServerError) IsSuccess() bool
IsSuccess returns true when this post Api key model Id task internal server error response has a 2xx status code
func (*PostAPIKeyModelIDTaskInternalServerError) String ¶
func (o *PostAPIKeyModelIDTaskInternalServerError) String() 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 (o *PostAPIKeyModelIDTaskOK) GetPayload() *models.ResponseDistributeTaskResponse
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 ¶
func (o *PostAPIKeyModelIDTaskParams) SetInput(input models.RequestDistributeTaskWithAPIKeyRequest)
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 ¶
func (o *PostAPIKeyModelIDTaskParams) WithContext(ctx context.Context) *PostAPIKeyModelIDTaskParams
WithContext adds the context to the post API key model ID task params
func (*PostAPIKeyModelIDTaskParams) WithDefaults ¶
func (o *PostAPIKeyModelIDTaskParams) WithDefaults() *PostAPIKeyModelIDTaskParams
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 ¶
func (o *PostAPIKeyModelIDTaskParams) WithHTTPClient(client *http.Client) *PostAPIKeyModelIDTaskParams
WithHTTPClient adds the HTTPClient to the post API key model ID task params
func (*PostAPIKeyModelIDTaskParams) WithID ¶
func (o *PostAPIKeyModelIDTaskParams) WithID(id string) *PostAPIKeyModelIDTaskParams
WithID adds the id to the post API key model ID task params
func (*PostAPIKeyModelIDTaskParams) WithInput ¶
func (o *PostAPIKeyModelIDTaskParams) WithInput(input models.RequestDistributeTaskWithAPIKeyRequest) *PostAPIKeyModelIDTaskParams
WithInput adds the input to the post API key model ID task params
func (*PostAPIKeyModelIDTaskParams) WithTimeout ¶
func (o *PostAPIKeyModelIDTaskParams) WithTimeout(timeout time.Duration) *PostAPIKeyModelIDTaskParams
WithTimeout adds the timeout to the post API key model ID task params
func (*PostAPIKeyModelIDTaskParams) WriteToRequest ¶
func (o *PostAPIKeyModelIDTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PostAPIKeyStatisticsBadRequest) Code() int
Code gets the status code for the post Api key statistics bad request response
func (*PostAPIKeyStatisticsBadRequest) Error ¶
func (o *PostAPIKeyStatisticsBadRequest) Error() string
func (*PostAPIKeyStatisticsBadRequest) GetPayload ¶
func (o *PostAPIKeyStatisticsBadRequest) GetPayload() *models.ResponseFailResponse
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 ¶
func (o *PostAPIKeyStatisticsBadRequest) String() 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 ¶
func (o *PostAPIKeyStatisticsInternalServerError) Code() int
Code gets the status code for the post Api key statistics internal server error response
func (*PostAPIKeyStatisticsInternalServerError) Error ¶
func (o *PostAPIKeyStatisticsInternalServerError) Error() string
func (*PostAPIKeyStatisticsInternalServerError) GetPayload ¶
func (o *PostAPIKeyStatisticsInternalServerError) GetPayload() *models.ResponseErrorResponse
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 ¶
func (o *PostAPIKeyStatisticsInternalServerError) IsCode(code int) bool
IsCode returns true when this post Api key statistics internal server error response a status code equal to that given
func (*PostAPIKeyStatisticsInternalServerError) IsRedirect ¶
func (o *PostAPIKeyStatisticsInternalServerError) IsRedirect() bool
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 ¶
func (o *PostAPIKeyStatisticsInternalServerError) IsSuccess() bool
IsSuccess returns true when this post Api key statistics internal server error response has a 2xx status code
func (*PostAPIKeyStatisticsInternalServerError) String ¶
func (o *PostAPIKeyStatisticsInternalServerError) String() 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 (o *PostAPIKeyStatisticsOK) GetPayload() *models.ResponseGetTaskStatisticsResponse
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 ¶
func (o *PostAPIKeyStatisticsParams) SetInput(input *models.RequestGetAPIKeyStatisticsByModelIDRequest)
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 ¶
func (o *PostAPIKeyStatisticsParams) WithContext(ctx context.Context) *PostAPIKeyStatisticsParams
WithContext adds the context to the post API key statistics params
func (*PostAPIKeyStatisticsParams) WithDefaults ¶
func (o *PostAPIKeyStatisticsParams) WithDefaults() *PostAPIKeyStatisticsParams
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 ¶
func (o *PostAPIKeyStatisticsParams) WithHTTPClient(client *http.Client) *PostAPIKeyStatisticsParams
WithHTTPClient adds the HTTPClient to the post API key statistics params
func (*PostAPIKeyStatisticsParams) WithInput ¶
func (o *PostAPIKeyStatisticsParams) WithInput(input *models.RequestGetAPIKeyStatisticsByModelIDRequest) *PostAPIKeyStatisticsParams
WithInput adds the input to the post API key statistics params
func (*PostAPIKeyStatisticsParams) WithTimeout ¶
func (o *PostAPIKeyStatisticsParams) WithTimeout(timeout time.Duration) *PostAPIKeyStatisticsParams
WithTimeout adds the timeout to the post API key statistics params
func (*PostAPIKeyStatisticsParams) WriteToRequest ¶
func (o *PostAPIKeyStatisticsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PostAPIKeyTaskBadRequest) GetPayload() *models.ResponseFailResponse
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 ¶
func (o *PostAPIKeyTaskInternalServerError) Code() int
Code gets the status code for the post Api key task internal server error response
func (*PostAPIKeyTaskInternalServerError) Error ¶
func (o *PostAPIKeyTaskInternalServerError) Error() string
func (*PostAPIKeyTaskInternalServerError) GetPayload ¶
func (o *PostAPIKeyTaskInternalServerError) GetPayload() *models.ResponseErrorResponse
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 ¶
func (o *PostAPIKeyTaskInternalServerError) String() 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 (o *PostAPIKeyTaskOK) GetPayload() *models.ResponseDistributeTaskResponse
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 ¶
func (o *PostAPIKeyTaskParams) SetInput(input *models.RequestDistributeTaskRequest)
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 ¶
func (o *PostAPIKeyTaskParams) WithContext(ctx context.Context) *PostAPIKeyTaskParams
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 ¶
func (o *PostAPIKeyTaskParams) WithInput(input *models.RequestDistributeTaskRequest) *PostAPIKeyTaskParams
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.
Source Files
¶
- api_key_client.go
- delete_api_key_task_id_cancel_parameters.go
- delete_api_key_task_id_cancel_responses.go
- get_api_key_balance_parameters.go
- get_api_key_balance_responses.go
- get_api_key_permission_parameters.go
- get_api_key_permission_responses.go
- get_api_key_task_histories_parameters.go
- get_api_key_task_histories_responses.go
- get_api_key_task_id_detail_parameters.go
- get_api_key_task_id_detail_responses.go
- post_api_key_model_id_task_parameters.go
- post_api_key_model_id_task_responses.go
- post_api_key_statistics_parameters.go
- post_api_key_statistics_responses.go
- post_api_key_task_parameters.go
- post_api_key_task_responses.go