api_key_model_api_key

package
v1.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

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

func WithContentTypeApplicationxWwwFormUrlencoded

func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)

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

Types

type Client

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

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

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

func (*GetAPIKeyUserAPIKeyIDBadRequest) Error

func (*GetAPIKeyUserAPIKeyIDBadRequest) GetPayload

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

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

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

func (*GetAPIKeyUserAPIKeyIDInternalServerError) Error

func (*GetAPIKeyUserAPIKeyIDInternalServerError) GetPayload

func (*GetAPIKeyUserAPIKeyIDInternalServerError) IsClientError

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

func (*GetAPIKeyUserAPIKeyIDInternalServerError) IsCode

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

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

func (*GetAPIKeyUserAPIKeyIDInternalServerError) IsServerError

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

func (*GetAPIKeyUserAPIKeyIDInternalServerError) IsSuccess

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

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

WithContext adds the context to the get API key user API key ID params

func (*GetAPIKeyUserAPIKeyIDParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get API key user API key ID params

func (*GetAPIKeyUserAPIKeyIDParams) WithID

WithID adds the id to the get API key user API key ID params

func (*GetAPIKeyUserAPIKeyIDParams) WithTimeout

WithTimeout adds the timeout to the get API key user API key ID params

func (*GetAPIKeyUserAPIKeyIDParams) WriteToRequest

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

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

func (*PostAPIKeyUserAPIKeyIDStatisticsBadRequest) Error

func (*PostAPIKeyUserAPIKeyIDStatisticsBadRequest) GetPayload

func (*PostAPIKeyUserAPIKeyIDStatisticsBadRequest) IsClientError

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

func (*PostAPIKeyUserAPIKeyIDStatisticsBadRequest) IsCode

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

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

func (*PostAPIKeyUserAPIKeyIDStatisticsBadRequest) IsServerError

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

func (*PostAPIKeyUserAPIKeyIDStatisticsBadRequest) IsSuccess

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

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

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

func (*PostAPIKeyUserAPIKeyIDStatisticsInternalServerError) Error

func (*PostAPIKeyUserAPIKeyIDStatisticsInternalServerError) GetPayload

func (*PostAPIKeyUserAPIKeyIDStatisticsInternalServerError) IsClientError

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

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

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

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

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

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

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

func (*PostAPIKeyUserAPIKeyIDStatisticsOK) Error

func (*PostAPIKeyUserAPIKeyIDStatisticsOK) GetPayload

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

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

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

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

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

SetID adds the id to the post API key user API key ID statistics params

func (*PostAPIKeyUserAPIKeyIDStatisticsParams) SetInput

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

WithContext adds the context to the post API key user API key ID statistics params

func (*PostAPIKeyUserAPIKeyIDStatisticsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the post API key user API key ID statistics params

func (*PostAPIKeyUserAPIKeyIDStatisticsParams) WithID

WithID adds the id to the post API key user API key ID statistics params

func (*PostAPIKeyUserAPIKeyIDStatisticsParams) WithInput

WithInput adds the input to the post API key user API key ID statistics params

func (*PostAPIKeyUserAPIKeyIDStatisticsParams) WithTimeout

WithTimeout adds the timeout to the post API key user API key ID statistics params

func (*PostAPIKeyUserAPIKeyIDStatisticsParams) WriteToRequest

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

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

Code gets the status code for the put Api key user Api key Id bad request response

func (*PutAPIKeyUserAPIKeyIDBadRequest) Error

func (*PutAPIKeyUserAPIKeyIDBadRequest) GetPayload

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

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

Code gets the status code for the put Api key user Api key Id internal server error response

func (*PutAPIKeyUserAPIKeyIDInternalServerError) Error

func (*PutAPIKeyUserAPIKeyIDInternalServerError) GetPayload

func (*PutAPIKeyUserAPIKeyIDInternalServerError) IsClientError

IsClientError returns true when this put Api key user Api key Id internal server error response has a 4xx status code

func (*PutAPIKeyUserAPIKeyIDInternalServerError) IsCode

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

IsRedirect returns true when this put Api key user Api key Id internal server error response has a 3xx status code

func (*PutAPIKeyUserAPIKeyIDInternalServerError) IsServerError

IsServerError returns true when this put Api key user Api key Id internal server error response has a 5xx status code

func (*PutAPIKeyUserAPIKeyIDInternalServerError) IsSuccess

IsSuccess returns true when this put Api key user Api key Id internal server error response has a 2xx status code

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

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

WithContext adds the context to the put API key user API key ID params

func (*PutAPIKeyUserAPIKeyIDParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the put API key user API key ID params

func (*PutAPIKeyUserAPIKeyIDParams) WithID

WithID adds the id to the put API key user API key ID params

func (*PutAPIKeyUserAPIKeyIDParams) WithInput

WithInput adds the input to the put API key user API key ID params

func (*PutAPIKeyUserAPIKeyIDParams) WithTimeout

WithTimeout adds the timeout to the put API key user API key ID params

func (*PutAPIKeyUserAPIKeyIDParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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