api_key_collection

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 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 collection API

func (*Client) DeleteAPIKeyCollectionID

func (a *Client) DeleteAPIKeyCollectionID(params *DeleteAPIKeyCollectionIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeyCollectionIDOK, error)

DeleteAPIKeyCollectionID deletes collection by Api key

func (*Client) DeleteAPIKeyCollectionIDItem

func (a *Client) DeleteAPIKeyCollectionIDItem(params *DeleteAPIKeyCollectionIDItemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeyCollectionIDItemOK, error)

DeleteAPIKeyCollectionIDItem removes item from collection by Api key

func (*Client) GetAPIKeyCollectionID

func (a *Client) GetAPIKeyCollectionID(params *GetAPIKeyCollectionIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyCollectionIDOK, error)

GetAPIKeyCollectionID gets collection by Id by Api key

func (*Client) PostAPIKeyCollection

func (a *Client) PostAPIKeyCollection(params *PostAPIKeyCollectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCollectionOK, error)

PostAPIKeyCollection creates collection by Api key

func (*Client) PostAPIKeyCollectionIDItem

func (a *Client) PostAPIKeyCollectionIDItem(params *PostAPIKeyCollectionIDItemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCollectionIDItemOK, error)

PostAPIKeyCollectionIDItem adds item to collection by Api key

func (*Client) PostAPIKeyCollectionList

func (a *Client) PostAPIKeyCollectionList(params *PostAPIKeyCollectionListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCollectionListOK, error)

PostAPIKeyCollectionList gets list collection by Api key

func (*Client) PostAPIKeyCollectionUsernameList

func (a *Client) PostAPIKeyCollectionUsernameList(params *PostAPIKeyCollectionUsernameListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCollectionUsernameListOK, error)

PostAPIKeyCollectionUsernameList gets collection list by username by Api key

func (*Client) PutAPIKeyCollectionID

func (a *Client) PutAPIKeyCollectionID(params *PutAPIKeyCollectionIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAPIKeyCollectionIDOK, error)

PutAPIKeyCollectionID updates collection by Api key

func (*Client) PutAPIKeyCollectionIDVote

func (a *Client) PutAPIKeyCollectionIDVote(params *PutAPIKeyCollectionIDVoteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAPIKeyCollectionIDVoteOK, error)

