Documentation
¶
Index ¶
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
- type Client
- func (a *Client) GetAPIKeyUserAPIKeyID(params *GetAPIKeyUserAPIKeyIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAPIKeyUserAPIKeyIDOK, error)
- func (a *Client) PostAPIKeyUserAPIKeyIDStatistics(params *PostAPIKeyUserAPIKeyIDStatisticsParams, ...) (*PostAPIKeyUserAPIKeyIDStatisticsOK, error)
- func (a *Client) PutAPIKeyUserAPIKeyID(params *PutAPIKeyUserAPIKeyIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PutAPIKeyUserAPIKeyIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetAPIKeyUserAPIKeyIDBadRequest
- func (o *GetAPIKeyUserAPIKeyIDBadRequest) Code() int
- func (o *GetAPIKeyUserAPIKeyIDBadRequest) Error() string
- func (o *GetAPIKeyUserAPIKeyIDBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *GetAPIKeyUserAPIKeyIDBadRequest) IsClientError() bool
- func (o *GetAPIKeyUserAPIKeyIDBadRequest) IsCode(code int) bool
- func (o *GetAPIKeyUserAPIKeyIDBadRequest) IsRedirect() bool
- func (o *GetAPIKeyUserAPIKeyIDBadRequest) IsServerError() bool
- func (o *GetAPIKeyUserAPIKeyIDBadRequest) IsSuccess() bool
- func (o *GetAPIKeyUserAPIKeyIDBadRequest) String() string
- type GetAPIKeyUserAPIKeyIDInternalServerError
- func (o *GetAPIKeyUserAPIKeyIDInternalServerError) Code() int
- func (o *GetAPIKeyUserAPIKeyIDInternalServerError) Error() string
- func (o *GetAPIKeyUserAPIKeyIDInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *GetAPIKeyUserAPIKeyIDInternalServerError) IsClientError() bool
- func (o *GetAPIKeyUserAPIKeyIDInternalServerError) IsCode(code int) bool
- func (o *GetAPIKeyUserAPIKeyIDInternalServerError) IsRedirect() bool
- func (o *GetAPIKeyUserAPIKeyIDInternalServerError) IsServerError() bool
- func (o *GetAPIKeyUserAPIKeyIDInternalServerError) IsSuccess() bool
- func (o *GetAPIKeyUserAPIKeyIDInternalServerError) String() string
- type GetAPIKeyUserAPIKeyIDOK
- func (o *GetAPIKeyUserAPIKeyIDOK) Code() int
- func (o *GetAPIKeyUserAPIKeyIDOK) Error() string
- func (o *GetAPIKeyUserAPIKeyIDOK) GetPayload() *models.ResponseLiteAPIKeyResponse
- func (o *GetAPIKeyUserAPIKeyIDOK) IsClientError() bool
- func (o *GetAPIKeyUserAPIKeyIDOK) IsCode(code int) bool
- func (o *GetAPIKeyUserAPIKeyIDOK) IsRedirect() bool
- func (o *GetAPIKeyUserAPIKeyIDOK) IsServerError() bool
- func (o *GetAPIKeyUserAPIKeyIDOK) IsSuccess() bool
- func (o *GetAPIKeyUserAPIKeyIDOK) String() string
- type GetAPIKeyUserAPIKeyIDParams
- func NewGetAPIKeyUserAPIKeyIDParams() *GetAPIKeyUserAPIKeyIDParams
- func NewGetAPIKeyUserAPIKeyIDParamsWithContext(ctx context.Context) *GetAPIKeyUserAPIKeyIDParams
- func NewGetAPIKeyUserAPIKeyIDParamsWithHTTPClient(client *http.Client) *GetAPIKeyUserAPIKeyIDParams
- func NewGetAPIKeyUserAPIKeyIDParamsWithTimeout(timeout time.Duration) *GetAPIKeyUserAPIKeyIDParams
- func (o *GetAPIKeyUserAPIKeyIDParams) SetContext(ctx context.Context)
- func (o *GetAPIKeyUserAPIKeyIDParams) SetDefaults()
- func (o *GetAPIKeyUserAPIKeyIDParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIKeyUserAPIKeyIDParams) SetID(id string)
- func (o *GetAPIKeyUserAPIKeyIDParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIKeyUserAPIKeyIDParams) WithContext(ctx context.Context) *GetAPIKeyUserAPIKeyIDParams
- func (o *GetAPIKeyUserAPIKeyIDParams) WithDefaults() *GetAPIKeyUserAPIKeyIDParams
- func (o *GetAPIKeyUserAPIKeyIDParams) WithHTTPClient(client *http.Client) *GetAPIKeyUserAPIKeyIDParams
- func (o *GetAPIKeyUserAPIKeyIDParams) WithID(id string) *GetAPIKeyUserAPIKeyIDParams
- func (o *GetAPIKeyUserAPIKeyIDParams) WithTimeout(timeout time.Duration) *GetAPIKeyUserAPIKeyIDParams
- func (o *GetAPIKeyUserAPIKeyIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIKeyUserAPIKeyIDReader
- type PostAPIKeyUserAPIKeyIDStatisticsBadRequest
- func (o *PostAPIKeyUserAPIKeyIDStatisticsBadRequest) Code() int
- func (o *PostAPIKeyUserAPIKeyIDStatisticsBadRequest) Error() string
- func (o *PostAPIKeyUserAPIKeyIDStatisticsBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PostAPIKeyUserAPIKeyIDStatisticsBadRequest) IsClientError() bool
- func (o *PostAPIKeyUserAPIKeyIDStatisticsBadRequest) IsCode(code int) bool
- func (o *PostAPIKeyUserAPIKeyIDStatisticsBadRequest) IsRedirect() bool
- func (o *PostAPIKeyUserAPIKeyIDStatisticsBadRequest) IsServerError() bool
- func (o *PostAPIKeyUserAPIKeyIDStatisticsBadRequest) IsSuccess() bool
- func (o *PostAPIKeyUserAPIKeyIDStatisticsBadRequest) String() string
- type PostAPIKeyUserAPIKeyIDStatisticsInternalServerError
- func (o *PostAPIKeyUserAPIKeyIDStatisticsInternalServerError) Code() int
- func (o *PostAPIKeyUserAPIKeyIDStatisticsInternalServerError) Error() string
- func (o *PostAPIKeyUserAPIKeyIDStatisticsInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PostAPIKeyUserAPIKeyIDStatisticsInternalServerError) IsClientError() bool
- func (o *PostAPIKeyUserAPIKeyIDStatisticsInternalServerError) IsCode(code int) bool
- func (o *PostAPIKeyUserAPIKeyIDStatisticsInternalServerError) IsRedirect() bool
- func (o *PostAPIKeyUserAPIKeyIDStatisticsInternalServerError) IsServerError() bool
- func (o *PostAPIKeyUserAPIKeyIDStatisticsInternalServerError) IsSuccess() bool
- func (o *PostAPIKeyUserAPIKeyIDStatisticsInternalServerError) String() string
- type PostAPIKeyUserAPIKeyIDStatisticsOK
- func (o *PostAPIKeyUserAPIKeyIDStatisticsOK) Code() int
- func (o *PostAPIKeyUserAPIKeyIDStatisticsOK) Error() string
- func (o *PostAPIKeyUserAPIKeyIDStatisticsOK) GetPayload() *models.ResponseAPIKeyResponse
- func (o *PostAPIKeyUserAPIKeyIDStatisticsOK) IsClientError() bool
- func (o *PostAPIKeyUserAPIKeyIDStatisticsOK) IsCode(code int) bool
- func (o *PostAPIKeyUserAPIKeyIDStatisticsOK) IsRedirect() bool
- func (o *PostAPIKeyUserAPIKeyIDStatisticsOK) IsServerError() bool
- func (o *PostAPIKeyUserAPIKeyIDStatisticsOK) IsSuccess() bool
- func (o *PostAPIKeyUserAPIKeyIDStatisticsOK) String() string
- type PostAPIKeyUserAPIKeyIDStatisticsParams
- func NewPostAPIKeyUserAPIKeyIDStatisticsParams() *PostAPIKeyUserAPIKeyIDStatisticsParams
- func NewPostAPIKeyUserAPIKeyIDStatisticsParamsWithContext(ctx context.Context) *PostAPIKeyUserAPIKeyIDStatisticsParams
- func NewPostAPIKeyUserAPIKeyIDStatisticsParamsWithHTTPClient(client *http.Client) *PostAPIKeyUserAPIKeyIDStatisticsParams
- func NewPostAPIKeyUserAPIKeyIDStatisticsParamsWithTimeout(timeout time.Duration) *PostAPIKeyUserAPIKeyIDStatisticsParams
- func (o *PostAPIKeyUserAPIKeyIDStatisticsParams) SetContext(ctx context.Context)
- func (o *PostAPIKeyUserAPIKeyIDStatisticsParams) SetDefaults()
- func (o *PostAPIKeyUserAPIKeyIDStatisticsParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIKeyUserAPIKeyIDStatisticsParams) SetID(id string)
- func (o *PostAPIKeyUserAPIKeyIDStatisticsParams) SetInput(input *models.RequestGetAPIKeyByIDRequest)
- func (o *PostAPIKeyUserAPIKeyIDStatisticsParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIKeyUserAPIKeyIDStatisticsParams) WithContext(ctx context.Context) *PostAPIKeyUserAPIKeyIDStatisticsParams
- func (o *PostAPIKeyUserAPIKeyIDStatisticsParams) WithDefaults() *PostAPIKeyUserAPIKeyIDStatisticsParams
- func (o *PostAPIKeyUserAPIKeyIDStatisticsParams) WithHTTPClient(client *http.Client) *PostAPIKeyUserAPIKeyIDStatisticsParams
- func (o *PostAPIKeyUserAPIKeyIDStatisticsParams) WithID(id string) *PostAPIKeyUserAPIKeyIDStatisticsParams
- func (o *PostAPIKeyUserAPIKeyIDStatisticsParams) WithInput(input *models.RequestGetAPIKeyByIDRequest) *PostAPIKeyUserAPIKeyIDStatisticsParams
- func (o *PostAPIKeyUserAPIKeyIDStatisticsParams) WithTimeout(timeout time.Duration) *PostAPIKeyUserAPIKeyIDStatisticsParams
- func (o *PostAPIKeyUserAPIKeyIDStatisticsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIKeyUserAPIKeyIDStatisticsReader
- type PutAPIKeyUserAPIKeyIDBadRequest
- func (o *PutAPIKeyUserAPIKeyIDBadRequest) Code() int
- func (o *PutAPIKeyUserAPIKeyIDBadRequest) Error() string
- func (o *PutAPIKeyUserAPIKeyIDBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PutAPIKeyUserAPIKeyIDBadRequest) IsClientError() bool
- func (o *PutAPIKeyUserAPIKeyIDBadRequest) IsCode(code int) bool
- func (o *PutAPIKeyUserAPIKeyIDBadRequest) IsRedirect() bool
- func (o *PutAPIKeyUserAPIKeyIDBadRequest) IsServerError() bool
- func (o *PutAPIKeyUserAPIKeyIDBadRequest) IsSuccess() bool
- func (o *PutAPIKeyUserAPIKeyIDBadRequest) String() string
- type PutAPIKeyUserAPIKeyIDInternalServerError
- func (o *PutAPIKeyUserAPIKeyIDInternalServerError) Code() int
- func (o *PutAPIKeyUserAPIKeyIDInternalServerError) Error() string
- func (o *PutAPIKeyUserAPIKeyIDInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PutAPIKeyUserAPIKeyIDInternalServerError) IsClientError() bool
- func (o *PutAPIKeyUserAPIKeyIDInternalServerError) IsCode(code int) bool
- func (o *PutAPIKeyUserAPIKeyIDInternalServerError) IsRedirect() bool
- func (o *PutAPIKeyUserAPIKeyIDInternalServerError) IsServerError() bool
- func (o *PutAPIKeyUserAPIKeyIDInternalServerError) IsSuccess() bool
- func (o *PutAPIKeyUserAPIKeyIDInternalServerError) String() string
- type PutAPIKeyUserAPIKeyIDOK
- func (o *PutAPIKeyUserAPIKeyIDOK) Code() int
- func (o *PutAPIKeyUserAPIKeyIDOK) Error() string
- func (o *PutAPIKeyUserAPIKeyIDOK) GetPayload() *models.ResponseAPIKeyResponse
- func (o *PutAPIKeyUserAPIKeyIDOK) IsClientError() bool
- func (o *PutAPIKeyUserAPIKeyIDOK) IsCode(code int) bool
- func (o *PutAPIKeyUserAPIKeyIDOK) IsRedirect() bool
- func (o *PutAPIKeyUserAPIKeyIDOK) IsServerError() bool
- func (o *PutAPIKeyUserAPIKeyIDOK) IsSuccess() bool
- func (o *PutAPIKeyUserAPIKeyIDOK) String() string
- type PutAPIKeyUserAPIKeyIDParams
- func NewPutAPIKeyUserAPIKeyIDParams() *PutAPIKeyUserAPIKeyIDParams
- func NewPutAPIKeyUserAPIKeyIDParamsWithContext(ctx context.Context) *PutAPIKeyUserAPIKeyIDParams
- func NewPutAPIKeyUserAPIKeyIDParamsWithHTTPClient(client *http.Client) *PutAPIKeyUserAPIKeyIDParams
- func NewPutAPIKeyUserAPIKeyIDParamsWithTimeout(timeout time.Duration) *PutAPIKeyUserAPIKeyIDParams
- func (o *PutAPIKeyUserAPIKeyIDParams) SetContext(ctx context.Context)
- func (o *PutAPIKeyUserAPIKeyIDParams) SetDefaults()
- func (o *PutAPIKeyUserAPIKeyIDParams) SetHTTPClient(client *http.Client)
- func (o *PutAPIKeyUserAPIKeyIDParams) SetID(id string)
- func (o *PutAPIKeyUserAPIKeyIDParams) SetInput(input *models.RequestUpdateAPIKeyRequest)
- func (o *PutAPIKeyUserAPIKeyIDParams) SetTimeout(timeout time.Duration)
- func (o *PutAPIKeyUserAPIKeyIDParams) WithContext(ctx context.Context) *PutAPIKeyUserAPIKeyIDParams
- func (o *PutAPIKeyUserAPIKeyIDParams) WithDefaults() *PutAPIKeyUserAPIKeyIDParams
- func (o *PutAPIKeyUserAPIKeyIDParams) WithHTTPClient(client *http.Client) *PutAPIKeyUserAPIKeyIDParams
- func (o *PutAPIKeyUserAPIKeyIDParams) WithID(id string) *PutAPIKeyUserAPIKeyIDParams
- func (o *PutAPIKeyUserAPIKeyIDParams) WithInput(input *models.RequestUpdateAPIKeyRequest) *PutAPIKeyUserAPIKeyIDParams
- func (o *PutAPIKeyUserAPIKeyIDParams) WithTimeout(timeout time.Duration) *PutAPIKeyUserAPIKeyIDParams
- func (o *PutAPIKeyUserAPIKeyIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutAPIKeyUserAPIKeyIDReader
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 model api key API
func (*Client) GetAPIKeyUserAPIKeyID ¶
func (a *Client) GetAPIKeyUserAPIKeyID(params *GetAPIKeyUserAPIKeyIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyUserAPIKeyIDOK, error)
GetAPIKeyUserAPIKeyID gets Api key detail by Id by Api key
func (*Client) PostAPIKeyUserAPIKeyIDStatistics ¶
func (a *Client) PostAPIKeyUserAPIKeyIDStatistics(params *PostAPIKeyUserAPIKeyIDStatisticsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyUserAPIKeyIDStatisticsOK, error)
PostAPIKeyUserAPIKeyIDStatistics gets Api key by Id by Api key
func (*Client) PutAPIKeyUserAPIKeyID ¶
func (a *Client) PutAPIKeyUserAPIKeyID(params *PutAPIKeyUserAPIKeyIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAPIKeyUserAPIKeyIDOK, error)
PutAPIKeyUserAPIKeyID updates Api key by 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 {
GetAPIKeyUserAPIKeyID(params *GetAPIKeyUserAPIKeyIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyUserAPIKeyIDOK, error)
PostAPIKeyUserAPIKeyIDStatistics(params *PostAPIKeyUserAPIKeyIDStatisticsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyUserAPIKeyIDStatisticsOK, error)
PutAPIKeyUserAPIKeyID(params *PutAPIKeyUserAPIKeyIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAPIKeyUserAPIKeyIDOK, 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 model api key API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new api key model 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 model 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 GetAPIKeyUserAPIKeyIDBadRequest ¶
type GetAPIKeyUserAPIKeyIDBadRequest struct {
Payload *models.ResponseFailResponse
}
GetAPIKeyUserAPIKeyIDBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetAPIKeyUserAPIKeyIDBadRequest ¶
func NewGetAPIKeyUserAPIKeyIDBadRequest() *GetAPIKeyUserAPIKeyIDBadRequest
NewGetAPIKeyUserAPIKeyIDBadRequest creates a GetAPIKeyUserAPIKeyIDBadRequest with default headers values
func (*GetAPIKeyUserAPIKeyIDBadRequest) Code ¶
func (o *GetAPIKeyUserAPIKeyIDBadRequest) Code() int
Code gets the status code for the get Api key user Api key Id bad request response
func (*GetAPIKeyUserAPIKeyIDBadRequest) Error ¶
func (o *GetAPIKeyUserAPIKeyIDBadRequest) Error() string
func (*GetAPIKeyUserAPIKeyIDBadRequest) GetPayload ¶
func (o *GetAPIKeyUserAPIKeyIDBadRequest) GetPayload() *models.ResponseFailResponse
func (*GetAPIKeyUserAPIKeyIDBadRequest) IsClientError ¶
func (o *GetAPIKeyUserAPIKeyIDBadRequest) IsClientError() bool
IsClientError returns true when this get Api key user Api key Id bad request response has a 4xx status code
func (*GetAPIKeyUserAPIKeyIDBadRequest) IsCode ¶
func (o *GetAPIKeyUserAPIKeyIDBadRequest) IsCode(code int) bool
IsCode returns true when this get Api key user Api key Id bad request response a status code equal to that given
func (*GetAPIKeyUserAPIKeyIDBadRequest) IsRedirect ¶
func (o *GetAPIKeyUserAPIKeyIDBadRequest) IsRedirect() bool
IsRedirect returns true when this get Api key user Api key Id bad request response has a 3xx status code
func (*GetAPIKeyUserAPIKeyIDBadRequest) IsServerError ¶
func (o *GetAPIKeyUserAPIKeyIDBadRequest) IsServerError() bool
IsServerError returns true when this get Api key user Api key Id bad request response has a 5xx status code
func (*GetAPIKeyUserAPIKeyIDBadRequest) IsSuccess ¶
func (o *GetAPIKeyUserAPIKeyIDBadRequest) IsSuccess() bool
IsSuccess returns true when this get Api key user Api key Id bad request response has a 2xx status code
func (*GetAPIKeyUserAPIKeyIDBadRequest) String ¶
func (o *GetAPIKeyUserAPIKeyIDBadRequest) String() string
type GetAPIKeyUserAPIKeyIDInternalServerError ¶
type GetAPIKeyUserAPIKeyIDInternalServerError struct {
Payload *models.ResponseErrorResponse
}
GetAPIKeyUserAPIKeyIDInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetAPIKeyUserAPIKeyIDInternalServerError ¶
func NewGetAPIKeyUserAPIKeyIDInternalServerError() *GetAPIKeyUserAPIKeyIDInternalServerError
NewGetAPIKeyUserAPIKeyIDInternalServerError creates a GetAPIKeyUserAPIKeyIDInternalServerError with default headers values
func (*GetAPIKeyUserAPIKeyIDInternalServerError) Code ¶
func (o *GetAPIKeyUserAPIKeyIDInternalServerError) Code() int
Code gets the status code for the get Api key user Api key Id internal server error response
func (*GetAPIKeyUserAPIKeyIDInternalServerError) Error ¶
func (o *GetAPIKeyUserAPIKeyIDInternalServerError) Error() string
func (*GetAPIKeyUserAPIKeyIDInternalServerError) GetPayload ¶
func (o *GetAPIKeyUserAPIKeyIDInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*GetAPIKeyUserAPIKeyIDInternalServerError) IsClientError ¶
func (o *GetAPIKeyUserAPIKeyIDInternalServerError) IsClientError() bool
IsClientError returns true when this get Api key user Api key Id internal server error response has a 4xx status code
func (*GetAPIKeyUserAPIKeyIDInternalServerError) IsCode ¶
func (o *GetAPIKeyUserAPIKeyIDInternalServerError) IsCode(code int) bool
IsCode returns true when this get Api key user Api key Id internal server error response a status code equal to that given
func (*GetAPIKeyUserAPIKeyIDInternalServerError) IsRedirect ¶
func (o *GetAPIKeyUserAPIKeyIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this get Api key user Api key Id internal server error response has a 3xx status code
func (*GetAPIKeyUserAPIKeyIDInternalServerError) IsServerError ¶
func (o *GetAPIKeyUserAPIKeyIDInternalServerError) IsServerError() bool
IsServerError returns true when this get Api key user Api key Id internal server error response has a 5xx status code
func (*GetAPIKeyUserAPIKeyIDInternalServerError) IsSuccess ¶
func (o *GetAPIKeyUserAPIKeyIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this get Api key user Api key Id internal server error response has a 2xx status code
func (*GetAPIKeyUserAPIKeyIDInternalServerError) String ¶
func (o *GetAPIKeyUserAPIKeyIDInternalServerError) String() string
type GetAPIKeyUserAPIKeyIDOK ¶
type GetAPIKeyUserAPIKeyIDOK struct {
Payload *models.ResponseLiteAPIKeyResponse
}
GetAPIKeyUserAPIKeyIDOK describes a response with status code 200, with default header values.
OK
func NewGetAPIKeyUserAPIKeyIDOK ¶
func NewGetAPIKeyUserAPIKeyIDOK() *GetAPIKeyUserAPIKeyIDOK
NewGetAPIKeyUserAPIKeyIDOK creates a GetAPIKeyUserAPIKeyIDOK with default headers values
func (*GetAPIKeyUserAPIKeyIDOK) Code ¶
func (o *GetAPIKeyUserAPIKeyIDOK) Code() int
Code gets the status code for the get Api key user Api key Id o k response
func (*GetAPIKeyUserAPIKeyIDOK) Error ¶
func (o *GetAPIKeyUserAPIKeyIDOK) Error() string
func (*GetAPIKeyUserAPIKeyIDOK) GetPayload ¶
func (o *GetAPIKeyUserAPIKeyIDOK) GetPayload() *models.ResponseLiteAPIKeyResponse
func (*GetAPIKeyUserAPIKeyIDOK) IsClientError ¶
func (o *GetAPIKeyUserAPIKeyIDOK) IsClientError() bool
IsClientError returns true when this get Api key user Api key Id o k response has a 4xx status code
func (*GetAPIKeyUserAPIKeyIDOK) IsCode ¶
func (o *GetAPIKeyUserAPIKeyIDOK) IsCode(code int) bool
IsCode returns true when this get Api key user Api key Id o k response a status code equal to that given
func (*GetAPIKeyUserAPIKeyIDOK) IsRedirect ¶
func (o *GetAPIKeyUserAPIKeyIDOK) IsRedirect() bool
IsRedirect returns true when this get Api key user Api key Id o k response has a 3xx status code
func (*GetAPIKeyUserAPIKeyIDOK) IsServerError ¶
func (o *GetAPIKeyUserAPIKeyIDOK) IsServerError() bool
IsServerError returns true when this get Api key user Api key Id o k response has a 5xx status code
func (*GetAPIKeyUserAPIKeyIDOK) IsSuccess ¶
func (o *GetAPIKeyUserAPIKeyIDOK) IsSuccess() bool
IsSuccess returns true when this get Api key user Api key Id o k response has a 2xx status code
func (*GetAPIKeyUserAPIKeyIDOK) String ¶
func (o *GetAPIKeyUserAPIKeyIDOK) String() string
type GetAPIKeyUserAPIKeyIDParams ¶
type GetAPIKeyUserAPIKeyIDParams struct {
/* ID.
Api Key's id
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetAPIKeyUserAPIKeyIDParams contains all the parameters to send to the API endpoint
for the get API key user API key ID operation. Typically these are written to a http.Request.
func NewGetAPIKeyUserAPIKeyIDParams ¶
func NewGetAPIKeyUserAPIKeyIDParams() *GetAPIKeyUserAPIKeyIDParams
NewGetAPIKeyUserAPIKeyIDParams creates a new GetAPIKeyUserAPIKeyIDParams 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 NewGetAPIKeyUserAPIKeyIDParamsWithContext ¶
func NewGetAPIKeyUserAPIKeyIDParamsWithContext(ctx context.Context) *GetAPIKeyUserAPIKeyIDParams
NewGetAPIKeyUserAPIKeyIDParamsWithContext creates a new GetAPIKeyUserAPIKeyIDParams object with the ability to set a context for a request.
func NewGetAPIKeyUserAPIKeyIDParamsWithHTTPClient ¶
func NewGetAPIKeyUserAPIKeyIDParamsWithHTTPClient(client *http.Client) *GetAPIKeyUserAPIKeyIDParams
NewGetAPIKeyUserAPIKeyIDParamsWithHTTPClient creates a new GetAPIKeyUserAPIKeyIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetAPIKeyUserAPIKeyIDParamsWithTimeout ¶
func NewGetAPIKeyUserAPIKeyIDParamsWithTimeout(timeout time.Duration) *GetAPIKeyUserAPIKeyIDParams
NewGetAPIKeyUserAPIKeyIDParamsWithTimeout creates a new GetAPIKeyUserAPIKeyIDParams object with the ability to set a timeout on a request.
func (*GetAPIKeyUserAPIKeyIDParams) SetContext ¶
func (o *GetAPIKeyUserAPIKeyIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get API key user API key ID params
func (*GetAPIKeyUserAPIKeyIDParams) SetDefaults ¶
func (o *GetAPIKeyUserAPIKeyIDParams) SetDefaults()
SetDefaults hydrates default values in the get API key user API key ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIKeyUserAPIKeyIDParams) SetHTTPClient ¶
func (o *GetAPIKeyUserAPIKeyIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API key user API key ID params
func (*GetAPIKeyUserAPIKeyIDParams) SetID ¶
func (o *GetAPIKeyUserAPIKeyIDParams) SetID(id string)
SetID adds the id to the get API key user API key ID params
func (*GetAPIKeyUserAPIKeyIDParams) SetTimeout ¶
func (o *GetAPIKeyUserAPIKeyIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API key user API key ID params
func (*GetAPIKeyUserAPIKeyIDParams) WithContext ¶
func (o *GetAPIKeyUserAPIKeyIDParams) WithContext(ctx context.Context) *GetAPIKeyUserAPIKeyIDParams
WithContext adds the context to the get API key user API key ID params
func (*GetAPIKeyUserAPIKeyIDParams) WithDefaults ¶
func (o *GetAPIKeyUserAPIKeyIDParams) WithDefaults() *GetAPIKeyUserAPIKeyIDParams
WithDefaults hydrates default values in the get API key user API key ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIKeyUserAPIKeyIDParams) WithHTTPClient ¶
func (o *GetAPIKeyUserAPIKeyIDParams) WithHTTPClient(client *http.Client) *GetAPIKeyUserAPIKeyIDParams
WithHTTPClient adds the HTTPClient to the get API key user API key ID params
func (*GetAPIKeyUserAPIKeyIDParams) WithID ¶
func (o *GetAPIKeyUserAPIKeyIDParams) WithID(id string) *GetAPIKeyUserAPIKeyIDParams
WithID adds the id to the get API key user API key ID params
func (*GetAPIKeyUserAPIKeyIDParams) WithTimeout ¶
func (o *GetAPIKeyUserAPIKeyIDParams) WithTimeout(timeout time.Duration) *GetAPIKeyUserAPIKeyIDParams
WithTimeout adds the timeout to the get API key user API key ID params
func (*GetAPIKeyUserAPIKeyIDParams) WriteToRequest ¶
func (o *GetAPIKeyUserAPIKeyIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPIKeyUserAPIKeyIDReader ¶
type GetAPIKeyUserAPIKeyIDReader struct {
// contains filtered or unexported fields
}
GetAPIKeyUserAPIKeyIDReader is a Reader for the GetAPIKeyUserAPIKeyID structure.
func (*GetAPIKeyUserAPIKeyIDReader) ReadResponse ¶
func (o *GetAPIKeyUserAPIKeyIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PostAPIKeyUserAPIKeyIDStatisticsBadRequest ¶
type PostAPIKeyUserAPIKeyIDStatisticsBadRequest struct {
Payload *models.ResponseFailResponse
}
PostAPIKeyUserAPIKeyIDStatisticsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostAPIKeyUserAPIKeyIDStatisticsBadRequest ¶
func NewPostAPIKeyUserAPIKeyIDStatisticsBadRequest() *PostAPIKeyUserAPIKeyIDStatisticsBadRequest
NewPostAPIKeyUserAPIKeyIDStatisticsBadRequest creates a PostAPIKeyUserAPIKeyIDStatisticsBadRequest with default headers values
func (*PostAPIKeyUserAPIKeyIDStatisticsBadRequest) Code ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsBadRequest) Code() int
Code gets the status code for the post Api key user Api key Id statistics bad request response
func (*PostAPIKeyUserAPIKeyIDStatisticsBadRequest) Error ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsBadRequest) Error() string
func (*PostAPIKeyUserAPIKeyIDStatisticsBadRequest) GetPayload ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsBadRequest) GetPayload() *models.ResponseFailResponse
func (*PostAPIKeyUserAPIKeyIDStatisticsBadRequest) IsClientError ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsBadRequest) IsClientError() bool
IsClientError returns true when this post Api key user Api key Id statistics bad request response has a 4xx status code
func (*PostAPIKeyUserAPIKeyIDStatisticsBadRequest) IsCode ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsBadRequest) IsCode(code int) bool
IsCode returns true when this post Api key user Api key Id statistics bad request response a status code equal to that given
func (*PostAPIKeyUserAPIKeyIDStatisticsBadRequest) IsRedirect ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsBadRequest) IsRedirect() bool
IsRedirect returns true when this post Api key user Api key Id statistics bad request response has a 3xx status code
func (*PostAPIKeyUserAPIKeyIDStatisticsBadRequest) IsServerError ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsBadRequest) IsServerError() bool
IsServerError returns true when this post Api key user Api key Id statistics bad request response has a 5xx status code
func (*PostAPIKeyUserAPIKeyIDStatisticsBadRequest) IsSuccess ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsBadRequest) IsSuccess() bool
IsSuccess returns true when this post Api key user Api key Id statistics bad request response has a 2xx status code
func (*PostAPIKeyUserAPIKeyIDStatisticsBadRequest) String ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsBadRequest) String() string
type PostAPIKeyUserAPIKeyIDStatisticsInternalServerError ¶
type PostAPIKeyUserAPIKeyIDStatisticsInternalServerError struct {
Payload *models.ResponseErrorResponse
}
PostAPIKeyUserAPIKeyIDStatisticsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostAPIKeyUserAPIKeyIDStatisticsInternalServerError ¶
func NewPostAPIKeyUserAPIKeyIDStatisticsInternalServerError() *PostAPIKeyUserAPIKeyIDStatisticsInternalServerError
NewPostAPIKeyUserAPIKeyIDStatisticsInternalServerError creates a PostAPIKeyUserAPIKeyIDStatisticsInternalServerError with default headers values
func (*PostAPIKeyUserAPIKeyIDStatisticsInternalServerError) Code ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsInternalServerError) Code() int
Code gets the status code for the post Api key user Api key Id statistics internal server error response
func (*PostAPIKeyUserAPIKeyIDStatisticsInternalServerError) Error ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsInternalServerError) Error() string
func (*PostAPIKeyUserAPIKeyIDStatisticsInternalServerError) GetPayload ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PostAPIKeyUserAPIKeyIDStatisticsInternalServerError) IsClientError ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsInternalServerError) IsClientError() bool
IsClientError returns true when this post Api key user Api key Id statistics internal server error response has a 4xx status code
func (*PostAPIKeyUserAPIKeyIDStatisticsInternalServerError) IsCode ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsInternalServerError) IsCode(code int) bool
IsCode returns true when this post Api key user Api key Id statistics internal server error response a status code equal to that given
func (*PostAPIKeyUserAPIKeyIDStatisticsInternalServerError) IsRedirect ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsInternalServerError) IsRedirect() bool
IsRedirect returns true when this post Api key user Api key Id statistics internal server error response has a 3xx status code
func (*PostAPIKeyUserAPIKeyIDStatisticsInternalServerError) IsServerError ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsInternalServerError) IsServerError() bool
IsServerError returns true when this post Api key user Api key Id statistics internal server error response has a 5xx status code
func (*PostAPIKeyUserAPIKeyIDStatisticsInternalServerError) IsSuccess ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsInternalServerError) IsSuccess() bool
IsSuccess returns true when this post Api key user Api key Id statistics internal server error response has a 2xx status code
func (*PostAPIKeyUserAPIKeyIDStatisticsInternalServerError) String ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsInternalServerError) String() string
type PostAPIKeyUserAPIKeyIDStatisticsOK ¶
type PostAPIKeyUserAPIKeyIDStatisticsOK struct {
Payload *models.ResponseAPIKeyResponse
}
PostAPIKeyUserAPIKeyIDStatisticsOK describes a response with status code 200, with default header values.
OK
func NewPostAPIKeyUserAPIKeyIDStatisticsOK ¶
func NewPostAPIKeyUserAPIKeyIDStatisticsOK() *PostAPIKeyUserAPIKeyIDStatisticsOK
NewPostAPIKeyUserAPIKeyIDStatisticsOK creates a PostAPIKeyUserAPIKeyIDStatisticsOK with default headers values
func (*PostAPIKeyUserAPIKeyIDStatisticsOK) Code ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsOK) Code() int
Code gets the status code for the post Api key user Api key Id statistics o k response
func (*PostAPIKeyUserAPIKeyIDStatisticsOK) Error ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsOK) Error() string
func (*PostAPIKeyUserAPIKeyIDStatisticsOK) GetPayload ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsOK) GetPayload() *models.ResponseAPIKeyResponse
func (*PostAPIKeyUserAPIKeyIDStatisticsOK) IsClientError ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsOK) IsClientError() bool
IsClientError returns true when this post Api key user Api key Id statistics o k response has a 4xx status code
func (*PostAPIKeyUserAPIKeyIDStatisticsOK) IsCode ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsOK) IsCode(code int) bool
IsCode returns true when this post Api key user Api key Id statistics o k response a status code equal to that given
func (*PostAPIKeyUserAPIKeyIDStatisticsOK) IsRedirect ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsOK) IsRedirect() bool
IsRedirect returns true when this post Api key user Api key Id statistics o k response has a 3xx status code
func (*PostAPIKeyUserAPIKeyIDStatisticsOK) IsServerError ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsOK) IsServerError() bool
IsServerError returns true when this post Api key user Api key Id statistics o k response has a 5xx status code
func (*PostAPIKeyUserAPIKeyIDStatisticsOK) IsSuccess ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsOK) IsSuccess() bool
IsSuccess returns true when this post Api key user Api key Id statistics o k response has a 2xx status code
func (*PostAPIKeyUserAPIKeyIDStatisticsOK) String ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsOK) String() string
type PostAPIKeyUserAPIKeyIDStatisticsParams ¶
type PostAPIKeyUserAPIKeyIDStatisticsParams struct {
/* ID.
Api Key's id
*/
ID string
/* Input.
Get Api Key By Id Request
*/
Input *models.RequestGetAPIKeyByIDRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostAPIKeyUserAPIKeyIDStatisticsParams contains all the parameters to send to the API endpoint
for the post API key user API key ID statistics operation. Typically these are written to a http.Request.
func NewPostAPIKeyUserAPIKeyIDStatisticsParams ¶
func NewPostAPIKeyUserAPIKeyIDStatisticsParams() *PostAPIKeyUserAPIKeyIDStatisticsParams
NewPostAPIKeyUserAPIKeyIDStatisticsParams creates a new PostAPIKeyUserAPIKeyIDStatisticsParams 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 NewPostAPIKeyUserAPIKeyIDStatisticsParamsWithContext ¶
func NewPostAPIKeyUserAPIKeyIDStatisticsParamsWithContext(ctx context.Context) *PostAPIKeyUserAPIKeyIDStatisticsParams
NewPostAPIKeyUserAPIKeyIDStatisticsParamsWithContext creates a new PostAPIKeyUserAPIKeyIDStatisticsParams object with the ability to set a context for a request.
func NewPostAPIKeyUserAPIKeyIDStatisticsParamsWithHTTPClient ¶
func NewPostAPIKeyUserAPIKeyIDStatisticsParamsWithHTTPClient(client *http.Client) *PostAPIKeyUserAPIKeyIDStatisticsParams
NewPostAPIKeyUserAPIKeyIDStatisticsParamsWithHTTPClient creates a new PostAPIKeyUserAPIKeyIDStatisticsParams object with the ability to set a custom HTTPClient for a request.
func NewPostAPIKeyUserAPIKeyIDStatisticsParamsWithTimeout ¶
func NewPostAPIKeyUserAPIKeyIDStatisticsParamsWithTimeout(timeout time.Duration) *PostAPIKeyUserAPIKeyIDStatisticsParams
NewPostAPIKeyUserAPIKeyIDStatisticsParamsWithTimeout creates a new PostAPIKeyUserAPIKeyIDStatisticsParams object with the ability to set a timeout on a request.
func (*PostAPIKeyUserAPIKeyIDStatisticsParams) SetContext ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsParams) SetContext(ctx context.Context)
SetContext adds the context to the post API key user API key ID statistics params
func (*PostAPIKeyUserAPIKeyIDStatisticsParams) SetDefaults ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsParams) SetDefaults()
SetDefaults hydrates default values in the post API key user API key ID statistics params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIKeyUserAPIKeyIDStatisticsParams) SetHTTPClient ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API key user API key ID statistics params
func (*PostAPIKeyUserAPIKeyIDStatisticsParams) SetID ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsParams) SetID(id string)
SetID adds the id to the post API key user API key ID statistics params
func (*PostAPIKeyUserAPIKeyIDStatisticsParams) SetInput ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsParams) SetInput(input *models.RequestGetAPIKeyByIDRequest)
SetInput adds the input to the post API key user API key ID statistics params
func (*PostAPIKeyUserAPIKeyIDStatisticsParams) SetTimeout ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API key user API key ID statistics params
func (*PostAPIKeyUserAPIKeyIDStatisticsParams) WithContext ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsParams) WithContext(ctx context.Context) *PostAPIKeyUserAPIKeyIDStatisticsParams
WithContext adds the context to the post API key user API key ID statistics params
func (*PostAPIKeyUserAPIKeyIDStatisticsParams) WithDefaults ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsParams) WithDefaults() *PostAPIKeyUserAPIKeyIDStatisticsParams
WithDefaults hydrates default values in the post API key user API key ID statistics params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIKeyUserAPIKeyIDStatisticsParams) WithHTTPClient ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsParams) WithHTTPClient(client *http.Client) *PostAPIKeyUserAPIKeyIDStatisticsParams
WithHTTPClient adds the HTTPClient to the post API key user API key ID statistics params
func (*PostAPIKeyUserAPIKeyIDStatisticsParams) WithID ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsParams) WithID(id string) *PostAPIKeyUserAPIKeyIDStatisticsParams
WithID adds the id to the post API key user API key ID statistics params
func (*PostAPIKeyUserAPIKeyIDStatisticsParams) WithInput ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsParams) WithInput(input *models.RequestGetAPIKeyByIDRequest) *PostAPIKeyUserAPIKeyIDStatisticsParams
WithInput adds the input to the post API key user API key ID statistics params
func (*PostAPIKeyUserAPIKeyIDStatisticsParams) WithTimeout ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsParams) WithTimeout(timeout time.Duration) *PostAPIKeyUserAPIKeyIDStatisticsParams
WithTimeout adds the timeout to the post API key user API key ID statistics params
func (*PostAPIKeyUserAPIKeyIDStatisticsParams) WriteToRequest ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPIKeyUserAPIKeyIDStatisticsReader ¶
type PostAPIKeyUserAPIKeyIDStatisticsReader struct {
// contains filtered or unexported fields
}
PostAPIKeyUserAPIKeyIDStatisticsReader is a Reader for the PostAPIKeyUserAPIKeyIDStatistics structure.
func (*PostAPIKeyUserAPIKeyIDStatisticsReader) ReadResponse ¶
func (o *PostAPIKeyUserAPIKeyIDStatisticsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PutAPIKeyUserAPIKeyIDBadRequest ¶
type PutAPIKeyUserAPIKeyIDBadRequest struct {
Payload *models.ResponseFailResponse
}
PutAPIKeyUserAPIKeyIDBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPutAPIKeyUserAPIKeyIDBadRequest ¶
func NewPutAPIKeyUserAPIKeyIDBadRequest() *PutAPIKeyUserAPIKeyIDBadRequest
NewPutAPIKeyUserAPIKeyIDBadRequest creates a PutAPIKeyUserAPIKeyIDBadRequest with default headers values
func (*PutAPIKeyUserAPIKeyIDBadRequest) Code ¶
func (o *PutAPIKeyUserAPIKeyIDBadRequest) Code() int
Code gets the status code for the put Api key user Api key Id bad request response
func (*PutAPIKeyUserAPIKeyIDBadRequest) Error ¶
func (o *PutAPIKeyUserAPIKeyIDBadRequest) Error() string
func (*PutAPIKeyUserAPIKeyIDBadRequest) GetPayload ¶
func (o *PutAPIKeyUserAPIKeyIDBadRequest) GetPayload() *models.ResponseFailResponse
func (*PutAPIKeyUserAPIKeyIDBadRequest) IsClientError ¶
func (o *PutAPIKeyUserAPIKeyIDBadRequest) IsClientError() bool
IsClientError returns true when this put Api key user Api key Id bad request response has a 4xx status code
func (*PutAPIKeyUserAPIKeyIDBadRequest) IsCode ¶
func (o *PutAPIKeyUserAPIKeyIDBadRequest) IsCode(code int) bool
IsCode returns true when this put Api key user Api key Id bad request response a status code equal to that given
func (*PutAPIKeyUserAPIKeyIDBadRequest) IsRedirect ¶
func (o *PutAPIKeyUserAPIKeyIDBadRequest) IsRedirect() bool
IsRedirect returns true when this put Api key user Api key Id bad request response has a 3xx status code
func (*PutAPIKeyUserAPIKeyIDBadRequest) IsServerError ¶
func (o *PutAPIKeyUserAPIKeyIDBadRequest) IsServerError() bool
IsServerError returns true when this put Api key user Api key Id bad request response has a 5xx status code
func (*PutAPIKeyUserAPIKeyIDBadRequest) IsSuccess ¶
func (o *PutAPIKeyUserAPIKeyIDBadRequest) IsSuccess() bool
IsSuccess returns true when this put Api key user Api key Id bad request response has a 2xx status code
func (*PutAPIKeyUserAPIKeyIDBadRequest) String ¶
func (o *PutAPIKeyUserAPIKeyIDBadRequest) String() string
type PutAPIKeyUserAPIKeyIDInternalServerError ¶
type PutAPIKeyUserAPIKeyIDInternalServerError struct {
Payload *models.ResponseErrorResponse
}
PutAPIKeyUserAPIKeyIDInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPutAPIKeyUserAPIKeyIDInternalServerError ¶
func NewPutAPIKeyUserAPIKeyIDInternalServerError() *PutAPIKeyUserAPIKeyIDInternalServerError
NewPutAPIKeyUserAPIKeyIDInternalServerError creates a PutAPIKeyUserAPIKeyIDInternalServerError with default headers values
func (*PutAPIKeyUserAPIKeyIDInternalServerError) Code ¶
func (o *PutAPIKeyUserAPIKeyIDInternalServerError) Code() int
Code gets the status code for the put Api key user Api key Id internal server error response
func (*PutAPIKeyUserAPIKeyIDInternalServerError) Error ¶
func (o *PutAPIKeyUserAPIKeyIDInternalServerError) Error() string
func (*PutAPIKeyUserAPIKeyIDInternalServerError) GetPayload ¶
func (o *PutAPIKeyUserAPIKeyIDInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PutAPIKeyUserAPIKeyIDInternalServerError) IsClientError ¶
func (o *PutAPIKeyUserAPIKeyIDInternalServerError) IsClientError() bool
IsClientError returns true when this put Api key user Api key Id internal server error response has a 4xx status code
func (*PutAPIKeyUserAPIKeyIDInternalServerError) IsCode ¶
func (o *PutAPIKeyUserAPIKeyIDInternalServerError) IsCode(code int) bool
IsCode returns true when this put Api key user Api key Id internal server error response a status code equal to that given
func (*PutAPIKeyUserAPIKeyIDInternalServerError) IsRedirect ¶
func (o *PutAPIKeyUserAPIKeyIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this put Api key user Api key Id internal server error response has a 3xx status code
func (*PutAPIKeyUserAPIKeyIDInternalServerError) IsServerError ¶
func (o *PutAPIKeyUserAPIKeyIDInternalServerError) IsServerError() bool
IsServerError returns true when this put Api key user Api key Id internal server error response has a 5xx status code
func (*PutAPIKeyUserAPIKeyIDInternalServerError) IsSuccess ¶
func (o *PutAPIKeyUserAPIKeyIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this put Api key user Api key Id internal server error response has a 2xx status code
func (*PutAPIKeyUserAPIKeyIDInternalServerError) String ¶
func (o *PutAPIKeyUserAPIKeyIDInternalServerError) String() string
type PutAPIKeyUserAPIKeyIDOK ¶
type PutAPIKeyUserAPIKeyIDOK struct {
Payload *models.ResponseAPIKeyResponse
}
PutAPIKeyUserAPIKeyIDOK describes a response with status code 200, with default header values.
OK
func NewPutAPIKeyUserAPIKeyIDOK ¶
func NewPutAPIKeyUserAPIKeyIDOK() *PutAPIKeyUserAPIKeyIDOK
NewPutAPIKeyUserAPIKeyIDOK creates a PutAPIKeyUserAPIKeyIDOK with default headers values
func (*PutAPIKeyUserAPIKeyIDOK) Code ¶
func (o *PutAPIKeyUserAPIKeyIDOK) Code() int
Code gets the status code for the put Api key user Api key Id o k response
func (*PutAPIKeyUserAPIKeyIDOK) Error ¶
func (o *PutAPIKeyUserAPIKeyIDOK) Error() string
func (*PutAPIKeyUserAPIKeyIDOK) GetPayload ¶
func (o *PutAPIKeyUserAPIKeyIDOK) GetPayload() *models.ResponseAPIKeyResponse
func (*PutAPIKeyUserAPIKeyIDOK) IsClientError ¶
func (o *PutAPIKeyUserAPIKeyIDOK) IsClientError() bool
IsClientError returns true when this put Api key user Api key Id o k response has a 4xx status code
func (*PutAPIKeyUserAPIKeyIDOK) IsCode ¶
func (o *PutAPIKeyUserAPIKeyIDOK) IsCode(code int) bool
IsCode returns true when this put Api key user Api key Id o k response a status code equal to that given
func (*PutAPIKeyUserAPIKeyIDOK) IsRedirect ¶
func (o *PutAPIKeyUserAPIKeyIDOK) IsRedirect() bool
IsRedirect returns true when this put Api key user Api key Id o k response has a 3xx status code
func (*PutAPIKeyUserAPIKeyIDOK) IsServerError ¶
func (o *PutAPIKeyUserAPIKeyIDOK) IsServerError() bool
IsServerError returns true when this put Api key user Api key Id o k response has a 5xx status code
func (*PutAPIKeyUserAPIKeyIDOK) IsSuccess ¶
func (o *PutAPIKeyUserAPIKeyIDOK) IsSuccess() bool
IsSuccess returns true when this put Api key user Api key Id o k response has a 2xx status code
func (*PutAPIKeyUserAPIKeyIDOK) String ¶
func (o *PutAPIKeyUserAPIKeyIDOK) String() string
type PutAPIKeyUserAPIKeyIDParams ¶
type PutAPIKeyUserAPIKeyIDParams struct {
/* ID.
Api Key's id
*/
ID string
/* Input.
Update Api Key Request
*/
Input *models.RequestUpdateAPIKeyRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PutAPIKeyUserAPIKeyIDParams contains all the parameters to send to the API endpoint
for the put API key user API key ID operation. Typically these are written to a http.Request.
func NewPutAPIKeyUserAPIKeyIDParams ¶
func NewPutAPIKeyUserAPIKeyIDParams() *PutAPIKeyUserAPIKeyIDParams
NewPutAPIKeyUserAPIKeyIDParams creates a new PutAPIKeyUserAPIKeyIDParams 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 NewPutAPIKeyUserAPIKeyIDParamsWithContext ¶
func NewPutAPIKeyUserAPIKeyIDParamsWithContext(ctx context.Context) *PutAPIKeyUserAPIKeyIDParams
NewPutAPIKeyUserAPIKeyIDParamsWithContext creates a new PutAPIKeyUserAPIKeyIDParams object with the ability to set a context for a request.
func NewPutAPIKeyUserAPIKeyIDParamsWithHTTPClient ¶
func NewPutAPIKeyUserAPIKeyIDParamsWithHTTPClient(client *http.Client) *PutAPIKeyUserAPIKeyIDParams
NewPutAPIKeyUserAPIKeyIDParamsWithHTTPClient creates a new PutAPIKeyUserAPIKeyIDParams object with the ability to set a custom HTTPClient for a request.
func NewPutAPIKeyUserAPIKeyIDParamsWithTimeout ¶
func NewPutAPIKeyUserAPIKeyIDParamsWithTimeout(timeout time.Duration) *PutAPIKeyUserAPIKeyIDParams
NewPutAPIKeyUserAPIKeyIDParamsWithTimeout creates a new PutAPIKeyUserAPIKeyIDParams object with the ability to set a timeout on a request.
func (*PutAPIKeyUserAPIKeyIDParams) SetContext ¶
func (o *PutAPIKeyUserAPIKeyIDParams) SetContext(ctx context.Context)
SetContext adds the context to the put API key user API key ID params
func (*PutAPIKeyUserAPIKeyIDParams) SetDefaults ¶
func (o *PutAPIKeyUserAPIKeyIDParams) SetDefaults()
SetDefaults hydrates default values in the put API key user API key ID params (not the query body).
All values with no default are reset to their zero value.
func (*PutAPIKeyUserAPIKeyIDParams) SetHTTPClient ¶
func (o *PutAPIKeyUserAPIKeyIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put API key user API key ID params
func (*PutAPIKeyUserAPIKeyIDParams) SetID ¶
func (o *PutAPIKeyUserAPIKeyIDParams) SetID(id string)
SetID adds the id to the put API key user API key ID params
func (*PutAPIKeyUserAPIKeyIDParams) SetInput ¶
func (o *PutAPIKeyUserAPIKeyIDParams) SetInput(input *models.RequestUpdateAPIKeyRequest)
SetInput adds the input to the put API key user API key ID params
func (*PutAPIKeyUserAPIKeyIDParams) SetTimeout ¶
func (o *PutAPIKeyUserAPIKeyIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put API key user API key ID params
func (*PutAPIKeyUserAPIKeyIDParams) WithContext ¶
func (o *PutAPIKeyUserAPIKeyIDParams) WithContext(ctx context.Context) *PutAPIKeyUserAPIKeyIDParams
WithContext adds the context to the put API key user API key ID params
func (*PutAPIKeyUserAPIKeyIDParams) WithDefaults ¶
func (o *PutAPIKeyUserAPIKeyIDParams) WithDefaults() *PutAPIKeyUserAPIKeyIDParams
WithDefaults hydrates default values in the put API key user API key ID params (not the query body).
All values with no default are reset to their zero value.
func (*PutAPIKeyUserAPIKeyIDParams) WithHTTPClient ¶
func (o *PutAPIKeyUserAPIKeyIDParams) WithHTTPClient(client *http.Client) *PutAPIKeyUserAPIKeyIDParams
WithHTTPClient adds the HTTPClient to the put API key user API key ID params
func (*PutAPIKeyUserAPIKeyIDParams) WithID ¶
func (o *PutAPIKeyUserAPIKeyIDParams) WithID(id string) *PutAPIKeyUserAPIKeyIDParams
WithID adds the id to the put API key user API key ID params
func (*PutAPIKeyUserAPIKeyIDParams) WithInput ¶
func (o *PutAPIKeyUserAPIKeyIDParams) WithInput(input *models.RequestUpdateAPIKeyRequest) *PutAPIKeyUserAPIKeyIDParams
WithInput adds the input to the put API key user API key ID params
func (*PutAPIKeyUserAPIKeyIDParams) WithTimeout ¶
func (o *PutAPIKeyUserAPIKeyIDParams) WithTimeout(timeout time.Duration) *PutAPIKeyUserAPIKeyIDParams
WithTimeout adds the timeout to the put API key user API key ID params
func (*PutAPIKeyUserAPIKeyIDParams) WriteToRequest ¶
func (o *PutAPIKeyUserAPIKeyIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutAPIKeyUserAPIKeyIDReader ¶
type PutAPIKeyUserAPIKeyIDReader struct {
// contains filtered or unexported fields
}
PutAPIKeyUserAPIKeyIDReader is a Reader for the PutAPIKeyUserAPIKeyID structure.
func (*PutAPIKeyUserAPIKeyIDReader) ReadResponse ¶
func (o *PutAPIKeyUserAPIKeyIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.