PutAPIKeyCollectionIDVote votes collection 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 {
	DeleteAPIKeyCollectionID(params *DeleteAPIKeyCollectionIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeyCollectionIDOK, error)

	DeleteAPIKeyCollectionIDItem(params *DeleteAPIKeyCollectionIDItemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeyCollectionIDItemOK, error)

	GetAPIKeyCollectionID(params *GetAPIKeyCollectionIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyCollectionIDOK, error)

	PostAPIKeyCollection(params *PostAPIKeyCollectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCollectionOK, error)

	PostAPIKeyCollectionIDItem(params *PostAPIKeyCollectionIDItemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCollectionIDItemOK, error)

	PostAPIKeyCollectionList(params *PostAPIKeyCollectionListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCollectionListOK, error)

	PostAPIKeyCollectionUsernameList(params *PostAPIKeyCollectionUsernameListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCollectionUsernameListOK, error)

	PutAPIKeyCollectionID(params *PutAPIKeyCollectionIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAPIKeyCollectionIDOK, error)

	PutAPIKeyCollectionIDVote(params *PutAPIKeyCollectionIDVoteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAPIKeyCollectionIDVoteOK, 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 collection API client.

func NewClientWithBasicAuth

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

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

type DeleteAPIKeyCollectionIDBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewDeleteAPIKeyCollectionIDBadRequest

func NewDeleteAPIKeyCollectionIDBadRequest() *DeleteAPIKeyCollectionIDBadRequest

NewDeleteAPIKeyCollectionIDBadRequest creates a DeleteAPIKeyCollectionIDBadRequest with default headers values

func (*DeleteAPIKeyCollectionIDBadRequest) Code

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

func (*DeleteAPIKeyCollectionIDBadRequest) Error

func (*DeleteAPIKeyCollectionIDBadRequest) GetPayload

func (*DeleteAPIKeyCollectionIDBadRequest) IsClientError

func (o *DeleteAPIKeyCollectionIDBadRequest) IsClientError() bool

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

func (*DeleteAPIKeyCollectionIDBadRequest) IsCode

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

func (*DeleteAPIKeyCollectionIDBadRequest) IsRedirect

func (o *DeleteAPIKeyCollectionIDBadRequest) IsRedirect() bool

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

func (*DeleteAPIKeyCollectionIDBadRequest) IsServerError

func (o *DeleteAPIKeyCollectionIDBadRequest) IsServerError() bool

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

func (*DeleteAPIKeyCollectionIDBadRequest) IsSuccess

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

func (*DeleteAPIKeyCollectionIDBadRequest) String

type DeleteAPIKeyCollectionIDInternalServerError

type DeleteAPIKeyCollectionIDInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewDeleteAPIKeyCollectionIDInternalServerError

func NewDeleteAPIKeyCollectionIDInternalServerError() *DeleteAPIKeyCollectionIDInternalServerError

NewDeleteAPIKeyCollectionIDInternalServerError creates a DeleteAPIKeyCollectionIDInternalServerError with default headers values

func (*DeleteAPIKeyCollectionIDInternalServerError) Code

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

func (*DeleteAPIKeyCollectionIDInternalServerError) Error

func (*DeleteAPIKeyCollectionIDInternalServerError) GetPayload

func (*DeleteAPIKeyCollectionIDInternalServerError) IsClientError

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

func (*DeleteAPIKeyCollectionIDInternalServerError) IsCode

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

func (*DeleteAPIKeyCollectionIDInternalServerError) IsRedirect

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

func (*DeleteAPIKeyCollectionIDInternalServerError) IsServerError

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

func (*DeleteAPIKeyCollectionIDInternalServerError) IsSuccess

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

func (*DeleteAPIKeyCollectionIDInternalServerError) String

type DeleteAPIKeyCollectionIDItemBadRequest

type DeleteAPIKeyCollectionIDItemBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewDeleteAPIKeyCollectionIDItemBadRequest

func NewDeleteAPIKeyCollectionIDItemBadRequest() *DeleteAPIKeyCollectionIDItemBadRequest

NewDeleteAPIKeyCollectionIDItemBadRequest creates a DeleteAPIKeyCollectionIDItemBadRequest with default headers values

func (*DeleteAPIKeyCollectionIDItemBadRequest) Code

Code gets the status code for the delete Api key collection Id item bad request response

func (*DeleteAPIKeyCollectionIDItemBadRequest) Error

func (*DeleteAPIKeyCollectionIDItemBadRequest) GetPayload

func (*DeleteAPIKeyCollectionIDItemBadRequest) IsClientError

func (o *DeleteAPIKeyCollectionIDItemBadRequest) IsClientError() bool

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

func (*DeleteAPIKeyCollectionIDItemBadRequest) IsCode

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

func (*DeleteAPIKeyCollectionIDItemBadRequest) IsRedirect

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

func (*DeleteAPIKeyCollectionIDItemBadRequest) IsServerError

func (o *DeleteAPIKeyCollectionIDItemBadRequest) IsServerError() bool

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

func (*DeleteAPIKeyCollectionIDItemBadRequest) IsSuccess

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

func (*DeleteAPIKeyCollectionIDItemBadRequest) String

type DeleteAPIKeyCollectionIDItemInternalServerError

type DeleteAPIKeyCollectionIDItemInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewDeleteAPIKeyCollectionIDItemInternalServerError

func NewDeleteAPIKeyCollectionIDItemInternalServerError() *DeleteAPIKeyCollectionIDItemInternalServerError

NewDeleteAPIKeyCollectionIDItemInternalServerError creates a DeleteAPIKeyCollectionIDItemInternalServerError with default headers values

func (*DeleteAPIKeyCollectionIDItemInternalServerError) Code

Code gets the status code for the delete Api key collection Id item internal server error response

func (*DeleteAPIKeyCollectionIDItemInternalServerError) Error

func (*DeleteAPIKeyCollectionIDItemInternalServerError) GetPayload

func (*DeleteAPIKeyCollectionIDItemInternalServerError) IsClientError

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

func (*DeleteAPIKeyCollectionIDItemInternalServerError) IsCode

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

func (*DeleteAPIKeyCollectionIDItemInternalServerError) IsRedirect

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

func (*DeleteAPIKeyCollectionIDItemInternalServerError) IsServerError

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

func (*DeleteAPIKeyCollectionIDItemInternalServerError) IsSuccess

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

func (*DeleteAPIKeyCollectionIDItemInternalServerError) String

type DeleteAPIKeyCollectionIDItemOK

type DeleteAPIKeyCollectionIDItemOK struct {
	Payload *models.ResponseCollectionReponse
}

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

OK

func NewDeleteAPIKeyCollectionIDItemOK

func NewDeleteAPIKeyCollectionIDItemOK() *DeleteAPIKeyCollectionIDItemOK

NewDeleteAPIKeyCollectionIDItemOK creates a DeleteAPIKeyCollectionIDItemOK with default headers values

func (*DeleteAPIKeyCollectionIDItemOK) Code

Code gets the status code for the delete Api key collection Id item o k response

func (*DeleteAPIKeyCollectionIDItemOK) Error

func (*DeleteAPIKeyCollectionIDItemOK) GetPayload

func (*DeleteAPIKeyCollectionIDItemOK) IsClientError

func (o *DeleteAPIKeyCollectionIDItemOK) IsClientError() bool

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

func (*DeleteAPIKeyCollectionIDItemOK) IsCode

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

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

func (*DeleteAPIKeyCollectionIDItemOK) IsRedirect

func (o *DeleteAPIKeyCollectionIDItemOK) IsRedirect() bool

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

func (*DeleteAPIKeyCollectionIDItemOK) IsServerError

func (o *DeleteAPIKeyCollectionIDItemOK) IsServerError() bool

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

func (*DeleteAPIKeyCollectionIDItemOK) IsSuccess

func (o *DeleteAPIKeyCollectionIDItemOK) IsSuccess() bool

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

func (*DeleteAPIKeyCollectionIDItemOK) String

type DeleteAPIKeyCollectionIDItemParams

type DeleteAPIKeyCollectionIDItemParams struct {

	/* ID.

	   Collection's id
	*/
	ID string

	/* Input.

	   Remove Item From Collection Request
	*/
	Input *models.RequestRemoveItemFromCollectionRequest

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

DeleteAPIKeyCollectionIDItemParams contains all the parameters to send to the API endpoint

for the delete API key collection ID item operation.

Typically these are written to a http.Request.

func NewDeleteAPIKeyCollectionIDItemParams

func NewDeleteAPIKeyCollectionIDItemParams() *DeleteAPIKeyCollectionIDItemParams

NewDeleteAPIKeyCollectionIDItemParams creates a new DeleteAPIKeyCollectionIDItemParams 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 NewDeleteAPIKeyCollectionIDItemParamsWithContext

func NewDeleteAPIKeyCollectionIDItemParamsWithContext(ctx context.Context) *DeleteAPIKeyCollectionIDItemParams

NewDeleteAPIKeyCollectionIDItemParamsWithContext creates a new DeleteAPIKeyCollectionIDItemParams object with the ability to set a context for a request.

func NewDeleteAPIKeyCollectionIDItemParamsWithHTTPClient

func NewDeleteAPIKeyCollectionIDItemParamsWithHTTPClient(client *http.Client) *DeleteAPIKeyCollectionIDItemParams

NewDeleteAPIKeyCollectionIDItemParamsWithHTTPClient creates a new DeleteAPIKeyCollectionIDItemParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAPIKeyCollectionIDItemParamsWithTimeout

func NewDeleteAPIKeyCollectionIDItemParamsWithTimeout(timeout time.Duration) *DeleteAPIKeyCollectionIDItemParams

NewDeleteAPIKeyCollectionIDItemParamsWithTimeout creates a new DeleteAPIKeyCollectionIDItemParams object with the ability to set a timeout on a request.

func (*DeleteAPIKeyCollectionIDItemParams) SetContext

SetContext adds the context to the delete API key collection ID item params

func (*DeleteAPIKeyCollectionIDItemParams) SetDefaults

func (o *DeleteAPIKeyCollectionIDItemParams) SetDefaults()

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

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

func (*DeleteAPIKeyCollectionIDItemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete API key collection ID item params

func (*DeleteAPIKeyCollectionIDItemParams) SetID

SetID adds the id to the delete API key collection ID item params

func (*DeleteAPIKeyCollectionIDItemParams) SetInput

SetInput adds the input to the delete API key collection ID item params

func (*DeleteAPIKeyCollectionIDItemParams) SetTimeout

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

SetTimeout adds the timeout to the delete API key collection ID item params

func (*DeleteAPIKeyCollectionIDItemParams) WithContext

WithContext adds the context to the delete API key collection ID item params

func (*DeleteAPIKeyCollectionIDItemParams) WithDefaults

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

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

func (*DeleteAPIKeyCollectionIDItemParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete API key collection ID item params

func (*DeleteAPIKeyCollectionIDItemParams) WithID

WithID adds the id to the delete API key collection ID item params

func (*DeleteAPIKeyCollectionIDItemParams) WithInput

WithInput adds the input to the delete API key collection ID item params

func (*DeleteAPIKeyCollectionIDItemParams) WithTimeout

WithTimeout adds the timeout to the delete API key collection ID item params

func (*DeleteAPIKeyCollectionIDItemParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAPIKeyCollectionIDItemReader

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

DeleteAPIKeyCollectionIDItemReader is a Reader for the DeleteAPIKeyCollectionIDItem structure.

func (*DeleteAPIKeyCollectionIDItemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAPIKeyCollectionIDOK

type DeleteAPIKeyCollectionIDOK struct {
	Payload *models.ResponseCollectionReponse
}

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

OK

func NewDeleteAPIKeyCollectionIDOK

func NewDeleteAPIKeyCollectionIDOK() *DeleteAPIKeyCollectionIDOK

NewDeleteAPIKeyCollectionIDOK creates a DeleteAPIKeyCollectionIDOK with default headers values

func (*DeleteAPIKeyCollectionIDOK) Code

func (o *DeleteAPIKeyCollectionIDOK) Code() int

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

func (*DeleteAPIKeyCollectionIDOK) Error

func (*DeleteAPIKeyCollectionIDOK) GetPayload

func (*DeleteAPIKeyCollectionIDOK) IsClientError

func (o *DeleteAPIKeyCollectionIDOK) IsClientError() bool

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

func (*DeleteAPIKeyCollectionIDOK) IsCode

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

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

func (*DeleteAPIKeyCollectionIDOK) IsRedirect

func (o *DeleteAPIKeyCollectionIDOK) IsRedirect() bool

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

func (*DeleteAPIKeyCollectionIDOK) IsServerError

func (o *DeleteAPIKeyCollectionIDOK) IsServerError() bool

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

func (*DeleteAPIKeyCollectionIDOK) IsSuccess

func (o *DeleteAPIKeyCollectionIDOK) IsSuccess() bool

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

func (*DeleteAPIKeyCollectionIDOK) String

func (o *DeleteAPIKeyCollectionIDOK) String() string

type DeleteAPIKeyCollectionIDParams

type DeleteAPIKeyCollectionIDParams struct {

	/* ID.

	   Collection's id
	*/
	ID string

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

DeleteAPIKeyCollectionIDParams contains all the parameters to send to the API endpoint

for the delete API key collection ID operation.

Typically these are written to a http.Request.

func NewDeleteAPIKeyCollectionIDParams

func NewDeleteAPIKeyCollectionIDParams() *DeleteAPIKeyCollectionIDParams

NewDeleteAPIKeyCollectionIDParams creates a new DeleteAPIKeyCollectionIDParams 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 NewDeleteAPIKeyCollectionIDParamsWithContext

func NewDeleteAPIKeyCollectionIDParamsWithContext(ctx context.Context) *DeleteAPIKeyCollectionIDParams

NewDeleteAPIKeyCollectionIDParamsWithContext creates a new DeleteAPIKeyCollectionIDParams object with the ability to set a context for a request.

func NewDeleteAPIKeyCollectionIDParamsWithHTTPClient

func NewDeleteAPIKeyCollectionIDParamsWithHTTPClient(client *http.Client) *DeleteAPIKeyCollectionIDParams

NewDeleteAPIKeyCollectionIDParamsWithHTTPClient creates a new DeleteAPIKeyCollectionIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAPIKeyCollectionIDParamsWithTimeout

func NewDeleteAPIKeyCollectionIDParamsWithTimeout(timeout time.Duration) *DeleteAPIKeyCollectionIDParams

NewDeleteAPIKeyCollectionIDParamsWithTimeout creates a new DeleteAPIKeyCollectionIDParams object with the ability to set a timeout on a request.

func (*DeleteAPIKeyCollectionIDParams) SetContext

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

SetContext adds the context to the delete API key collection ID params

func (*DeleteAPIKeyCollectionIDParams) SetDefaults

func (o *DeleteAPIKeyCollectionIDParams) SetDefaults()

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

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

func (*DeleteAPIKeyCollectionIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete API key collection ID params

func (*DeleteAPIKeyCollectionIDParams) SetID

SetID adds the id to the delete API key collection ID params

func (*DeleteAPIKeyCollectionIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete API key collection ID params

func (*DeleteAPIKeyCollectionIDParams) WithContext

WithContext adds the context to the delete API key collection ID params

func (*DeleteAPIKeyCollectionIDParams) WithDefaults

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

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

func (*DeleteAPIKeyCollectionIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete API key collection ID params

func (*DeleteAPIKeyCollectionIDParams) WithID

WithID adds the id to the delete API key collection ID params

func (*DeleteAPIKeyCollectionIDParams) WithTimeout

WithTimeout adds the timeout to the delete API key collection ID params

func (*DeleteAPIKeyCollectionIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAPIKeyCollectionIDReader

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

DeleteAPIKeyCollectionIDReader is a Reader for the DeleteAPIKeyCollectionID structure.

func (*DeleteAPIKeyCollectionIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPIKeyCollectionIDBadRequest

type GetAPIKeyCollectionIDBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewGetAPIKeyCollectionIDBadRequest

func NewGetAPIKeyCollectionIDBadRequest() *GetAPIKeyCollectionIDBadRequest

NewGetAPIKeyCollectionIDBadRequest creates a GetAPIKeyCollectionIDBadRequest with default headers values

func (*GetAPIKeyCollectionIDBadRequest) Code

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

func (*GetAPIKeyCollectionIDBadRequest) Error

func (*GetAPIKeyCollectionIDBadRequest) GetPayload

func (*GetAPIKeyCollectionIDBadRequest) IsClientError

func (o *GetAPIKeyCollectionIDBadRequest) IsClientError() bool

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

func (*GetAPIKeyCollectionIDBadRequest) IsCode

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

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

func (*GetAPIKeyCollectionIDBadRequest) IsRedirect

func (o *GetAPIKeyCollectionIDBadRequest) IsRedirect() bool

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

func (*GetAPIKeyCollectionIDBadRequest) IsServerError

func (o *GetAPIKeyCollectionIDBadRequest) IsServerError() bool

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

func (*GetAPIKeyCollectionIDBadRequest) IsSuccess

func (o *GetAPIKeyCollectionIDBadRequest) IsSuccess() bool

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

func (*GetAPIKeyCollectionIDBadRequest) String

type GetAPIKeyCollectionIDInternalServerError

type GetAPIKeyCollectionIDInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewGetAPIKeyCollectionIDInternalServerError

func NewGetAPIKeyCollectionIDInternalServerError() *GetAPIKeyCollectionIDInternalServerError

NewGetAPIKeyCollectionIDInternalServerError creates a GetAPIKeyCollectionIDInternalServerError with default headers values

func (*GetAPIKeyCollectionIDInternalServerError) Code

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

func (*GetAPIKeyCollectionIDInternalServerError) Error

func (*GetAPIKeyCollectionIDInternalServerError) GetPayload

func (*GetAPIKeyCollectionIDInternalServerError) IsClientError

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

func (*GetAPIKeyCollectionIDInternalServerError) IsCode

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

func (*GetAPIKeyCollectionIDInternalServerError) IsRedirect

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

func (*GetAPIKeyCollectionIDInternalServerError) IsServerError

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

func (*GetAPIKeyCollectionIDInternalServerError) IsSuccess

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

func (*GetAPIKeyCollectionIDInternalServerError) String

type GetAPIKeyCollectionIDOK

type GetAPIKeyCollectionIDOK struct {
	Payload *models.ResponseCollectionReponse
}

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

OK

func NewGetAPIKeyCollectionIDOK

func NewGetAPIKeyCollectionIDOK() *GetAPIKeyCollectionIDOK

NewGetAPIKeyCollectionIDOK creates a GetAPIKeyCollectionIDOK with default headers values

func (*GetAPIKeyCollectionIDOK) Code

func (o *GetAPIKeyCollectionIDOK) Code() int

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

func (*GetAPIKeyCollectionIDOK) Error

func (o *GetAPIKeyCollectionIDOK) Error() string

func (*GetAPIKeyCollectionIDOK) GetPayload

func (*GetAPIKeyCollectionIDOK) IsClientError

func (o *GetAPIKeyCollectionIDOK) IsClientError() bool

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

func (*GetAPIKeyCollectionIDOK) IsCode

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

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

func (*GetAPIKeyCollectionIDOK) IsRedirect

func (o *GetAPIKeyCollectionIDOK) IsRedirect() bool

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

func (*GetAPIKeyCollectionIDOK) IsServerError

func (o *GetAPIKeyCollectionIDOK) IsServerError() bool

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

func (*GetAPIKeyCollectionIDOK) IsSuccess

func (o *GetAPIKeyCollectionIDOK) IsSuccess() bool

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

func (*GetAPIKeyCollectionIDOK) String

func (o *GetAPIKeyCollectionIDOK) String() string

type GetAPIKeyCollectionIDParams

type GetAPIKeyCollectionIDParams struct {

	/* ID.

	   Collection's id
	*/
	ID string

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

GetAPIKeyCollectionIDParams contains all the parameters to send to the API endpoint

for the get API key collection ID operation.

Typically these are written to a http.Request.

func NewGetAPIKeyCollectionIDParams

func NewGetAPIKeyCollectionIDParams() *GetAPIKeyCollectionIDParams

NewGetAPIKeyCollectionIDParams creates a new GetAPIKeyCollectionIDParams 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 NewGetAPIKeyCollectionIDParamsWithContext

func NewGetAPIKeyCollectionIDParamsWithContext(ctx context.Context) *GetAPIKeyCollectionIDParams

NewGetAPIKeyCollectionIDParamsWithContext creates a new GetAPIKeyCollectionIDParams object with the ability to set a context for a request.

func NewGetAPIKeyCollectionIDParamsWithHTTPClient

func NewGetAPIKeyCollectionIDParamsWithHTTPClient(client *http.Client) *GetAPIKeyCollectionIDParams

NewGetAPIKeyCollectionIDParamsWithHTTPClient creates a new GetAPIKeyCollectionIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIKeyCollectionIDParamsWithTimeout

func NewGetAPIKeyCollectionIDParamsWithTimeout(timeout time.Duration) *GetAPIKeyCollectionIDParams

NewGetAPIKeyCollectionIDParamsWithTimeout creates a new GetAPIKeyCollectionIDParams object with the ability to set a timeout on a request.

func (*GetAPIKeyCollectionIDParams) SetContext

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

SetContext adds the context to the get API key collection ID params

func (*GetAPIKeyCollectionIDParams) SetDefaults

func (o *GetAPIKeyCollectionIDParams) SetDefaults()

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

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

func (*GetAPIKeyCollectionIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API key collection ID params

func (*GetAPIKeyCollectionIDParams) SetID

func (o *GetAPIKeyCollectionIDParams) SetID(id string)

SetID adds the id to the get API key collection ID params

func (*GetAPIKeyCollectionIDParams) SetTimeout

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

SetTimeout adds the timeout to the get API key collection ID params

func (*GetAPIKeyCollectionIDParams) WithContext

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

func (*GetAPIKeyCollectionIDParams) WithDefaults

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

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

func (*GetAPIKeyCollectionIDParams) WithHTTPClient

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

func (*GetAPIKeyCollectionIDParams) WithID

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

func (*GetAPIKeyCollectionIDParams) WithTimeout

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

func (*GetAPIKeyCollectionIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPIKeyCollectionIDReader

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

GetAPIKeyCollectionIDReader is a Reader for the GetAPIKeyCollectionID structure.

func (*GetAPIKeyCollectionIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAPIKeyCollectionBadRequest

type PostAPIKeyCollectionBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewPostAPIKeyCollectionBadRequest

func NewPostAPIKeyCollectionBadRequest() *PostAPIKeyCollectionBadRequest

NewPostAPIKeyCollectionBadRequest creates a PostAPIKeyCollectionBadRequest with default headers values

func (*PostAPIKeyCollectionBadRequest) Code

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

func (*PostAPIKeyCollectionBadRequest) Error

func (*PostAPIKeyCollectionBadRequest) GetPayload

func (*PostAPIKeyCollectionBadRequest) IsClientError

func (o *PostAPIKeyCollectionBadRequest) IsClientError() bool

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

func (*PostAPIKeyCollectionBadRequest) IsCode

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

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

func (*PostAPIKeyCollectionBadRequest) IsRedirect

func (o *PostAPIKeyCollectionBadRequest) IsRedirect() bool

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

func (*PostAPIKeyCollectionBadRequest) IsServerError

func (o *PostAPIKeyCollectionBadRequest) IsServerError() bool

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

func (*PostAPIKeyCollectionBadRequest) IsSuccess

func (o *PostAPIKeyCollectionBadRequest) IsSuccess() bool

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

func (*PostAPIKeyCollectionBadRequest) String

type PostAPIKeyCollectionIDItemBadRequest

type PostAPIKeyCollectionIDItemBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewPostAPIKeyCollectionIDItemBadRequest

func NewPostAPIKeyCollectionIDItemBadRequest() *PostAPIKeyCollectionIDItemBadRequest

NewPostAPIKeyCollectionIDItemBadRequest creates a PostAPIKeyCollectionIDItemBadRequest with default headers values

func (*PostAPIKeyCollectionIDItemBadRequest) Code

Code gets the status code for the post Api key collection Id item bad request response

func (*PostAPIKeyCollectionIDItemBadRequest) Error

func (*PostAPIKeyCollectionIDItemBadRequest) GetPayload

func (*PostAPIKeyCollectionIDItemBadRequest) IsClientError

func (o *PostAPIKeyCollectionIDItemBadRequest) IsClientError() bool

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

func (*PostAPIKeyCollectionIDItemBadRequest) IsCode

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

func (*PostAPIKeyCollectionIDItemBadRequest) IsRedirect

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

func (*PostAPIKeyCollectionIDItemBadRequest) IsServerError

func (o *PostAPIKeyCollectionIDItemBadRequest) IsServerError() bool

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

func (*PostAPIKeyCollectionIDItemBadRequest) IsSuccess

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

func (*PostAPIKeyCollectionIDItemBadRequest) String

type PostAPIKeyCollectionIDItemInternalServerError

type PostAPIKeyCollectionIDItemInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewPostAPIKeyCollectionIDItemInternalServerError

func NewPostAPIKeyCollectionIDItemInternalServerError() *PostAPIKeyCollectionIDItemInternalServerError

NewPostAPIKeyCollectionIDItemInternalServerError creates a PostAPIKeyCollectionIDItemInternalServerError with default headers values

func (*PostAPIKeyCollectionIDItemInternalServerError) Code

Code gets the status code for the post Api key collection Id item internal server error response

func (*PostAPIKeyCollectionIDItemInternalServerError) Error

func (*PostAPIKeyCollectionIDItemInternalServerError) GetPayload

func (*PostAPIKeyCollectionIDItemInternalServerError) IsClientError

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

func (*PostAPIKeyCollectionIDItemInternalServerError) IsCode

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

func (*PostAPIKeyCollectionIDItemInternalServerError) IsRedirect

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

func (*PostAPIKeyCollectionIDItemInternalServerError) IsServerError

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

func (*PostAPIKeyCollectionIDItemInternalServerError) IsSuccess

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

func (*PostAPIKeyCollectionIDItemInternalServerError) String

type PostAPIKeyCollectionIDItemOK

type PostAPIKeyCollectionIDItemOK struct {
	Payload *models.ResponseCollectionReponse
}

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

OK

func NewPostAPIKeyCollectionIDItemOK

func NewPostAPIKeyCollectionIDItemOK() *PostAPIKeyCollectionIDItemOK

NewPostAPIKeyCollectionIDItemOK creates a PostAPIKeyCollectionIDItemOK with default headers values

func (*PostAPIKeyCollectionIDItemOK) Code

Code gets the status code for the post Api key collection Id item o k response

func (*PostAPIKeyCollectionIDItemOK) Error

func (*PostAPIKeyCollectionIDItemOK) GetPayload

func (*PostAPIKeyCollectionIDItemOK) IsClientError

func (o *PostAPIKeyCollectionIDItemOK) IsClientError() bool

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

func (*PostAPIKeyCollectionIDItemOK) IsCode

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

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

func (*PostAPIKeyCollectionIDItemOK) IsRedirect

func (o *PostAPIKeyCollectionIDItemOK) IsRedirect() bool

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

func (*PostAPIKeyCollectionIDItemOK) IsServerError

func (o *PostAPIKeyCollectionIDItemOK) IsServerError() bool

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

func (*PostAPIKeyCollectionIDItemOK) IsSuccess

func (o *PostAPIKeyCollectionIDItemOK) IsSuccess() bool

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

func (*PostAPIKeyCollectionIDItemOK) String

type PostAPIKeyCollectionIDItemParams

type PostAPIKeyCollectionIDItemParams struct {

	/* ID.

	   Collection's id
	*/
	ID string

	/* Input.

	   Add Item To Collection Request
	*/
	Input *models.RequestAddItemToCollectionRequest

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

PostAPIKeyCollectionIDItemParams contains all the parameters to send to the API endpoint

for the post API key collection ID item operation.

Typically these are written to a http.Request.

func NewPostAPIKeyCollectionIDItemParams

func NewPostAPIKeyCollectionIDItemParams() *PostAPIKeyCollectionIDItemParams

NewPostAPIKeyCollectionIDItemParams creates a new PostAPIKeyCollectionIDItemParams 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 NewPostAPIKeyCollectionIDItemParamsWithContext

func NewPostAPIKeyCollectionIDItemParamsWithContext(ctx context.Context) *PostAPIKeyCollectionIDItemParams

NewPostAPIKeyCollectionIDItemParamsWithContext creates a new PostAPIKeyCollectionIDItemParams object with the ability to set a context for a request.

func NewPostAPIKeyCollectionIDItemParamsWithHTTPClient

func NewPostAPIKeyCollectionIDItemParamsWithHTTPClient(client *http.Client) *PostAPIKeyCollectionIDItemParams

NewPostAPIKeyCollectionIDItemParamsWithHTTPClient creates a new PostAPIKeyCollectionIDItemParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPIKeyCollectionIDItemParamsWithTimeout

func NewPostAPIKeyCollectionIDItemParamsWithTimeout(timeout time.Duration) *PostAPIKeyCollectionIDItemParams

NewPostAPIKeyCollectionIDItemParamsWithTimeout creates a new PostAPIKeyCollectionIDItemParams object with the ability to set a timeout on a request.

func (*PostAPIKeyCollectionIDItemParams) SetContext

SetContext adds the context to the post API key collection ID item params

func (*PostAPIKeyCollectionIDItemParams) SetDefaults

func (o *PostAPIKeyCollectionIDItemParams) SetDefaults()

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

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

func (*PostAPIKeyCollectionIDItemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API key collection ID item params

func (*PostAPIKeyCollectionIDItemParams) SetID

SetID adds the id to the post API key collection ID item params

func (*PostAPIKeyCollectionIDItemParams) SetInput

SetInput adds the input to the post API key collection ID item params

func (*PostAPIKeyCollectionIDItemParams) SetTimeout

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

SetTimeout adds the timeout to the post API key collection ID item params

func (*PostAPIKeyCollectionIDItemParams) WithContext

WithContext adds the context to the post API key collection ID item params

func (*PostAPIKeyCollectionIDItemParams) WithDefaults

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

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

func (*PostAPIKeyCollectionIDItemParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API key collection ID item params

func (*PostAPIKeyCollectionIDItemParams) WithID

WithID adds the id to the post API key collection ID item params

func (*PostAPIKeyCollectionIDItemParams) WithInput

WithInput adds the input to the post API key collection ID item params

func (*PostAPIKeyCollectionIDItemParams) WithTimeout

WithTimeout adds the timeout to the post API key collection ID item params

func (*PostAPIKeyCollectionIDItemParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPIKeyCollectionIDItemReader

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

PostAPIKeyCollectionIDItemReader is a Reader for the PostAPIKeyCollectionIDItem structure.

func (*PostAPIKeyCollectionIDItemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAPIKeyCollectionInternalServerError

type PostAPIKeyCollectionInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewPostAPIKeyCollectionInternalServerError

func NewPostAPIKeyCollectionInternalServerError() *PostAPIKeyCollectionInternalServerError

NewPostAPIKeyCollectionInternalServerError creates a PostAPIKeyCollectionInternalServerError with default headers values

func (*PostAPIKeyCollectionInternalServerError) Code

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

func (*PostAPIKeyCollectionInternalServerError) Error

func (*PostAPIKeyCollectionInternalServerError) GetPayload

func (*PostAPIKeyCollectionInternalServerError) IsClientError

func (o *PostAPIKeyCollectionInternalServerError) IsClientError() bool

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

func (*PostAPIKeyCollectionInternalServerError) IsCode

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

func (*PostAPIKeyCollectionInternalServerError) IsRedirect

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

func (*PostAPIKeyCollectionInternalServerError) IsServerError

func (o *PostAPIKeyCollectionInternalServerError) IsServerError() bool

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

func (*PostAPIKeyCollectionInternalServerError) IsSuccess

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

func (*PostAPIKeyCollectionInternalServerError) String

type PostAPIKeyCollectionListBadRequest

type PostAPIKeyCollectionListBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewPostAPIKeyCollectionListBadRequest

func NewPostAPIKeyCollectionListBadRequest() *PostAPIKeyCollectionListBadRequest

NewPostAPIKeyCollectionListBadRequest creates a PostAPIKeyCollectionListBadRequest with default headers values

func (*PostAPIKeyCollectionListBadRequest) Code

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

func (*PostAPIKeyCollectionListBadRequest) Error

func (*PostAPIKeyCollectionListBadRequest) GetPayload

func (*PostAPIKeyCollectionListBadRequest) IsClientError

func (o *PostAPIKeyCollectionListBadRequest) IsClientError() bool

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

func (*PostAPIKeyCollectionListBadRequest) IsCode

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

func (*PostAPIKeyCollectionListBadRequest) IsRedirect

func (o *PostAPIKeyCollectionListBadRequest) IsRedirect() bool

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

func (*PostAPIKeyCollectionListBadRequest) IsServerError

func (o *PostAPIKeyCollectionListBadRequest) IsServerError() bool

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

func (*PostAPIKeyCollectionListBadRequest) IsSuccess

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

func (*PostAPIKeyCollectionListBadRequest) String

type PostAPIKeyCollectionListInternalServerError

type PostAPIKeyCollectionListInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewPostAPIKeyCollectionListInternalServerError

func NewPostAPIKeyCollectionListInternalServerError() *PostAPIKeyCollectionListInternalServerError

NewPostAPIKeyCollectionListInternalServerError creates a PostAPIKeyCollectionListInternalServerError with default headers values

func (*PostAPIKeyCollectionListInternalServerError) Code

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

func (*PostAPIKeyCollectionListInternalServerError) Error

func (*PostAPIKeyCollectionListInternalServerError) GetPayload

func (*PostAPIKeyCollectionListInternalServerError) IsClientError

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

func (*PostAPIKeyCollectionListInternalServerError) IsCode

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

func (*PostAPIKeyCollectionListInternalServerError) IsRedirect

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

func (*PostAPIKeyCollectionListInternalServerError) IsServerError

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

func (*PostAPIKeyCollectionListInternalServerError) IsSuccess

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

func (*PostAPIKeyCollectionListInternalServerError) String

type PostAPIKeyCollectionListOK

type PostAPIKeyCollectionListOK struct {
	Payload *models.ResponseCollectionListResponse
}

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

OK

func NewPostAPIKeyCollectionListOK

func NewPostAPIKeyCollectionListOK() *PostAPIKeyCollectionListOK

NewPostAPIKeyCollectionListOK creates a PostAPIKeyCollectionListOK with default headers values

func (*PostAPIKeyCollectionListOK) Code

func (o *PostAPIKeyCollectionListOK) Code() int

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

func (*PostAPIKeyCollectionListOK) Error

func (*PostAPIKeyCollectionListOK) GetPayload

func (*PostAPIKeyCollectionListOK) IsClientError

func (o *PostAPIKeyCollectionListOK) IsClientError() bool

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

func (*PostAPIKeyCollectionListOK) IsCode

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

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

func (*PostAPIKeyCollectionListOK) IsRedirect

func (o *PostAPIKeyCollectionListOK) IsRedirect() bool

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

func (*PostAPIKeyCollectionListOK) IsServerError

func (o *PostAPIKeyCollectionListOK) IsServerError() bool

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

func (*PostAPIKeyCollectionListOK) IsSuccess

func (o *PostAPIKeyCollectionListOK) IsSuccess() bool

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

func (*PostAPIKeyCollectionListOK) String

func (o *PostAPIKeyCollectionListOK) String() string

type PostAPIKeyCollectionListParams

type PostAPIKeyCollectionListParams struct {

	/* Input.

	   Get List Collection Request
	*/
	Input *models.RequestGetListCollectionRequest

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

PostAPIKeyCollectionListParams contains all the parameters to send to the API endpoint

for the post API key collection list operation.

Typically these are written to a http.Request.

func NewPostAPIKeyCollectionListParams

func NewPostAPIKeyCollectionListParams() *PostAPIKeyCollectionListParams

NewPostAPIKeyCollectionListParams creates a new PostAPIKeyCollectionListParams 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 NewPostAPIKeyCollectionListParamsWithContext

func NewPostAPIKeyCollectionListParamsWithContext(ctx context.Context) *PostAPIKeyCollectionListParams

NewPostAPIKeyCollectionListParamsWithContext creates a new PostAPIKeyCollectionListParams object with the ability to set a context for a request.

func NewPostAPIKeyCollectionListParamsWithHTTPClient

func NewPostAPIKeyCollectionListParamsWithHTTPClient(client *http.Client) *PostAPIKeyCollectionListParams

NewPostAPIKeyCollectionListParamsWithHTTPClient creates a new PostAPIKeyCollectionListParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPIKeyCollectionListParamsWithTimeout

func NewPostAPIKeyCollectionListParamsWithTimeout(timeout time.Duration) *PostAPIKeyCollectionListParams

NewPostAPIKeyCollectionListParamsWithTimeout creates a new PostAPIKeyCollectionListParams object with the ability to set a timeout on a request.

func (*PostAPIKeyCollectionListParams) SetContext

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

SetContext adds the context to the post API key collection list params

func (*PostAPIKeyCollectionListParams) SetDefaults

func (o *PostAPIKeyCollectionListParams) SetDefaults()

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

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

func (*PostAPIKeyCollectionListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API key collection list params

func (*PostAPIKeyCollectionListParams) SetInput

SetInput adds the input to the post API key collection list params

func (*PostAPIKeyCollectionListParams) SetTimeout

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

SetTimeout adds the timeout to the post API key collection list params

func (*PostAPIKeyCollectionListParams) WithContext

WithContext adds the context to the post API key collection list params

func (*PostAPIKeyCollectionListParams) WithDefaults

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

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

func (*PostAPIKeyCollectionListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API key collection list params

func (*PostAPIKeyCollectionListParams) WithInput

WithInput adds the input to the post API key collection list params

func (*PostAPIKeyCollectionListParams) WithTimeout

WithTimeout adds the timeout to the post API key collection list params

func (*PostAPIKeyCollectionListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPIKeyCollectionListReader

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

PostAPIKeyCollectionListReader is a Reader for the PostAPIKeyCollectionList structure.

func (*PostAPIKeyCollectionListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAPIKeyCollectionOK

type PostAPIKeyCollectionOK struct {
	Payload *models.ResponseCollectionReponse
}

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

OK

func NewPostAPIKeyCollectionOK

func NewPostAPIKeyCollectionOK() *PostAPIKeyCollectionOK

NewPostAPIKeyCollectionOK creates a PostAPIKeyCollectionOK with default headers values

func (*PostAPIKeyCollectionOK) Code

func (o *PostAPIKeyCollectionOK) Code() int

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

func (*PostAPIKeyCollectionOK) Error

func (o *PostAPIKeyCollectionOK) Error() string

func (*PostAPIKeyCollectionOK) GetPayload

func (*PostAPIKeyCollectionOK) IsClientError

func (o *PostAPIKeyCollectionOK) IsClientError() bool

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

func (*PostAPIKeyCollectionOK) IsCode

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

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

func (*PostAPIKeyCollectionOK) IsRedirect

func (o *PostAPIKeyCollectionOK) IsRedirect() bool

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

func (*PostAPIKeyCollectionOK) IsServerError

func (o *PostAPIKeyCollectionOK) IsServerError() bool

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

func (*PostAPIKeyCollectionOK) IsSuccess

func (o *PostAPIKeyCollectionOK) IsSuccess() bool

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

func (*PostAPIKeyCollectionOK) String

func (o *PostAPIKeyCollectionOK) String() string

type PostAPIKeyCollectionParams

type PostAPIKeyCollectionParams struct {

	/* Input.

	   Create Collection Request
	*/
	Input *models.RequestCreateCollectionRequest

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

PostAPIKeyCollectionParams contains all the parameters to send to the API endpoint

for the post API key collection operation.

Typically these are written to a http.Request.

func NewPostAPIKeyCollectionParams

func NewPostAPIKeyCollectionParams() *PostAPIKeyCollectionParams

NewPostAPIKeyCollectionParams creates a new PostAPIKeyCollectionParams 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 NewPostAPIKeyCollectionParamsWithContext

func NewPostAPIKeyCollectionParamsWithContext(ctx context.Context) *PostAPIKeyCollectionParams

NewPostAPIKeyCollectionParamsWithContext creates a new PostAPIKeyCollectionParams object with the ability to set a context for a request.

func NewPostAPIKeyCollectionParamsWithHTTPClient

func NewPostAPIKeyCollectionParamsWithHTTPClient(client *http.Client) *PostAPIKeyCollectionParams

NewPostAPIKeyCollectionParamsWithHTTPClient creates a new PostAPIKeyCollectionParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPIKeyCollectionParamsWithTimeout

func NewPostAPIKeyCollectionParamsWithTimeout(timeout time.Duration) *PostAPIKeyCollectionParams

NewPostAPIKeyCollectionParamsWithTimeout creates a new PostAPIKeyCollectionParams object with the ability to set a timeout on a request.

func (*PostAPIKeyCollectionParams) SetContext

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

SetContext adds the context to the post API key collection params

func (*PostAPIKeyCollectionParams) SetDefaults

func (o *PostAPIKeyCollectionParams) SetDefaults()

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

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

func (*PostAPIKeyCollectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API key collection params

func (*PostAPIKeyCollectionParams) SetInput

SetInput adds the input to the post API key collection params

func (*PostAPIKeyCollectionParams) SetTimeout

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

SetTimeout adds the timeout to the post API key collection params

func (*PostAPIKeyCollectionParams) WithContext

WithContext adds the context to the post API key collection params

func (*PostAPIKeyCollectionParams) WithDefaults

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

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

func (*PostAPIKeyCollectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API key collection params

func (*PostAPIKeyCollectionParams) WithInput

WithInput adds the input to the post API key collection params

func (*PostAPIKeyCollectionParams) WithTimeout

WithTimeout adds the timeout to the post API key collection params

func (*PostAPIKeyCollectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPIKeyCollectionReader

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

PostAPIKeyCollectionReader is a Reader for the PostAPIKeyCollection structure.

func (*PostAPIKeyCollectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAPIKeyCollectionUsernameListBadRequest

type PostAPIKeyCollectionUsernameListBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewPostAPIKeyCollectionUsernameListBadRequest

func NewPostAPIKeyCollectionUsernameListBadRequest() *PostAPIKeyCollectionUsernameListBadRequest

NewPostAPIKeyCollectionUsernameListBadRequest creates a PostAPIKeyCollectionUsernameListBadRequest with default headers values

func (*PostAPIKeyCollectionUsernameListBadRequest) Code

Code gets the status code for the post Api key collection username list bad request response

func (*PostAPIKeyCollectionUsernameListBadRequest) Error

func (*PostAPIKeyCollectionUsernameListBadRequest) GetPayload

func (*PostAPIKeyCollectionUsernameListBadRequest) IsClientError

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

func (*PostAPIKeyCollectionUsernameListBadRequest) IsCode

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

func (*PostAPIKeyCollectionUsernameListBadRequest) IsRedirect

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

func (*PostAPIKeyCollectionUsernameListBadRequest) IsServerError

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

func (*PostAPIKeyCollectionUsernameListBadRequest) IsSuccess

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

func (*PostAPIKeyCollectionUsernameListBadRequest) String

type PostAPIKeyCollectionUsernameListInternalServerError

type PostAPIKeyCollectionUsernameListInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewPostAPIKeyCollectionUsernameListInternalServerError

func NewPostAPIKeyCollectionUsernameListInternalServerError() *PostAPIKeyCollectionUsernameListInternalServerError

NewPostAPIKeyCollectionUsernameListInternalServerError creates a PostAPIKeyCollectionUsernameListInternalServerError with default headers values

func (*PostAPIKeyCollectionUsernameListInternalServerError) Code

Code gets the status code for the post Api key collection username list internal server error response

func (*PostAPIKeyCollectionUsernameListInternalServerError) Error

func (*PostAPIKeyCollectionUsernameListInternalServerError) GetPayload

func (*PostAPIKeyCollectionUsernameListInternalServerError) IsClientError

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

func (*PostAPIKeyCollectionUsernameListInternalServerError) IsCode

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

func (*PostAPIKeyCollectionUsernameListInternalServerError) IsRedirect

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

func (*PostAPIKeyCollectionUsernameListInternalServerError) IsServerError

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

func (*PostAPIKeyCollectionUsernameListInternalServerError) IsSuccess

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

func (*PostAPIKeyCollectionUsernameListInternalServerError) String

type PostAPIKeyCollectionUsernameListOK

type PostAPIKeyCollectionUsernameListOK struct {
	Payload *models.ResponseCollectionListResponse
}

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

OK

func NewPostAPIKeyCollectionUsernameListOK

func NewPostAPIKeyCollectionUsernameListOK() *PostAPIKeyCollectionUsernameListOK

NewPostAPIKeyCollectionUsernameListOK creates a PostAPIKeyCollectionUsernameListOK with default headers values

func (*PostAPIKeyCollectionUsernameListOK) Code

Code gets the status code for the post Api key collection username list o k response

func (*PostAPIKeyCollectionUsernameListOK) Error

func (*PostAPIKeyCollectionUsernameListOK) GetPayload

func (*PostAPIKeyCollectionUsernameListOK) IsClientError

func (o *PostAPIKeyCollectionUsernameListOK) IsClientError() bool

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

func (*PostAPIKeyCollectionUsernameListOK) IsCode

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

func (*PostAPIKeyCollectionUsernameListOK) IsRedirect

func (o *PostAPIKeyCollectionUsernameListOK) IsRedirect() bool

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

func (*PostAPIKeyCollectionUsernameListOK) IsServerError

func (o *PostAPIKeyCollectionUsernameListOK) IsServerError() bool

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

func (*PostAPIKeyCollectionUsernameListOK) IsSuccess

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

func (*PostAPIKeyCollectionUsernameListOK) String

type PostAPIKeyCollectionUsernameListParams

type PostAPIKeyCollectionUsernameListParams struct {

	/* Input.

	   Get List Collection By Username Request
	*/
	Input *models.RequestGetListCollectionByUsernameRequest

	/* Username.

	   Username
	*/
	Username string

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

PostAPIKeyCollectionUsernameListParams contains all the parameters to send to the API endpoint

for the post API key collection username list operation.

Typically these are written to a http.Request.

func NewPostAPIKeyCollectionUsernameListParams

func NewPostAPIKeyCollectionUsernameListParams() *PostAPIKeyCollectionUsernameListParams

NewPostAPIKeyCollectionUsernameListParams creates a new PostAPIKeyCollectionUsernameListParams 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 NewPostAPIKeyCollectionUsernameListParamsWithContext

func NewPostAPIKeyCollectionUsernameListParamsWithContext(ctx context.Context) *PostAPIKeyCollectionUsernameListParams

NewPostAPIKeyCollectionUsernameListParamsWithContext creates a new PostAPIKeyCollectionUsernameListParams object with the ability to set a context for a request.

func NewPostAPIKeyCollectionUsernameListParamsWithHTTPClient

func NewPostAPIKeyCollectionUsernameListParamsWithHTTPClient(client *http.Client) *PostAPIKeyCollectionUsernameListParams

NewPostAPIKeyCollectionUsernameListParamsWithHTTPClient creates a new PostAPIKeyCollectionUsernameListParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPIKeyCollectionUsernameListParamsWithTimeout

func NewPostAPIKeyCollectionUsernameListParamsWithTimeout(timeout time.Duration) *PostAPIKeyCollectionUsernameListParams

NewPostAPIKeyCollectionUsernameListParamsWithTimeout creates a new PostAPIKeyCollectionUsernameListParams object with the ability to set a timeout on a request.

func (*PostAPIKeyCollectionUsernameListParams) SetContext

SetContext adds the context to the post API key collection username list params

func (*PostAPIKeyCollectionUsernameListParams) SetDefaults

func (o *PostAPIKeyCollectionUsernameListParams) SetDefaults()

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

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

func (*PostAPIKeyCollectionUsernameListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API key collection username list params

func (*PostAPIKeyCollectionUsernameListParams) SetInput

SetInput adds the input to the post API key collection username list params

func (*PostAPIKeyCollectionUsernameListParams) SetTimeout

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

SetTimeout adds the timeout to the post API key collection username list params

func (*PostAPIKeyCollectionUsernameListParams) SetUsername

func (o *PostAPIKeyCollectionUsernameListParams) SetUsername(username string)

SetUsername adds the username to the post API key collection username list params

func (*PostAPIKeyCollectionUsernameListParams) WithContext

WithContext adds the context to the post API key collection username list params

func (*PostAPIKeyCollectionUsernameListParams) WithDefaults

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

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

func (*PostAPIKeyCollectionUsernameListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API key collection username list params

func (*PostAPIKeyCollectionUsernameListParams) WithInput

WithInput adds the input to the post API key collection username list params

func (*PostAPIKeyCollectionUsernameListParams) WithTimeout

WithTimeout adds the timeout to the post API key collection username list params

func (*PostAPIKeyCollectionUsernameListParams) WithUsername

WithUsername adds the username to the post API key collection username list params

func (*PostAPIKeyCollectionUsernameListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPIKeyCollectionUsernameListReader

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

PostAPIKeyCollectionUsernameListReader is a Reader for the PostAPIKeyCollectionUsernameList structure.

func (*PostAPIKeyCollectionUsernameListReader) ReadResponse

ReadResponse reads a server response into the received o.

type PutAPIKeyCollectionIDBadRequest

type PutAPIKeyCollectionIDBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewPutAPIKeyCollectionIDBadRequest

func NewPutAPIKeyCollectionIDBadRequest() *PutAPIKeyCollectionIDBadRequest

NewPutAPIKeyCollectionIDBadRequest creates a PutAPIKeyCollectionIDBadRequest with default headers values

func (*PutAPIKeyCollectionIDBadRequest) Code

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

func (*PutAPIKeyCollectionIDBadRequest) Error

func (*PutAPIKeyCollectionIDBadRequest) GetPayload

func (*PutAPIKeyCollectionIDBadRequest) IsClientError

func (o *PutAPIKeyCollectionIDBadRequest) IsClientError() bool

IsClientError returns true when this put Api key collection Id bad request response has a 4xx status code

func (*PutAPIKeyCollectionIDBadRequest) IsCode

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

IsCode returns true when this put Api key collection Id bad request response a status code equal to that given

func (*PutAPIKeyCollectionIDBadRequest) IsRedirect

func (o *PutAPIKeyCollectionIDBadRequest) IsRedirect() bool

IsRedirect returns true when this put Api key collection Id bad request response has a 3xx status code

func (*PutAPIKeyCollectionIDBadRequest) IsServerError

func (o *PutAPIKeyCollectionIDBadRequest) IsServerError() bool

IsServerError returns true when this put Api key collection Id bad request response has a 5xx status code

func (*PutAPIKeyCollectionIDBadRequest) IsSuccess

func (o *PutAPIKeyCollectionIDBadRequest) IsSuccess() bool

IsSuccess returns true when this put Api key collection Id bad request response has a 2xx status code

func (*PutAPIKeyCollectionIDBadRequest) String

type PutAPIKeyCollectionIDInternalServerError

type PutAPIKeyCollectionIDInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewPutAPIKeyCollectionIDInternalServerError

func NewPutAPIKeyCollectionIDInternalServerError() *PutAPIKeyCollectionIDInternalServerError

NewPutAPIKeyCollectionIDInternalServerError creates a PutAPIKeyCollectionIDInternalServerError with default headers values

func (*PutAPIKeyCollectionIDInternalServerError) Code

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

func (*PutAPIKeyCollectionIDInternalServerError) Error

func (*PutAPIKeyCollectionIDInternalServerError) GetPayload

func (*PutAPIKeyCollectionIDInternalServerError) IsClientError

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

func (*PutAPIKeyCollectionIDInternalServerError) IsCode

IsCode returns true when this put Api key collection Id internal server error response a status code equal to that given

func (*PutAPIKeyCollectionIDInternalServerError) IsRedirect

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

func (*PutAPIKeyCollectionIDInternalServerError) IsServerError

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

func (*PutAPIKeyCollectionIDInternalServerError) IsSuccess

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

func (*PutAPIKeyCollectionIDInternalServerError) String

type PutAPIKeyCollectionIDOK

type PutAPIKeyCollectionIDOK struct {
	Payload *models.ResponseCollectionReponse
}

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

OK

func NewPutAPIKeyCollectionIDOK

func NewPutAPIKeyCollectionIDOK() *PutAPIKeyCollectionIDOK

NewPutAPIKeyCollectionIDOK creates a PutAPIKeyCollectionIDOK with default headers values

func (*PutAPIKeyCollectionIDOK) Code

func (o *PutAPIKeyCollectionIDOK) Code() int

Code gets the status code for the put Api key collection Id o k response

func (*PutAPIKeyCollectionIDOK) Error

func (o *PutAPIKeyCollectionIDOK) Error() string

func (*PutAPIKeyCollectionIDOK) GetPayload

func (*PutAPIKeyCollectionIDOK) IsClientError

func (o *PutAPIKeyCollectionIDOK) IsClientError() bool

IsClientError returns true when this put Api key collection Id o k response has a 4xx status code

func (*PutAPIKeyCollectionIDOK) IsCode

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

IsCode returns true when this put Api key collection Id o k response a status code equal to that given

func (*PutAPIKeyCollectionIDOK) IsRedirect

func (o *PutAPIKeyCollectionIDOK) IsRedirect() bool

IsRedirect returns true when this put Api key collection Id o k response has a 3xx status code

func (*PutAPIKeyCollectionIDOK) IsServerError

func (o *PutAPIKeyCollectionIDOK) IsServerError() bool

IsServerError returns true when this put Api key collection Id o k response has a 5xx status code

func (*PutAPIKeyCollectionIDOK) IsSuccess

func (o *PutAPIKeyCollectionIDOK) IsSuccess() bool

IsSuccess returns true when this put Api key collection Id o k response has a 2xx status code

func (*PutAPIKeyCollectionIDOK) String

func (o *PutAPIKeyCollectionIDOK) String() string

type PutAPIKeyCollectionIDParams

type PutAPIKeyCollectionIDParams struct {

	/* ID.

	   Collection's id
	*/
	ID string

	/* Input.

	   Update Collection Request
	*/
	Input *models.RequestUpdateCollectionRequest

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

PutAPIKeyCollectionIDParams contains all the parameters to send to the API endpoint

for the put API key collection ID operation.

Typically these are written to a http.Request.

func NewPutAPIKeyCollectionIDParams

func NewPutAPIKeyCollectionIDParams() *PutAPIKeyCollectionIDParams

NewPutAPIKeyCollectionIDParams creates a new PutAPIKeyCollectionIDParams 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 NewPutAPIKeyCollectionIDParamsWithContext

func NewPutAPIKeyCollectionIDParamsWithContext(ctx context.Context) *PutAPIKeyCollectionIDParams

NewPutAPIKeyCollectionIDParamsWithContext creates a new PutAPIKeyCollectionIDParams object with the ability to set a context for a request.

func NewPutAPIKeyCollectionIDParamsWithHTTPClient

func NewPutAPIKeyCollectionIDParamsWithHTTPClient(client *http.Client) *PutAPIKeyCollectionIDParams

NewPutAPIKeyCollectionIDParamsWithHTTPClient creates a new PutAPIKeyCollectionIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutAPIKeyCollectionIDParamsWithTimeout

func NewPutAPIKeyCollectionIDParamsWithTimeout(timeout time.Duration) *PutAPIKeyCollectionIDParams

NewPutAPIKeyCollectionIDParamsWithTimeout creates a new PutAPIKeyCollectionIDParams object with the ability to set a timeout on a request.

func (*PutAPIKeyCollectionIDParams) SetContext

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

SetContext adds the context to the put API key collection ID params

func (*PutAPIKeyCollectionIDParams) SetDefaults

func (o *PutAPIKeyCollectionIDParams) SetDefaults()

SetDefaults hydrates default values in the put API key collection ID params (not the query body).

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

func (*PutAPIKeyCollectionIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put API key collection ID params

func (*PutAPIKeyCollectionIDParams) SetID

func (o *PutAPIKeyCollectionIDParams) SetID(id string)

SetID adds the id to the put API key collection ID params

func (*PutAPIKeyCollectionIDParams) SetInput

SetInput adds the input to the put API key collection ID params

func (*PutAPIKeyCollectionIDParams) SetTimeout

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

SetTimeout adds the timeout to the put API key collection ID params

func (*PutAPIKeyCollectionIDParams) WithContext

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

func (*PutAPIKeyCollectionIDParams) WithDefaults

WithDefaults hydrates default values in the put API key collection ID params (not the query body).

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

func (*PutAPIKeyCollectionIDParams) WithHTTPClient

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

func (*PutAPIKeyCollectionIDParams) WithID

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

func (*PutAPIKeyCollectionIDParams) WithInput

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

func (*PutAPIKeyCollectionIDParams) WithTimeout

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

func (*PutAPIKeyCollectionIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutAPIKeyCollectionIDReader

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

PutAPIKeyCollectionIDReader is a Reader for the PutAPIKeyCollectionID structure.

func (*PutAPIKeyCollectionIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutAPIKeyCollectionIDVoteBadRequest

type PutAPIKeyCollectionIDVoteBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewPutAPIKeyCollectionIDVoteBadRequest

func NewPutAPIKeyCollectionIDVoteBadRequest() *PutAPIKeyCollectionIDVoteBadRequest

NewPutAPIKeyCollectionIDVoteBadRequest creates a PutAPIKeyCollectionIDVoteBadRequest with default headers values

func (*PutAPIKeyCollectionIDVoteBadRequest) Code

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

func (*PutAPIKeyCollectionIDVoteBadRequest) Error

func (*PutAPIKeyCollectionIDVoteBadRequest) GetPayload

func (*PutAPIKeyCollectionIDVoteBadRequest) IsClientError

func (o *PutAPIKeyCollectionIDVoteBadRequest) IsClientError() bool

IsClientError returns true when this put Api key collection Id vote bad request response has a 4xx status code

func (*PutAPIKeyCollectionIDVoteBadRequest) IsCode

IsCode returns true when this put Api key collection Id vote bad request response a status code equal to that given

func (*PutAPIKeyCollectionIDVoteBadRequest) IsRedirect

func (o *PutAPIKeyCollectionIDVoteBadRequest) IsRedirect() bool

IsRedirect returns true when this put Api key collection Id vote bad request response has a 3xx status code

func (*PutAPIKeyCollectionIDVoteBadRequest) IsServerError

func (o *PutAPIKeyCollectionIDVoteBadRequest) IsServerError() bool

IsServerError returns true when this put Api key collection Id vote bad request response has a 5xx status code

func (*PutAPIKeyCollectionIDVoteBadRequest) IsSuccess

IsSuccess returns true when this put Api key collection Id vote bad request response has a 2xx status code

func (*PutAPIKeyCollectionIDVoteBadRequest) String

type PutAPIKeyCollectionIDVoteInternalServerError

type PutAPIKeyCollectionIDVoteInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewPutAPIKeyCollectionIDVoteInternalServerError

func NewPutAPIKeyCollectionIDVoteInternalServerError() *PutAPIKeyCollectionIDVoteInternalServerError

NewPutAPIKeyCollectionIDVoteInternalServerError creates a PutAPIKeyCollectionIDVoteInternalServerError with default headers values

func (*PutAPIKeyCollectionIDVoteInternalServerError) Code

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

func (*PutAPIKeyCollectionIDVoteInternalServerError) Error

func (*PutAPIKeyCollectionIDVoteInternalServerError) GetPayload

func (*PutAPIKeyCollectionIDVoteInternalServerError) IsClientError

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

func (*PutAPIKeyCollectionIDVoteInternalServerError) IsCode

IsCode returns true when this put Api key collection Id vote internal server error response a status code equal to that given

func (*PutAPIKeyCollectionIDVoteInternalServerError) IsRedirect

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

func (*PutAPIKeyCollectionIDVoteInternalServerError) IsServerError

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

func (*PutAPIKeyCollectionIDVoteInternalServerError) IsSuccess

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

func (*PutAPIKeyCollectionIDVoteInternalServerError) String

type PutAPIKeyCollectionIDVoteOK

type PutAPIKeyCollectionIDVoteOK struct {
	Payload *models.ResponseCollectionReponse
}

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

OK

func NewPutAPIKeyCollectionIDVoteOK

func NewPutAPIKeyCollectionIDVoteOK() *PutAPIKeyCollectionIDVoteOK

NewPutAPIKeyCollectionIDVoteOK creates a PutAPIKeyCollectionIDVoteOK with default headers values

func (*PutAPIKeyCollectionIDVoteOK) Code

func (o *PutAPIKeyCollectionIDVoteOK) Code() int

Code gets the status code for the put Api key collection Id vote o k response

func (*PutAPIKeyCollectionIDVoteOK) Error

func (*PutAPIKeyCollectionIDVoteOK) GetPayload

func (*PutAPIKeyCollectionIDVoteOK) IsClientError

func (o *PutAPIKeyCollectionIDVoteOK) IsClientError() bool

IsClientError returns true when this put Api key collection Id vote o k response has a 4xx status code

func (*PutAPIKeyCollectionIDVoteOK) IsCode

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

IsCode returns true when this put Api key collection Id vote o k response a status code equal to that given

func (*PutAPIKeyCollectionIDVoteOK) IsRedirect

func (o *PutAPIKeyCollectionIDVoteOK) IsRedirect() bool

IsRedirect returns true when this put Api key collection Id vote o k response has a 3xx status code

func (*PutAPIKeyCollectionIDVoteOK) IsServerError

func (o *PutAPIKeyCollectionIDVoteOK) IsServerError() bool

IsServerError returns true when this put Api key collection Id vote o k response has a 5xx status code

func (*PutAPIKeyCollectionIDVoteOK) IsSuccess

func (o *PutAPIKeyCollectionIDVoteOK) IsSuccess() bool

IsSuccess returns true when this put Api key collection Id vote o k response has a 2xx status code

func (*PutAPIKeyCollectionIDVoteOK) String

func (o *PutAPIKeyCollectionIDVoteOK) String() string

type PutAPIKeyCollectionIDVoteParams

type PutAPIKeyCollectionIDVoteParams struct {

	/* ID.

	   Collection's id
	*/
	ID string

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

PutAPIKeyCollectionIDVoteParams contains all the parameters to send to the API endpoint

for the put API key collection ID vote operation.

Typically these are written to a http.Request.

func NewPutAPIKeyCollectionIDVoteParams

func NewPutAPIKeyCollectionIDVoteParams() *PutAPIKeyCollectionIDVoteParams

NewPutAPIKeyCollectionIDVoteParams creates a new PutAPIKeyCollectionIDVoteParams 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 NewPutAPIKeyCollectionIDVoteParamsWithContext

func NewPutAPIKeyCollectionIDVoteParamsWithContext(ctx context.Context) *PutAPIKeyCollectionIDVoteParams

NewPutAPIKeyCollectionIDVoteParamsWithContext creates a new PutAPIKeyCollectionIDVoteParams object with the ability to set a context for a request.

func NewPutAPIKeyCollectionIDVoteParamsWithHTTPClient

func NewPutAPIKeyCollectionIDVoteParamsWithHTTPClient(client *http.Client) *PutAPIKeyCollectionIDVoteParams

NewPutAPIKeyCollectionIDVoteParamsWithHTTPClient creates a new PutAPIKeyCollectionIDVoteParams object with the ability to set a custom HTTPClient for a request.

func NewPutAPIKeyCollectionIDVoteParamsWithTimeout

func NewPutAPIKeyCollectionIDVoteParamsWithTimeout(timeout time.Duration) *PutAPIKeyCollectionIDVoteParams

NewPutAPIKeyCollectionIDVoteParamsWithTimeout creates a new PutAPIKeyCollectionIDVoteParams object with the ability to set a timeout on a request.

func (*PutAPIKeyCollectionIDVoteParams) SetContext

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

SetContext adds the context to the put API key collection ID vote params

func (*PutAPIKeyCollectionIDVoteParams) SetDefaults

func (o *PutAPIKeyCollectionIDVoteParams) SetDefaults()

SetDefaults hydrates default values in the put API key collection ID vote params (not the query body).

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

func (*PutAPIKeyCollectionIDVoteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put API key collection ID vote params

func (*PutAPIKeyCollectionIDVoteParams) SetID

SetID adds the id to the put API key collection ID vote params

func (*PutAPIKeyCollectionIDVoteParams) SetTimeout

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

SetTimeout adds the timeout to the put API key collection ID vote params

func (*PutAPIKeyCollectionIDVoteParams) WithContext

WithContext adds the context to the put API key collection ID vote params

func (*PutAPIKeyCollectionIDVoteParams) WithDefaults

WithDefaults hydrates default values in the put API key collection ID vote params (not the query body).

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

func (*PutAPIKeyCollectionIDVoteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put API key collection ID vote params

func (*PutAPIKeyCollectionIDVoteParams) WithID

WithID adds the id to the put API key collection ID vote params

func (*PutAPIKeyCollectionIDVoteParams) WithTimeout

WithTimeout adds the timeout to the put API key collection ID vote params

func (*PutAPIKeyCollectionIDVoteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutAPIKeyCollectionIDVoteReader

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

PutAPIKeyCollectionIDVoteReader is a Reader for the PutAPIKeyCollectionIDVote structure.

func (*PutAPIKeyCollectionIDVoteReader) ReadResponse

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